:root {
  --red: #e8222a;
  --red-dark: #c4161d;
  --navy: #2d2e7e;
  --navy-deep: #1c1c52;
  --ink: #17183a;
  --text: #45475f;
  --muted: #6b6d84;
  --line: #e4e5ee;
  --tint: #f5f5fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(28, 28, 82, 0.35);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.red { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn__arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
.btn--glass {
  color: var(--white); border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px);
}
.btn--lg { padding: 15px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--navy); color: var(--white); }
  .btn--glass:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #c9cae6; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header */
/* Header: transparent over the video, solid once scrolled */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(28, 28, 82, .5);
}
.header__inner { display: flex; align-items: center; gap: 28px; padding: 10px 0; }
.header__logo { display: grid; }
.header__logo img { grid-area: 1 / 1; width: 150px; height: auto; transition: opacity 300ms ease; }
.header__logo-color { opacity: 0; }
.header.is-solid .header__logo-color { opacity: 1; }
.header.is-solid .header__logo-light { opacity: 0; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--white); text-decoration: none; position: relative;
  transition: color 300ms ease;
}
.header.is-solid .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
}
.nav__cta-mobile { display: none; }
.menu-toggle { display: none; }

/* Shared section bits */
.section { padding: 100px 0; }
.section--tint { background: var(--tint); }
.eyebrow, .kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 12px;
}
.kicker--light { color: #ff8f93; }
.title {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(36px, 4.4vw, 54px); text-transform: uppercase; letter-spacing: 0.005em;
  margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { font-size: 19px; color: var(--muted); margin: 0; }

/* Hero: full-bleed video */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 880px);
  margin-top: calc(-1 * var(--header-h, 77px));
  padding: calc(var(--header-h, 77px) + 70px) 0 120px;
  display: flex; align-items: center;
  background: var(--navy-deep);
  color: #e4e5f6;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 1600ms var(--ease-out) both;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.06); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 46, .88) 0%, rgba(14, 14, 46, .62) 45%, rgba(14, 14, 46, .18) 100%),
    linear-gradient(0deg, rgba(14, 14, 46, .75) 0%, rgba(14, 14, 46, 0) 40%);
}
.hero__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero__copy { max-width: 800px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  border-radius: 999px; padding: 6px 14px; color: var(--white); font-size: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 34, 42, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(232, 34, 42, 0); } }
.hero__title {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(48px, 6.6vw, 96px); text-transform: uppercase; line-height: 0.92;
  color: var(--white); margin: 22px 0 24px;
}
.hero__line { display: block; overflow: hidden; padding: 0 0.08em 0.04em 0; }
.hero__title .red { color: #ff3b42; }
.hero__lead { font-size: 20px; max-width: 34em; color: #d7d8ef; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 500; color: var(--ink); font-size: 16px; }
.ticks--light { color: var(--white); }
.ticks li, .checklist li, .plan__features li, .pack__list li { position: relative; padding-left: 28px; }
.ticks li::before, .checklist li::before, .plan__features li::before, .pack__list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Glass offer card */
.hero__card {
  flex: none; width: 250px; padding: 22px 24px; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px); color: #e4e5f6;
  display: grid; gap: 4px; margin-bottom: 8px;
}
.hero__card-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: #ff8f93; }
.hero__card-value { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 56px; line-height: 1; color: var(--white); }
.hero__card-text { font-size: 15px; line-height: 1.35; }

/* Entrance: staggered, blur-to-sharp, strong ease-out */
.hero__in { animation: heroIn 900ms var(--ease-out) both; animation-delay: calc(150ms + var(--i, 0) * 80ms); }
.hero__line .hero__in { display: inline-block; animation-name: heroLine; animation-duration: 1000ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }

/* Video controls + scroll cue */
.hero__controls {
  position: absolute; right: max(20px, calc((100% - 1200px) / 2)); bottom: 84px;
  display: flex; align-items: center; gap: 12px;
}
.hero__toggle {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px); cursor: pointer; color: var(--white);
  transition: background-color .2s ease, transform 160ms var(--ease-out);
}
.hero__toggle:active { transform: scale(0.94); }
.hero__toggle svg { width: 16px; height: 16px; fill: currentColor; grid-area: 1 / 1; transition: opacity 150ms ease, transform 200ms var(--ease-out); }
.hero__toggle .icon-play { opacity: 0; transform: scale(.6); }
.hero__toggle[aria-pressed="true"] .icon-play { opacity: 1; transform: none; }
.hero__toggle[aria-pressed="true"] .icon-pause { opacity: 0; transform: scale(.6); }
.hero__progress { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 84px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--white); animation: scrollCue 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Stats overlap the hero */
.stats-wrap { position: relative; z-index: 2; margin-top: -58px; }

/* Marquee */
.marquee { overflow: hidden; padding: 46px 0 10px; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 6vw, 84px); line-height: 1.05; padding-right: 0.5em;
  color: transparent; -webkit-text-stroke: 1.5px #c9cadf; white-space: nowrap;
}
.marquee span:nth-child(3n) { color: var(--red); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveals (only when JS is running) */
.js [data-reveal], .js [data-stagger] > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
.js .is-visible[data-reveal], .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js .is-visible[data-reveal="clip"] { clip-path: inset(0 0 0 0); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 30px -20px rgba(28, 28, 82, .25);
}
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat dt {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 44px; color: var(--navy); line-height: 1;
}
.stat dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img { border-radius: 20px; object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.about__img--inset {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4;
  border: 6px solid var(--white); box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist strong { color: var(--ink); font-weight: 600; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 360px;
  background: var(--navy-deep); isolation: isolate;
}
.area--wide { grid-column: span 2; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.area::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23, 24, 58, 0) 35%, rgba(23, 24, 58, 0.88) 100%);
}
@media (hover: hover) and (pointer: fine) { .area:hover img { transform: scale(1.05); } }
.area__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; color: #e3e4f5; }
.area__body h3 {
  color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 32px; text-transform: uppercase; margin-bottom: 6px;
}
.area__body p { margin: 0; max-width: 36em; }

/* Service icons (used in the bento tiles) */
.service__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: #fdecec; color: var(--red); margin-bottom: 18px;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms var(--ease-out);
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Pack band */
.pack { background: var(--navy); color: #dcdcf3; padding: 64px 0; position: relative; overflow: hidden; }
.pack::before {
  content: ""; position: absolute; width: 900px; height: 420px; left: -260px; top: -120px;
  border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.05);
  border-right-color: transparent; transform: rotate(-12deg);
}
.pack__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pack__title {
  color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(34px, 4vw, 50px); text-transform: uppercase;
}
.pack__title .red { color: #ff4d54; }
.pack__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 18px; color: var(--white); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 26px; justify-content: center; }
.plan {
  position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px;
  background: var(--white); display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--red); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -14px; left: 34px; background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: 14px; padding: 4px 14px; border-radius: 999px;
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--navy); }
.plan__price {
  font-family: var(--font-display); font-style: italic; font-weight: 800; color: var(--ink);
  font-size: 66px; line-height: 1; margin: 18px 0 4px;
}
.plan__currency { font-size: 34px; vertical-align: 0.7em; margin-right: 4px; }
.plan__term { color: var(--muted); margin-bottom: 24px; }
.plan__features { list-style: none; padding: 24px 0 0; margin: 0 0 30px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }

/* Testimonial avatar */
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 15px;
}

