/* ============================================================
   Tico Plunge — Website UI Kit · styles
   Imports foundation tokens from ../../colors_and_type.css
   Premium wellness / recovery marketing site (redesign)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--tp-sans); background: var(--tp-paper); color: var(--tp-ink);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1340px; margin: 0 auto; padding: 0 5vw; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow.center { justify-content: center; }
.serif-em { font-weight: inherit; font-style: normal; color: inherit; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: var(--tp-r-pill);
  font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid transparent;
  transition: all var(--tp-dur) var(--tp-ease); white-space: nowrap; }
.btn .arr { transition: transform var(--tp-dur) var(--tp-ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--tp-ink); color: var(--tp-paper); }
.btn-primary:hover { background: var(--tp-ice); transform: translateY(-2px); box-shadow: var(--tp-shadow-md); }
.btn-secondary { background: transparent; color: var(--tp-ink); border-color: var(--tp-ink); }
.btn-secondary:hover { background: var(--tp-ink); color: var(--tp-paper); transform: translateY(-2px); }
.btn-light { background: var(--tp-paper); color: var(--tp-ink); }
.btn-light:hover { background: var(--tp-ice); color: var(--tp-paper); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--tp-ice); padding: 16px 6px; }
.btn-ghost:hover { color: var(--tp-deep); }
.on-dark .btn-secondary { color: var(--tp-paper); border-color: rgba(245,242,235,.4); }
.on-dark .btn-secondary:hover { background: var(--tp-paper); color: var(--tp-ink); border-color: var(--tp-paper); }

/* Secondary buttons inside dark sections (e.g. membership cards) — light outline so the label is visible */
.section.dark .btn-secondary, .section.obsidian .btn-secondary, .section.ember .btn-secondary {
  color: var(--tp-paper); border-color: rgba(245,242,235,.6); }
.section.dark .btn-secondary:hover, .section.obsidian .btn-secondary:hover, .section.ember .btn-secondary:hover {
  background: rgba(245,242,235,.14); color: var(--tp-paper); border-color: var(--tp-paper); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(245,242,235,.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--tp-line);
  transition: padding var(--tp-dur) var(--tp-ease), background var(--tp-dur) var(--tp-ease); }
.nav.scrolled { padding: 0; background: rgba(245,242,235,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 5vw;
  max-width: 1340px; margin: 0 auto; transition: padding var(--tp-dur) var(--tp-ease); }
.nav.scrolled .nav-inner { padding: 11px 5vw; }
.nav-logo img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--tp-ink); transition: color .2s; }
.nav-links a:hover { color: var(--tp-ice); }
.nav-toggle { display: none; background: none; border: none; color: var(--tp-ink); }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--tp-paper);
  overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,13,.66) 0%, rgba(11,12,13,.38) 38%, rgba(11,12,13,.84) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 5vw 7vh; max-width: 1340px;
  margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 500; line-height: 1.06; letter-spacing: -0.022em;
  max-width: 17ch; margin-bottom: 30px; }
.hero-tagline { font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; max-width: 50ch; line-height: 1.5;
  color: rgba(245,242,235,.86); margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; padding-top: 34px;
  border-top: 1px solid rgba(245,242,235,.22); }
.hero-stat .num { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; }
.hero-stat .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,242,235,.65);
  margin-top: 8px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(245,242,235,.7); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll .line { width: 1px; height: 34px; background: rgba(245,242,235,.4); animation: scrolldot 2.4s var(--tp-ease) infinite; transform-origin: top; }
@keyframes scrolldot { 0%,100%{transform:scaleY(.3);opacity:.3} 50%{transform:scaleY(1);opacity:1} }

/* ---------- Section shell ---------- */
.section { padding: clamp(88px, 11.5vw, 168px) 0; }
.section.dark { background: var(--tp-ink); color: var(--tp-paper); }
.section.obsidian { background: var(--tp-obsidian); color: var(--tp-paper); }
.section.warm { background: var(--tp-paper-warm); }
.section-head { max-width: 760px; margin-bottom: 78px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: -0.018em;
  margin: 22px 0 20px; }
.section-lead { font-size: clamp(16px, 1.4vw, 19px); font-weight: 400; line-height: 1.55; color: var(--fg-muted); }
.dark .section-lead, .obsidian .section-lead { color: rgba(245,242,235,.74); }
.dark .eyebrow, .obsidian .eyebrow { color: var(--tp-ice-bright); }

