/* ============================================================
   CAREFLOW — Marketing site
   Editorial-médica. Warm. Considered. NYT Magazine x luxury MX clinic.
   ============================================================ */

:root {
  /* Palette — Careflow brand */
  --cream: #F7F4EE;
  --cream-deep: #EFE9DE;
  /* Brand primaries (from logo) */
  --cyan: #4FC8E4;          /* Care */
  --cyan-deep: #2DA9C7;
  --pink: #F062AB;          /* flow + CTAs */
  --pink-deep: #D44A92;
  --indigo: #3D52E5;        /* cross dot accent */
  --indigo-deep: #2A3DC4;
  /* Ink: deep navy replaces the old forest */
  --forest: #18205A;         /* legacy var name, repointed */
  --forest-deep: #0F1647;
  --terracota: #F062AB;      /* legacy var name, repointed to pink */
  --terracota-deep: #D44A92;
  --midnight: #3D52E5;       /* legacy var, repointed to indigo */
  --warm-grey: #8B857E;
  --warm-grey-soft: #D4CFC7;
  --warm-grey-line: #E5E0D8;
  --whatsapp-green: #25D366;
  --whatsapp-out: #DCF8C6;
  --whatsapp-bg: #ECE5DD;

  /* Type */
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body: "Manrope", "Söhne", "GT America", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 11vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  text-wrap: pretty;
}

img, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracota);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.italic { font-style: italic; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-stagger="1"] { transition-delay: 80ms; }
.reveal[data-stagger="2"] { transition-delay: 160ms; }
.reveal[data-stagger="3"] { transition-delay: 240ms; }
.reveal[data-stagger="4"] { transition-delay: 320ms; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease);
  color: var(--cream);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: var(--cream);
  color: var(--forest);
  border-bottom-color: var(--warm-grey-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-style: italic;
  display: inline-flex; align-items: center;
}
.wordmark img {
  height: 42px;
  width: auto;
  display: block;
}
.nav.solid .wordmark img { /* identical, but reserved for future swap */ }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  opacity: 0.9; transition: opacity 200ms;
}
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-login {
  font-size: 14px; font-weight: 500; opacity: 0.9;
}

/* Pill button — pink CTA */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  background: var(--pink);
  color: #FFF6FB;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 8px 20px -8px rgba(240, 98, 171, 0.55);
}
.btn-pill:hover { background: var(--pink-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(240, 98, 171, 0.7); }
.btn-pill.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-pill.xl { height: 60px; padding: 0 32px; font-size: 17px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: var(--cream);
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.92) contrast(1.02);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 30% 50%, rgba(0,0,0,0.10), rgba(0,0,0,0.55) 80%),
    linear-gradient(180deg, rgba(24, 32, 90, 0.30) 0%, rgba(24, 32, 90, 0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-inner {
  max-width: 640px;
  padding-bottom: 40px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: #F8F5F0;
}
.hero h1 em {
  font-style: italic;
  font-weight: 350;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 300;
  line-height: 1.35;
  margin: 0 0 36px;
  color: rgba(248, 245, 240, 0.85);
  max-width: 520px;
  letter-spacing: -0.005em;
}
.hero-tag {
  position: absolute;
  bottom: 36px;
  left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(248, 245, 240, 0.7);
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracota); }

/* Hero act ticker (subtle, lower-left) */
.hero-acts {
  position: absolute;
  bottom: 36px; left: var(--gutter);
  z-index: 2;
  display: flex; gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248, 245, 240, 0.55);
}
.hero-acts span { display: flex; align-items: center; gap: 6px; }
.hero-acts span::before {
  content: ""; width: 12px; height: 1px; background: currentColor;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  padding: var(--section-y) 0;
  background: var(--cream);
  border-bottom: 1px solid var(--warm-grey-line);
}
.stats .eyebrow {
  text-align: center;
  display: block;
  margin-bottom: 56px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid var(--warm-grey-line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--forest);
  margin-bottom: 18px;
}
.stat-num em { font-style: italic; font-weight: 350; color: var(--pink); }
.stat-num em.cyan { color: var(--cyan); }
.stat-num em.indigo { color: var(--indigo); }
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-grey);
  line-height: 1.45;
  max-width: 180px;
  margin: 0 auto;
}