/* Trial + contact */
.trial { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.trial__card { background: var(--tint); border-radius: 22px; padding: 44px 40px; }
.form { margin-top: 26px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 16px;
  border: 1px solid #d3d4e2; border-radius: 10px; background: var(--white); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(45, 46, 126, .15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red-dark); font-size: 14px; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.form__alt { text-align: center; font-size: 15px; margin: 4px 0 0; }
.form__success {
  background: #e9f7ef; color: #1d6b3f; border-radius: 10px; padding: 14px 16px; font-weight: 500; margin: 0;
}
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: var(--navy-deep); color: #b6b7d8; padding: 70px 0 0; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 30em; }
.footer h3 {
  color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 18px; margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer a { color: #dcdcf3; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }

/* WhatsApp button */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform 200ms var(--ease-out);
  animation: waIn 600ms var(--ease-out) 1.4s both;
}
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: none; } }
.whatsapp:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .whatsapp:hover { transform: scale(1.06); } }
.whatsapp svg { width: 30px; height: 30px; fill: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .about, .trial, .pack__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__card { display: none; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .menu-toggle {
    display: grid; gap: 5px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform 250ms var(--ease-out), opacity 200ms ease, background-color 300ms ease; }
  .header.is-solid .menu-toggle span, .menu-toggle[aria-expanded="true"] span { background: var(--ink); }
  .header:has(.nav.is-open) { background: var(--white); }
  .header:has(.nav.is-open) .header__logo-color { opacity: 1; }
  .header:has(.nav.is-open) .header__logo-light { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 4px; padding: 12px 20px 22px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a, .header .nav a:not(.btn) { padding: 10px 0; font-size: 20px; color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 10px; }
  .areas { grid-template-columns: 1fr; }
  .area--wide { grid-column: auto; }
  .area { min-height: 300px; }
  .plans, .quotes { grid-template-columns: 1fr; }
  .plans { max-width: 440px; margin-inline: auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .topbar__item { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 12px; }
  .section { padding: 72px 0; }
  .hero { min-height: 640px; padding-bottom: 110px; }
  .hero__scrim { background: linear-gradient(0deg, rgba(14, 14, 46, .92) 0%, rgba(14, 14, 46, .6) 55%, rgba(14, 14, 46, .45) 100%); }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { width: 100%; }
  .hero__controls { bottom: 76px; }
  .hero__progress { width: 70px; }
  .stat { padding: 20px; }
  .stat dt { font-size: 36px; }
  .about__media { padding: 0 30px 40px 0; }
  .services { grid-template-columns: 1fr; }
  .trial__card { padding: 32px 22px; }
  .plan { padding: 34px 24px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video, .marquee__track, .dot, .hero__scroll span { animation: none; }
  .hero__in, .hero__line .hero__in, .whatsapp { animation: fadeOnly 400ms ease both; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
  .js [data-reveal], .js [data-stagger] > * { transform: none; transition: opacity 400ms ease; }
  .js [data-reveal="clip"] { clip-path: none; }
  .area img, .gallery img, .service, .btn { transition-property: opacity, background-color, color; }
}

/* ==========================================================
   Motion layer
   ========================================================== */

/* Scroll progress: tied to scroll position, so no easing of its own */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), #ff6a6f);
}

/* Nav: a pill that glides to the section you're reading */
.nav { position: relative; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; }
.nav a:not(.btn)::after { display: none; }
.nav__indicator {
  position: absolute; left: 0; top: 50%; height: 38px; width: 100px; margin-top: -19px;
  border-radius: 999px; background: rgba(45, 46, 126, .08);
  transform-origin: left; opacity: 0; pointer-events: none;
  transition: transform 450ms var(--ease-in-out), opacity 200ms ease;
}
.nav__indicator.is-on { opacity: 1; }
.header:not(.is-solid) .nav__indicator { background: rgba(255, 255, 255, .14); }
.nav a.is-active:not(.btn) { color: var(--red) !important; }
.header:not(.is-solid) .nav a.is-active:not(.btn) { color: var(--white) !important; }
@media (hover: hover) and (pointer: fine) {
  .header.is-solid .nav a:not(.btn):hover { color: var(--red); }
}

/* Hero parallax hooks (transforms written by JS) */
.hero__media, .hero__inner { will-change: transform; }

/* Section titles: words rise out of a mask, one after another */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.12em 0.06em 0; margin-right: -0.12em; }
.w > span { display: inline-block; }
.js .w > span {
  transform: translateY(108%);
  transition: transform 900ms var(--ease-out);
  transition-delay: calc(120ms + var(--wi, 0) * 45ms);
}
.js .is-visible .w > span { transform: none; }

/* Kickers draw a short red rule before the text */
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before {
  content: ""; width: 26px; height: 2px; background: currentColor; transform-origin: left;
}
.js .kicker::before { transform: scaleX(0); transition: transform 700ms var(--ease-out) 100ms; }
.js .is-visible .kicker::before, .js .is-visible.kicker::before { transform: scaleX(1); }
.section-head--center .kicker { justify-content: center; }

/* About photos: main image clips open, inset slides in after it */
.js [data-reveal="clip"] .about__img--inset {
  opacity: 0; transform: translate(24px, 24px);
  transition: opacity 700ms var(--ease-out) 650ms, transform 900ms var(--ease-out) 650ms;
}
.js [data-reveal="clip"].is-visible .about__img--inset { opacity: 1; transform: none; }
.js [data-reveal="clip"] { clip-path: none; }
.js [data-reveal="clip"] .about__img--main {
  clip-path: inset(0 0 100% 0 round 20px);
  transition: clip-path 1100ms var(--ease-in-out);
}
.js [data-reveal="clip"].is-visible .about__img--main { clip-path: inset(0 0 0 0 round 20px); }

/* Area cards: open like a window, photo settles from a slight zoom */
.js .areas[data-stagger] > * {
  opacity: 1; transform: none;
  clip-path: inset(12% 8% 0 8% round 18px);
  transition: clip-path 1100ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .areas[data-stagger].is-visible > * { clip-path: inset(0 0 0 0 round 18px); }
.js .areas:not(.is-visible) .area img { transform: scale(1.18); }
.area img { transition: transform 1400ms var(--ease-out); }
.area__body h3, .area__body p { transition: transform 700ms var(--ease-out), opacity 700ms var(--ease-out); }
.js .areas:not(.is-visible) .area__body h3, .js .areas:not(.is-visible) .area__body p { opacity: 0; transform: translateY(14px); }
.js .areas.is-visible .area__body h3 { transition-delay: calc(var(--d, 0ms) + 350ms); }
.js .areas.is-visible .area__body p { transition-delay: calc(var(--d, 0ms) + 430ms); }
.area__body h3::after {
  content: ""; display: block; width: 36px; height: 3px; margin-top: 8px; background: var(--red);
  transform-origin: left; transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .area:hover .area__body h3::after { transform: scaleX(1.8); }
}

/* Member pack: swoosh strokes draw across the band */
.pack__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pack__swoosh path { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 26; stroke-linecap: round; }
.pack__swoosh path + path { stroke: rgba(232, 34, 42, .35); stroke-width: 6; }
.pack::before { display: none; }
.js .pack__swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-in-out); }
.js .pack__swoosh path + path { transition-delay: 250ms; }
.js .pack.is-drawn .pack__swoosh path { stroke-dashoffset: 0; }
.js [data-pack] .pack__list li { opacity: 0; transform: translateX(-12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js [data-pack].is-visible .pack__list li { opacity: 1; transform: none; }
.js [data-pack].is-visible .pack__list li:nth-child(1) { transition-delay: 300ms; }
.js [data-pack].is-visible .pack__list li:nth-child(2) { transition-delay: 370ms; }
.js [data-pack].is-visible .pack__list li:nth-child(3) { transition-delay: 440ms; }
.js [data-pack].is-visible .pack__list li:nth-child(4) { transition-delay: 510ms; }

/* Featured plan: a slow light travelling around the border */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--featured { border-color: transparent; isolation: isolate; }
.plan--featured::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px; padding: 2px;
  background: conic-gradient(from var(--spin), var(--red) 0deg, #ff9a9e 60deg, var(--red) 120deg, var(--red) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.plan { transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}
.plan__badge { overflow: hidden; }
.plan__badge::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
}
.js .plans.is-visible .plan__badge::after { animation: sheen 1100ms var(--ease-in-out) 900ms both; }
@keyframes sheen { to { transform: translateX(120%); } }

/* Gallery: slow drift, pauses on hover */
.gallery { display: block; overflow: hidden; padding: 0 0 8px; }
.gallery__track { display: flex; width: max-content; animation: drift 60s linear infinite; }
.gallery__set { display: flex; gap: 14px; padding-right: 14px; }
.gallery img {
  width: 330px; height: 240px; object-fit: cover; border-radius: 16px;
  transition: filter 300ms ease, transform 400ms var(--ease-out);
}
@keyframes drift { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
  .gallery:hover .gallery__track { animation-play-state: paused; }
  .gallery img:hover { filter: brightness(1.08) saturate(1.1); transform: translateY(-4px); }
}

/* Form: inputs lift on focus, success message blurs in */
.field input { transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--ease-out); }
.field input:focus { transform: translateY(-1px); }
.form__success { animation: successIn 600ms var(--ease-out) both; }
@keyframes successIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Map: fades in once the iframe has loaded */
.map iframe { transition: opacity 600ms ease; }
.js .map iframe:not(.is-loaded) { opacity: 0; }

/* Footer wordmark */
.footer { overflow: hidden; }
.footer__wordmark {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 14vw, 210px); line-height: .8; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  margin: 10px 0 24px; padding-right: 0.1em; user-select: none;
}
.js .footer__wordmark { transform: translateY(30%); opacity: 0; transition: transform 1400ms var(--ease-out), opacity 1000ms ease; }
.js .footer__wordmark.is-visible { transform: none; opacity: 1; }
.footer__bottom { position: relative; }

/* Phones: lighter motion, no pointer effects */
@media (max-width: 860px) {
  .nav__indicator { display: none; }
  .nav a:not(.btn) { padding: 10px 0; border-radius: 0; }
  .gallery img { width: 240px; height: 180px; }
  .gallery__track { animation-duration: 45s; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track, .plan--featured::before, .plan__badge::after { animation: none; }
  .js .w > span, .js .kicker::before, .js .pack__swoosh path, .js .footer__wordmark,
  .js [data-pack] .pack__list li { transform: none; stroke-dashoffset: 0; transition: opacity 400ms ease; }
  .js .areas[data-stagger] > *, .js [data-reveal="clip"] .about__img--main { clip-path: none; }
  .js .areas:not(.is-visible) .area img { transform: none; }
  .js [data-reveal="clip"] .about__img--inset { transform: none; }
  .nav__indicator { transition: opacity 200ms ease; }
}

/* ==========================================================
   Signature layer
   ========================================================== */

/* Header: floats as a glass island after the hero, hides on scroll down */
.header {
  background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important;
  backdrop-filter: none !important;
  transition: transform 400ms var(--ease-out);
}
.header.is-hidden { transform: translateY(-115%); }
.header__inner { position: relative; transition: transform 400ms var(--ease-out); }
.header__inner::before {
  content: ""; position: absolute; inset: 0 -22px; z-index: -1; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 40px -22px rgba(28, 28, 82, .45), inset 0 1px 0 rgba(255, 255, 255, .8);
  opacity: 0; transform: scale(1.03);
  transition: opacity 350ms ease, transform 450ms var(--ease-out);
}
.header.is-solid .header__inner { transform: translateY(10px); }
.header.is-solid .header__inner::before { opacity: 1; transform: none; }
.header:not(.is-solid) { border-bottom: 1px solid rgba(255, 255, 255, .12) !important; }

/* Sheen sweep across the header CTA on hover */
.btn--sheen { position: relative; overflow: hidden; isolation: isolate; }
.btn--sheen::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
}
@media (hover: hover) and (pointer: fine) {
  .btn--sheen:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-in-out); }
}