/* ---------- Promise bar ---------- */
.promise { background: var(--tp-paper-warm); border-top: 1px solid var(--tp-line); border-bottom: 1px solid var(--tp-line); }
.promise-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 34px 5vw; max-width: 1340px;
  margin: 0 auto; }
.promise-item { display: flex; align-items: center; gap: 14px; }
.promise-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--tp-ink); color: var(--tp-paper);
  display: flex; align-items: center; justify-content: center; flex: none; }
.promise-tx { font-size: 13px; font-weight: 500; line-height: 1.3; }
@media (max-width: 820px){ .promise-inner{ grid-template-columns: 1fr 1fr; gap: 22px; } }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 1000px){ .products-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.product { border: 1px solid var(--tp-line); border-radius: var(--tp-r-md); overflow: hidden; background: var(--surface);
  display: flex; flex-direction: column; transition: transform var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease), border-color var(--tp-dur); }
.product:hover { transform: translateY(-6px); box-shadow: var(--tp-shadow-lg); border-color: var(--tp-ice); }
.product.featured { background: var(--tp-ink); color: var(--tp-paper); border-color: var(--tp-ink); }
.product-media { aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: radial-gradient(120% 100% at 50% 36%, #3b3b3e, #1c1c1e); }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .6s var(--tp-ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-media.mirror { transform: scaleX(-1); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--tp-ice); color: #fff; font-size: 9.5px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--tp-r-pill); }
.product-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.product-tier { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--tp-ice); margin-bottom: 8px; }
.featured .product-tier { color: var(--tp-ice-bright); }
.product-name { font-size: 27px; font-weight: 500; letter-spacing: -0.018em; margin-bottom: 20px; }
.product-feats { list-style: none; margin-bottom: 26px; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.product-feats li { font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); display: flex; gap: 10px; align-items: flex-start; }
.featured .product-feats li { color: rgba(245,242,235,.82); }
.product-feats .ck { color: var(--tp-ice); flex: none; margin-top: 1px; }
.featured .product-feats .ck { color: var(--tp-ice-bright); }
.product-price-lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 3px; }
.product-price { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.product-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px;
  border: 1px solid var(--tp-ink); border-radius: var(--tp-r-pill); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; transition: all .25s; margin-top: auto; }
.product-cta:hover { background: var(--tp-ink); color: var(--tp-paper); }
.featured .product-cta { background: transparent; border-color: rgba(245,242,235,.85); color: var(--tp-paper); }
.featured .product-cta:hover { background: rgba(245,242,235,.14); color: var(--tp-paper); border-color: var(--tp-paper); }

/* ---------- Sessions ---------- */
.sessions-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
@media (max-width: 920px){ .sessions-grid{ grid-template-columns: 1fr; gap: 40px; } }
.sessions-media { aspect-ratio: 4/5; border-radius: var(--tp-r-sm); overflow: hidden; }
.sessions-media img { width: 100%; height: 100%; object-fit: cover; }
.sesion-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .sesion-cards{ grid-template-columns: 1fr; } }
.sesion-card { background: var(--on-dark-soft, rgba(245,242,235,.05)); border: 1px solid rgba(245,242,235,.12);
  border-radius: var(--tp-r-md); padding: 24px 22px; }
.sesion-card-tag { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tp-ice-bright); margin-bottom: 10px; }
.sesion-card-name { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.sesion-card-desc { font-size: 13px; line-height: 1.5; color: rgba(245,242,235,.66); margin-bottom: 18px; }
.sesion-card-prices { display: flex; flex-direction: column; gap: 9px; }
.sesion-price-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 9px; border-bottom: 1px solid rgba(245,242,235,.1); }
.sesion-price-item:last-child { border-bottom: none; padding-bottom: 0; }
.sesion-price-item .pl { font-size: 12.5px; color: rgba(245,242,235,.7); }
.sesion-price-item .pv { font-size: 16px; font-weight: 600; color: var(--tp-paper); font-variant-numeric: tabular-nums; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px){ .calc-grid{ grid-template-columns: 1fr; gap: 40px; } }
.calc-card { background: var(--tp-ink); color: var(--tp-paper); border-radius: var(--tp-r-lg); padding: 44px 40px;
  box-shadow: var(--tp-shadow-lg); position: relative; overflow: hidden; }