/* ============================================================
   WALL OF LOVE — marquee
   ============================================================ */
.wall {
  padding: var(--section-y) 0 calc(var(--section-y) - 24px);
  background: var(--cream);
  overflow: hidden;
}
.wall .eyebrow {
  text-align: center;
  display: block;
  margin-bottom: 48px;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll-x 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-card {
  flex: 0 0 auto;
  width: 156px;
  height: 278px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--forest);
  transition: transform 320ms var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card .initial {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  color: rgba(248, 245, 240, 0.92);
}
.testimonial-card .gloss {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.testimonial-card .meta {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  color: var(--cream);
  z-index: 1;
}
.testimonial-card .meta .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.1;
}
.testimonial-card .meta .role {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.testimonial-card .play {
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: var(--cream);
  font-size: 9px;
}

/* Modal */
.modal-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 22, 71, 0.82);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: var(--gutter);
  animation: fade-in 220ms var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: transparent;
  color: var(--cream);
  text-align: center;
  max-width: 420px;
}
.modal-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  background: var(--forest-deep);
  border-radius: 18px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 96px;
  color: rgba(248, 245, 240, 0.9);
}
.modal-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.modal-role {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}
.modal-close {
  position: fixed;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(248, 245, 240, 0.14);
  color: var(--cream);
  display: grid; place-items: center;
  font-size: 18px;
}

/* ============================================================
   PRODUCT TRIPTYCH
   ============================================================ */
.products {
  padding: var(--section-y) 0;
  background: var(--cream);
}
.products-head {
  text-align: center;
  margin-bottom: 96px;
}
.products-head .eyebrow { margin-bottom: 22px; }
.products-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.products-head h2 em { font-style: italic; }

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--warm-grey-line);
}
.product-block:last-child { border-bottom: 1px solid var(--warm-grey-line); }
.product-block.visual-right .visual { order: 2; }

.product-text { max-width: 540px; }
.product-text .eyebrow { margin-bottom: 22px; display: block; }
.product-label {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-label .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--pink);
}
.product-label .name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--pink);
}
.product-label.cyan .num, .product-label.cyan .name { color: var(--cyan-deep); }
.product-label.indigo .num, .product-label.indigo .name { color: var(--indigo); }
.product-text .sub-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-grey);
  display: block;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--warm-grey-line);
}
.product-text h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 22px;
}
.product-text .body {
  color: #2a3270;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.product-text ul {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  border-top: 1px solid var(--warm-grey-line);
}
.product-text ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--warm-grey-line);
  font-size: 15px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}
.product-text ul li::before {
  content: "—";
  color: var(--pink);
  font-weight: 500;
}
.product-text .closer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: var(--pink);
  padding: 20px 0 24px;
  letter-spacing: -0.01em;
}
.product-text .closer.midnight { color: var(--indigo); }
.product-text .closer.cyan { color: var(--cyan-deep); }
.product-cta {
  font-size: 15px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 220ms var(--ease);
}
.product-cta:hover { gap: 14px; }
.product-cta.green { color: var(--cyan-deep); }
.product-cta.terra { color: var(--pink); }
.product-cta.midnight { color: var(--indigo); }

/* product visuals */
.visual {
  position: relative;
}