/* Magnetic buttons: JS writes a small translate; spring-like settle via transition */
.btn--magnetic { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform 500ms var(--ease-out), box-shadow 300ms ease; }
.btn--red.btn--magnetic { box-shadow: 0 14px 30px -14px rgba(232, 34, 42, .8); }

/* Hero rotator: lines swap with a masked slide + blur */
.rotator { display: inline-grid !important; }
.rotator__item { grid-area: 1 / 1; white-space: nowrap; transition: transform 700ms var(--ease-in-out), opacity 500ms ease, filter 500ms ease; }
.rotator__item:not(.is-current) { transform: translateY(105%); opacity: 0; filter: blur(4px); }
.rotator__item.is-leaving { transform: translateY(-105%); opacity: 0; filter: blur(4px); }

/* About: rotating badge */
.badge-spin {
  position: absolute; z-index: 3; top: -36px; right: 24px; width: 132px; height: 132px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: var(--white);
  box-shadow: 0 18px 36px -16px rgba(232, 34, 42, .7);
}
.badge-spin svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: rotate 18s linear infinite; }
.badge-spin text { fill: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 10.6px; letter-spacing: .14em; text-transform: uppercase; }
.badge-spin__core { display: grid; text-align: center; line-height: 1; font-family: var(--font-display); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.badge-spin__core strong { font-style: italic; font-weight: 800; font-size: 30px; letter-spacing: 0; }
@keyframes rotate { to { transform: rotate(360deg); } }
.js .badge-spin { opacity: 0; transform: scale(.85) rotate(-20deg); transition: opacity 600ms var(--ease-out) 900ms, transform 900ms var(--ease-out) 900ms; }
.js .is-visible .badge-spin { opacity: 1; transform: none; }

/* Services: outlined index numbers */
.service__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 54px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px #dcdde9;
  transition: -webkit-text-stroke-color 300ms ease, transform 400ms var(--ease-out);
}

/* Pack band: slanted edges */
.pack { clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%); padding: 112px 0; margin: -24px 0; }

/* Pricing: 3D tilt under the pointer (JS writes rotateX/Y) */
.plans { perspective: 1200px; }
.plan { transform-style: preserve-3d; will-change: transform; }
.plan[data-tilt] { transition: transform 600ms var(--ease-out), box-shadow 300ms ease; }
.plan__price, .plan__badge { transform: translateZ(30px); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: none; } }

/* Trial card: dark with drifting glows */
.trial__card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-deep); color: #c9cae6;
}
.trial__card .title { color: var(--white); }
.trial__card .field label { color: var(--white); }
.trial__card .optional { color: #9c9dc4; }
.trial__card .field input { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .96); }
.trial__card .form__alt { color: #c9cae6; }
.trial__card .form__alt a { color: var(--white); }
.trial__card .field__error { color: #ff9a9e; }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb--a { width: 320px; height: 320px; background: var(--red); top: -140px; right: -120px; animation: float-a 14s var(--ease-in-out) infinite alternate; }
.orb--b { width: 280px; height: 280px; background: #3a3ba0; bottom: -140px; left: -100px; animation: float-b 17s var(--ease-in-out) infinite alternate; }
@keyframes float-a { to { transform: translate(-90px, 120px) scale(1.15); } }
@keyframes float-b { to { transform: translate(110px, -80px) scale(.9); } }

/* Footer: CTA strip */
.footer { position: relative; padding-top: 0; }
.footer::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -620px; margin-left: -450px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 34, 42, .22), transparent);
  pointer-events: none;
}
.footer__cta {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 72px 0 60px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__cta-title {
  color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 5vw, 68px); line-height: .95; margin: 0;
}
.footer__cta-title .red { color: #ff3b42; }
.footer__cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer links: arrow slides in on hover */
.footer__col a { display: inline-flex; align-items: center; gap: 0; width: fit-content; transition: color 200ms ease, gap 0ms; }
.footer__col a::before {
  content: "\2192"; display: inline-block; width: 0; overflow: hidden; color: var(--red);
  transform: translateX(-6px); opacity: 0; transition: width 250ms var(--ease-out), transform 250ms var(--ease-out), opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { text-decoration: none; color: var(--white); }
  .footer__col a:hover::before { width: 1.2em; transform: none; opacity: 1; }
}

/* Wordmark slides with scroll */
.footer__wordmark span { display: inline-block; will-change: transform; }

/* Back to top with scroll progress ring */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.to-top {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: none;
  color: var(--white); text-decoration: none !important; font-size: 18px;
  transition: transform 160ms var(--ease-out);
}
.to-top:active { transform: scale(0.94); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top__track { stroke: rgba(255, 255, 255, .15); }
.to-top__ring { stroke: var(--red); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.to-top span { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .to-top:hover span { transform: translateY(-3px); } }

@media (max-width: 860px) {
  .header.is-solid .header__inner { transform: none; }
  .header__inner::before { inset: 0 -10px; border-radius: 0 0 18px 18px; }
  .badge-spin { width: 104px; height: 104px; top: -26px; right: 8px; }
  .badge-spin__core strong { font-size: 24px; }
  .badge-spin text { font-size: 10.2px; }
  .pack { clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); padding: 84px 0; }
  .footer__cta { padding: 56px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-spin svg, .orb { animation: none; }
  .header.is-hidden { transform: none; }
  .rotator__item { transition: opacity 400ms ease; }
  .rotator__item:not(.is-current), .rotator__item.is-leaving { transform: none; filter: none; }
  .js .badge-spin { transform: none; }
}
@media (max-width: 860px) {
  .header:has(.nav.is-open) .header__inner::before { opacity: 1; transform: none; border-radius: 0; }
  .header:has(.nav.is-open) .menu-toggle span { background: var(--ink); }
}
@media (max-width: 860px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; gap: 2px; }
  .header__inner { position: static; }
  .header__inner::before { inset: 0; border-radius: 0 0 20px 20px; }
}
@media (max-width: 860px) {
  .nav a.btn { color: var(--white); padding: 14px 22px; }
}

/* ==========================================================
   Top strip + header first impression
   ========================================================== */

/* Glass top strip sitting over the hero video */
.topbar {
  position: relative; z-index: 51;
  background: linear-gradient(90deg, rgba(14, 14, 46, .55), rgba(14, 14, 46, .25));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #d4d5ee; font-size: 13.5px;
}
.topbar__inner { padding: 9px 0; gap: 24px; }
.topbar__item {
  display: inline-flex; align-items: center; gap: 7px;
  color: #e6e7f7 !important; text-decoration: none !important;
  transition: color 200ms ease;
}
.topbar__item svg { width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__divider { width: 1px; height: 16px; background: rgba(255, 255, 255, .18); }
.topbar__social {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); margin-left: -10px;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.topbar__links .topbar__divider + .topbar__social { margin-left: 0; }
.topbar__social svg { width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar__social:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .topbar__item:hover { color: var(--white) !important; }
  .topbar__social:hover { background: var(--red); }
}

/* Offer ticker: one message at a time, sliding up through a mask */
.ticker { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; justify-content: center; }
.ticker__tag {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
  color: var(--white); background: rgba(232, 34, 42, .9); padding: 2px 10px 2px 8px; border-radius: 999px;
}
.ticker__tag .dot { width: 6px; height: 6px; background: var(--white); animation-name: pulse-white; }
@keyframes pulse-white { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
.ticker__window { display: grid; overflow: hidden; height: 1.6em; min-width: 0; }
.ticker__item {
  grid-area: 1 / 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6em;
  transition: transform 600ms var(--ease-in-out), opacity 400ms ease;
}
.ticker__item:not(.is-current) { transform: translateY(100%); opacity: 0; }
.ticker__item.is-leaving { transform: translateY(-100%); opacity: 0; }

/* Hero now tucks under both the strip and the header */
.hero {
  margin-top: calc(-1 * (var(--header-h, 77px) + var(--topbar-h, 40px)));
  padding-top: calc(var(--header-h, 77px) + var(--topbar-h, 40px) + 64px);
}

/* Light line under the header instead of a flat rule */
.header:not(.is-solid) { border-bottom-color: transparent !important; }
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .25) 20%, rgba(232, 34, 42, .9) 50%, rgba(255, 255, 255, .25) 80%, transparent 100%);
  transition: opacity 300ms ease;
}
.header.is-solid::after { opacity: 0; }

/* Logo lifts slightly on hover */
.header__logo { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .header__logo:hover { transform: translateY(-1px) scale(1.03); } }

/* Header CTA: soft glow ring that breathes every few seconds */
.header__cta { position: relative; }
.header__cta::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; pointer-events: none;
  border: 2px solid rgba(232, 34, 42, .7); opacity: 0;
  animation: ring 3.2s var(--ease-out) 2.4s infinite;
}
@keyframes ring { 0% { opacity: .9; transform: scale(.96); } 60%, 100% { opacity: 0; transform: scale(1.18, 1.4); } }