.calc-card::before { content: ""; position: absolute; top: -40%; right: -30%; width: 90%; height: 120%;
  background: radial-gradient(circle, rgba(148,53,42,.32), transparent 60%); pointer-events: none; }
.calc-big { font-size: clamp(72px, 11vw, 132px); font-weight: 600; line-height: .9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; position: relative; }
.calc-big-lbl { font-size: 14px; color: rgba(245,242,235,.74); margin-bottom: 30px; position: relative; }
.calc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(245,242,235,.12);
  border-radius: var(--tp-r-sm); overflow: hidden; position: relative; }
.calc-mini .cell { background: var(--tp-ink); padding: 18px; }
.calc-mini .k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,242,235,.55); margin-bottom: 6px; }
.calc-mini .v { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-controls .ctl { margin-bottom: 26px; }
.calc-controls .ctl-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.calc-controls label { font-size: 13px; font-weight: 600; }
.calc-controls .val { font-size: 15px; font-weight: 600; color: var(--tp-ice); font-variant-numeric: tabular-nums; }
.calc-toggle { display: inline-flex; background: var(--tp-paper-warm); border-radius: var(--tp-r-pill); padding: 4px; gap: 4px; margin-bottom: 30px; }
.calc-toggle button { border: none; background: transparent; padding: 9px 20px; border-radius: var(--tp-r-pill);
  font-size: 13px; font-weight: 600; color: var(--tp-graphite); transition: all .25s; }
.calc-toggle button.active { background: var(--tp-ink); color: var(--tp-paper); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px;
  background: var(--tp-line-strong); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tp-ink); cursor: pointer; box-shadow: var(--tp-shadow-sm); transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 820px){ .testi-grid{ grid-template-columns: 1fr; } }
.testi { background: var(--surface); border: 1px solid var(--tp-line); border-radius: var(--tp-r-md); padding: 40px 36px;
  transition: transform var(--tp-dur) var(--tp-ease), border-color var(--tp-dur); }
.testi:hover { transform: translateY(-4px); border-color: var(--tp-ice); }
.testi-stars { color: var(--tp-ice); letter-spacing: 3px; font-size: 13px; margin-bottom: 22px; }
.testi-quote { font-weight: 400; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5;
  letter-spacing: -0.012em; color: var(--tp-ink); margin-bottom: 30px; }
.testi-author { display: flex; align-items: center; gap: 15px; padding-top: 22px; border-top: 1px solid var(--tp-line); }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--tp-ink); color: var(--tp-paper);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }

/* ---------- Membership ---------- */
.memb-group { margin-bottom: 64px; }
.memb-group:last-of-type { margin-bottom: 0; }
.memb-group-title { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid rgba(245,242,235,.14); }
.memb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px){ .memb-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .memb-grid{ grid-template-columns: 1fr; } }
.memb-card { border: 1px solid rgba(245,242,235,.16); border-radius: var(--tp-r-md); padding: 26px 24px;
  display: flex; flex-direction: column; transition: transform var(--tp-dur) var(--tp-ease), border-color var(--tp-dur); }
.memb-card:hover { transform: translateY(-4px); border-color: var(--tp-ice-bright); }
.memb-card.feature { background: rgba(245,242,235,.05); border-color: var(--tp-ice-bright); }
.memb-tag { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tp-ice-bright); margin-bottom: 16px; }
.memb-name { font-size: 23px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.memb-sub { font-size: 12px; color: rgba(245,242,235,.6); line-height: 1.45; margin-bottom: 20px; min-height: 34px; }
.memb-price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.memb-per { font-size: 12px; color: rgba(245,242,235,.6); margin: 3px 0 22px; }

/* Early Bird */
.eb-section { margin-top: 22px; padding: 20px 22px; border: 1px dashed rgba(148,53,42,.6);
  border-radius: var(--tp-r-md); background: rgba(148,53,42,.10); }
.eb-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tp-ice-bright); margin-bottom: 16px; }
.eb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px){ .eb-grid{ grid-template-columns: 1fr; } }
.eb-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: transparent; border: 1px solid rgba(245,242,235,.16); border-radius: var(--tp-r-sm); padding: 16px 18px;
  transition: border-color var(--tp-dur), transform var(--tp-dur) var(--tp-ease); }