/* ---- Phone mockup ---- */
.phone {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 320 / 660;
  background: #0c0c0c;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(22, 41, 31, 0.25),
    0 6px 14px rgba(22, 41, 31, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.phone-screen {
  background: var(--whatsapp-bg);
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.phone .notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #0c0c0c;
  border-radius: 16px;
  z-index: 2;
}

/* WhatsApp chrome */
.wa-header {
  background: #075E54;
  color: #F8F5F0;
  padding: 38px 14px 10px;
  display: flex; align-items: center; gap: 10px;
}
.wa-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: #fff;
}
.wa-name { font-size: 13px; font-weight: 600; line-height: 1.1; }
.wa-status { font-size: 10px; opacity: 0.78; }

.wa-body {
  flex: 1;
  background:
    radial-gradient(rgba(31, 58, 46, 0.04) 1px, transparent 1px) 0 0 / 12px 12px,
    var(--whatsapp-bg);
  padding: 14px 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 6px;
}
.wa-day {
  align-self: center;
  font-size: 9px;
  letter-spacing: 0.06em;
  background: #fff;
  color: var(--warm-grey);
  padding: 3px 10px;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  margin: 4px 0;
}
.bubble {
  max-width: 78%;
  padding: 7px 10px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.35;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
  color: #303030;
}
.bubble.in {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.bubble.out {
  background: var(--whatsapp-out);
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.bubble .t {
  font-size: 9px;
  color: var(--warm-grey);
  display: inline-block;
  margin-left: 8px;
  position: relative; top: 1px;
}
.bubble.voice {
  display: flex; align-items: center; gap: 8px;
  min-width: 180px;
}
.bubble.voice .wave {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
}
.bubble.voice .wave i {
  display: block;
  width: 2px;
  background: var(--indigo);
  opacity: 0.6;
  border-radius: 1px;
}

/* Marketing visual: carousel + dashboard */
.mk-stack {
  display: grid;
  gap: 22px;
}
.mk-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.carousel-slide {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--forest);
  color: var(--cream);
  padding: 18px 16px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.carousel-slide.s2 { background: var(--pink); }
.carousel-slide.s3 { background: var(--cream-deep); color: var(--forest); }
.carousel-slide.s1 { background: linear-gradient(150deg, var(--indigo) 0%, var(--forest) 100%); }
.carousel-slide .tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.carousel-slide .copy {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.carousel-slide .copy em { font-style: italic; }
.carousel-slide .num {
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0.55;
}

.dashboard {
  background: #FFFCF7;
  border: 1px solid var(--warm-grey-line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 50px -25px rgba(22, 41, 31, 0.18);
}
.dash-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--warm-grey-line);
}
.dash-head .title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.dash-head .meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.funnel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.funnel .step {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dotted var(--warm-grey-line);
}
.funnel .step .lab {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--warm-grey);
  text-transform: uppercase;
}
.funnel .step .val {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.dash-foot {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.dash-foot .lab {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey);
}
.dash-foot .val {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--pink);
  letter-spacing: -0.02em;
}

/* ============================================================
   CASE STUDY — forest section
   ============================================================ */
.case {
  background: var(--forest);
  color: var(--cream);
  padding: var(--section-y) 0;
}
.case .eyebrow { color: var(--cyan); }
.case-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--gutter);
}
.case h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 22px 0 22px;
}
.case h2 em { font-style: italic; color: var(--cyan); }
.case h2 em.before { color: var(--pink); }
.case-sub {
  max-width: 620px;
  margin: 0 auto 64px;
  color: rgba(248, 245, 240, 0.75);
  font-size: 17px;
  line-height: 1.55;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  text-align: left;
  padding: 48px 0;
  border-top: 1px solid rgba(248, 245, 240, 0.15);
  border-bottom: 1px solid rgba(248, 245, 240, 0.15);
}
.case-stat .v {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
}
.case-stat .v em { font-style: italic; color: var(--cyan); }
.case-stat .l {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(248, 245, 240, 0.7);
  max-width: 280px;
}
.case-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 64px auto 0;
  max-width: 740px;
}
.case-attrib {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.6);
}
.case-link {
  display: inline-block;
  margin-top: 56px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 3px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: var(--section-y) 0;
  background: var(--cream);
}
.how-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 40px;
}
.how-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 18px 0 0;
  max-width: 620px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--warm-grey-line);
}
.how-step {
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--warm-grey-line);
}
.how-step:last-child { border-right: none; padding-right: 0; }
.how-step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  font-weight: 350;
  color: var(--pink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.how-step:nth-child(1) .num { color: var(--cyan); }
.how-step:nth-child(3) .num { color: var(--indigo); }
.how-step h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.how-step p {
  font-size: 15px;
  line-height: 1.55;
  color: #2a3270;
  margin: 0;
}
.how-foot {
  margin-top: 80px;
  text-align: center;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  background: var(--forest);
  color: var(--cream);
  padding: var(--section-y) 0;
}
.pricing-head {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-head .eyebrow { color: var(--terracota); margin-bottom: 22px; display: block; }
.pricing-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 350;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.04;
}
.pricing-head h2 em { font-style: italic; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.plan {
  background: rgba(248, 245, 240, 0.04);
  border: 1px solid rgba(248, 245, 240, 0.12);
  border-radius: 18px;
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 320ms var(--ease), background 320ms var(--ease);
}
.plan:hover { transform: translateY(-4px); background: rgba(248, 245, 240, 0.06); }
.plan.featured {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--pink);
  box-shadow:
    0 0 0 1px var(--pink),
    0 30px 70px -20px rgba(0,0,0,0.4);
}
.plan-tag {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--pink);
  color: #FFF6FB;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(240, 98, 171, 0.55);
}
.plan .eyebrow {
  margin-bottom: 14px;
  color: var(--pink);
}
.plan.featured .eyebrow { color: var(--pink); }
.plan-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price em { font-style: italic; }
.plan-price .per {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.7;
  margin-left: 4px;
}
.plan-desc {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.78;
  margin: 18px 0 26px;
  min-height: 64px;
}
.plan-feats {
  list-style: none;
  padding: 0; margin: 0 0 30px;
  flex: 1;
}
.plan-feats li {
  padding: 12px 0;
  border-top: 1px solid rgba(248, 245, 240, 0.1);
  font-size: 14px;
  line-height: 1.4;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.plan.featured .plan-feats li {
  border-top-color: var(--warm-grey-line);
}
.plan-feats li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}
.plan.featured .plan-feats li::before { color: var(--pink); }
.plan-btn {
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  text-align: center;
  line-height: 46px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: rgba(248, 245, 240, 0.08);
  color: var(--cream);
  transition: background 240ms var(--ease);
}
.plan-foot {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(248, 245, 240, 0.55);
  margin: -10px 0 18px;
  letter-spacing: 0.01em;
}
.plan-foot a {
  color: var(--pink);
  font-weight: 600;
  border-bottom: 1px solid var(--pink);
  padding-bottom: 1px;
}
.plan-btn:hover { background: rgba(248, 245, 240, 0.16); }
.plan.featured .plan-btn {
  background: var(--pink);
  color: #FFF6FB;
}
.plan.featured .plan-btn:hover { background: var(--pink-deep); }

