/* Clicka Digital — brand tokens from the image package README */
:root {
  --orange: #FF5A1F;
  --navy: #13204A;
  --sol: #FFC93C;
  --white: #FFFFFF;
  --gray: #F4F5F7;
  --peach: #FFE4D6;   /* the soft circle behind the illustrations */
  --sky: #DFE4F3;     /* the blue-gray circle behind the industry icons */

  --ink: var(--navy);
  --ink-soft: #3C4770; /* navy at reduced strength, 8.9:1 on white */
  --focus: var(--navy);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;

  --r-pill: 999px;
  --r-card: 28px;
  --r-field: 14px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute; left: var(--space-2); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--space-2); }

/* ---------- Top bar + header ---------- */
.topbar {
  display: block; text-decoration: none;
  background: var(--navy); color: var(--white);
  text-align: center; font-size: .875rem; font-weight: 500;
  padding: .5rem var(--gutter);
  --focus: var(--sol);
}
.topbar u { font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.topbar:hover u { color: var(--sol); }
.topbar:focus-visible { outline-offset: -4px; }

.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: .75rem var(--gutter);
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 rgba(19, 32, 74, .08); backdrop-filter: blur(10px); }
.header__logo img { width: 132px; height: auto; }
.header__actions { display: flex; align-items: center; gap: .5rem; }

.nav { display: flex; gap: .5rem; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.1rem;
  background: var(--white); color: var(--navy);
  border: 2px solid var(--navy); border-radius: var(--r-pill);
  font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.pill:hover { background: var(--navy); color: var(--white); }
.pill:active { transform: scale(.97); }
.pill--round { width: 44px; padding: 0; }
.pill--cta { background: var(--orange); border-color: var(--orange); font-weight: 700; }
.pill--cta:hover { background: var(--navy); border-color: var(--navy); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: var(--r-pill); border: 2px solid transparent;
  font: 700 1.05rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
/* Navy text on orange: 5:1 contrast. White on orange would only be 3:1. */
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--orange); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; }
.btn--block { width: 100%; }

.arrow {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 2px solid var(--navy);
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.arrow:hover { background: var(--navy); color: var(--white); }
.arrow:active { transform: scale(.92); }
.arrow:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  --tone: var(--peach);
  position: relative;
  margin-top: -68px;               /* header floats over the hero, like the reference */
  padding: calc(68px + var(--space-4)) var(--gutter) var(--space-5);
  background: var(--tone);
  transition: background-color .6s var(--ease-out);
  overflow: hidden;
}
.hero[data-tone="peach"] { --tone: var(--peach); }
.hero[data-tone="sol"]   { --tone: var(--sol); }
.hero[data-tone="sky"]   { --tone: var(--sky); }
.hero[data-tone="gray"]  { --tone: var(--gray); }

.hero__copy { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  font-stretch: 82%;
  line-height: .95;
  text-wrap: balance;
}
.hero__lead { max-width: 60ch; margin: var(--space-3) auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--space-4); }

