:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --text: #132033;
  --muted: #5a687d;
  --primary: #0f4c81;
  --primary-dark: #0b355d;
  --accent: #d8a32a;
  --sacred-red: #d84a2a;
  --border: #d9e2ef;
  --shadow: 0 24px 70px rgba(16, 37, 66, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
img, svg { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 86px 0; }
.muted { background: var(--surface-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 226, 239, 0.8);
}
.nav { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 18px; }
.brand-logo {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  overflow: hidden;
  background: #080808;
  border: 2px solid rgba(216, 163, 42, 0.8);
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.26);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand strong { display: block; font-size: clamp(2.05rem, 3.4vw, 3rem); letter-spacing: -0.055em; line-height: 1.02; }
.brand small { display: block; color: var(--primary); font-size: clamp(1.05rem, 1.35vw, 1.28rem); margin-top: 8px; font-weight: 900; letter-spacing: 0.015em; }
.nav-menu { display: flex; align-items: center; gap: 22px; color: #26394f; font-weight: 650; }
.nav-menu a { padding: 9px 4px; }
.nav-cta { background: var(--primary); color: #fff !important; border-radius: 999px; padding: 10px 18px !important; }
.nav-toggle { display: none; border: 1px solid var(--border); border-radius: 999px; background: #fff; padding: 9px 14px; font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(244, 161, 39, 0.18), transparent 30%),
    linear-gradient(135deg, #f9fbff 0%, #eef4fb 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 76, 129, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 76, 129, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) 390px; gap: 42px; align-items: center; }
.hero-training-line {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(1.75rem, 3.4vw, 3.1rem);
  letter-spacing: -0.05em;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { margin: 0; line-height: 1.13; }
h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); letter-spacing: -0.07em; max-width: 920px; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.045em; }
h3 { font-size: 1.17rem; letter-spacing: -0.015em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 16px 30px rgba(15, 76, 129, 0.25); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { background: #fff; color: var(--primary); border: 1px solid var(--border); }
.trust-strip { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-strip span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
}
.trust-strip strong { color: var(--text); }
.hero-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(217, 226, 239, 0.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-logo-wrap {
  width: 170px;
  height: 170px;
  border-radius: 32px;
  overflow: hidden;
  margin: 0 auto 24px;
  background: #080808;
  border: 3px solid rgba(216, 163, 42, 0.9);
  box-shadow: 0 18px 40px rgba(7, 21, 38, 0.18);
}
.hero-logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card h2 { font-size: 1.45rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.hero-card li { position: relative; padding-left: 26px; color: var(--muted); }
.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(244, 161, 39, 0.18);
}

.two-col { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 54px; align-items: center; }
.align-start { align-items: start; }
.intro p:not(.eyebrow), .feature-list p { color: var(--muted); font-size: 1.04rem; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(16, 37, 66, 0.07);
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7f1fb;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}
.card p { color: var(--muted); margin-top: 12px; }

.stats-section { background: #0d2238; color: #fff; padding: 46px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats div { padding: 18px 10px; border-left: 1px solid rgba(255,255,255,0.15); }
.stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.04em; }
.stats span { display: block; color: rgba(255,255,255,0.72); margin-top: 8px; }

.client-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.client-cloud span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
  color: #26394f;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(16, 37, 66, 0.05);
}
.feature-list { display: grid; gap: 16px; }
.feature-list div { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.feature-list h3 { margin-bottom: 8px; }

.contact-section { background: linear-gradient(135deg, #10253f, #0f4c81); color: #fff; }
.contact-section .eyebrow { color: #ffd28c; }
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 42px; align-items: start; }
.contact-copy p { color: rgba(255,255,255,0.78); font-size: 1.05rem; }
.contact-copy h2 { color: #fff; margin-bottom: 18px; }
.contact-box { margin-top: 28px; display: grid; gap: 12px; }
.contact-box p {
  margin: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px;
}
.contact-box strong { color: #fff; }
.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-form label { display: grid; gap: 7px; font-weight: 750; color: #26394f; }
.contact-form label span { color: #c93d2b; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
  outline: none;
}
.contact-form input[type="file"] {
  padding: 11px 12px;
  background: #fff;
  cursor: pointer;
}
.file-field small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12); }
.contact-form textarea { resize: vertical; min-height: 145px; }
.full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; margin: -4px 0 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.footer { padding: 34px 0; background: #071526; color: rgba(255,255,255,0.76); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer strong { color: #fff; }
.footer p { max-width: 650px; margin: 8px 0 0; }
.footer a { display: inline-flex; margin-left: 16px; color: #fff; }

.message-card {
  max-width: 720px;
  margin: 80px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.message-card h1 { font-size: 2.4rem; }
.message-card p { color: var(--muted); font-size: 1.05rem; margin: 15px 0 24px; }
.message-card.success { border-top: 7px solid #2f8f5b; }
.message-card.error { border-top: 7px solid #c93d2b; }

@media (max-width: 1020px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 720px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .section { padding: 62px 0; }
  .nav { min-height: 114px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 114px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 11px 12px; border-radius: 12px; }
  .nav-cta { text-align: center; }
  .brand-logo { width: 76px; height: 76px; border-radius: 20px; }
  .brand strong { font-size: clamp(1.45rem, 7vw, 2.1rem); }
  .brand small { font-size: 0.86rem; margin-top: 2px; }
  .hero-training-line { font-size: clamp(1.55rem, 8vw, 2.35rem); }
  .hero-actions, .trust-strip { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .cards, .stats, .contact-form { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer a { margin: 6px 12px 0 0; }
}
