/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f4f0;
  --primary:   #1B3A6B;
  --primary-dark: #122848;
  --accent:    #C9A84C;
  --accent-dark: #a8852d;
  --text:      #111318;
  --text-muted: #6B7280;
  --border:    #E5E3DC;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 2px 16px rgba(17,19,24,0.07);
  --shadow-md: 0 8px 40px rgba(17,19,24,0.10);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.22s ease;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}
.section--alt {
  background: var(--bg-alt);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; font-weight: 600; }

em { font-style: normal; color: var(--accent); }

/* ─── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(27,58,107,0.08);
  border: 1px solid rgba(27,58,107,0.15);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
}
.badge--dark {
  color: var(--accent-dark);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.25);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(27,58,107,0.25);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(27,58,107,0.3); }
.btn--primary:active { transform: translateY(0); }

.btn--gold {
  background: var(--accent);
  color: #111318;
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}
.btn--gold:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,0.35); }
.btn--gold:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn--lg { font-size: 1.0625rem; padding: 1rem 2rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── SECTION HEAD ───────────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.section-head__sub {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1.0625rem;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.nav__wordmark {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav__wordmark strong { font-weight: 700; color: var(--primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover { color: var(--primary); background: rgba(27,58,107,0.05); }

.nav__cta { margin-left: 0.75rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding-top: 9rem;
  padding-bottom: 6rem;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(201,168,76,0.07) 0%, transparent 65%),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(27,58,107,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
}
.hero__title { color: var(--text); }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero__trust svg { color: #22c55e; flex-shrink: 0; }

.hero__visual {
  position: relative;
  width: 260px;
  height: 320px;
  flex-shrink: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 220px; height: 220px;
  background: rgba(27,58,107,0.12);
  top: -20px; left: 20px;
}
.hero__orb--2 {
  width: 160px; height: 160px;
  background: rgba(201,168,76,0.14);
  bottom: 0; right: 0;
}
.hero__caduceus-big {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 320px;
  margin: 0 auto;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.hero__scroll-hint span {
  display: block;
  width: 20px; height: 32px;
  border: 2px solid var(--border);
  border-radius: 100px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ─── SERVICES GRID ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}
.service-card__icon {
  width: 44px; height: 44px;
  background: rgba(27,58,107,0.07);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.service-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--primary);
}
.service-card h3 { color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* ─── WHY GRID ───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(27,58,107,0.25);
}
.why-card__icon svg {
  width: 24px; height: 24px;
  stroke: #fff;
}
.why-card h3 { font-size: 1.1875rem; }
.why-card p { color: var(--text-muted); line-height: 1.7; }

/* ─── PROCESS ────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 0 1rem;
}
.process-step__number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-step__content h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.process-step__content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.process-connector {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin-top: 16px;
  transform: rotate(0deg);
  align-self: start;
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  padding: 5rem 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; font-size: 1.0625rem; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--primary); }
.faq__question[aria-expanded="true"] { color: var(--primary); }

.faq__chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  stroke: currentColor;
}
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  overflow: hidden;
}
.faq__answer[hidden] { display: none; }
.faq__answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info h2 { margin-top: 0.25rem; }
.contact-info p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0 2.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__brand .nav__wordmark { color: #fff; }
.footer__brand .nav__wordmark strong { color: var(--accent); }
.footer__brand p { font-size: 0.875rem; max-width: 260px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__social {
  display: flex;
  gap: 0.75rem;
}
.footer__social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: rgba(255,255,255,0.14); color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer__bottom p {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ─── WA FLOAT ───────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 90;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.reveal--delay-1 { transition-delay: 0.1s; }
.reveal.reveal--delay-2 { transition-delay: 0.2s; }
.reveal.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-connector { display: none; }
  .process-step { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer__social { justify-content: center; }
  .footer__brand { align-items: center; }
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .section { padding: 4rem 0; }
  .hero { padding-top: 7rem; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