/* First load: strip, logo, links and button drop in one after another */
.js .topbar__inner > *, .js .header__logo, .js .nav > a:not(.nav__cta-mobile), .js .header__cta, .js .menu-toggle {
  animation: dropIn 700ms var(--ease-out) both;
}
.js .topbar__inner > :nth-child(1) { animation-delay: 60ms; }
.js .topbar__inner > :nth-child(2) { animation-delay: 120ms; }
.js .topbar__inner > :nth-child(3) { animation-delay: 180ms; }
.js .header__logo { animation-delay: 140ms; }
.js .nav > a:nth-of-type(1) { animation-delay: 200ms; }
.js .nav > a:nth-of-type(2) { animation-delay: 240ms; }
.js .nav > a:nth-of-type(3) { animation-delay: 280ms; }
.js .nav > a:nth-of-type(4) { animation-delay: 320ms; }
.js .nav > a:nth-of-type(5) { animation-delay: 360ms; }
.js .header__cta, .js .menu-toggle { animation-delay: 420ms; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .topbar__email, .topbar__address { display: none; }
  .ticker { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .js .nav > a:not(.nav__cta-mobile) { animation: none; }
}
@media (max-width: 600px) {
  .topbar__inner { gap: 12px; }
  .topbar__links { width: auto; gap: 10px; }
  .topbar__links .topbar__item { display: none; }
  .topbar__divider { display: none; }
  .topbar__social { margin-left: 0; }
  .ticker__tag { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .header__cta::before, .ticker__tag .dot { animation: none; }
  .js .topbar__inner > *, .js .header__logo, .js .nav > a, .js .header__cta, .js .menu-toggle { animation: fadeOnly 400ms ease both; }
  .ticker__item, .ticker__item:not(.is-current), .ticker__item.is-leaving { transform: none; transition: opacity 400ms ease; }
}
@media (max-width: 600px) {
  .ticker__item { font-size: 12.5px; }
}
@media (max-width: 600px) { .ticker__more { display: none; } }

/* Bigger logo + typewriter tagline */
.header__logo { position: relative; }
.header__logo img { width: 200px; }
.footer__brand img { width: 230px; }
.logo-caret {
  position: absolute; top: 75%; height: 21%; width: 2px; left: 48%;
  background: var(--red); border-radius: 1px;
  transform: skewX(-9deg); opacity: 0;
  animation: caretBlink 1s steps(1) infinite;
}
.logo-caret.is-on { opacity: 1; }
.logo-caret.is-typing { animation: none; }
@keyframes caretBlink { 0%, 49% { visibility: visible; } 50%, 100% { visibility: hidden; } }
@media (max-width: 860px) { .header__logo img { width: 165px; } }
@media (prefers-reduced-motion: reduce) { .logo-caret { display: none; } }

/* ==========================================================
   Stats, marquee and about — refined
   ========================================================== */

/* The about frame must not clip the badge once revealed */
.js [data-reveal="clip"], .js [data-reveal="clip"].is-visible { clip-path: none; }

/* Badge: white disc with navy text ring, red core, sits on the photo's lower-left edge */
.badge-spin {
  position: absolute; z-index: 3; top: auto; right: auto; left: -46px; bottom: 96px;
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--navy);
  box-shadow: 0 24px 50px -20px rgba(28, 28, 82, .55), 0 0 0 1px rgba(28, 28, 82, .06);
}
.badge-spin svg.badge-spin__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: rotate 22s linear infinite;
}
.badge-spin text {
  fill: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0; text-transform: uppercase;
}
.badge-spin__core {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); text-transform: uppercase; line-height: 1;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .18);
}
.badge-spin__core strong { font-style: italic; font-weight: 800; font-size: 30px; }
.badge-spin__core span { font-weight: 700; font-size: 11px; letter-spacing: .16em; margin-top: 2px; }
.js .badge-spin { opacity: 0; transform: scale(.8) rotate(-30deg); transition: opacity 600ms var(--ease-out) 900ms, transform 1000ms var(--ease-out) 900ms; }
.js .is-visible .badge-spin { opacity: 1; transform: none; }

/* Photo pair drifts at two speeds on scroll (JS writes the transforms) */
.about__img--main, .about__img--inset { will-change: transform; }
.about__media::before {
  content: ""; position: absolute; z-index: -1; right: 20px; bottom: 10px; width: 62%; height: 70%;
  border-radius: 24px; background:
    radial-gradient(circle, rgba(45, 46, 126, .18) 1.6px, transparent 1.8px) 0 0 / 16px 16px;
}

/* Title highlight: a red marker stroke sweeps under "best excuses" */
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.04em; bottom: 0.06em; height: 0.34em;
  background: rgba(232, 34, 42, .22); border-radius: 3px; transform: skewX(-12deg) scaleX(0); transform-origin: left;
  transition: transform 800ms var(--ease-in-out) 700ms;
}
.title .hl .w { overflow: hidden; }
.is-visible .hl::after, .no-js .hl::after { transform: skewX(-12deg) scaleX(1); }
.about__copy .title { position: relative; isolation: isolate; }