.eb-card:hover { border-color: var(--tp-ice-bright); transform: translateY(-2px); }
.eb-tag { display: block; font-size: 13px; font-weight: 600; color: var(--tp-paper); }
.eb-name { display: block; font-size: 11.5px; color: rgba(245,242,235,.6); margin-top: 2px; }
.eb-prices { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.eb-was { font-size: 13px; color: rgba(245,242,235,.45); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.eb-now { font-size: 19px; font-weight: 600; color: var(--tp-ice-bright); font-variant-numeric: tabular-nums; }

/* Pilates strip */
.pilates-strip { margin-top: 64px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center;
  padding-top: 56px; border-top: 1px solid rgba(245,242,235,.14); }
@media (max-width: 820px){ .pilates-strip{ grid-template-columns: 1fr; gap: 28px; } }
.pilates-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.018em; margin: 16px 0 12px; }
.pilates-copy p { font-size: 14.5px; line-height: 1.6; color: rgba(245,242,235,.72); max-width: 52ch; }
.pilates-copy p strong { color: var(--tp-paper); }
.pilates-prices { display: flex; gap: 14px; }
.pilates-box { flex: 1; border: 1px solid rgba(245,242,235,.16); border-radius: var(--tp-r-md); padding: 22px 20px; text-align: center; }
.pilates-box .l { display: block; font-size: 12px; color: rgba(245,242,235,.6); margin-bottom: 8px; }
.pilates-box .v { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--tp-line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 500;
  color: var(--tp-ink); letter-spacing: -0.008em; }
.faq-q .chev { transition: transform var(--tp-dur) var(--tp-ease); color: var(--tp-ice); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--tp-dur) var(--tp-ease); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 0 26px; font-size: 15px; line-height: 1.6; color: var(--fg-muted); max-width: 64ch; }

/* ---------- Contact + Footer ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 920px){ .contact-grid{ grid-template-columns: 1fr; gap: 36px; } }
.contact-row { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(245,242,235,.12); }
.contact-row:last-child { border-bottom: none; }
.contact-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(148,53,42,.26); color: var(--tp-ice-bright);
  display: flex; align-items: center; justify-content: center; flex: none; }
.contact-k { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(245,242,235,.55); margin-bottom: 6px; }
.contact-v { font-size: 16px; font-weight: 500; line-height: 1.4; }
.contact-card { background: rgba(245,242,235,.05); border: 1px solid rgba(245,242,235,.14); border-radius: var(--tp-r-lg); padding: 40px 36px; }
.contact-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.018em; margin-bottom: 14px; }
.contact-card p { font-size: 14px; color: rgba(245,242,235,.74); line-height: 1.6; margin-bottom: 28px; }
.contact-card .btn { width: 100%; justify-content: center; }
.footer { border-top: 1px solid rgba(245,242,235,.12); margin-top: 100px; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
@media (max-width: 820px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer-logo img { height: 26px; margin-bottom: 18px; }
.footer-tag { font-weight: 400; color: rgba(245,242,235,.66); font-size: 15px; line-height: 1.55; max-width: 30ch; }
.footer-col h4 { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--tp-ice-bright); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(245,242,235,.74); transition: color .2s; }
.footer-col a:hover { color: var(--tp-paper); }
.footer-bottom { padding: 28px 0 36px; border-top: 1px solid rgba(245,242,235,.08); display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(245,242,235,.45); }

/* ---------- Booking modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(11,12,13,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center;
  justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity var(--tp-dur) var(--tp-ease); }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--tp-paper); border-radius: var(--tp-r-lg); width: 100%; max-width: 540px;
  max-height: 90vh; overflow: auto; box-shadow: var(--tp-shadow-lg); transform: translateY(16px) scale(.98);
  transition: transform var(--tp-dur) var(--tp-ease); }
.modal-overlay.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 0; }
.memb-modal-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tp-ice); }
.memb-modal-price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: -8px 0 22px; }
.memb-modal-price span { font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.memb-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.memb-step { display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.memb-step-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tp-ink); color: var(--tp-paper);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.modal-steps { display: flex; gap: 6px; }
.modal-dot { width: 26px; height: 3px; border-radius: 3px; background: var(--tp-line-strong); transition: background .3s; }
.modal-dot.active { background: var(--tp-ink); }
.modal-close { background: none; border: none; color: var(--tp-graphite); display: inline-flex; }
.modal-body { padding: 22px 28px 28px; }
.modal h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.018em; margin-bottom: 6px; }
.modal .sub { font-size: 14px; color: var(--fg-muted); margin-bottom: 24px; }
.opt-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--tp-line-strong); border-radius: var(--tp-r-md); background: #fff; transition: all .2s; text-align: left; }
.opt:hover { border-color: var(--tp-ice); }
.opt.sel { border-color: var(--tp-ink); box-shadow: 0 0 0 2px var(--tp-ink); }
.opt .ot { font-size: 16px; font-weight: 600; }
.opt .om { font-size: 12.5px; color: var(--fg-muted); margin-top: 3px; }
.opt .op { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tp-line-strong);
  background: #fff; font-size: 20px; color: var(--tp-ink); display: inline-flex; align-items: center; justify-content: center; }
.stepper button:hover { border-color: var(--tp-ink); }
.stepper .count { font-size: 30px; font-weight: 600; min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.grid-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.time { padding: 11px 0; text-align: center; border: 1px solid var(--tp-line-strong); border-radius: var(--tp-r-sm);
  background: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: all .2s; }
.time:hover { border-color: var(--tp-ice); }
.time.sel { background: var(--tp-ink); color: var(--tp-paper); border-color: var(--tp-ink); }
.field { margin-bottom: 16px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--tp-graphite); display: block; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; border: 1px solid var(--tp-line-strong); border-radius: var(--tp-r-sm);
  font-family: inherit; font-size: 14px; color: var(--tp-ink); background: #fff; outline: none; transition: border .2s, box-shadow .2s; }
.field input:focus { border-color: var(--tp-ice); box-shadow: 0 0 0 3px rgba(148,53,42,.18); }
.summary { background: var(--tp-paper-warm); border-radius: var(--tp-r-md); padding: 20px 22px; margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.summary-row.total { border-top: 1px solid var(--tp-line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 17px; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; justify-content: center; }
.confirm-check { width: 64px; height: 64px; border-radius: 50%; background: var(--tp-ice); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 8px auto 22px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 90;
  box-shadow: 0 10px 26px rgba(37,211,102,.42); transition: transform var(--tp-dur) var(--tp-ease); }
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   WARM / EMBER LAYER — cinematic recovery-room palette
   Brings the red-light session photography into the page.
   ============================================================ */