.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
  margin-top: var(--space-3); font-size: .95rem; font-weight: 600;
}
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust li::before {
  content: ""; width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.stage {
  --p: 0; /* scroll progress through the hero, 0 → 1, set in main.js */
  position: relative;
  max-width: 980px; margin: var(--space-4) auto 0;
  display: grid; justify-items: center;
}
.stage__art {
  width: min(620px, 82vw);
  transform: rotate(calc(var(--p) * -9deg)) translateY(calc(var(--p) * 40px)) scale(calc(1 + var(--p) * .06));
  will-change: transform;
}
.stage__art img { width: 100%; transition: transform .55s var(--ease-spring), opacity .3s var(--ease-out); }
.stage__art img.is-leaving { transform: rotate(-14deg) scale(.82); opacity: 0; }
.stage__art img.is-entering { transform: rotate(14deg) scale(.82); opacity: 0; transition: none; }

.sticker {
  position: absolute; width: clamp(54px, 7vw, 92px); z-index: 1;
  filter: drop-shadow(0 6px 0 rgba(19, 32, 74, .12));
  animation: bob 6s ease-in-out infinite;
}
.s1 { left: 4%;  top: 6%;  --dx: -40px; --dy: -30px; --r: -12deg; }
.s2 { left: 12%; top: 58%; --dx: -60px; --dy: 30px;  --r: 10deg;  animation-delay: -1s; }
.s3 { left: 0%;  top: 34%; --dx: -70px; --dy: 0px;   --r: -6deg;  animation-delay: -2s; width: clamp(46px, 5.5vw, 72px); }
.s4 { right: 4%; top: 4%;  --dx: 50px;  --dy: -30px; --r: 8deg;   animation-delay: -3s; }
.s5 { right: 10%; top: 60%; --dx: 60px; --dy: 30px;  --r: -10deg; animation-delay: -4s; }
.s6 { right: 0%; top: 32%; --dx: 70px;  --dy: 0px;   --r: 6deg;   animation-delay: -5s; width: clamp(46px, 5.5vw, 72px); }
.sticker {
  translate: calc(var(--p) * var(--dx)) calc(var(--p) * var(--dy));
  rotate: var(--r);
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stage__controls { display: flex; align-items: center; gap: .75rem; margin-top: var(--space-2); position: relative; z-index: 2; }
.stage__label {
  display: inline-flex; align-items: center; min-height: 48px; min-width: 13rem; justify-content: center;
  padding: 0 1.4rem; border-radius: var(--r-pill);
  background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none;
}

/* ---------- What we do ---------- */
.talk { padding: var(--space-6) var(--gutter); max-width: var(--max); margin: 0 auto; }
.talk__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; margin-bottom: var(--space-5); }
.talk__head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 85%; }
.talk__aside { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; }
.talk__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4) var(--space-3); }
.point img { width: 56px; margin-bottom: var(--space-2); }
.point h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.point p { color: var(--ink-soft); max-width: 34ch; }

/* ---------- Services ---------- */
.services { background: var(--gray); padding: var(--space-5) 0 var(--space-6); overflow: hidden; }
.giant {
  font-size: clamp(4.5rem, 19vw, 17rem);
  font-stretch: 75%;
  line-height: .82;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  padding: 0 var(--gutter);
  margin-left: -0.04em;
}
.services__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-3) var(--gutter) var(--space-4);
}
.services__bar p { font-size: 1.15rem; max-width: 46ch; }
.services__nav { display: flex; align-items: center; gap: .5rem; }

.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 360px);
  gap: var(--space-2);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) var(--space-2);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: var(--space-2);
  min-height: 460px; padding: var(--space-4) var(--space-3) var(--space-3);
  border-radius: var(--r-card);
  text-align: center;
}
.card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-stretch: 85%; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.card p { margin-top: auto; font-size: 1rem; }
.card__icon { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.card__icon img { width: 46%; aspect-ratio: 1; }
.card--orange { background: var(--orange); color: var(--navy); }
.card--sol    { background: var(--sol); color: var(--navy); }
.card--navy   { background: var(--navy); color: var(--white); }
.card--sky    { background: var(--sky); color: var(--navy); }
.card--peach  { background: var(--peach); color: var(--navy); }
.card--navy .card__icon { background: rgba(255, 255, 255, .06); border-radius: 20px; }

/* ---------- Callback band ---------- */
.callback {
  display: grid; grid-template-columns: 1fr minmax(320px, 480px); gap: var(--space-4); align-items: center;
  background: var(--navy); color: var(--white);
  padding: var(--space-5) max(var(--gutter), calc((100vw - var(--max)) / 2));
  --focus: var(--sol);
}
.callback h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-stretch: 85%; text-wrap: balance; }
.callback__copy p { margin-top: .75rem; font-size: 1.15rem; color: #C9CEE0; max-width: 44ch; }
.callback__row { display: flex; gap: .6rem; }
.callback__row input { flex: 1; min-width: 0; background: var(--white); border-color: var(--white); }
.callback__row input:focus { border-color: var(--sol); box-shadow: 0 0 0 3px rgba(255, 201, 60, .45); }
.callback__row .btn { flex: none; }
.callback .btn--primary:hover { background: var(--sol); color: var(--navy); }
.callback .field__error { color: #FFB8AD; }
.callback .field.is-invalid input { border-color: #FFB8AD; background: var(--white); }
.callback .form__fail, .callback .form__done { margin-top: .75rem; }

/* ---------- How it works ---------- */
.how { padding: var(--space-6) var(--gutter); max-width: var(--max); margin: 0 auto; }
.how h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-stretch: 85%; text-align: center; margin-bottom: var(--space-5); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step { text-align: center; }
.step img { width: 100%; max-width: 360px; margin: 0 auto var(--space-2); }
.step h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); max-width: 32ch; margin: 0 auto; }

.how__cta { text-align: center; margin-top: var(--space-5); }
.how__cta p { margin-top: .75rem; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Results + bilingual ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__block {
  display: grid; align-content: center; gap: var(--space-3);
  padding: var(--space-5) clamp(1.25rem, 5vw, 4.5rem);
}
.duo__block img { width: min(100%, 440px); }
.duo__block h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-stretch: 85%; margin-bottom: .75rem; text-wrap: balance; }
.duo__block p { max-width: 44ch; }
.duo__block--light { background: var(--sky); }
.duo__block--sol { background: var(--sol); }

/* ---------- Industries marquee ---------- */
.industries { padding: var(--space-6) 0; }
.industries h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 85%; text-align: center; padding: 0 var(--gutter); margin-bottom: var(--space-4); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--space-4); animation: slide 45s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track li { display: grid; justify-items: center; gap: .75rem; width: 150px; font-weight: 700; text-align: center; }
.marquee__track img { width: 130px; }
@keyframes slide { to { transform: translateX(calc(-50% - var(--space-4) / 2)); } }