.addons-divider {
  text-align: center;
  margin: 32px 0 28px;
}
.addons-divider .eyebrow {
  color: rgba(248, 245, 240, 0.55);
}
.addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.addon {
  background: rgba(248, 245, 240, 0.04);
  border: 1px solid rgba(248, 245, 240, 0.12);
  border-radius: 18px;
  padding: 28px;
}
.addon .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.addon .price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--pink);
  margin-bottom: 16px;
}
.addon p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.78;
  margin: 0 0 22px;
}
.addon .btn-add {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  color: var(--cream);
}

.pricing-closer {
  margin-top: 100px;
  padding-top: 64px;
  border-top: 1px solid rgba(248, 245, 240, 0.15);
  text-align: center;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
}
.pricing-closer .math {
  font-size: 14px;
  letter-spacing: 0;
  color: rgba(248, 245, 240, 0.65);
  margin-bottom: 20px;
}
.pricing-closer .punch {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.pricing-closer .punch em { font-style: italic; color: var(--pink); }
.pricing-closer .sav {
  font-size: 15px;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 36px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  background: var(--forest-deep);
  color: var(--cream);
  padding: calc(var(--section-y) + 24px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 50% 30%, rgba(240, 98, 171, 0.18), transparent 70%),
    radial-gradient(40% 50% at 20% 80%, rgba(79, 200, 228, 0.10), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 36px;
}
.cta h2 em { font-style: italic; }
.cta-note {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(248, 245, 240, 0.55);
  margin-top: 22px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-y) 0;
  background: var(--cream);
}
.faq-head {
  text-align: center; margin-bottom: 56px;
}
.faq-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 350;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--warm-grey-line);
}
.faq-item {
  border-bottom: 1px solid var(--warm-grey-line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--forest);
  cursor: pointer;
  transition: color 220ms;
}
.faq-q:hover { color: var(--pink); }
.faq-q .plus {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 300;
  color: var(--pink);
  transition: transform 320ms var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease), padding 400ms var(--ease);
  font-size: 16px;
  line-height: 1.6;
  color: #2a3270;
  max-width: 680px;
}
.faq-item.open .faq-a {
  max-height: 280px;
  padding: 0 0 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--cream);
  padding: 88px 0 36px;
  border-top: 1px solid var(--warm-grey-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-grey);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--forest);
  opacity: 0.85;
  transition: opacity 200ms;
}
.footer-col a:hover { opacity: 1; color: var(--pink); }
.footer-brand .wordmark { color: var(--forest); display: inline-block; margin-bottom: 14px; }
.footer-brand .wordmark img { height: 54px; }
.footer-brand .made {
  font-size: 13px;
  color: var(--warm-grey);
  letter-spacing: 0.02em;
}
.footer-brand .powered {
  margin-top: 2px;
  font-size: 13px;
  color: var(--warm-grey);
  letter-spacing: 0.02em;
}
.footer-brand .powered em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--forest);
  font-weight: 500;
}
.footer-bar {
  padding-top: 24px;
  border-top: 1px solid var(--warm-grey-line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--warm-grey);
  letter-spacing: 0.04em;
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  pointer-events: none;
}
.wa-fab.in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-button {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #fff;
  display: grid; place-items: center;
  box-shadow:
    0 16px 32px -10px rgba(37, 211, 102, 0.5),
    0 4px 10px rgba(0,0,0,0.12);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.wa-button:hover {
  transform: scale(1.06);
  box-shadow:
    0 20px 40px -10px rgba(37, 211, 102, 0.6),
    0 6px 14px rgba(0,0,0,0.16);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  animation: wa-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
.wa-pulse.delay { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.wa-card {
  position: relative;
  width: 296px;
  background: #FFFCF7;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow:
    0 24px 50px -16px rgba(15, 22, 71, 0.28),
    0 4px 10px rgba(15, 22, 71, 0.08),
    inset 0 0 0 1px var(--warm-grey-line);
  color: var(--forest);
  cursor: pointer;
  animation: wa-card-in 460ms var(--ease) both;
  transition: transform 220ms var(--ease);
}
.wa-card:hover { transform: translateY(-2px); }
@keyframes wa-card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-card::after {
  content: "";
  position: absolute;
  bottom: -7px; right: 24px;
  width: 14px; height: 14px;
  background: #FFFCF7;
  border-right: 1px solid var(--warm-grey-line);
  border-bottom: 1px solid var(--warm-grey-line);
  transform: rotate(45deg);
}

.wa-card-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(15, 22, 71, 0.06);
  color: var(--forest);
  font-size: 11px;
  display: grid; place-items: center;
  opacity: 0.7;
  transition: opacity 200ms, background 200ms;
}
.wa-card-close:hover { opacity: 1; background: rgba(15, 22, 71, 0.12); }

.wa-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.wa-card-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-deep);
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--warm-grey-line);
}
.wa-card-avatar .dot-c,
.wa-card-avatar .dot-p,
.wa-card-avatar .dot-i {
  position: absolute;
  border-radius: 50%;
}
.wa-card-avatar .dot-c {
  background: var(--cyan);
  width: 18px; height: 18px;
  top: 6px; left: 6px;
}
.wa-card-avatar .dot-p {
  background: var(--pink);
  width: 14px; height: 14px;
  bottom: 6px; right: 6px;
}
.wa-card-avatar .dot-i {
  background: var(--indigo);
  width: 8px; height: 8px;
  top: 14px; left: 14px;
}
.wa-card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.wa-card-status {
  font-size: 11px;
  color: var(--warm-grey);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.wa-card-status .live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-live 1.8s ease-in-out infinite;
}
@keyframes wa-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}
.wa-card-msg {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--forest);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--warm-grey-line);
  text-wrap: pretty;
}
.wa-card-msg em {
  font-style: italic;
  color: var(--pink);
}
.wa-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px;
  border-radius: 999px;
  background: var(--whatsapp-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 220ms;
}
.wa-card:hover .wa-card-cta { background: #1FBC58; }

@media (max-width: 560px) {
  .wa-fab { bottom: 16px; right: 16px; }
  .wa-card { width: calc(100vw - 32px); max-width: 296px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-block { grid-template-columns: 1fr; gap: 40px; }
  .product-block.visual-right .visual { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 0; }
  .stat:nth-child(2) { border-right: none; }
  .case-grid { gap: 40px 0; }
  .plans { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--warm-grey-line); padding: 32px 0; }
  .how-step:last-child { border-bottom: none; }
  .how-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-acts { display: none; }
  .hero-tag { display: none; }
}
