/* ── Google Fonts loaded in head ── */
:root {
  --font-sans: 'Manrope', sans-serif;
  --font-heading: 'Sora', sans-serif;
  --navy: #0a1628;
  --navy-deep: #060e1c;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: #f0f4f8;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; margin: 0; }

/* ── Layout helpers ── */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 42rem; }
.section { padding: 6rem 0; position: relative; z-index: 1; }
.section--dark { background: var(--navy); }
.section--white { background: #ffffff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.section--contact { background: var(--navy); overflow: hidden; }

/* ── Tag badges ── */
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px; border: 1px solid #bfdbfe; background: #eff6ff;
  padding: .25rem .85rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #1e40af;
}
.tag--light {
  border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.1); color: #93c5fd;
}
.tag--white { color: #fff; }

/* ── Section heading + sub ── */
.section-title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); color: #0f172a; }
.section-title--white { color: #fff; }
.section-sub { margin-top: 1rem; max-width: 46rem; color: #475569; line-height: 1.75; font-size: 1rem; }
.section-sub--white { color: #fff; }

/* ── CTA Button ── */
.btn-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  border-radius: 999px; background: var(--blue);
  padding: .85rem 1.5rem; font-size: .9rem; font-weight: 600;
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .2s;
  font-family: var(--font-sans);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37,99,235,.35); background: var(--blue-hover); }
.btn-cta--full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; border: 1px solid rgba(100,116,139,.5);
  padding: .75rem 1.25rem; font-size: .875rem; font-weight: 500;
  color: #cbd5e1; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: #e2e8f0; color: #fff; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(10,22,40,.95); backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav-logo-icon {
  width: 2rem; height: 2rem; border-radius: .5rem;
  background: rgba(59,130,246,.2); border: 1px solid rgba(96,165,250,.4);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-text { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .04em; color: #fff; }

/* Desktop links */
.nav-links { display: none; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: .875rem; color: #cbd5e1; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-pill {
  border-radius: 999px; border: 1px solid rgba(96,165,250,.4);
  background: rgba(59,130,246,.15); padding: .375rem 1rem;
  font-size: .875rem; color: #bfdbfe; text-decoration: none; transition: background .2s;
}
.nav-pill:hover { background: rgba(59,130,246,.3) !important; color: #bfdbfe !important; }
@media(min-width: 768px) { .nav-links { display: flex; } }

/* Hamburger button */
.nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.25rem; height: 2.25rem; background: none; border: none;
  cursor: pointer; padding: .25rem; border-radius: .5rem;
  transition: background .2s;
}
.nav-burger:hover { background: rgba(255,255,255,.08); }
.nav-burger span {
  display: block; height: 2px; border-radius: 2px;
  background: #cbd5e1; transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
.nav-burger span:nth-child(1) { width: 22px; }
.nav-burger span:nth-child(2) { width: 16px; }
.nav-burger span:nth-child(3) { width: 22px; }
/* open state */
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }
@media(min-width: 768px) { .nav-burger { display: none; } }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 20;
}
.nav-mobile.is-open { display: block; }
.nav-mobile-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,14,28,.6); backdrop-filter: blur(4px);
}
.nav-mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(18rem, 85vw);
  background: #0d1f38; border-left: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.nav-mobile.is-open .nav-mobile-panel { transform: translateX(0); }
