/* ============================================================
   EcomOpti — brand stylesheet
   Palette: indigo #464B71 · teal #118AB2 · mint #7CD5C7 · cream #F2F2ED
   ============================================================ */

:root {
  /* Brand */
  --indigo: #464B71;
  --indigo-700: #3a3f61;
  --indigo-900: #2b2f49;
  --teal: #118ab2;
  --teal-600: #0e7396;      /* darker teal for text/links on light (AA) */
  --teal-700: #0c6483;
  --mint: #7cd5c7;
  --mint-200: #a9e3da;
  --cream: #f2f2ed;

  /* Neutrals */
  --white: #ffffff;
  --ink: #23263a;           /* body text */
  --muted: #565b73;         /* secondary text on light */
  --muted-light: #c9cde0;   /* secondary text on dark */
  --border: #e6e4da;
  --border-strong: #d8d6cb;

  /* Semantic */
  --bg: var(--cream);
  --surface: var(--white);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(35, 38, 58, 0.06), 0 1px 3px rgba(35, 38, 58, 0.05);
  --shadow-md: 0 8px 24px rgba(35, 38, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(35, 38, 58, 0.14);
  --shadow-teal: 0 12px 30px rgba(17, 138, 178, 0.28);

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 40px);

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

/* --------------------------- Reset --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; color: var(--indigo-900); letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--indigo-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* --------------------------- Buttons ------------------------- */
.btn {
  --btn-bg: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 24px; min-height: 48px; border: 1.5px solid transparent;
  border-radius: var(--r-pill); background: var(--btn-bg); color: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: 0.9rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { --btn-bg: var(--teal); box-shadow: var(--shadow-teal); }
.btn--primary:hover { --btn-bg: var(--teal-600); box-shadow: 0 16px 36px rgba(17, 138, 178, 0.34); }
.btn--dark { --btn-bg: var(--indigo-900); }
.btn--dark:hover { --btn-bg: var(--indigo); }
.btn--ghost { background: transparent; color: var(--indigo-900); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--white); border-color: var(--indigo); color: var(--indigo-900); box-shadow: var(--shadow-sm); }
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ----------------------------- Nav --------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 242, 237, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(216, 214, 203, 0.6);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: inline-flex; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { flex: none; border-radius: 9px; }
.logo__word { font-family: var(--font-head); font-weight: 700; font-size: 1.24rem; color: var(--indigo-900); letter-spacing: -0.02em; }
.logo__accent { color: var(--teal); }
.logo__img { height: 34px; width: auto; display: block; }
.logo__img--footer { height: 40px; margin-bottom: 4px; }

.nav__links { display: flex; gap: 28px; margin-left: 12px; }
.nav__links a { color: var(--indigo-900); font-weight: 500; font-size: 0.96rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--teal); transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--teal-600); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav__phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.nav__phone-label { font-size: 0.72rem; color: var(--muted); }
.nav__phone-num { font-family: var(--font-head); font-weight: 600; color: var(--indigo-900); font-size: 0.94rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; }
.nav__toggle span { width: 22px; height: 2px; background: var(--indigo-900); border-radius: 2px; transition: var(--dur); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 20px; background: var(--cream); border-bottom: 1px solid var(--border); }
.nav__mobile a { padding: 12px 6px; color: var(--indigo-900); font-weight: 500; border-radius: var(--r-sm); }
.nav__mobile a.btn { color: #fff; margin-top: 8px; }

/* ---------------------------- Flash -------------------------- */
.flash { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-md); font-weight: 500; border: 1px solid; }
.flash--success { background: #e7f7f2; color: #0c6e5a; border-color: #b8e6da; }
.flash--error { background: #fdecec; color: #b3261e; border-color: #f4c4c1; }

/* --------------------------- Sections ------------------------ */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.section--cream { background: linear-gradient(180deg, #efefe8, #f6f6f1); }
.section--dark { background: radial-gradient(120% 140% at 80% 0%, var(--indigo) 0%, var(--indigo-900) 60%); color: #fff; }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
.section__sub { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.section__sub--light { color: var(--muted-light); }
.section--dark .section__title { color: #fff; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.eyebrow--light { color: var(--mint); }
.accent-text { color: var(--teal); }

/* Dot-grid decoration */
.dot-grid { position: absolute; width: 220px; height: 220px; background-image: radial-gradient(currentColor 1.6px, transparent 1.6px); background-size: 18px 18px; color: rgba(70, 75, 113, 0.18); pointer-events: none; }
.dot-grid--tr { top: 90px; right: -40px; }
.dot-grid--bl { bottom: -30px; left: -30px; color: rgba(124, 213, 199, 0.22); }

/* ----------------------------- Grid -------------------------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }

/* ----------------------------- Hero -------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 12% 8%, rgba(124, 213, 199, 0.26), transparent 60%),
  radial-gradient(50% 50% at 92% 30%, rgba(17, 138, 178, 0.14), transparent 60%); z-index: -1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; margin-top: 20px; }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 30ch; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { margin-top: 30px; font-size: 0.95rem; color: var(--muted); }
.hero__trust strong { color: var(--indigo-900); }

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border-strong); border-radius: var(--r-pill); font-size: 0.86rem; font-weight: 500; color: var(--indigo-900); box-shadow: var(--shadow-sm); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(124, 213, 199, 0.3); }

/* Hero dashboard visual */
.hero__visual { position: relative; }
.dashcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.dashcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.dashcard__label { font-size: 0.82rem; color: var(--muted); }
.dashcard__value { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--indigo-900); margin-top: 4px; }
.dashcard__delta { color: #0c8a5a; font-size: 0.86rem; font-weight: 600; margin-top: 2px; }
.dashcard__pill { font-size: 0.72rem; font-weight: 600; color: var(--teal-700); background: rgba(124, 213, 199, 0.24); padding: 5px 12px; border-radius: var(--r-pill); }
.dashcard__chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 22px 0; }
.dashcard__chart span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--teal), var(--mint)); border-radius: 6px 6px 3px 3px; opacity: 0.9; }
.dashcard__chart span:last-child { background: linear-gradient(180deg, var(--indigo), var(--teal)); opacity: 1; }
.dashcard__stats { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; }
.dashcard__stat { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--indigo-900); }
.dashcard__statlabel { font-size: 0.76rem; color: var(--muted); }

.floatcard { position: absolute; bottom: -24px; left: -22px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-md); }
.floatcard__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7f7f2; color: #0c8a5a; font-weight: 700; }
.floatcard__t { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--indigo-900); }
.floatcard__s { font-size: 0.78rem; color: var(--muted); }