/* Ember ground — deep borgoña section with radial heat glows */
.section.ember { position: relative; background: var(--tp-burgundy-deep); color: var(--tp-paper); overflow: hidden; }
.section.ember::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(217,146,74,.20), transparent 60%),
    radial-gradient(70% 60% at 92% 100%, rgba(148,53,42,.55), transparent 62%),
    radial-gradient(50% 40% at 60% 40%, rgba(11,12,13,.30), transparent 70%); }
.section.ember > * { position: relative; z-index: 1; }
.section.ember .eyebrow { color: var(--tp-amber-soft); }
.section.ember .section-lead { color: rgba(245,242,235,.78); }

/* Atmosphere gallery — editorial photo band */
.atmos-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.atmos-head .section-title { margin: 18px 0 0; max-width: 18ch; }
.atmos-head .section-lead { max-width: 42ch; padding-bottom: 6px; }
.atmos-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 12px; gap: 16px; }
.atmos-cell { position: relative; overflow: hidden; border-radius: var(--tp-r-md); background: var(--tp-burgundy);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.7); }
.atmos-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tp-ease); }
.atmos-cell:hover img { transform: scale(1.06); }
.atmos-cell::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(74,29,29,.55) 100%);
  opacity: 0; transition: opacity var(--tp-dur) var(--tp-ease); }
.atmos-cell:hover::after { opacity: 1; }
.atmos-cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tp-paper);
  opacity: 0; transform: translateY(8px); transition: opacity var(--tp-dur) var(--tp-ease), transform var(--tp-dur) var(--tp-ease); }
.atmos-cell:hover .atmos-cap { opacity: 1; transform: none; }
/* tall = 30 rows, mid = 22 rows, wide = 18 rows */
.atmos-cell.tall { grid-row: span 30; }
.atmos-cell.mid  { grid-row: span 22; }
.atmos-cell.wide { grid-row: span 18; }
.atmos-cell.c3 { grid-column: span 3; }
.atmos-cell.c4 { grid-column: span 4; }
.atmos-cell.c5 { grid-column: span 5; }
.atmos-cell.c6 { grid-column: span 6; }
@media (max-width: 920px){
  .atmos-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .atmos-cell.c3, .atmos-cell.c4, .atmos-cell.c5 { grid-column: span 3; }
  .atmos-cell.c6 { grid-column: span 6; }
  .atmos-cell.tall { grid-row: span 26; }
  .atmos-cell.mid  { grid-row: span 20; }
  .atmos-cell.wide { grid-row: span 16; }
}