/* Checklist ticks pop in one by one */
.js [data-reveal] .checklist li { opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js [data-reveal].is-visible .checklist li { opacity: 1; transform: none; }
.js [data-reveal].is-visible .checklist li:nth-child(1) { transition-delay: 450ms; }
.js [data-reveal].is-visible .checklist li:nth-child(2) { transition-delay: 520ms; }
.js [data-reveal].is-visible .checklist li:nth-child(3) { transition-delay: 590ms; }
.js [data-reveal].is-visible .checklist li:nth-child(4) { transition-delay: 660ms; }
.checklist li::before { transition: transform 400ms var(--ease-out); }
.js [data-reveal]:not(.is-visible) .checklist li::before { transform: scale(.4); }

/* Stats: red line draws across the top, icons, hover lift */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6a6f 50%, var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform 1200ms var(--ease-in-out) 200ms;
}
.stats.is-visible::before, .no-js .stats::before { transform: scaleX(1); }
.stat { position: relative; padding-left: 82px; transition: background-color 250ms ease; }
.stat::before {
  content: ""; position: absolute; left: 26px; top: 50%; width: 42px; height: 42px; margin-top: -21px;
  border-radius: 12px; background-color: #fdecec;
  background-repeat: no-repeat; background-position: center; background-size: 22px;
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}
.stat:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14.2 7.5 22l4.5-2.5 4.5 2.5-1.5-7.8'/%3E%3C/svg%3E"); }
.stat:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6.5 6.5-6.5s6.5 2.9 6.5 6.5'/%3E%3Ccircle cx='17' cy='8.5' r='2.5'/%3E%3Cpath d='M16.5 13.6c2.9.2 5 2.5 5 5.4'/%3E%3C/svg%3E"); }
.stat:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.stat:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='2'/%3E%3Cpath d='M12 8v13M3 12h18M12 8c-1.5-3-5-4-5-1.5S12 8 12 8zm0 0c1.5-3 5-4 5-1.5S12 8 12 8z'/%3E%3C/svg%3E"); }
@media (hover: hover) and (pointer: fine) {
  .stat:hover { background-color: #fafafe; }
  .stat:hover::before { transform: rotate(-8deg) scale(1.06); background-color: #fbd9da; }
}

/* Marquee is now driven by scroll velocity (JS); it leans with speed */
.marquee__track { animation: none; will-change: transform; }
.marquee { padding: 52px 0 18px; }

@media (max-width: 1024px) {
  .badge-spin { left: -18px; bottom: 70px; width: 128px; height: 128px; }
  .badge-spin__core { width: 62px; height: 62px; }
  .badge-spin__core strong { font-size: 25px; }
}
@media (max-width: 600px) {
  .badge-spin { left: -8px; bottom: 50px; width: 108px; height: 108px; }
  .badge-spin text { font-size: 10px; }
  .badge-spin__core { width: 52px; height: 52px; }
  .badge-spin__core strong { font-size: 21px; }
  .badge-spin__core span { font-size: 9px; }
  .stat { padding: 18px 16px 18px 16px; }
  .stat::before { position: static; display: block; margin: 0 0 10px; width: 36px; height: 36px; background-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-spin svg.badge-spin__ring { animation: none; }
  .js .badge-spin, .js [data-reveal] .checklist li { transform: none; }
  .hl::after { transition: opacity 400ms ease; }
  .stats::before { transition: none; transform: scaleX(1); }
}

/* ==========================================================
   Services — bento grid
   ========================================================== */
.services-section { position: relative; isolation: isolate; overflow: hidden; }
.services-section__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(45, 46, 126, .13) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
          mask: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.services-section__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 55%; top: 10%;
  background: radial-gradient(closest-side, rgba(232, 34, 42, .16), transparent);
  animation: glowDrift 16s var(--ease-in-out) infinite alternate;
}
@keyframes glowDrift { to { transform: translate(-420px, 260px) scale(1.2); } }

.section-head--split { display: flex; max-width: none; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head--split > div { max-width: 640px; }
.section-head--split .section-head__lead { max-width: 380px; padding-bottom: 22px; }

.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "gym gym classes classes"
    "gym gym prog nutri"
    "orient yoga cta cta";
}
.tile--gym { grid-area: gym; }
.tile--classes { grid-area: classes; }
.tile--prog { grid-area: prog; }
.tile--nutri { grid-area: nutri; }
.tile--orient { grid-area: orient; }
.tile--yoga { grid-area: yoga; }
.tile--cta { grid-area: cta; }

/* Shared tile shell with pointer-following glow border */
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px; padding: 28px 26px; min-height: 230px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease, border-color 300ms ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 34, 42, .95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 300ms ease;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 34, 42, .08), transparent 70%);
  transition: opacity 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(28, 28, 82, .55); border-color: transparent; }
  .tile:hover::after, .tile--card:hover::before { opacity: 1; }
}

.tile h3 { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 10px; }
.tile p { margin: 0; }
.tile .service__icon { margin-bottom: 18px; }
.tile .service__num { z-index: 1; }

/* Icon strokes draw themselves when the grid appears, and redraw on hover */
.js .service__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .bento:not(.is-visible) .service__icon svg * { stroke-dashoffset: 1; }
.js .bento .service__icon svg * { transition: stroke-dashoffset 1100ms var(--ease-in-out); transition-delay: calc(var(--d, 0ms) + 300ms); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .service__icon svg * { animation: redraw 900ms var(--ease-in-out); }
  .tile:hover .service__num { -webkit-text-stroke-color: rgba(232, 34, 42, .55); transform: translateY(-3px); }
}
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Photo tiles */
.tile--photo { padding: 0; border: 0; display: flex; align-items: flex-end; color: #dfe0f3; background: var(--navy-deep); }
.tile--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.04); transition: transform 1200ms var(--ease-out);
}
.tile--photo::before {
  opacity: 1; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 20, 60, .05) 0%, rgba(20, 20, 60, .35) 45%, rgba(20, 20, 60, .92) 100%);
}
@media (hover: hover) and (pointer: fine) { .tile--photo:hover img { transform: scale(1.1); } }
.tile__body { position: relative; padding: 30px 30px 28px; }
.tile--photo h3 { color: var(--white); font-size: clamp(30px, 3vw, 44px); }
.tile--photo p { max-width: 34em; color: #dfe0f3; }
.tile--photo .service__icon { background: rgba(255, 255, 255, .14); color: var(--white); backdrop-filter: blur(8px); }
.tile--photo .service__num { -webkit-text-stroke-color: rgba(255, 255, 255, .45); font-size: 68px; top: 22px; right: 26px; }
.tile--gym { min-height: 480px; }
.tile--classes { min-height: 230px; }
.tile--classes img { object-position: center 60%; }

.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  color: var(--white); padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.js .bento .chips li { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background-color 200ms ease; }
.js .bento.is-visible .chips li { opacity: 1; transform: none; }
.js .bento.is-visible .chips li:nth-child(1) { transition-delay: 600ms; }
.js .bento.is-visible .chips li:nth-child(2) { transition-delay: 660ms; }
.js .bento.is-visible .chips li:nth-child(3) { transition-delay: 720ms; }
.js .bento.is-visible .chips li:nth-child(4) { transition-delay: 780ms; }
@media (hover: hover) and (pointer: fine) { .chips li:hover { background: var(--red); border-color: var(--red); } }

/* CTA tile */
.tile--cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--navy); border: 0; color: #d4d5ee; padding: 34px 36px;
}
.tile--cta::before {
  opacity: 1;
  background:
    radial-gradient(400px circle at 100% 0%, rgba(232, 34, 42, .45), transparent 60%),
    radial-gradient(300px circle at 0% 120%, rgba(58, 59, 160, .55), transparent 60%);
}
.tile--cta h3 { color: var(--white); font-size: clamp(30px, 3vw, 40px); }
.tile--cta > div { max-width: 360px; }

/* Responsive */
@media (max-width: 1024px) {
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-head--split .section-head__lead { padding-bottom: 0; }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "gym gym" "classes classes" "prog nutri" "orient yoga" "cta cta";
  }
  .tile--gym { min-height: 400px; }
  .tile--classes { min-height: 300px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "gym" "classes" "prog" "nutri" "orient" "yoga" "cta"; }
  .tile { min-height: 0; }
  .tile--gym { min-height: 380px; }
  .tile--classes { min-height: 300px; }
  .tile__body { padding: 24px 22px; }
  .tile--cta { padding: 28px 24px; }
  .tile--cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .services-section__glow { animation: none; }
  .js .bento:not(.is-visible) .service__icon svg * { stroke-dashoffset: 0; }
  .tile:hover .service__icon svg * { animation: none; }
  .js .bento .chips li { transform: none; }
}