/* ---------------------------- Logos -------------------------- */
.logos { padding: 30px 0; background: var(--white); border-block: 1px solid var(--border); }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.logos__item { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #9a9db0; letter-spacing: -0.01em; filter: grayscale(1); transition: color var(--dur) var(--ease); }
.logos__item:hover { color: var(--indigo); }

/* --------------------------- Services ------------------------ */
.service { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint-200); }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, rgba(17,138,178,0.14), rgba(124,213,199,0.24)); color: var(--teal-600); margin-bottom: 18px; }
.service__title { font-size: 1.16rem; font-weight: 600; }
.service__body { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }

/* --------------------------- Process ------------------------- */
.steps .step { position: relative; padding: 8px 4px; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.4px var(--mint); background: none; }
.step__title { font-size: 1.2rem; font-weight: 600; color: #fff; margin-top: 10px; }
.step__body { margin-top: 10px; color: var(--muted-light); font-size: 0.95rem; }

/* --------------------------- Results ------------------------- */
.results .result { text-align: center; padding: 18px; }
.result__metric { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); background: linear-gradient(120deg, var(--indigo), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result__label { font-weight: 600; color: var(--indigo-900); margin-top: 4px; }
.result__detail { font-size: 0.88rem; color: var(--muted); margin-top: 2px; }

/* --------------------------- Pricing ------------------------- */
.toggle { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto clamp(30px, 4vw, 44px); padding: 6px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.toggle__btn { border: none; background: transparent; padding: 10px 18px; min-height: 42px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--muted); transition: var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.toggle__btn:hover { color: var(--indigo-900); }
.toggle__btn.is-active { background: var(--indigo-900); color: #fff; }
.toggle__save { font-size: 0.72rem; font-weight: 700; color: var(--teal-700); background: rgba(124, 213, 199, 0.28); padding: 2px 8px; border-radius: var(--r-pill); }
.toggle__btn.is-active .toggle__save { color: #0c2233; background: var(--mint); }
.pricing-controls { display: flex; flex-direction: column; align-items: center; }
.pricing-controls .toggle { margin-bottom: 12px; }
.toggle--currency { margin-bottom: clamp(30px, 4vw, 44px); }
.toggle--currency .toggle__btn { min-width: 76px; justify-content: center; }
.footer__address { font-style: normal; margin-top: 10px; font-size: 0.9rem; line-height: 1.5; max-width: 260px; }
.contact__address { font-style: normal; }

.plans { max-width: 860px; margin-inline: auto; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 34px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.04em; padding: 5px 14px; border-radius: var(--r-pill); }
.plan__name { font-size: 1.4rem; font-weight: 700; }
.plan__blurb { margin-top: 8px; color: var(--muted); font-size: 0.96rem; min-height: 48px; }
.plan__price { display: flex; align-items: flex-start; gap: 2px; margin-top: 22px; font-family: var(--font-head); color: var(--indigo-900); }
.plan__currency { font-size: 1.5rem; font-weight: 600; margin-top: 8px; }
.plan__amount { font-size: 3.2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__cents { font-size: 0.42em; font-weight: 700; vertical-align: super; margin-left: 3px; }
.plan__meta { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
.plan__total { font-weight: 700; color: var(--indigo-900); }
.plan__form { margin-top: 22px; }
.plan__features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--ink); }
.plan__features-lead { font-weight: 600; color: var(--indigo-900); }
.check { flex: none; color: var(--teal); margin-top: 2px; }

.pricing-note { text-align: center; margin-top: 30px; font-size: 0.92rem; color: var(--muted); background: rgba(255,255,255,0.7); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 14px 20px; max-width: 620px; margin-inline: auto; }
.pricing-note strong { color: var(--teal-700); }

/* ------------------------- Testimonials ---------------------- */
.quote { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--indigo-900); font-family: var(--font-head); }
.quote figcaption span { font-size: 0.86rem; color: var(--muted); }

/* ---------------------------- Contact ------------------------ */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.contact__list { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.contact__list a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--indigo-900); }
.contact__list a:hover { color: var(--teal-600); }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--indigo-900); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: #fbfbf8; color: var(--ink); transition: border var(--dur) var(--ease), box-shadow var(--dur) var(--ease); min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(17, 138, 178, 0.14); background: #fff; }

/* --------------------------- Outcome ------------------------- */
.outcome { text-align: center; }
.outcome__inner { max-width: 620px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.outcome__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 2rem; font-weight: 700; }
.outcome__icon--ok { background: #e7f7f2; color: #0c8a5a; }
.outcome__icon--demo { background: rgba(124,213,199,0.25); color: var(--teal-700); }
.outcome__icon--cancel { background: #fdecec; color: #b3261e; }
.outcome__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.outcome__debug { text-align: left; background: #1e1e1e; color: #f0f0f0; padding: 14px; border-radius: var(--r-sm); overflow: auto; max-width: 100%; font-size: 0.82rem; }

/* --------------------------- Footer -------------------------- */
.footer { background: var(--indigo-900); color: var(--muted-light); padding: clamp(48px, 6vw, 72px) 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand .logo__word { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: 0.94rem; }
.footer__contact a { color: var(--mint); }
.footer__col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; color: var(--muted-light); font-size: 0.94rem; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: #8f93ab; }

/* ------------------------ Reveal anim ------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* --------------------- Subpages (page hero) ------------------ */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 68px); background: radial-gradient(120% 140% at 80% 0%, var(--indigo) 0%, var(--indigo-900) 62%); color: #fff; }
.page-hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); color: #fff; }
.page-hero__sub { margin: 16px auto 0; max-width: 620px; font-size: 1.1rem; color: var(--muted-light); }
.page-hero .dot-grid { color: rgba(124, 213, 199, 0.18); top: 30px; right: -30px; }

/* Prose (about + legal) */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose h3 { font-size: 1.08rem; margin-top: 26px; }
.prose p, .prose li { color: var(--ink); font-size: 1rem; line-height: 1.78; }
.prose ul, .prose ol { list-style: revert; padding-left: 1.25em; }
.prose li { margin-top: 8px; }
.prose strong { color: var(--indigo-900); }
.legal-meta { color: var(--muted); font-size: 0.92rem; }
.legal-note { background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 16px 20px; color: var(--muted); font-size: 0.92rem; margin-top: 20px; }
.legal-note strong { color: var(--teal-700); }

/* Story (about) */
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.story__body > * + * { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.story__body h2 { color: var(--indigo-900); }
.story__card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story__stat p:first-child { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; background: linear-gradient(120deg, var(--indigo), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__stat p:last-child { font-size: 0.86rem; color: var(--muted); margin-top: 2px; }

/* Value cards */
.value { }
.value h3 { font-size: 1.1rem; }
.value p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* Service detail cards */
.svc { display: flex; flex-direction: column; }
.svc__tagline { color: var(--teal-600); font-weight: 600; margin-top: 6px; font-size: 0.98rem; }
.svc__points { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.svc__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.svc__outcome { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--muted); }

/* CTA band */
.band { background: radial-gradient(120% 160% at 20% 0%, var(--teal) 0%, var(--indigo) 70%); color: #fff; border-radius: var(--r-lg); padding: clamp(34px, 5vw, 56px); text-align: center; margin-inline: auto; max-width: 900px; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band p { margin-top: 12px; color: rgba(255, 255, 255, 0.86); }
.band__cta { margin-top: 24px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.band .btn--primary { background: #fff; color: var(--indigo-900); box-shadow: var(--shadow-md); }
.band .btn--primary:hover { background: var(--cream); color: var(--indigo-900); }
.band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* --------------------- Members / auth ------------------------ */
.nav__plain { color: var(--indigo-900); font-weight: 500; font-size: 0.94rem; }
.nav__plain:hover { color: var(--teal-600); }
.logout-form { display: inline; margin: 0; }
.auth-card { max-width: 440px; margin-inline: auto; }
.field-err { color: #b3261e; font-size: 0.85rem; }
.auth__alt { text-align: center; font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.field ul { font-size: 0.82rem; color: var(--muted); padding-left: 1.1em; list-style: disc; }

.cat-card { display: flex; flex-direction: column; gap: 8px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint-200); }
.cat-card h3 { font-size: 1.2rem; }
.cat-card__desc { color: var(--muted); font-size: 0.95rem; }
.cat-card__meta { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: var(--teal-600); }

.res-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin-inline: auto; }
.res-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.res-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.res-row h3 { font-size: 1.1rem; }
.res-row p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.res-row__go { font-family: var(--font-head); font-weight: 600; color: var(--teal-600); white-space: nowrap; }
.res-row--locked { opacity: 0.85; }
.badge-tier { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #0c2233; background: var(--mint); padding: 2px 8px; border-radius: var(--r-pill); vertical-align: middle; }

.downloads { margin-bottom: 30px; }
.downloads h2 { margin-bottom: 14px; }
.download-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.download-row:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.download-row__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #fdecec; color: #c0392b; font-size: 0.7rem; font-weight: 700; }
.download-row__label { flex: 1; font-weight: 600; color: var(--indigo-900); }
.download-row__go { font-family: var(--font-head); font-weight: 600; color: var(--teal-600); white-space: nowrap; }
.resource-body { font-size: 1.02rem; line-height: 1.8; color: var(--ink); }

/* --------------------- WhatsApp float ------------------------ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; width: 58px; padding: 0 16px;
  background: #25d366; color: #fff; border-radius: var(--r-pill);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  overflow: hidden; white-space: nowrap;
  transition: width var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float svg { flex: none; }
.wa-float__label { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; margin-left: 10px; opacity: 0; transition: opacity var(--dur) var(--ease); }
.wa-float:hover { color: #fff; width: 200px; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); }
.wa-float:hover .wa-float__label { opacity: 1; }
.wa-float:focus-visible { color: #fff; width: 200px; }
.wa-float:focus-visible .wa-float__label { opacity: 1; }
@media (max-width: 520px) { .wa-float { right: 16px; bottom: 16px; } .wa-float:hover, .wa-float:focus-visible { width: 58px; } .wa-float__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

/* Access note (login) */
.access-note { max-width: 440px; margin: 22px auto 0; background: var(--white); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 22px 24px; text-align: center; }
.access-note h3 { font-size: 1.05rem; }
.access-note p { margin-top: 8px; color: var(--muted); font-size: 0.94rem; }
.access-note__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* --------------------------- Responsive ---------------------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .story { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 780px) {
  .nav.is-open .nav__mobile { display: flex; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid--3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .toggle { width: 100%; flex-wrap: wrap; }
  .floatcard { left: 0; }
}