/* Atmosphere closing strip — quote over a warm full-bleed sliver */
.atmos-quote { margin-top: 30px; display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px){ .atmos-quote { grid-template-columns: 1fr; } }
.atmos-quote-media { position: relative; min-height: 220px; border-radius: var(--tp-r-md); overflow: hidden; }
.atmos-quote-media img { width: 100%; height: 100%; object-fit: cover; }
.atmos-quote-text { display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 40px 44px; border-radius: var(--tp-r-md); border: 1px solid rgba(231,181,131,.22);
  background: rgba(11,12,13,.28); }
.atmos-quote-text p { font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; line-height: 1.4; letter-spacing: -0.012em; }
.atmos-quote-text .src { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tp-amber-soft); }

/* Warm glow injected into existing dark sections */
.calc-card::after { content: ""; position: absolute; bottom: -45%; left: -25%; width: 80%; height: 110%;
  background: radial-gradient(circle, rgba(148,53,42,.30), transparent 62%); pointer-events: none; }
.section.obsidian#membresias { position: relative; overflow: hidden; }
.section.obsidian#membresias::before { content: ""; position: absolute; top: -10%; right: -12%; width: 55%; height: 70%;
  background: radial-gradient(circle, rgba(148,53,42,.22), transparent 60%); pointer-events: none; z-index: 0; }
.section.obsidian#membresias .wrap { position: relative; z-index: 1; }
.memb-card.feature { background: rgba(148,53,42,.10); border-color: var(--tp-ice-bright); }
.memb-card.feature:hover { border-color: var(--tp-ice-bright); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   CATALOG AESTHETIC LAYER
   Editorial Fraunces serif headings (with italic-ice emphasis) over an
   Exo 2 body — mirrors the 2026 catálogo. Warm paper palette is kept.
   ============================================================ */
:root { --tp-display: 'The Seasons', 'Fraunces', Georgia, 'Times New Roman', serif;
        --tp-text: 'Exo 2', system-ui, -apple-system, "Albert Sans", sans-serif; }
body { font-family: var(--tp-text); }

.hero h1, .section-title, .product-name, .product-price, .sesion-card-name,
.memb-group-title, .memb-name, .memb-price, .memb-modal-price, .pilates-title,
.pilates-box .v, .testi-quote, .faq-q, .contact-card h3, .ritual-name,
.modal h3, .calc-big, .spec-value {
  font-family: var(--tp-display);
}

/* Big display — light & airy like the catálogo */
.hero h1, .section-title { font-weight: 300; letter-spacing: -0.02em; }
.calc-big, .product-price { font-weight: 400; letter-spacing: -0.01em; }

/* Mid headings — serif but a touch heavier for legibility */
.product-name, .sesion-card-name, .memb-group-title, .memb-name, .pilates-title,
.testi-quote, .faq-q, .contact-card h3, .ritual-name, .modal h3 { font-weight: 400; }

/* The catálogo's signature: italic emphasis in brand ice */
.serif-em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; }
.dark .serif-em, .obsidian .serif-em, .ember .serif-em { color: inherit; }

/* Eyebrows / labels / buttons stay in the clean sans for contrast */
.eyebrow, .btn, .product-tier, .product-price-lbl, .sesion-card-tag, .memb-tag,
.nav-links a, .footer-col h4, .contact-k, .ritual-meta { font-family: var(--tp-text); }

/* ---------- El ritual (replaces the photo wall) ---------- */
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px){ .ritual-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.ritual-card { display: flex; flex-direction: column; }
.ritual-media { position: relative; aspect-ratio: 4/5; border-radius: var(--tp-r-md); overflow: hidden; margin-bottom: 24px;
  box-shadow: 0 24px 60px -32px rgba(74,29,29,.5); }
.ritual-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tp-ease); }
.ritual-card:hover .ritual-media img { transform: scale(1.05); }
.ritual-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,13,.42), transparent 42%); }
.ritual-n { position: absolute; left: 20px; top: 16px; z-index: 2; font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: rgba(245,242,235,.92); }
.ritual-meta { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tp-ice); margin-bottom: 10px; }
.ritual-name { font-size: 30px; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 12px; }
.ritual-desc { font-size: 14.5px; line-height: 1.62; color: var(--fg-muted); max-width: 34ch; }
.ritual-quote { margin-top: 76px; max-width: 800px; margin-inline: auto; text-align: center; }
.ritual-quote p { font-family: var(--tp-display); font-weight: 300; font-style: normal;
  font-size: clamp(24px, 3vw, 38px); line-height: 1.32; letter-spacing: -0.01em; color: var(--tp-ink); }
