/* ---------- Tokens ---------- */
:root {
  --blue: #1E6FEB;
  --blue-dark: #154fae;
  --navy: #0B1B3F;
  --navy-soft: #14285a;
  --tint: #EAF2FF;
  --tint-2: #F5F9FF;
  --ink: #0B1B3F;
  --ink-soft: #4A5876;
  --white: #FFFFFF;
  --border: #DCE7FA;
  --error: #D64545;
  --success: #1E9E5A;
  --accent: #FFB020;
  --accent-ink: #7A4B00;

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --header-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 27, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 27, 63, 0.14);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; color: var(--navy); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 111, 235, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(30, 111, 235, 0.4); background: var(--blue-dark); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(0px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(11,27,63,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.brand-name strong { color: var(--blue); font-weight: 700; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.18em; color: var(--ink-soft); font-weight: 600; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: inline-flex; }

.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: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
  box-shadow: var(--shadow);
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--tint);
}
.mobile-nav .btn { margin-top: 12px; }
.mobile-nav.open { display: flex; }

/* ---------- Reveal / morph-in animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Section wave dividers ---------- */
section { position: relative; }
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.wave-divider svg { display: block; width: 100%; height: 64px; }
.wave-divider-lg svg { height: 96px; }
@media (max-width: 760px) {
  .wave-divider svg { height: 40px; }
  .wave-divider-lg svg { height: 60px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  background: linear-gradient(180deg, var(--tint-2) 0%, #fff 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-light { color: #9CC0F5; }

.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF4DE;
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: badge-pulse 2.4s ease-in-out infinite;
}
.speed-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255, 176, 32, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .speed-badge { animation: none; }
}

.hero-copy h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-tagline { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; color: var(--navy); font-size: 0.9rem; }
.hero-svg { width: 100%; height: auto; }
.hero-art { will-change: transform; }

/* ---------- Section shells ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Services ---------- */
.services { background: var(--tint); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  margin-bottom: 18px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Why Us ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item { text-align: center; padding: 0 10px; }
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tint);
  margin-bottom: 16px;
}
.trust-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-item p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Process ---------- */
.process { background: var(--tint-2); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}
.process-steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-steps p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact {
  background: radial-gradient(circle at 20% 20%, var(--navy-soft), var(--navy) 70%);
  color: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.contact-lead { color: #C7D6F5; line-height: 1.6; margin-bottom: 6px; }
.contact-email {
  display: inline-block;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  border-bottom: 2px solid var(--blue);
  margin: 10px 0 20px;
}
.contact-pricing {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #EAF2FF;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--tint-2);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,111,235,0.12);
}
.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--error); }
.field-error {
  font-size: 0.8rem;
  color: var(--error);
  min-height: 1em;
}
.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#form-submit { position: relative; margin-top: 4px; }
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
#form-submit.loading .btn-label { opacity: 0.6; }
#form-submit.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9C7EA; padding: 56px 0 24px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: #fff; font-family: var(--font-head); font-weight: 600; }
.footer-brand .brand-name strong { color: #7EA9F2; }
.footer-tagline { margin-top: 6px; font-size: 0.85rem; letter-spacing: 0.06em; color: #8DA3D6; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { font-weight: 600; color: #fff; }
.footer-contact p { margin-top: 6px; font-size: 0.85rem; }
.footer-bottom { padding-top: 20px; font-size: 0.82rem; color: #7787AE; }
.footer-bottom a { color: #B9C7EA; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Policy / content page ---------- */
.policy-hero {
  padding: calc(var(--header-h) + 56px) 0 48px;
  background: var(--tint-2);
}
.policy-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.policy-hero p { color: var(--ink-soft); }
.policy-content { padding: 56px 0 88px; }
.policy-content .wrap { max-width: 760px; }
.policy-content h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.policy-content ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); line-height: 1.7; }
.policy-content li { margin-bottom: 6px; }
.policy-content a { color: var(--blue); text-decoration: underline; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}