.nav-mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-mobile-close {
  width: 2rem; height: 2rem; background: rgba(255,255,255,.07); border: none;
  border-radius: .5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: background .2s;
}
.nav-mobile-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-mobile-links {
  flex: 1; display: flex; flex-direction: column; padding: 1.5rem 1.25rem; gap: .25rem;
}
.nav-mobile-links a {
  display: block; padding: .75rem 1rem; border-radius: .75rem;
  font-size: .9375rem; font-weight: 500; color: #cbd5e1; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-mobile-links a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-mobile-cta {
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.nav-mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; background: #2563eb; color: #fff; text-decoration: none;
  font-size: .9rem; font-weight: 600; padding: .85rem 1.25rem;
  transition: background .2s;
}
.nav-mobile-cta a:hover { background: #1d4ed8; }

/* ── Hero ── */
.hero { background: var(--navy); position: relative; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right,#60a5fa 1px,transparent 1px),
    linear-gradient(to bottom,#60a5fa 1px,transparent 1px);
  background-size: 48px 48px; opacity: .06;
}
.hero-glow-l {
  position: absolute; left: -8rem; top: -8rem;
  width: 32rem; height: 32rem; border-radius: 9999px;
  background: rgba(29,78,216,.2); filter: blur(100px); pointer-events: none;
}
.hero-glow-r {
  position: absolute; right: 0; bottom: -6rem;
  width: 25rem; height: 25rem; border-radius: 9999px;
  background: rgba(8,145,178,.15); filter: blur(90px); pointer-events: none;
}
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4rem;
  background: linear-gradient(to bottom, transparent, #f0f4f8); pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: 3.5rem; padding: 7rem 1.5rem;
  max-width: 72rem; margin: 0 auto;
}
@media(min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; border: 1px solid rgba(96,165,250,.3);
  background: rgba(59,130,246,.1); padding: .25rem 1rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #93c5fd; margin-bottom: 1.5rem;
}
.hero-dot {
  width: .375rem; height: .375rem; border-radius: 9999px; background: #60a5fa;
  animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title { font-size: clamp(1.4rem, 5vw, 3.4rem); color: #fff; margin-bottom: 1.5rem; }
.hero-title span { color: #60a5fa; }
.hero-sub { font-size: 1.125rem; color: #cbd5e1; margin-bottom: .75rem; line-height: 1.75; }
.hero-body { font-size: 1rem; color: #94a3b8; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* hero card */
.hero-card {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); padding: 2rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}
.hero-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.hero-card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  background: rgba(59,130,246,.2); border: 1px solid rgba(96,165,250,.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card-row {
  display: flex; align-items: center; gap: .75rem;
  border-radius: .75rem; background: rgba(255,255,255,.05);
  padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.1); margin-bottom: .75rem;
}
.hero-card-promise {
  margin-top: 1.5rem; border-radius: .75rem;
  border: 1px solid rgba(59,130,246,.2); background: rgba(59,130,246,.1); padding: 1rem;
  font-size: .875rem; color: #bfdbfe; line-height: 1.75;
}

/* ── Service cards ── */
.services-grid { display: grid; gap: 1.25rem; }
@media(min-width: 640px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none; color: inherit; display: block;
}
.service-card:hover { transform: translateY(-4px); border-color: #93c5fd; box-shadow: 0 12px 32px rgba(147,197,253,.3); }
.service-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  background: rgba(10,22,40,.05); border: 1px solid rgba(10,22,40,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  transition: background .2s, border-color .2s;
}
.service-card:hover .service-icon { background: #eff6ff; border-color: #bfdbfe; }
.service-icon svg { color: #1e3a5f; transition: color .2s; }
.service-card:hover .service-icon svg { color: #2563eb; }
.service-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: #0f172a; }
.service-card p  { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.75; }

/* group divider */
.group-label {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem;
}
.group-label span { font-family: var(--font-heading); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #64748b; white-space: nowrap; }
.group-label hr { flex: 1; border: none; border-top: 1px solid #e2e8f0; }

/* ── Steps ── */
.steps-grid { display: grid; gap: 1.5rem; }
@media(min-width: 768px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }

.step-card {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); padding: 1.75rem;
  backdrop-filter: blur(4px);
}
.step-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: rgba(59,130,246,.3); line-height: 1; margin-bottom: 1rem; }
.step-card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; color: #fff; }
.step-card p  { margin-top: .75rem; font-size: .875rem; color: #94a3b8; line-height: 1.75; }

/* ── Benefits ── */
.benefits-wrap { display: grid; gap: 3.5rem; }
@media(min-width: 1024px) { .benefits-wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.benefit-item {
  display: flex; align-items: center; gap: 1rem;
  border-radius: .75rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1rem 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.04);
  margin-bottom: .75rem;
}
.benefit-icon {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem; flex-shrink: 0;
  background: rgba(10,22,40,.05); display: flex; align-items: center; justify-content: center;
}
.benefit-item span { font-size: .875rem; font-weight: 500; color: #334155; }

/* ── About ── */
.about-wrap { display: grid; gap: 3rem; }
@media(min-width: 1024px) { .about-wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-card { display: flex; gap: 1rem; border-radius: 1rem; border: 1px solid #e2e8f0; padding: 1.25rem; }
.about-card + .about-card { margin-top: 1rem; }
.about-card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.about-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: #0f172a; }
.about-card p  { margin-top: .25rem; font-size: .875rem; color: #475569; line-height: 1.75; }

/* ── Contact ── */
.contact-glow {
  position: absolute; right: -10rem; top: 0;
  width: 25rem; height: 25rem; border-radius: 9999px;
  background: rgba(29,78,216,.15); filter: blur(90px); pointer-events: none;
}
.contact-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right,#60a5fa 1px,transparent 1px),
    linear-gradient(to bottom,#60a5fa 1px,transparent 1px);
  background-size: 48px 48px; opacity: .04;
}
.contact-form {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); padding: 1.75rem;
  backdrop-filter: blur(4px);
}
.contact-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media(min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.field-dark {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .875rem; font-weight: 600; color: #cbd5e1; font-family: var(--font-sans);
}
.field-dark input, .field-dark textarea {
  border: 1px solid rgba(255,255,255,.1); border-radius: .75rem;
  background: rgba(255,255,255,.06); padding: .75rem .95rem;
  font: inherit; color: #f1f5f9; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field-dark input::placeholder, .field-dark textarea::placeholder { color: rgba(148,163,184,.6); }
.field-dark input:focus, .field-dark textarea:focus {
  border-color: rgba(96,165,250,.6); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.field-dark textarea { resize: vertical; }
.mt-1 { margin-top: 1rem; }

/* flash messages */
.flash { padding: .75rem 1.25rem; border-radius: .75rem; margin-bottom: 1rem; font-size: .875rem; }
.flash--success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.flash--error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #fca5a5; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.1);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: .875rem;
}
@media(min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copy { display: flex; align-items: center; gap: .5rem; color: #64748b; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: #64748b; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #e2e8f0; }

/* ── Legal pages ── */
.legal-page { min-height: 100vh; background: #f8fafc; padding: 5rem 1.5rem; }
.legal-article { max-width: 56rem; margin: 0 auto; }
.legal-article h1 { font-size: clamp(2rem,4vw,2.6rem); margin-bottom: 1rem; }
.legal-article h2 { font-family: var(--font-heading); font-size: 1.25rem; margin-top: 2rem; margin-bottom: .5rem; }
.legal-article p, .legal-article li { color: #334155; line-height: 1.75; }
.legal-article ul { padding-left: 1.2rem; }
.legal-back { display: inline-block; margin-top: 2rem; color: #1e3a5f; font-size: .875rem; }
.legal-back:hover { text-decoration: underline; }

/* ── SVG icon helper ── */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-inner .icon, .about-card-icon .icon {
stroke:#fff;}