.ritual-quote .src { display: block; margin-top: 20px; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--tp-ice); }

/* ============================================================
   BORGOÑA PALETTE
   Warm wine / ember accent replaces the ice blue across the whole
   site. No azules ni celestes — the cold-plunge accent is now borgoña.
   Achieved by remapping the ice tokens; every component that referenced
   them re-tints automatically.
   ============================================================ */
:root {
  --tp-ice:        #94352A;  /* ember / borgoña — primary accent on light */
  --tp-ice-bright: #C56B5A;  /* light brick-rose — accent text on dark    */
  --tp-deep:       #4A1D1D;  /* deepest borgoña                            */
  --tp-frost:      #DBA493;  /* pale warm tint                            */
  /* Warm elevation — burgundy-tinted instead of blue */
  --tp-shadow-xs: 0 1px 2px rgba(74,29,29,.06);
  --tp-shadow-sm: 0 4px 16px -6px rgba(74,29,29,.14);
  --tp-shadow-md: 0 14px 40px -12px rgba(74,29,29,.22);
  --tp-shadow-lg: 0 30px 80px -20px rgba(74,29,29,.40);
}

/* ============================================================
   HERO HEADLINE · tipografía estilo Gotham (Montserrat)
   Override puntual: el título del Hero usa una sans geométrica
   premium en vez de la Fraunces editorial. NO afecta al resto
   de los títulos del sitio (.section-title sigue en Fraunces).
   ============================================================ */
.hero h1 {
  font-family: 'Exo 2', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 20ch;
  text-transform: none;
}

/* ============================================================
   AJUSTES · Feedback PDF (jun 2026)
   - Token celeste-verde RGB(137,171,167)
   - Hero: botón secundario con líneas beige (no negro)
   - Calculadora: bloque celeste con texto beige y CTA rojo
   - Testimonios: fondo de imagen con overlay y título beige
   ============================================================ */
:root { --tp-celeste: #89ABA7; }

/* Hero — CTA outline en beige para que no se pierda sobre la foto oscurecida */
.hero .btn-secondary { color: var(--tp-paper); border-color: var(--tp-paper); }
.hero .btn-secondary:hover { background: var(--tp-paper); color: var(--tp-ink); border-color: var(--tp-paper); }

/* Calculadora ROI — bloque celeste-verde para romper el scroll */
.section.celeste { background: var(--tp-celeste); }
.section.celeste .section-title,
.section.celeste .section-lead { color: var(--tp-paper); }
.section.celeste .eyebrow { color: var(--tp-paper); opacity: .85; }
.section.celeste .btn-primary { background: var(--tp-ice); color: var(--tp-paper); }
.section.celeste .btn-primary:hover { background: var(--tp-deep); color: var(--tp-paper); }

/* Testimonios — fondo fotográfico con overlay para legibilidad */
.section.testimonios-bg { position: relative; overflow: hidden; color: var(--tp-paper); }
.section.testimonios-bg::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/images/testimonios-bg.jpg") center 40% / cover no-repeat; }
.section.testimonios-bg::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,12,13,.72), rgba(11,12,13,.6)); }
.section.testimonios-bg .wrap { position: relative; z-index: 1; }
.section.testimonios-bg .section-title { color: var(--tp-paper); }
.section.testimonios-bg .eyebrow { color: var(--tp-celeste); }

/* Footer — logo beige */
.footer-logo img, .footer-brand-logo-img { opacity: .95; }

/* Inputs de captura de datos en el modal de membresía (Nivel B) */
.memb-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line, #d8d2c4);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg, #fff);
  color: var(--fg, #1d1d1b);
}
.memb-input:focus { outline: none; border-color: var(--tp-ice, #245E87); }


/* ============================================================
   SCROLL PREMIUM · afinado global (P7)
   Menos desplazamiento en reveals, easing suave, respeto a
   usuarios con reduced-motion y momentum nativo en móvil.
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { -webkit-overflow-scrolling: touch; }
img { content-visibility: auto; }