/* Group classes: brand-red tile with a large outlined motif */
.tile--red { background: linear-gradient(135deg, #f0333a 0%, var(--red) 45%, #b8121a 100%); }
.tile--red::before { background: radial-gradient(360px circle at 85% 20%, rgba(255, 255, 255, .22), transparent 60%); }
.tile--red .service__icon { background: rgba(255, 255, 255, .18); }
.tile--red .service__num { -webkit-text-stroke-color: rgba(255, 255, 255, .55); }
.tile--red .chips li { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
@media (hover: hover) and (pointer: fine) { .tile--red .chips li:hover { background: var(--white); color: var(--red); border-color: var(--white); } }
.tile__art {
  position: absolute; z-index: -1; right: -30px; bottom: -60px; width: 300px; height: 300px;
  fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: .7; stroke-linecap: round;
  transform: rotate(-10deg); transition: transform 1200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tile--red:hover .tile__art { transform: rotate(-4deg) scale(1.06); } }

/* ==========================================================
   Pricing — refined
   ========================================================== */
.pricing { position: relative; isolation: isolate; overflow: hidden; }
.pricing__backdrop {
  position: absolute; z-index: -1; left: 50%; top: 52%; translate: -50% -50%;
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(110px, 19vw, 300px); line-height: 1; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px #e7e8f1;
}
.js .pricing__backdrop { opacity: 0; transform: scale(.94); transition: opacity 1200ms ease, transform 1600ms var(--ease-out); }
.js .pricing.is-seen .pricing__backdrop { opacity: 1; transform: none; }
.pricing::before {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: 50%; top: 58%; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 34, 42, .1), transparent);
}

.plans { grid-template-columns: repeat(2, minmax(0, 430px)); gap: 30px; align-items: center; }
.plan { padding: 40px 36px 34px; border-radius: 26px; box-shadow: 0 24px 50px -36px rgba(28, 28, 82, .45); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__pill {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px;
  padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--navy);
}
.plan__price { display: flex; align-items: flex-start; font-size: 76px; margin: 22px 0 6px; }
.plan__currency { font-size: 36px; margin: 8px 4px 0 0; vertical-align: 0; }
.plan__monthly {
  display: inline-flex; align-items: baseline; gap: 6px; margin: 0 0 22px; padding: 7px 12px;
  border-radius: 10px; background: #fdecec; color: var(--text); font-size: 15px;
}
.plan__monthly span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 20px; color: var(--red); }
.plan__term { margin-bottom: 12px; }
.plan__features { border-top-style: dashed; }
.plan__footnote { margin: 14px 0 0; font-size: 13px; color: #9c9dc4; text-align: center; }

/* Odometer digits roll into place */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.odo__digit { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform 1600ms var(--ease-out); }
.odo__strip span { height: 1em; line-height: 1; }
.odo__sep { display: inline-block; }

/* Featured plan: dark card, light travels around the border */
.plan--featured {
  background: radial-gradient(420px circle at 85% 0%, rgba(232, 34, 42, .32), transparent 60%), var(--navy-deep);
  color: #c9cae6; padding-top: 50px; padding-bottom: 30px;
  box-shadow: 0 40px 80px -40px rgba(28, 28, 82, .8);
}
.plan--featured .plan__name { color: var(--white); }
.plan--featured .plan__price { color: var(--white); }
.plan--featured .plan__term { color: #a9aad3; }
.plan--featured .plan__pill { background: rgba(255, 255, 255, .1); color: var(--white); }
.plan--featured .plan__monthly { background: rgba(255, 255, 255, .08); color: #d4d5ee; }
.plan--featured .plan__monthly span { color: #ff5a60; }
.plan--featured .plan__features { border-top-color: rgba(255, 255, 255, .14); color: #e4e5f6; }
.plan__ribbon {
  position: absolute; top: 18px; right: -40px; transform: rotate(35deg);
  width: 160px; text-align: center; padding: 5px 0;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  background: var(--white); color: var(--red); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4);
}
.plan--featured { overflow: hidden; }
.plan--featured::before { z-index: 0; }
.plan--featured > * { position: relative; z-index: 1; }
.plan--featured .plan__badge { position: absolute; z-index: 2; top: 18px; left: 36px; }
.plan--featured .plan__ribbon { position: absolute; z-index: 2; }

/* Feature ticks pop in */
.js .plans .plan__features li { opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .plans.is-visible .plan__features li { opacity: 1; transform: none; }
.js .plans.is-visible .plan__features li:nth-child(1) { transition-delay: calc(var(--d, 0ms) + 600ms); }
.js .plans.is-visible .plan__features li:nth-child(2) { transition-delay: calc(var(--d, 0ms) + 670ms); }
.js .plans.is-visible .plan__features li:nth-child(3) { transition-delay: calc(var(--d, 0ms) + 740ms); }
.js .plans.is-visible .plan__features li:nth-child(4) { transition-delay: calc(var(--d, 0ms) + 810ms); }

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan--featured { order: -1; }
}
@media (max-width: 600px) {
  .plan { padding: 34px 24px 28px; }
  .plan--featured { padding-top: 48px; }
  .plan__price { font-size: 64px; }
  .plan__monthly { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .odo__strip { transition: none; }
  .js .plans .plan__features li, .js .pricing__backdrop { transform: none; }
}
.plan--featured::before { inset: 0; border-radius: inherit; }
/* Keep the odometer mask working inside the 3D-tilting card */
.plan__price { transform: none; transform-style: flat; }
.odo, .odo__digit { transform: translateZ(0); clip-path: inset(0); }

/* ==========================================================
   Ways to pay
   ========================================================== */
.pay {
  position: relative; margin: 56px auto 0; max-width: 1080px;
  display: grid; grid-template-columns: 220px 1fr; gap: 0 36px; align-items: center;
  padding: 30px 34px; border-radius: 24px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(28, 28, 82, .55);
}
.pay::before {
  content: ""; position: absolute; left: 34px; right: 34px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.pay__intro .kicker { margin-bottom: 6px; }
.pay__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: .95; }
.pay__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pay__item { display: flex; gap: 14px; align-items: flex-start; padding: 6px 22px; border-left: 1px solid var(--line); }
.pay__item h4 { margin: 2px 0 4px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; color: var(--ink); }
.pay__item p { margin: 0; font-size: 15px; line-height: 1.5; }
.pay__icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, #ff4b51, var(--red) 60%, #b8121a); color: var(--white);
  box-shadow: 0 10px 20px -10px rgba(232, 34, 42, .8);
  transition: transform 400ms var(--ease-out);
}
.pay__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .pay__item:hover .pay__icon { transform: translateY(-3px) rotate(-6deg); } }
.js .pay .pay__item { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .pay.is-visible .pay__item { opacity: 1; transform: none; }
.js .pay.is-visible .pay__item:nth-child(1) { transition-delay: 200ms; }
.js .pay.is-visible .pay__item:nth-child(2) { transition-delay: 280ms; }
.js .pay.is-visible .pay__item:nth-child(3) { transition-delay: 360ms; }
.pay__cta {
  grid-column: 1 / -1; margin-top: 24px; padding: 14px 18px; border-radius: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--tint); color: var(--text); text-decoration: none; font-size: 15px;
  transition: background-color 250ms ease;
}
.pay__cta strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 17px; color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .pay__cta:hover { background: #ececf6; }
  .pay__cta:hover .btn__arrow { transform: translateX(4px); }
}

/* ==========================================================
   Testimonials: dark section with a shuffling card deck
   ========================================================== */
.voices { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #c9cae6; }
.voices__glow {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at 85% 20%, rgba(232, 34, 42, .28), transparent 60%),
    radial-gradient(500px circle at 10% 90%, rgba(58, 59, 160, .4), transparent 60%);
}
.voices::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
          mask: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
}
.voices__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.voices .title { color: var(--white); }
.voices__lead { font-size: 18px; color: #b6b7d8; max-width: 26em; }
.voices__link { display: inline-flex; gap: 8px; margin-top: 26px; color: var(--white); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .voices__link:hover .btn__arrow { transform: translateX(4px); } }

.deck__controls { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.deck__btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); color: var(--white);
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.deck__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck__btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .deck__btn:hover { background: var(--red); border-color: var(--red); } }
.deck__count { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .08em; color: #8f90bd; min-width: 70px; text-align: center; }
.deck__count span:first-child { color: var(--white); }

/* The deck: one card on top, the next peeking out behind */
.deck { position: relative; display: grid; padding: 0 0 26px 0; }
.deck__card {
  grid-area: 1 / 1; margin: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 330px; padding: 44px 44px 36px; border-radius: 26px;
  background: var(--white); color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(8, 8, 32, .7);
  transform-origin: 50% 100%;
  transition: transform 700ms var(--ease-out), opacity 500ms ease, filter 500ms ease;
}
.deck__card:not(.is-current) {
  transform: translate(28px, 22px) rotate(3deg) scale(.94); opacity: .5; filter: blur(1px); z-index: 0; pointer-events: none;
}
.deck__card.is-current { z-index: 2; }
.deck__card.is-leaving { transform: translate(-60px, -10px) rotate(-6deg) scale(.96); opacity: 0; z-index: 3; transition-duration: 450ms; }
.deck__mark { width: 52px; height: 40px; fill: var(--red); margin-bottom: 20px; }
.deck__card blockquote {
  margin: 0 0 30px; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25;
}
.deck__card figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.deck__card figcaption strong { display: block; color: var(--ink); font-size: 17px; }
.deck__card .avatar { width: 50px; height: 50px; background: linear-gradient(140deg, var(--navy), var(--navy-deep)); box-shadow: 0 0 0 3px #fdecec; }
.deck__card.is-current blockquote, .deck__card.is-current figcaption { animation: quoteIn 700ms var(--ease-out) both; }
.deck__card.is-current figcaption { animation-delay: 120ms; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

.deck__timer { position: absolute; left: 44px; right: 44px; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.deck__timer span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1024px) {
  .pay { grid-template-columns: 1fr; gap: 20px; }
  .voices__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 760px) {
  .pay__list { grid-template-columns: 1fr; gap: 16px; }
  .pay__item { border-left: 0; padding: 0; }
}
@media (max-width: 600px) {
  .pay { padding: 26px 20px; }
  .deck__card { padding: 32px 26px 28px; min-height: 0; }
  .deck__card:not(.is-current) { transform: translate(12px, 16px) rotate(2deg) scale(.95); }
}
@media (prefers-reduced-motion: reduce) {
  .deck__card, .deck__card:not(.is-current), .deck__card.is-leaving { transform: none; filter: none; transition: opacity 300ms ease; }
  .deck__card:not(.is-current) { opacity: 0; }
  .deck__card.is-current blockquote, .deck__card.is-current figcaption { animation: none; }
  .js .pay .pay__item { transform: none; }
}
.deck__card:not(.is-current):not(.is-next):not(.is-leaving) { opacity: 0; }
.deck { touch-action: pan-y; }
.gallery { padding-top: 28px; }

/* ==========================================================
   Contact — cards, copy buttons, branded map
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 18px; }
.ccard {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 20px 18px; border-radius: 18px; background: var(--white);
  border: 1px solid var(--line); color: var(--text); text-decoration: none;
  box-shadow: 0 16px 34px -30px rgba(28, 28, 82, .6);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ccard:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -30px rgba(28, 28, 82, .65); border-color: #d9dae8; }
  .ccard:hover .ccard__icon { transform: rotate(-8deg) scale(1.06); }
}
.ccard__icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px;
  background: #fdecec; color: var(--red);
  transition: transform 300ms var(--ease-out), background-color 300ms ease, color 300ms ease;
}
.ccard__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard__label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.ccard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ccard__row a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .ccard__row a:hover { color: var(--red); } }
.ccard__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ccard__big { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--white); }
.ccard__hint { display: inline-flex; gap: 6px; color: rgba(255, 255, 255, .85); font-size: 15px; margin-top: 4px; }

/* WhatsApp card: navy with a red WhatsApp icon, red ring on hover */
.ccard--wa {
  border-color: transparent; color: var(--white);
  background: radial-gradient(260px circle at 100% 0%, rgba(232, 34, 42, .3), transparent 60%),
              linear-gradient(145deg, #3a3ba0 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: 0 0 0 0 var(--red), 0 20px 40px -24px rgba(28, 28, 82, .8);
  transition: transform 300ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.ccard--wa .ccard__icon { background: var(--red); color: var(--white); box-shadow: 0 8px 18px -8px rgba(232, 34, 42, .9); }
.ccard--wa .ccard__label { color: rgba(255, 255, 255, .85); }
.ccard--wa:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--red), 0 20px 40px -24px rgba(28, 28, 82, .8); }
@media (hover: hover) and (pointer: fine) {
  .ccard--wa:hover { box-shadow: 0 0 0 3px var(--red), 0 26px 44px -24px rgba(232, 34, 42, .5); }
  .ccard--wa:hover .btn__arrow { transform: translateX(4px); }
}

/* Copy button: icon morphs to a tick with a blur crossfade */
.copy {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center; border: 1px solid var(--line); background: var(--tint); color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.copy:active { transform: scale(0.92); }
.copy svg { grid-area: 1 / 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 200ms ease, transform 250ms var(--ease-out), filter 200ms ease; }
.copy__done { opacity: 0; transform: scale(.6); filter: blur(2px); }
.copy.is-copied { background: #e7f8ee; border-color: #bfe9cf; color: #1d8a4a; }
.copy.is-copied .copy__icon { opacity: 0; transform: scale(.6); filter: blur(2px); }
.copy.is-copied .copy__done { opacity: 1; transform: none; filter: none; }
.copy::after {
  content: "Copied"; position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
  padding: 4px 9px; border-radius: 7px; background: var(--ink); color: var(--white);
  font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateY(4px) scale(.96); transform-origin: 50% 100%;
  transition: opacity 150ms ease, transform 200ms var(--ease-out);
}
.copy.is-copied::after { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .copy:hover { color: var(--ink); border-color: #d3d4e2; } }

/* Map: branded frame, muted until you engage, floating location card */
.map { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; border: 0; box-shadow: 0 30px 60px -40px rgba(28, 28, 82, .7); }
.map::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(28, 28, 82, .1); }
.map iframe { filter: grayscale(.55) contrast(1.05); transition: filter 500ms ease, opacity 600ms ease; }
@media (hover: hover) and (pointer: fine) { .map:hover iframe { filter: none; } }
@media (hover: none) { .map iframe { filter: none; } }
.map__card {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 14px 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -20px rgba(28, 28, 82, .6);
}
.map__card > div { display: grid; flex: 1; min-width: 160px; line-height: 1.35; font-size: 14px; color: var(--text); }
.map__card strong { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 19px; color: var(--ink); }
.map__tag { margin-top: 4px; justify-self: start; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--tint); border-radius: 999px; padding: 2px 9px; }
.map__pin {
  position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white);
}
.map__pin::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red);
  animation: ring 2.6s var(--ease-out) infinite;
}
.map__pin svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map__btn { padding: 11px 18px; font-size: 15px; }
.js .map__card { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out) 500ms, transform 700ms var(--ease-out) 500ms; }
.js .is-visible .map__card { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .cgrid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 5; }
  .map__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .map__pin::before { animation: none; }
  .js .map__card { transform: none; }
}
@media (min-width: 1025px) { .trial__card { position: sticky; top: 110px; } }

/* ==========================================================
   Footer — finale
   ========================================================== */
body { background: var(--navy-deep); }
main { position: relative; z-index: 1; background: var(--white); }

/* Curtain: the page lifts away to reveal the footer pinned underneath (desktop, when it fits) */
.curtain main {
  border-radius: 0 0 44px 44px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.curtain .footer { position: sticky; bottom: 0; z-index: 0; }
.curtain .footer__cta { padding-top: 96px; }

.footer__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
          mask: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}
.footer > .container { position: relative; }

.footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { position: relative; padding-bottom: 12px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--red); }
.footer__col { gap: 11px; }
.footer__num { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #6f70a3; margin-right: 10px; letter-spacing: .06em; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover .footer__num { color: var(--red); } }
.footer__visit span { color: #dcdcf3; line-height: 1.5; }
.footer__dir { color: var(--white) !important; font-weight: 600; }

/* Social cards with real handles */
.social-pills { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; max-width: 300px; }
.social-pill {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--white) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}
.social-pill small { display: block; font-weight: 500; font-size: 12px; color: #9c9dc4; }
.social-pill__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background-color 250ms ease; }
.social-pill__icon svg { width: 19px; height: 19px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-pill:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .social-pill:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); transform: translateX(4px); }
  .social-pill:hover .social-pill__icon { background: var(--red); }
}

