/* ===== Design tokens ===== */
:root {
  --navy-950: #081824;
  --navy-900: #0b2436;
  --navy-800: #123a52;
  --navy-700: #1a4c6b;
  --gold-500: #c18f31;
  --gold-600: #a07729;
  --gold-100: #f7f1e6;
  --bg: #f8f6f1;
  --bg-alt: #f0ece1;
  --white: #ffffff;
  --text: #1b2430;
  --text-muted: #5b6672;
  --border: #e3ddcf;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 36, 54, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 36, 54, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 36, 54, 0.16);
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-900); color: var(--white);
  padding: 0.75rem 1.25rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-900);
  flex-shrink: 0;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}
.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.95rem;
}
.phone-link:hover { color: var(--gold-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 24px 1.5rem;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  padding: 0.9rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--navy-800);
}
.nav-mobile .btn,
.nav-mobile .phone-link { border-bottom: none; margin-top: 0.75rem; }
.nav-mobile.open { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 420px at 85% -10%, rgba(200,162,74,0.16), transparent 60%),
    radial-gradient(600px 500px at -10% 110%, rgba(11,36,54,0.08), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--gold-100); }
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: var(--gold-600); }
.hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-card {
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-card-row { display: flex; flex-direction: column; gap: 0.35rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero-card-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--gold-500); }
.hero-card-label { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* ===== Trust bar ===== */
.trustbar { background: var(--navy-900); color: var(--white); padding: 1.5rem 0; }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  flex: 1 1 220px;
}
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold-500); }
.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--white);
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
}
.trust-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 3.25rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.team-grid.grid-2 { max-width: 860px; margin: 0 auto; }

/* Service cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* Clients / reference */
.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-logo {
  height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.4rem;
}
.client-logo-badge { height: 56px; border-radius: 10px; }
.client-desc { color: var(--text-muted); font-size: 0.92rem; }

/* Feature (why us) */
.feature { text-align: center; padding: 0 0.5rem; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.55rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}
.process-item {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.process-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Team */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--gold-100);
  margin-bottom: 1.25rem;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.team-role { color: var(--gold-600); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.85rem; }
.team-card p:last-child { color: var(--text-muted); font-size: 0.95rem; }
.team-footnote { text-align: center; color: var(--text-muted); max-width: 640px; margin: 2.5rem auto 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.5rem;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--gold-600);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); margin-top: 0.9rem; font-size: 0.96rem; }

/* Academy */
.academy {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.academy-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.academy h2 { color: var(--white); margin-bottom: 1.25rem; }
.academy p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 2rem; }
.academy strong { color: var(--gold-500); }

/* CTA banner */
.cta-banner { background: var(--gold-100); padding: 4.5rem 0; }
.cta-banner-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner-inner .hero-actions { justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.35rem; }
.contact-card a { font-weight: 600; color: var(--navy-800); font-size: 0.92rem; }
.contact-card a:hover { color: var(--gold-600); }
.contact-card-muted { background: var(--bg-alt); }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Lead form */
.lead-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.lead-form-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.lead-form-intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.lead-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--navy-800); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}
.lead-form .btn { align-self: flex-start; }
.form-status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: #2f7a4d; }
.form-status.error { color: #b0402c; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a { font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold-500); }
.footer-legal { font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-legal p:last-child { margin-top: 0.5rem; color: rgba(255,255,255,0.5); }

/* Mobile floating call button */
.mobile-cta {
  display: none;
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  align-items: center;
  gap: 8px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-cta { display: inline-flex; }
}

@media (max-width: 640px) {
  .header-inner { height: 68px; }
  .hero { padding: 3rem 0 3rem; }
  .form-row-pair { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4, .process-list { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trustbar-inner { flex-direction: column; align-items: flex-start; }
  .trust-item { flex: none; width: 100%; }
  .hero-actions .btn, .cta-banner .btn { width: 100%; }
}
