@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0d1f3c;
  --cyan:        #0fa3d4;
  --periwinkle:  #84a9ff;
  --near-black:  #111318;
  --warm-gray:   #d9d9d2;
  --light-bg:    #f7f7f5;
  --white:       #ffffff;
  --cyan-light:  #e6f6fb;
  --navy-light:  #e8edf5;
  --border:      rgba(0,0,0,0.08);
  --border-med:  rgba(0,0,0,0.12);
  --text-main:   #111318;
  --text-muted:  #5a5f6b;
  --text-light:  #8a8f9a;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --font-display:'Syne', 'Arial', sans-serif;
  --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:  all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Typography ───────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--near-black);
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--near-black);
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--near-black);
}
.body-lg { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.body-sm { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Layout ───────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--light-bg); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #0a1628; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,31,60,0.25); }
.btn-accent { background: var(--cyan); color: #fff; }
.btn-accent:hover { background: #0d92be; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,163,212,0.3); }
.btn-outline {
  background: none;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover { background: var(--cyan-light); }
.btn-ghost {
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
}
.btn-ghost:hover { background: var(--light-bg); color: var(--text-main); border-color: var(--border-med); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 32px; font-size: 14px; }

/* ── Badges & Tags ────────────────────────────── */
.eyebrow {
  display: inline-block;
  background: var(--cyan-light);
  color: #0a7a9e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.eyebrow-navy { background: var(--navy-light); color: var(--navy); }
.badge-new {
  display: inline-block;
  background: var(--cyan-light);
  color: #0a7a9e;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px dashed var(--cyan);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 20px;
  margin: 3px 3px 3px 0;
}
.tag-cyan { background: var(--cyan-light); color: #0a7a9e; }
.tag-navy { background: var(--navy-light); color: var(--navy); }
.tag-periwinkle { background: #eef2fd; color: #3d5cc4; }

/* ── Cards ────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-med); box-shadow: var(--shadow-sm); }
.card-surface {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-top: 3px solid var(--border);
  transition: var(--transition);
}
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.svc-card.cyan { border-top-color: var(--cyan); }
.svc-card.navy { border-top-color: var(--navy); }
.svc-card.periwinkle { border-top-color: var(--periwinkle); }
.svc-card.dashed-top { border-top: 2px dashed var(--cyan); }

.svc-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-icon.cyan { background: var(--cyan-light); }
.svc-icon.navy { background: var(--navy-light); }
.svc-icon.periwinkle { background: #eef2fd; }

/* ── Navigation ───────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 60px;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 32px;
  height: 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-inner {
  width: 13px; height: 13px;
  border: 2px solid var(--cyan);
  border-radius: 3px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--near-black);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13px;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
}
.nav-link:hover, .nav-link.active { color: var(--near-black); background: var(--light-bg); }
.nav-cta {
  margin-left: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.nav-cta:hover { background: #0a1628; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--near-black); border-radius: 2px; transition: var(--transition); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a, .nav-mobile button {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: none; border: none; text-align: left; font-family: var(--font-body);
  transition: var(--transition);
}
.nav-mobile a:hover, .nav-mobile button:hover { background: var(--light-bg); color: var(--near-black); }
.nav-mobile .mobile-cta {
  margin-top: 8px; background: var(--navy); color: #fff;
  text-align: center; border-radius: var(--radius-sm); padding: 12px;
}
.nav-mobile .mobile-cta:hover { background: #0a1628; }

/* ── Hero ─────────────────────────────────────── */
.hero { padding: 72px 0 64px; }

.hero-eyebrow { margin-bottom: 20px; }
.hero-title { margin-bottom: 18px; }
.hero-body { margin-bottom: 32px; max-width: 440px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Estimate comparison card */
.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.compare-card-header {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.compare-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.compare-row.shop { background: var(--light-bg); }
.compare-row.ins  { background: var(--light-bg); }
.compare-row.gap  { background: var(--cyan-light); border: 1px solid rgba(15,163,212,0.2); }
.compare-label { font-size: 13px; color: var(--text-muted); }
.compare-val { font-size: 14px; font-weight: 500; color: var(--near-black); }
.compare-val.danger { color: #a32d2d; }
.compare-val.accent { font-size: 18px; color: var(--cyan); font-family: var(--font-display); }
.gap-label { font-size: 13px; font-weight: 500; color: var(--navy); }

.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.mini-stat { background: var(--light-bg); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.mini-stat-label { font-size: 10px; font-weight: 500; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.mini-stat-val { font-size: 12px; color: var(--text-muted); }
.compare-note { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 12px; }

/* ── Trust Bar ────────────────────────────────── */
.trust-bar { background: var(--navy); padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { text-align: center; padding: 0 20px; }
.trust-item + .trust-item { border-left: 1px solid rgba(132,169,255,0.15); }
.trust-num { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--cyan); margin-bottom: 4px; }
.trust-label { font-size: 11px; color: var(--periwinkle); }

/* ── Process Steps ────────────────────────────── */
.process-list { max-width: 560px; margin: 0 auto; }
.process-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step:last-child { border-bottom: none; }
.process-step.visible { opacity: 1; transform: translateY(0); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cyan-light);
  color: #0a7a9e;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-family: var(--font-display);
}
.step-title { font-size: 15px; font-weight: 500; color: var(--near-black); margin-bottom: 5px; }

/* ── About Teaser ─────────────────────────────── */
.avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600; color: var(--navy);
  margin-bottom: 20px;
}
.value-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.value-item:last-child { margin-bottom: 0; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; margin-top: 7px; }

/* ── CTA Banner ───────────────────────────────── */
.cta-banner { background: var(--navy); padding: 72px 0; text-align: center; }
.cta-banner .display-2 { color: #fff; margin-bottom: 12px; }
.cta-banner .body-lg { color: var(--periwinkle); margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ── Page Header ──────────────────────────────── */
.page-header {
  background: var(--light-bg);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}
.page-header .display-1 { margin: 8px 0 12px; }
.page-header .body-lg { max-width: 500px; }

/* ── Footer ───────────────────────────────────── */
footer { background: var(--navy); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-tagline { font-size: 12px; color: var(--periwinkle); font-style: italic; margin-bottom: 20px; }
.footer-contact-line { font-size: 12px; color: var(--periwinkle); margin-bottom: 6px; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.footer-link { display: block; font-size: 13px; color: var(--periwinkle); margin-bottom: 10px; transition: color 0.2s; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(132,169,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(132,169,255,0.45); }

/* ── Divider ──────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Contact ──────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 14px;
  font-size: 13px; font-family: var(--font-body);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(15,163,212,0.1);
}
textarea { resize: vertical; min-height: 110px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5f6b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.info-icon {
  width: 36px; height: 36px;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 16px; height: 16px; }
.info-title { font-size: 13px; font-weight: 500; color: var(--near-black); margin-bottom: 3px; }
.info-val { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Mediation ────────────────────────────────── */
.med-compare {
  background: var(--cyan-light);
  border: 1px solid rgba(15,163,212,0.2);
  border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 16px;
}
.med-compare-title { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 16px; }
.med-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 0; border-bottom: 1px solid rgba(15,163,212,0.15);
  font-size: 13px;
}
.med-row:last-child { border-bottom: none; padding-bottom: 0; }
.med-row-key { color: var(--text-muted); }
.med-row-val { color: var(--near-black); font-weight: 500; }

/* ── Animations ───────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* count-up animation target */
#gap-counter { display: inline; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .trust-item + .trust-item { border-left: none; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(132,169,255,0.15); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 36px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