/* Wordmark: outlined, lights up red under the pointer */
.footer__wordmark { position: relative; }
.wm { position: relative; display: inline-block; }
.wm__outline { display: block; }
.wm__fill {
  position: absolute; inset: 0; color: var(--red); -webkit-text-stroke: 0;
  background: linear-gradient(90deg, #ff4b51, var(--red), #ff8a8e); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask: radial-gradient(240px circle at var(--wx, -999px) var(--wy, -999px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 70%);
          mask: radial-gradient(240px circle at var(--wx, -999px) var(--wy, -999px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 70%);
  pointer-events: none;
}
.footer__wordmark .wm__outline { -webkit-text-stroke: 1px rgba(255, 255, 255, .16); }

/* Bottom bar with live local time */
.footer__bottom { gap: 20px; flex-wrap: wrap; }
.footer__clock { display: inline-flex; align-items: center; gap: 8px; color: #b6b7d8; font-variant-numeric: tabular-nums; }
.footer__clock .dot { width: 7px; height: 7px; }
.footer__clock time { color: var(--white); font-weight: 600; }

@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .social-pills { flex-direction: row; flex-wrap: wrap; max-width: none; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .social-pills { flex-direction: column; }
  .footer__bottom { justify-content: center; text-align: center; }
}
/* Tighter footer rhythm so the curtain reveal fits typical laptop screens */
.footer__cta { padding: 56px 0 40px; margin-bottom: 40px; }
.curtain .footer__cta { padding-top: 64px; }
.footer__inner { padding-bottom: 28px; }
.footer__wordmark { font-size: clamp(64px, 11vw, 168px); margin: 0 0 14px; }
.footer__bottom { padding: 16px 0 18px; }

/* Footer contact lines with icons */
.footer__col--icons a, .footer__line { display: inline-flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.footer__col--icons a::before { display: none; }
.footer__line { color: #dcdcf3; }
.ficon {
  flex: none; width: 30px; height: 30px; margin-top: -4px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}
.ficon svg { width: 15px; height: 15px; fill: none; stroke: #ff6a6f; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ficon--wa svg { stroke: #3ddc84; }
.ficon--red { background: var(--red); border-color: var(--red); }
.ficon--red svg { stroke: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .footer__col--icons a:hover .ficon { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
  .footer__col--icons a:hover .ficon svg { stroke: var(--white); }
  .footer__col--icons a.footer__dir:hover .ficon { transform: translateY(-2px) rotate(-12deg); }
}
html, body { overflow-x: clip; }
@media (max-width: 1150px) and (min-width: 861px) { .header__inner::before { inset: 0 -14px; } }

/* Floating WhatsApp button in Triple S colours */
.whatsapp {
  width: auto; height: auto; border-radius: 999px; background: none; box-shadow: none;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.whatsapp__btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #ff4b51 0%, var(--red) 55%, #b8121a 100%);
  box-shadow: 0 0 0 4px var(--navy), 0 14px 30px -10px rgba(28, 28, 82, .8), inset 0 -4px 10px rgba(0, 0, 0, .15);
  transition: transform 200ms var(--ease-out), box-shadow 300ms ease;
}
.whatsapp__btn::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); pointer-events: none;
  animation: ring 3s var(--ease-out) 2s infinite;
}
.whatsapp__btn svg { width: 28px; height: 28px; fill: var(--white); }
.whatsapp__label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  color: var(--white); background: var(--navy); padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(28, 28, 82, .8);
  opacity: 0; transform: translateX(10px) scale(.96); transform-origin: right center; pointer-events: none;
  transition: opacity 200ms ease, transform 250ms var(--ease-out);
}
.whatsapp:active .whatsapp__btn { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .whatsapp:hover { transform: none; }
  .whatsapp:hover .whatsapp__btn { transform: scale(1.06); }
  .whatsapp:hover .whatsapp__label { opacity: 1; transform: none; }
}
.whatsapp:focus-visible .whatsapp__label { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .whatsapp__btn::before { animation: none; } }

.whatsapp__btn { transition: transform 200ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.whatsapp:focus-visible .whatsapp__btn { box-shadow: 0 0 0 4px var(--navy), 0 0 0 7px rgba(232, 34, 42, .45), 0 14px 30px -10px rgba(28, 28, 82, .8); }
@media (hover: hover) and (pointer: fine) {
  .whatsapp:hover .whatsapp__btn {
    box-shadow: 0 0 0 4px var(--navy), 0 18px 36px -10px rgba(232, 34, 42, .6), inset 0 -4px 10px rgba(0, 0, 0, .15);
  }
}
.ccard__row a { overflow-wrap: normal; }
@media (max-width: 1280px) { .ccard__row a[href^="mailto"] { font-size: 15px; } }

/* Phones: safe areas, lighter effects, comfortable tap targets */
.whatsapp { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  .topbar, .eyebrow, .hero__card, .chips li, .btn--glass, .hero__toggle { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header__inner::before { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .orb { filter: blur(40px); }
  .whatsapp__btn { width: 56px; height: 56px; }
  .footer__col a, .footer__line { min-height: 32px; }
  .hero__title { font-size: clamp(44px, 12.5vw, 64px); }
}

/* ==========================================================
   Pricing switches: Adult / Student, Monthly / Upfront
   ========================================================== */
.price-switches { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: -16px 0 10px; }
.seg-switch {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -24px rgba(28, 28, 82, .6);
}
.seg-switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 10px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; color: var(--muted);
  transition: color 250ms ease;
}
.seg-switch button[aria-pressed="true"] { color: var(--white); }
.seg-switch button:disabled { opacity: .4; cursor: not-allowed; }
.seg-switch__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 2); border-radius: 999px;
  background: var(--navy); box-shadow: 0 8px 18px -8px rgba(28, 28, 82, .8);
  transition: transform 350ms var(--ease-in-out), background-color 250ms ease;
}
.seg-switch[data-switch="billing"] .seg-switch__thumb { background: var(--red); box-shadow: 0 8px 18px -8px rgba(232, 34, 42, .8); }
.seg-switch.is-second .seg-switch__thumb { transform: translateX(100%); }
@media (hover: hover) and (pointer: fine) { .seg-switch button[aria-pressed="false"]:not(:disabled):hover { color: var(--ink); } }
.price-switches__note { text-align: center; min-height: 1.4em; margin: 0 0 30px; font-size: 14px; color: var(--muted); }

.plan__per { font-size: 24px; font-style: normal; font-weight: 700; color: var(--muted); margin: auto 0 10px 4px; letter-spacing: 0; }
.plan--featured .plan__per { color: #a9aad3; }
.plan__price, .plan__term, .plan__monthly, .plan__ribbon, .plan__footnote { transition: opacity 200ms ease; }
.plans.is-swapping .plan__term, .plans.is-swapping .plan__monthly, .plans.is-swapping .plan__footnote, .plans.is-swapping .plan__per { opacity: 0; }

.joining-fee { text-align: center; margin: 26px 0 0; color: var(--text); font-size: 16px; }
.joining-fee strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; color: var(--ink); }
.joining-fee__tag {
  display: inline-block; margin-right: 6px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--navy); vertical-align: 2px;
}
@media (max-width: 600px) {
  .price-switches { margin-top: -8px; }
  .seg-switch { width: 100%; }
  .seg-switch button { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .seg-switch__thumb { transition: background-color 200ms ease; } }

/* ==========================================================
   Redesign pass: type rhythm, figures, alignment, a11y
   ========================================================== */

/* Headlines wrap evenly; paragraphs avoid one-word last lines */
h1, h2, h3, .title, .pack__title, .footer__cta-title { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

/* Prices and counters use fixed-width digits so they don't jitter while animating */
.stat dt, .plan__price, .plan__monthly, .hero__card-value, .deck__count, .joining-fee strong { font-variant-numeric: tabular-nums; }

/* Pricing: both cards share a height, so feature lists and Join buttons line up */
.plans { align-items: stretch; }
.plan__features { flex: 1; align-content: start; }

/* Skip link for keyboard users */
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 18px; border-radius: 999px; background: var(--navy-deep); color: var(--white);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* Trial form: say plainly that the request goes through WhatsApp */
.form__hint { margin: -6px 0 0; font-size: 14px; color: #9c9dc4; text-align: center; }
main:focus { outline: none; }
.plan, .plan--featured { padding-top: 50px; padding-bottom: 34px; }
.plan__join { order: 2; }
.plan__footnote { order: 1; margin: 0 0 14px; }
@media (max-width: 600px) { .plan, .plan--featured { padding-top: 48px; padding-bottom: 28px; } }

/* Google rating badge + stars on review cards */
.rating {
  display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 16px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white); text-decoration: none; transition: background-color 200ms ease, border-color 200ms ease;
}
.rating__score { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.rating__stars { color: #fbbc04; letter-spacing: 2px; font-size: 16px; }
.rating__text { font-size: 14px; color: #c9cae6; }
@media (hover: hover) and (pointer: fine) { .rating:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); } }
.deck__stars { display: block; color: #fbbc04; letter-spacing: 1px; font-size: 14px; line-height: 1.2; margin: 2px 0; }
.deck__stars i { font-style: normal; color: #d9dae6; }
.deck__card figcaption > span:last-child { font-size: 13px; color: var(--muted); }

/* Agency credit under the footer bar */
.footer__credit {
  position: relative; padding: 12px 0 20px; border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center; font-size: 12.5px; letter-spacing: .02em; color: #8f90bd;
}
.footer__credit a { color: #dcdcf3 !important; font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer__credit a:hover { color: var(--white) !important; text-decoration: underline; } }
.footer__bottom { padding-bottom: 14px; }
/* Phones: keep the credit clear of the floating WhatsApp button */
@media (max-width: 760px) { .footer__credit { padding-bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* Review avatars: initials in rotating Triple S colours */
.deck__card .avatar { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.deck__card:nth-child(5n+1) .avatar { background: linear-gradient(140deg, #ff4b51, var(--red) 55%, #b8121a); color: #fff; box-shadow: 0 0 0 3px #fdecec; }
.deck__card:nth-child(5n+2) .avatar { background: linear-gradient(140deg, #3a3ba0, var(--navy) 55%, var(--navy-deep)); color: #fff; box-shadow: 0 0 0 3px #e6e7f6; }
.deck__card:nth-child(5n+3) .avatar { background: #fdecec; color: var(--red-dark); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #f6c3c5; }
.deck__card:nth-child(5n+4) .avatar { background: var(--navy-deep); color: #ff6a6f; box-shadow: 0 0 0 3px #fdecec; }
.deck__card:nth-child(5n+5) .avatar { background: #eceef8; color: var(--navy); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #d6d7ec; }