/* ---------- Portfolio previews ---------- */
.work { background: var(--sky); padding: var(--space-6) 0; }
.work__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); max-width: var(--max); margin: 0 auto var(--space-4); padding: 0 var(--gutter); }
.work h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 85%; margin-bottom: .4rem; text-wrap: balance; }
.work__bar p { max-width: 52ch; margin: 0; color: var(--ink-soft); }
.work__nav { display: flex; gap: .6rem; flex: none; }
.shots {
  list-style: none; margin: 0; padding: .5rem var(--gutter) 1.5rem;
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(480px, 84vw); scroll-snap-align: start; }
.shot a {
  display: block; height: 100%; text-decoration: none; color: var(--navy);
  background: var(--white); border: 2px solid var(--navy); border-radius: 18px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--navy);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.shot a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--orange); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--navy); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.shot__bar i:first-child { background: var(--orange); }
.shot__bar span { margin-left: 8px; padding: 2px 10px; font-size: .75rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: var(--gray); }
.shot__meta { display: grid; gap: 2px; padding: 14px 16px 16px; }
.shot__tag { justify-self: start; padding: 2px 10px; font-size: .78rem; font-weight: 700; background: var(--sol); border-radius: 999px; }
.shot__meta strong { font-size: 1.15rem; margin-top: 4px; }
.shot__city { font-size: .9rem; color: var(--ink-soft); }
.work__cta { text-align: center; margin: var(--space-3) 0 0; padding: 0 var(--gutter); }
.work__note { text-align: center; margin: .75rem 0 0; font-size: .85rem; color: var(--ink-soft); padding: 0 var(--gutter); }
@media (max-width: 640px) { .work__nav { display: none; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--navy); color: var(--white); padding: var(--space-5) 0 var(--space-6); --focus: var(--sol); }
.giant--light { color: var(--orange); }
.pricing__lead { padding: var(--space-3) var(--gutter) 0; font-size: 1.15rem; max-width: calc(46ch + 2 * var(--gutter)); }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); align-items: stretch;
  max-width: var(--max); margin: var(--space-5) auto 0; padding: 0 var(--gutter);
}
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--space-2);
  background: var(--white); color: var(--navy);
  border-radius: var(--r-card); padding: var(--space-4) var(--space-3) var(--space-3);
  --focus: var(--navy);
}
.plan h3 { font-size: 2rem; font-stretch: 85%; }
.plan__for { color: var(--ink-soft); }
.plan__price { display: flex; align-items: baseline; gap: .25rem; font-weight: 600; }
.plan__setup { margin-top: -.35rem; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.plan__amount { font-size: 3.2rem; font-weight: 800; font-stretch: 80%; letter-spacing: -0.03em; line-height: 1; }
.plan ul { display: grid; gap: .6rem; margin-bottom: var(--space-2); }
.plan li { padding-left: 1.75rem; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2313204A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.plan .btn { margin-top: auto; }
.plan__talk { align-self: center; margin-top: -.35rem; font-size: .92rem; font-weight: 600; color: inherit; text-underline-offset: 3px; opacity: .8; }
.plan__talk:hover { opacity: 1; }
.plan--featured { background: var(--sol); transform: translateY(-14px); }
.plan__badge {
  position: absolute; top: -16px; left: var(--space-3);
  background: var(--orange); color: var(--navy); font-weight: 800; font-size: .9rem;
  padding: .45rem .9rem; border-radius: var(--r-pill);
}
.pricing__note { max-width: var(--max); margin: var(--space-4) auto 0; padding: 0 var(--gutter); color: #C9CEE0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-5); align-items: start;
  background: var(--gray);
  padding: var(--space-6) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.faq h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-stretch: 85%; text-wrap: balance; position: sticky; top: 110px; }
.faq details { border-top: 2px solid var(--navy); }
.faq details:last-child { border-bottom: 2px solid var(--navy); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 0; min-height: 44px;
  font-size: 1.2rem; font-weight: 700; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='%2313204A' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #C2410C; }
.faq details p { padding: 0 3rem 1.5rem 0; max-width: 62ch; color: var(--ink-soft); }
.faq details a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Quote ---------- */
.quote {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: var(--space-5); align-items: center;
  background: var(--orange); color: var(--navy);
  padding: var(--space-6) var(--gutter);
}
/* the navy ring and sun dot from the brand's CTA banner */
.quote::before, .quote::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.quote::before { width: 520px; height: 520px; right: -210px; top: -200px; border: 90px solid var(--navy); opacity: .9; }
.quote::after { width: 130px; height: 130px; left: 38%; bottom: -55px; background: var(--sol); }
.quote__copy, .form { position: relative; z-index: 1; }
.quote__copy { max-width: 560px; justify-self: end; }
.quote h2 { font-size: clamp(3rem, 8vw, 6.5rem); font-stretch: 78%; margin-bottom: var(--space-2); }
.quote__copy > p { font-size: 1.2rem; max-width: 40ch; }
.quote__next { display: grid; gap: .65rem; margin-top: var(--space-3); counter-reset: step; font-weight: 600; }
.quote__next li { counter-increment: step; position: relative; padding-left: 2.5rem; }
.quote__next li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-size: .95rem; font-weight: 800;
}
.form__note { margin-top: -.4rem; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.form__done a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.quote__contact { display: grid; gap: .5rem; margin-top: var(--space-4); font-weight: 700; font-size: 1.1rem; }
.quote__contact a { text-underline-offset: 4px; text-decoration-thickness: 2px; }
.quote__contact a:hover { text-decoration-color: var(--white); }

.form {
  background: var(--white); border-radius: var(--r-card);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: grid; gap: 1.1rem;
  box-shadow: 10px 10px 0 var(--navy);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .98rem; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: 500 1rem/1.4 var(--font); color: var(--navy);
  background: var(--gray); border: 2px solid #C6CBDA; border-radius: var(--r-field);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(19, 32, 74, .18); }
.field__hint { font-size: .9rem; color: var(--ink-soft); }
.field__error { display: none; font-size: .92rem; font-weight: 600; color: #B42318; }
.field.is-invalid input { border-color: #B42318; background: #FFF4F2; }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .7; cursor: progress; }
.form__fail { background: #FFF4F2; color: #B42318; border-radius: var(--r-field); padding: 1rem; font-weight: 600; }
.form__done {
  background: var(--sky); border-radius: var(--r-field); padding: 1rem; font-weight: 600;
}

/* ---------- Social + footer ---------- */
.social { background: var(--sol); text-align: center; padding: var(--space-6) var(--gutter); }
.social__handle { font-weight: 700; margin-bottom: var(--space-2); }
.social h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-stretch: 85%; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.social__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: var(--space-4); }

.footer {
  background: var(--navy); color: #C9CEE0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) var(--gutter);
  --focus: var(--sol);
}
.footer img { width: 130px; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer a { color: var(--white); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer p { font-size: .92rem; flex-basis: 100%; }

/* ---------- Floating WhatsApp button ---------- */
/* #189D4F keeps the white glyph at 3.5:1, unlike WhatsApp's lighter #25D366 */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 60px; padding: 0 1.25rem 0 1rem;
  background: #189D4F; color: var(--white);
  border: 2px solid var(--navy); border-radius: var(--r-pill);
  box-shadow: 4px 4px 0 var(--navy);
  font-weight: 700; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  --focus: var(--navy);
}
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.wa-float:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
.wa-float svg { flex: none; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Welcome offer pop-up ---------- */
.promo {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border: 3px solid var(--navy); border-radius: var(--r-card);
  background: var(--sol); color: var(--navy);
  box-shadow: 10px 10px 0 var(--navy);
  text-align: center;
}
.promo::backdrop { background: rgba(19, 32, 74, .62); }
.promo[open] { animation: promo-in .45s var(--ease-spring); }
.promo[open]::backdrop { animation: fade-in .3s var(--ease-out); }
@keyframes promo-in { from { opacity: 0; transform: translateY(24px) scale(.94) rotate(-2deg); } }
@keyframes fade-in { from { opacity: 0; } }
.promo__close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid var(--navy); border-radius: 50%;
  background: var(--white); color: var(--navy); cursor: pointer;
}
.promo__close:hover { background: var(--navy); color: var(--white); }
.promo__art { width: 78%; margin: -.5rem auto .5rem; }
.promo__kicker {
  display: inline-block; margin-bottom: .75rem; padding: .35rem .85rem;
  background: var(--navy); color: var(--sol); border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 700;
}
.promo__title { font-size: clamp(2rem, 7vw, 2.75rem); font-stretch: 80%; line-height: .98; text-wrap: balance; }
.promo__body { margin: .9rem auto var(--space-3); max-width: 36ch; font-size: 1.05rem; }
.promo .btn--primary:hover { background: var(--navy); color: var(--white); }
.promo__later {
  margin-top: .5rem; min-height: 44px; padding: 0 1rem;
  background: none; border: 0; color: var(--navy); cursor: pointer;
  font: 600 .95rem/1 var(--font); text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Sticky button (phones only; see the 560px block) ---------- */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .talk__grid { grid-template-columns: repeat(2, 1fr); }
  .callback, .faq { grid-template-columns: 1fr; }
  .faq { gap: var(--space-4); }
  .faq h2 { position: static; }
  .quote { grid-template-columns: 1fr; }
  .quote__copy { justify-self: start; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute; top: calc(100% + 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; padding: .75rem; gap: .5rem;
    background: var(--white); border: 2px solid var(--navy); border-radius: 24px;
    box-shadow: 6px 6px 0 var(--navy);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
  .nav .pill { justify-content: flex-start; border-color: transparent; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 520px; gap: var(--space-4); }
  .plan--featured { transform: none; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header { padding: .6rem 1rem; }
  .header__logo img { width: 96px; }
  .header__actions { gap: .4rem; }
  .pill--cta { padding: 0 .8rem; font-size: .85rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .s2, .s5 { display: none; }
  .s1 { left: -2%; top: 0; } .s4 { right: -2%; top: 0; }
  .talk, .how { padding-left: 1rem; padding-right: 1rem; }
  .talk__grid { grid-template-columns: 1fr; }
  .stage__label { min-width: 0; flex: 1; }
  .stage__controls { width: 100%; }
  .quote { padding-left: 1rem; padding-right: 1rem; }
  .quote::before { width: 300px; height: 300px; border-width: 54px; right: -150px; top: -120px; }
  .form { padding: var(--space-3) 1.1rem; box-shadow: 6px 6px 0 var(--navy); }
  /* on phones the button becomes a round icon so it doesn't cover content */
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .footer { padding-bottom: calc(var(--space-4) + 70px); }
  .faq summary { font-size: 1.1rem; }
  .sticky-cta {
    position: fixed; left: 16px; right: 86px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: center; min-height: 60px;
    background: var(--orange); color: var(--navy);
    border: 2px solid var(--navy); border-radius: var(--r-pill); box-shadow: 4px 4px 0 var(--navy);
    font-weight: 800; text-decoration: none;
    transform: translateY(160%); visibility: hidden;
    transition: transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out); }
  .sticky-cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
}

/* ---------- Statement: words light up as you scroll ---------- */
.frase { background: var(--navy); color: var(--white); padding: clamp(4rem, 12vw, 9rem) var(--gutter); text-align: center; }
.frase__kicker { font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sol); }
.frase__text {
  max-width: 22ch; margin: var(--space-3) auto 0;
  font-size: clamp(2rem, 5.4vw, 4.6rem); font-weight: 800; font-stretch: 82%; line-height: 1.02; text-wrap: balance;
}
.frase__text em { font-style: normal; color: var(--sol); }
.frase__text i { font-style: normal; }
html.anim .frase__text i { opacity: .16; transition: opacity .35s var(--ease-out); }
html.anim .frase__text i.on { opacity: 1; }

/* ---------- Rotating seal on the hero stage ---------- */
.seal {
  position: absolute; z-index: 3; right: 14%; bottom: 16%;
  width: clamp(88px, 11vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sol); color: var(--navy); box-shadow: 4px 4px 0 var(--navy);
  display: grid; place-items: center;
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 22s linear infinite; }
.seal text { font-size: 10px; font-weight: 800; fill: currentColor; }
.seal img { width: 38%; }
@keyframes gira { to { rotate: 360deg; } }
@media (max-width: 640px) { .seal { right: 2%; bottom: 22%; } }

/* ---------- Top bar ticker ---------- */
.topbar--ticker { overflow: hidden; padding-left: 0; padding-right: 0; white-space: nowrap; }
.topbar__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar__track { display: inline-flex; width: max-content; animation: cinta 38s linear infinite; }
.topbar__track > span { padding: 0 2.5rem; position: relative; }
.topbar__track > span::after { content: "✦"; position: absolute; right: -.45rem; color: var(--sol); }
.topbar--ticker:hover .topbar__track { animation-play-state: paused; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Motion layer (only when fx.js adds html.anim) ---------- */
/* Hero title: each word rises out of its own mask */
html.anim .hero__title .w { display: inline-block; overflow: hidden; padding: .08em 0 .1em; margin: -.08em 0 -.1em; vertical-align: top; }
html.anim .hero__title .w i { display: inline-block; font-style: normal; transform: translateY(105%); }
html.anim .hero__title.is-in .w i { transform: none; transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms); }
.hero__title i { font-style: normal; }

/* Stickers pop in, then keep bobbing and follow the mouse a little */
html.anim .sticker {
  animation-name: brotar, bob;
  animation-duration: .7s, 6s;
  animation-timing-function: var(--ease-spring), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
  animation-delay: calc(var(--i) * 110ms + .35s), calc(var(--i) * -1s);
  translate: calc(var(--p) * var(--dx) + var(--mx, 0) * 16px) calc(var(--p) * var(--dy) + var(--my, 0) * 12px);
}
@keyframes brotar { from { scale: 0; opacity: 0; } }
html.anim .seal { animation: brotar .8s var(--ease-spring) 1.1s both; }

/* Headings rise out of a mask */
html.anim .rev { overflow: hidden; padding-top: .14em; padding-bottom: .08em; margin-top: -.14em; margin-bottom: -.08em; }
html.anim .rev-in { display: block; transform: translateY(115%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
html.anim .rev.visto .rev-in { transform: none; }

/* Blocks and images fade up, staggered */
html.anim .sube { opacity: 0; transform: translateY(46px); transition: opacity .8s var(--ease-out), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 90ms); }
html.anim .sube.visto { opacity: 1; transform: none; }
html.anim .img-rev { opacity: 0; transform: translateY(70px) scale(.94); transition: opacity .9s var(--ease-out), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
html.anim .img-rev.visto { opacity: 1; transform: none; }

/* Hover */
.pill { transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), scale .25s var(--ease-spring); }
.pill:hover { scale: 1.04; }
.btn { transition: translate .25s var(--ease-spring), transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.btn:hover { translate: 0 -3px; }
.shot img { transition: scale .6s var(--ease-out); }
.shot:hover img { scale: 1.04; }

/* ---------- Sign-up funnel (before Stripe checkout) ---------- */
.funnel {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: 0; border: 3px solid var(--navy); border-radius: var(--r-card);
  background: var(--white); color: var(--navy); box-shadow: 10px 10px 0 var(--navy);
}
.funnel::backdrop { background: rgba(19, 32, 74, .62); }
.funnel[open] { animation: promo-in .45s var(--ease-spring); }
.funnel[open]::backdrop { animation: fade-in .3s var(--ease-out); }
.funnel__form { display: grid; gap: var(--space-3); padding: 0 var(--space-3) var(--space-3); }
.funnel__top { position: relative; margin: 0 calc(-1 * var(--space-3)); padding: var(--space-3) var(--space-3) var(--space-2); background: var(--sol); border-bottom: 3px solid var(--navy); }
.funnel__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer;
}
.funnel__close:hover { background: var(--navy); color: var(--white); }
.funnel__plan {
  display: inline-flex; flex-wrap: wrap; gap: .3rem; align-items: baseline; margin-right: 52px;
  padding: .35rem .85rem; background: var(--navy); color: var(--sol); border-radius: var(--r-pill); font-size: .9rem; font-weight: 600;
}
.funnel__plan strong { color: var(--white); }
.funnel__title { margin-top: .75rem; font-size: clamp(1.7rem, 5.5vw, 2.3rem); font-stretch: 80%; line-height: 1; }
.funnel__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: var(--space-2); }
.funnel__steps li { height: 8px; border-radius: 99px; background: rgba(19, 32, 74, .18); transition: background-color .35s var(--ease-out); }
.funnel__steps li.is-on { background: var(--navy); }
.funnel__count { margin-top: .45rem; font-size: .88rem; font-weight: 700; }
.funnel [hidden] { display: none !important; }
.funnel__step { display: grid; gap: var(--space-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.funnel__step:not([hidden]) { animation: funnel-in .35s var(--ease-out); }
@keyframes funnel-in { from { opacity: 0; transform: translateX(18px); } }
.funnel__step legend { padding: 0; margin-bottom: .25rem; font-size: 1.25rem; font-weight: 800; }
.funnel select { appearance: auto; }
.funnel__chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.funnel__chips:empty { display: none; }
.chip { padding: .2rem .6rem; border-radius: var(--r-pill); background: var(--sky, #DCEBFF); font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.chip--bad { background: #FFF4F2; color: #B42318; text-decoration: line-through; }
.funnel__zipcount { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.field.is-invalid textarea, .field.is-invalid select { border-color: #B42318; background: #FFF4F2; }
.funnel__summary { padding: var(--space-2); border: 2px dashed var(--navy); border-radius: var(--r-field); background: var(--gray); }
.funnel__sumtitle { font-weight: 800; margin-bottom: .4rem; }
.funnel__summary dl { display: grid; gap: .3rem; margin: 0; }
.funnel__summary dl div { display: flex; justify-content: space-between; gap: 1rem; }
.funnel__summary dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.funnel__summary .is-total { padding-top: .35rem; margin-top: .2rem; border-top: 2px solid rgba(19, 32, 74, .15); font-size: 1.15rem; font-weight: 800; }
.funnel__nav { display: flex; gap: .75rem; }
.funnel__nav .btn--primary { flex: 1; }
.funnel__nav .btn--ghost { flex: none; }
.funnel__secure { margin-top: -.6rem; text-align: center; font-size: .88rem; color: var(--ink-soft); }
.funnel__secure::before { content: "🔒 "; }
@media (max-width: 480px) {
  .funnel { box-shadow: 6px 6px 0 var(--navy); }
  .funnel__nav .btn { padding: 0 1.1rem; }
}

/* ---------- Reduced motion: final, readable state, no drifting ---------- */
@media (prefers-reduced-motion: reduce) {
  .promo[open], .promo[open]::backdrop, .funnel[open], .funnel[open]::backdrop, .funnel__step:not([hidden]) { animation: none; }
  html { scroll-behavior: auto; }
  .sticker { animation: none; translate: none; }
  .sticky-cta, .sticky-cta.is-visible, .faq summary::after { transition: none; }
  .stage__art { transform: none; }
  .stage__art img { transition: opacity .2s linear; }
  .stage__art img.is-leaving, .stage__art img.is-entering { transform: none; }
  .marquee { mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); }
  .marquee__track [aria-hidden="true"] { display: none; }
  .seal svg { animation: none; }
  .pill:hover, .btn:hover, .shot:hover img { scale: none; translate: none; }
}
