/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F0E9;
  --surface: #FFFFFF;
  --ink: #0E1A2B;
  --ink-soft: #4A5568;
  --ink-muted: #8B95A1;
  --line: #E8E6DF;
  --accent: #C25A3C;
  --accent-deep: #A8482E;
  --accent-soft: #FBEDE6;
  --navy-deep: #0A1422;
  --success: #2F7A56;
  --max-width: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14,26,43,0.04), 0 1px 1px rgba(14,26,43,0.02);
  --shadow-md: 0 12px 32px -16px rgba(14,26,43,0.18), 0 4px 10px -4px rgba(14,26,43,0.06);
  --shadow-lg: 0 30px 60px -28px rgba(14,26,43,0.32), 0 8px 16px -8px rgba(14,26,43,0.08);
}

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

.section {
  padding: 96px 0;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--navy-deep);
  color: #F2F0E9;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25), 0 4px 12px -4px rgba(194,90,60,0.4);
}
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; padding: 16px 22px; font-size: 16px; }
.btn-primary {
  background: var(--accent);
  color: #FFF;
  box-shadow: 0 8px 24px -10px rgba(194,90,60,0.6);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(194,90,60,0.07), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(14,26,43,0.04), transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
  color: var(--ink);
}
.muted-italic {
  font-style: italic;
  color: var(--ink-soft);
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-phone {
  margin: 4px 0 12px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.hero-phone a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}
.hero-phone a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Hero badges */
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}

.microcopy {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow.centered { display: block; margin: 0 auto 18px; max-width: max-content; }
.eyebrow-light {
  color: #F5C8B7;
  background: rgba(245, 200, 183, 0.12);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.phone-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(0.4deg);
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: #34C77A; box-shadow: 0 0 0 4px rgba(52,199,122,0.15); }
.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
  margin: 6px 0;
  max-width: 88%;
}
.bubble-in {
  background: #F1EFE8;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.bubble-out {
  background: var(--ink);
  color: #FAFAF7;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.phone-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1EFE8;
  color: var(--ink-soft);
}
.tag-success { background: #E1F1E8; color: var(--success); }

/* ---------- Strip ---------- */
.strip {
  padding: 20px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-text {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* ---------- Headings ---------- */
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 12px 0 18px;
  color: var(--ink);
}
h2.centered { text-align: center; }
h2.light, h3.light { color: #F5F3EE; }
.centered { text-align: center; }
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 auto 56px;
  max-width: 680px;
}
.section-lede.centered { text-align: center; }
.section-lede.light { color: #C8CBD2; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.testimonial-role {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}
.testimonial-result {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Stat grid ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.stat-source {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ---------- Solution (three cards) ---------- */
.solution-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.solution-num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.solution-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.solution-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Steps: 3-column variant ---------- */
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Industries grid ---------- */
.industry-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.industry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.industry:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.industry-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.feature-footer {
  margin-top: 36px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------- ROI Calculator ---------- */
.roi-calculator {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.roi-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.roi-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roi-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.roi-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px -2px rgba(194,90,60,0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.roi-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.roi-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px -2px rgba(194,90,60,0.5);
  cursor: pointer;
  border: none;
}
.roi-value {
  min-width: 56px;
  text-align: right;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.roi-result-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.roi-result-highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.roi-result-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.roi-result-number {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.roi-result-highlight .roi-result-number {
  color: var(--accent);
}
.roi-result-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Comparison ---------- */
.compare-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.compare-card-win {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.compare-card-lose {
  background: var(--bg);
  opacity: 0.92;
}
.compare-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.compare-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.1;
}
.compare-period {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink-muted);
}
.compare-strap {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(14,26,43,0.06);
}
.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.compare-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid rgba(14,26,43,0.04);
}
.compare-list li:last-child { border-bottom: 0; }
.compare-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23C25A3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/></svg>");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-list-cross li { color: var(--ink-soft); }
.compare-list-cross li::before {
  background: #F1EFE8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%238B95A1' stroke-width='3' stroke-linecap='round' d='M6 6l12 12M18 6L6 18'/></svg>");
  background-size: 9px;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.steps h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.steps p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.price-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.price-tier {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.price-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 6px;
}
.price-currency {
  font-size: 28px;
  vertical-align: 6px;
  margin-right: 2px;
  color: var(--ink-soft);
  font-weight: 400;
}
.price-period {
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.price-headline {
  margin: 18px 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(14,26,43,0.06);
}
.price-meta {
  padding: 10px 0;
  border-top: 1px solid rgba(14,26,43,0.06);
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
}
.price-meta:last-child { border-bottom: 1px solid rgba(14,26,43,0.06); }
.price-footer {
  margin-top: 36px;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------- Trust grid ---------- */
.trust-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}
.trust-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}
.trust-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  padding-right: 40px;
}

/* ---------- Form ---------- */
.form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
}
.form-intro { margin-bottom: 32px; }
.form-intro h2 { color: #F5F3EE; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #C8CBD2;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #F5F3EE;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  transition: border .15s ease, background .15s ease, box-shadow .15s ease;
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23C8CBD2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form select option { background: var(--navy-deep); color: #F5F3EE; }
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder,
.form textarea::placeholder { color: rgba(245,243,238,0.4); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194,90,60,0.15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #E5867A;
  background: rgba(229,134,122,0.08);
}
.field-error {
  display: none;
  margin-top: 6px;
  color: #E5867A;
  font-size: 13px;
}
.field.has-error .field-error { display: block; }

.form .btn-primary { margin-top: 8px; }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #FFF;
  animation: spin 0.7s linear infinite;
}
.btn[data-loading="true"] .btn-spinner { display: inline-block; }
.btn[data-loading="true"] .btn-label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-microcopy {
  font-size: 13px;
  color: #8B95A1;
  margin: 16px 0 0;
  text-align: center;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(52,199,122,0.12);
  color: #5BD68E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #F5F3EE;
}
.form-success p {
  color: #C8CBD2;
  max-width: 480px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Footer (expanded) ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner-expanded {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.footer-brand p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-company {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: var(--ink-muted) !important;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--ink); }
.footer-compliance {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px -8px rgba(14,26,43,0.12);
  padding: 18px 0;
}
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.cookie-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 72px 0 96px;
}
.legal h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 24px;
  color: var(--ink);
}
.legal h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
  text-align: left;
}
.legal h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
}
.legal ul {
  padding-left: 22px;
  margin: 14px 0;
}
.legal li { margin-bottom: 8px; }
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--accent-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .phone-card { max-width: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-inputs { grid-template-columns: 1fr; gap: 20px; }
  .roi-results { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .form-wrap { padding: 28px 20px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps,
  .steps-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { width: 100%; justify-content: center; }
}
