/* ==========================================================
   MySynergy Clinic — estilos principales
   Paleta y tipografía basadas en el branding real del negocio:
   rojo #EE4323, Archivo (Expanded en títulos, normal en cuerpo)
   ========================================================== */

:root {
  --red: #ee4323;
  --red-dark: #cf3417;
  --red-soft: rgba(238, 67, 35, 0.1);
  --black: #0f0f0f;
  --charcoal: #212121;
  --charcoal-2: #252424;
  --white: #ffffff;
  --gray-soft: #f3f3f3;
  /* #595959 en lugar del #777 original: mejor contraste (accesibilidad) */
  --text-body: #595959;
  --text-heading: #242424;
  --text-on-dark: #e9e9e9;
  --text-muted-dark: #b5b5b5;
  --border: #e4e4e4;
  --border-dark: #333333;
  --font-heading: "Archivo", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 16px;
  --radius-pill: 35px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --header-height: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
}

h1, h2, h3 { text-wrap: balance; }

/* Tipografía brutalista: ancho expandido (eje wdth de Archivo) en
   titulares y números display. El cuerpo y el chrome (nav, logo,
   botones) se quedan en ancho normal para no desbordarse. */
h1, h2, h3, h4,
.stat strong, .about__figures dt, .feature__num,
.product__price, .p-card__price, .tier__price,
.step strong, .checkout__total strong,
.l-hero__join, .fx-text {
  font-stretch: 125%;
  letter-spacing: -0.015em;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.container--narrow { max-width: 760px; }

.accent { color: var(--red); }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
}

.skip-link:focus { top: 0; }

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo__mark { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.chat-avatar img { width: 22px; height: 22px; object-fit: contain; }

.logo__text {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--red);
  text-transform: lowercase;
}

.logo__text strong { color: var(--white); font-weight: 800; }

/* ===== Botones (píldora, estilo de marca) ===== */
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(238, 67, 35, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.3rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn:active { transform: translateY(1px) scale(0.98); }

/* ===== Etiquetas ===== */
.tag {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(238, 67, 35, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s ease;
}

.header.scrolled { border-bottom-color: var(--border-dark); }

.header .container { width: min(1400px, 94%); }

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__menu { display: flex; gap: 1.6rem; }

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.active { color: var(--red); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Nav con dropdowns (Servicios / Terapias) ===== */
.nav__item.has-dropdown { position: relative; }

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  padding: 0;
}
.nav__dropdown-toggle:hover { color: var(--red); }
.nav__caret { transition: transform 0.25s ease; }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  margin-top: 0.7rem;
  min-width: 248px;
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
/* Puente invisible para que el hover no se corte en el hueco */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.8rem;
}

.nav__drop-link {
  display: block;
  padding: 0.62rem 0.8rem;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav__drop-link:hover {
  background: rgba(238, 67, 35, 0.12);
  color: #fff;
  transform: translateX(3px);
}

@media (min-width: 961px) {
  .nav__item.has-dropdown:hover .nav__dropdown,
  .nav__item.has-dropdown:focus-within .nav__dropdown,
  .nav__item.has-dropdown.is-open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .nav__item.has-dropdown:hover .nav__caret,
  .nav__item.has-dropdown:focus-within .nav__caret,
  .nav__item.has-dropdown.is-open .nav__caret { transform: rotate(180deg); }
}

/* ===== Hero minimalista ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 2rem) 0 2.5rem;
  background: var(--black);
  overflow: hidden;
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.06fr 1.32fr;
  align-items: center;
  column-gap: clamp(1.2rem, 3vw, 3.5rem);
  width: min(1560px, 96%);
}

.hero__left {
  position: relative;
  z-index: 3;
  text-align: left;
  animation: heroFadeUp 0.6s ease 1s both;
}

.hero__lead {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 21rem;
  margin-bottom: 1.6rem;
}

/* Círculo + foto al centro */
.hero__center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  height: 100%;
}

.hero__circle {
  position: absolute;
  width: clamp(280px, 26vw, 420px);
  height: clamp(280px, 26vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6a47, var(--red) 70%);
  animation: heroScaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__photo {
  position: relative;
  z-index: 2;
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* La foto original es horizontal: encuadre hacia los coaches */
  object-position: 74% 22%;
  /* Funde los bordes con el fondo negro (efecto recorte de la referencia) */
  mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 52%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 52%, transparent 78%);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* H1 gigante a dos líneas, en columna alineada a la derecha */
.hero__right {
  position: relative;
  z-index: 3;
  min-width: 0;
  text-align: right;
  justify-self: end;
  animation: heroFadeUp 0.6s ease 1.2s both;
}

.hero h1 {
  color: var(--white);
  font-weight: 900;
  font-stretch: 108%;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__sub {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Fila inferior del hero */
.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

.hero__social {
  display: flex;
  gap: 1.2rem;
  animation: heroFadeUp 0.5s ease 1.2s both;
}

.hero__social a {
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}

.hero__social a:hover { color: var(--red); }

.hero__location {
  color: var(--text-on-dark);
  font-size: 0.88rem;
  font-weight: 500;
  animation: heroFadeUp 0.5s ease 1.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroScaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== Cifras ===== */
.stats-strip {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.2rem 0;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  display: block;
  line-height: 1.1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Secciones ===== */
.section { padding: 5.5rem 0; }
.section--soft { background: var(--gray-soft); }

.section--dark { background: var(--black); }
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: var(--text-muted-dark); }

/* Sección con fondo de shader (humo WebGL) */
.section--shader { position: relative; overflow: hidden; }

.section--shader .smoke-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.section--shader > .container {
  position: relative;
  z-index: 1;
}

.section__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.2rem;
}

.section__header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.8rem;
}

/* ===== Eyebrow mono sobre los encabezados (personalidad brutalista) ===== */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

/* ===== Énfasis tipográfico dentro del copy de las secciones ===== */
.section__header p strong,
.about__inner p strong,
.l-about p strong,
.t-media-split__body p strong { color: var(--text-heading); font-weight: 700; }
.tx-hl { color: var(--red); font-weight: 700; }
.tx-em { color: var(--text-heading); font-weight: 700; }
.tx-lg { font-size: 1.12em; font-weight: 700; letter-spacing: -0.01em; }
/* En fondos oscuros, el bold clave se aclara para mantener contraste */
.section--dark .section__header p strong,
.section--dark .tx-em { color: #fff; }

.rating {
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===== Grids ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Servicios (asimétrico: 1 destacada + 2) ===== */
.services {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.services .card--featured {
  grid-row: span 2;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem;
  border-color: var(--red);
}

.card__detail { font-size: 0.92rem; }

/* ===== Tarjetas de servicio ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 14px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; }
.card p { font-size: 0.95rem; flex: 1; }

.card__link {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.card__link:hover { color: var(--red-dark); }

/* ===== Terapias corporales (layout About) ===== */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--gray-soft), #fafaf7);
}

.about__inner { position: relative; z-index: 1; }

.about__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.about__blob--1 {
  top: 5rem;
  left: 2.5rem;
  width: 260px;
  height: 260px;
  background: rgba(238, 67, 35, 0.08);
}

.about__blob--2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 320px;
  height: 320px;
  background: rgba(36, 36, 36, 0.07);
}

.about__dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(238, 67, 35, 0.3);
  animation: dotFloat 3s ease-in-out infinite;
  pointer-events: none;
}

.about__dot--1 { top: 50%; left: 24%; width: 14px; height: 14px; }

.about__dot--2 {
  bottom: 32%;
  right: 24%;
  width: 18px;
  height: 18px;
  animation-duration: 4s;
  animation-delay: 1s;
}

@keyframes dotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-15px); opacity: 1; }
}

.about__bar {
  display: block;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 0.4rem auto 1.2rem;
  animation: barGrow 1s ease 0.4s both;
}

@keyframes barGrow {
  from { width: 0; }
  to { width: 96px; }
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.8rem;
  align-items: center;
}

.about__col {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

/* Ítem de terapia */
.t-item { transition: transform 0.2s ease; }
.t-item:hover { transform: translateY(-5px); }

.t-item__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
}

.t-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.t-item__icon::after {
  content: "✦";
  position: absolute;
  top: -7px;
  right: -7px;
  font-size: 0.75rem;
  color: rgba(238, 67, 35, 0.55);
}

.t-item:hover .t-item__icon {
  background: rgba(238, 67, 35, 0.2);
  transform: rotate(-8deg);
}

.t-item h3 {
  font-size: 1.08rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.t-item__tag {
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* Banner de servicio nuevo (microblading) bajo la cuadrícula de terapias */
.t-new-service {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 3rem;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t-new-service:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12); }
.t-new-service__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--red) 12%, transparent);
  color: var(--red);
}
.t-new-service__body { flex: 1; }
.t-new-service__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.2rem;
}
.t-new-service__body h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.t-new-service__body p { color: var(--text-body); opacity: 0.8; font-size: 0.95rem; margin: 0; }
.t-new-service__cta {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .t-new-service { flex-direction: column; text-align: center; }
}

.t-item:hover h3 { color: var(--red); }

.t-item p {
  font-size: 0.92rem;
  padding-left: 3.7rem;
}

.t-item__more {
  display: inline-block;
  margin-top: 0.5rem;
  padding-left: 3.7rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.t-item:hover .t-item__more { opacity: 1; }

/* Imagen central */
.about__center { display: flex; justify-content: center; }

.about__media {
  position: relative;
  width: clamp(240px, 23vw, 320px);
  aspect-ratio: 3 / 4;
  margin: 12px;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 4px solid rgba(238, 67, 35, 0.3);
  border-radius: 12px;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.about__media:hover img { transform: scale(1.03); }

.about__media-fallback {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--charcoal-2), var(--black));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  place-items: center;
  box-shadow: var(--shadow);
}

.about__media-fallback strong { color: var(--red); }

.about__media.no-photo img { display: none; }
.about__media.no-photo .about__media-fallback { display: grid; }

.about__media-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--white);
  color: var(--text-heading);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.about__media-btn:hover { transform: translateX(-50%) scale(1.06); }

/* Cierre de sección: cifras + CTA en un solo panel oscuro */
.about__close {
  margin-top: 5rem;
  background: var(--black);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 3.6rem);
}

.about__figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2.4rem;
}

.about__figures > div + div {
  border-left: 1px solid var(--border-dark);
  padding-left: 2rem;
}

.about__figures dt {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--red);
}

.about__figures dd {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.about__close-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.about__close-cta h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.about__close-cta p { color: var(--text-muted-dark); }

@media (max-width: 768px) {
  .about__figures { grid-template-columns: repeat(2, 1fr); }
  .about__figures > div + div { border-left: 0; padding-left: 0; }
  .about__figures > div:nth-child(even) {
    border-left: 1px solid var(--border-dark);
    padding-left: 2rem;
  }
  .about__close-cta { justify-content: center; text-align: center; }
}

/* ===== Instalaciones ===== */
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--red);
}

/* ===== Galería zoom-parallax (instalaciones) ===== */
.zoom-parallax {
  position: relative;
  height: 300vh;
  margin-top: 4rem;
}

.zoom-parallax__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--white);
}

.zp-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.zp-frame {
  position: relative;
  width: 25vw;
  height: 25vh;
}

.zp-item--2 .zp-frame { top: -30vh; left: 5vw; width: 35vw; height: 30vh; }
.zp-item--3 .zp-frame { top: -10vh; left: -25vw; width: 20vw; height: 45vh; }
.zp-item--4 .zp-frame { left: 27.5vw; width: 25vw; height: 25vh; }
.zp-item--5 .zp-frame { top: 27.5vh; left: 5vw; width: 20vw; height: 25vh; }
.zp-item--6 .zp-frame { top: 27.5vh; left: -22.5vw; width: 30vw; height: 25vh; }
.zp-item--7 .zp-frame { top: 22.5vh; left: 25vw; width: 15vw; height: 15vh; }

.zp-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.zp-frame--empty img { display: none; }

.zp-frame--empty {
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 25%, rgba(238, 67, 35, 0.35), transparent 60%),
    linear-gradient(160deg, var(--charcoal-2), var(--black));
}

@media (max-width: 768px) {
  .zoom-parallax { height: 220vh; }
  .zp-frame { width: 50vw; height: 22vh; }
  .zp-item--2 .zp-frame { width: 55vw; left: 8vw; }
  .zp-item--3 .zp-frame { width: 34vw; left: -32vw; height: 38vh; }
  .zp-item--4 .zp-frame { left: 32vw; width: 38vw; }
  .zp-item--5 .zp-frame { width: 36vw; left: 8vw; }
  .zp-item--6 .zp-frame { width: 44vw; left: -28vw; }
  .zp-item--7 .zp-frame { width: 28vw; left: 30vw; }
}

@media (prefers-reduced-motion: reduce) {
  .zoom-parallax { height: 100vh; height: 100dvh; }
}

/* ===== Producto ===== */
.product {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.product__visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(238, 67, 35, 0.12), transparent),
    var(--gray-soft);
  border-radius: var(--radius);
  padding: 3rem;
}

.product__photo {
  max-width: min(320px, 100%);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.product__visual:hover .product__photo { transform: scale(1.04); }

.product__flavors {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.product__flavors figure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-body);
}

.product__flavors img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
  margin: 0 auto 0.3rem;
}

.product__flavors figure:hover img {
  transform: scale(1.12);
  border-color: var(--red);
}

.product__info h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 0.6rem; }

.product__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.product__price small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-body);
}

.product__info > p { margin-bottom: 1.4rem; }

.product__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-heading);
}

.product__badges li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.product__badges li::before {
  content: "";
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background: var(--red);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.product .hero__actions { justify-content: flex-start; margin-bottom: 0; }

/* ===== Equipo ===== */
.team { max-width: 680px; margin-inline: auto; }

.trainer {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.3rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trainer:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.trainer__photo {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin: 0 auto 1.2rem;
}

.trainer h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.trainer__role { font-size: 0.88rem; }

/* ===== Testimonios (stack arrastrable) ===== */
.stack {
  position: relative;
  width: min(580px, 100%);
  height: 470px;
  margin-inline: auto;
}

.stack__card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(260px, 76vw, 350px);
  height: 450px;
  display: grid;
  place-content: center;
  gap: 1.5rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
  touch-action: none;
  user-select: none;
}

.stack__card.is-front {
  z-index: 3;
  transform: rotate(-6deg);
  cursor: grab;
}

.stack__card.is-front:active { cursor: grabbing; }

.stack__card.is-middle {
  z-index: 2;
  transform: translateX(33%) rotate(0deg);
}

.stack__card.is-back {
  z-index: 1;
  transform: translateX(66%) rotate(6deg);
}

.stack__card.is-hidden {
  z-index: 0;
  transform: translateX(66%) rotate(6deg);
  opacity: 0;
  pointer-events: none;
}

.stack__card.is-dragging { transition: none; }

.stack__avatar {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  background: var(--red-soft);
  color: var(--red);
  border: 2px solid var(--red);
  pointer-events: none;
}

.stack__quote {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-body);
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stack__stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.15em;
  pointer-events: none;
}

.stack__avatar--photo {
  object-fit: cover;
  font-size: 0;
}

.stack__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
  pointer-events: none;
}

.stack__hint {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

@media (max-width: 640px) {
  .stack {
    width: clamp(260px, 76vw, 350px);
    height: 480px;
  }

  .stack__card.is-middle { transform: translateX(6%) rotate(2deg); }
  .stack__card.is-back,
  .stack__card.is-hidden { transform: translateX(12%) rotate(6deg); }
}

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 0.9rem; }

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}

.faq__item summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p { padding-top: 0.8rem; font-size: 0.93rem; }

/* ===== Contacto / Agenda ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__info h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 1rem;
}

.contact__info > p { margin-bottom: 1.8rem; }

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  margin-bottom: 2.2rem;
}

.contact__list svg {
  color: var(--red);
  vertical-align: -3px;
  margin-right: 0.35rem;
}

.contact__list a { color: var(--text-on-dark); transition: color 0.2s ease; }
.contact__list a:hover { color: var(--red); }

.hours h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }

.hours ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}

.hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  border-bottom: 1px dashed var(--border-dark);
  padding-bottom: 0.5rem;
}

.hours li span:last-child { color: var(--red); font-weight: 600; }

.hours li.hours__note {
  font-size: 0.8rem;
  font-style: italic;
  border-bottom: none;
  opacity: 0.75;
}
.hours li.hours__note span:last-child { color: var(--text-muted-dark); font-weight: 500; }

.contact__form {
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact__form h3 { font-size: 1.25rem; color: var(--white); }

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted-dark);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact__form input:focus,
.contact__form select:focus {
  outline: none;
  border-color: var(--red);
}

.form__note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding-top: 3.5rem;
}

.newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}

.newsletter h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.newsletter p { color: var(--text-muted-dark); font-size: 0.92rem; }

.newsletter__form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.newsletter__form input {
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 240px;
  transition: border-color 0.2s ease;
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--red);
}

.footer__social {
  flex-direction: row !important;
  gap: 1.2rem !important;
  margin-top: 1rem;
}

.footer__social a { color: var(--red); font-weight: 600; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer p,
.footer li {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.footer > .container > div > p { margin-top: 0.9rem; }
.footer__grid > div:first-child p { margin-top: 0.9rem; }

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer ul a { transition: color 0.2s ease; }
.footer ul a:hover { color: var(--red); }

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 1.4rem 0;
  text-align: center;
}

.footer__bottom p { font-size: 0.83rem; }

/* ===== Footer brutalista: encabezados mono + contacto interactivo ===== */
.footer h4 {
  font-family: var(--font-mono);
  font-stretch: normal;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.footer h4::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--red);
  flex: 0 0 auto;
}

.footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }

.fbtn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted-dark);
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.fbtn:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateX(4px);
}
.fbtn:active { transform: translateX(4px) scale(0.99); }

.fbtn__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(238, 67, 35, 0.14);
  color: var(--red);
  transition: background 0.16s ease, color 0.16s ease;
}
.fbtn:hover .fbtn__icon { background: rgba(0, 0, 0, 0.22); color: #fff; }

.fbtn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.fbtn__text small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.1rem;
}
.fbtn__text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fbtn:hover .fbtn__text strong,
.fbtn:hover .fbtn__text small { color: #fff; opacity: 1; }
.fbtn--addr .fbtn__text strong { white-space: normal; }

.fsocial { display: flex; gap: 0.55rem; margin-top: 0.25rem; }
.fsocial__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  touch-action: manipulation;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.fsocial__btn:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== Footer: texto gigante con reveal de gradiente ===== */
.footer { position: relative; overflow: hidden; }

.footer__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(125% 125% at 50% 10%, rgba(15, 15, 15, 0.4) 50%, rgba(238, 67, 35, 0.2) 100%);
}

.footer > .container,
.footer__bottom { position: relative; z-index: 1; }

.footer__hover-text {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.footer__hover-text svg {
  width: 100%;
  height: auto;
  display: block;
}

.fx-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 92px;
  letter-spacing: 0.02em;
  fill: transparent;
  stroke-width: 0.6;
}

.fx-text--base {
  stroke: #2c2c2c;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer__hover-text:hover .fx-text--base { opacity: 0.7; }

.fx-text--draw {
  stroke: rgba(238, 67, 35, 0.55);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.footer__hover-text.in-view .fx-text--draw {
  animation: fxDraw 4s ease-in-out forwards;
}

@keyframes fxDraw {
  to { stroke-dashoffset: 0; }
}

.fx-text--gradient { stroke-width: 0.8; }

@media (prefers-reduced-motion: reduce) {
  .fx-text--draw {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Animaciones al hacer scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__left,
  .hero__right,
  .hero__circle,
  .hero__photo,
  .hero__social,
  .hero__location { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-top: 1rem;
  }

  .hero__center { order: 1; min-height: 320px; }
  .hero__right { order: 2; text-align: center; justify-self: center; }
  .hero__left { order: 3; text-align: center; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__center { order: -1; }

  .hero__lead { margin-inline: auto; }
  .hero h1 { font-size: clamp(2.7rem, 11.5vw, 4.8rem); line-height: 0.82; }
  .hero__circle { width: clamp(260px, 60vw, 340px); height: clamp(260px, 60vw, 340px); }
  .hero__photo { width: clamp(200px, 46vw, 260px); }
  .hero__footer { justify-content: center; text-align: center; }
}

@media (max-width: 960px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav__menu.open { max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
  .nav__menu li { width: 100%; text-align: center; }
  .nav__link { display: block; padding: 0.95rem; }

  /* Dropdowns como acordeón en móvil */
  .nav__dropdown-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.95rem;
    font-size: 0.9rem;
  }
  .nav__dropdown {
    position: static;
    transform: none;
    margin-top: 0;
    min-width: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__dropdown::before { content: none; }
  .nav__item.has-dropdown.is-open .nav__dropdown { max-height: 480px; }
  .nav__item.has-dropdown.is-open .nav__caret { transform: rotate(180deg); }
  .nav__drop-link { padding: 0.8rem; text-align: center; }
  .nav__drop-link:hover { transform: none; }

  /* Las landings (← Volver) no tienen toggle: el menú se queda visible */
  .nav__menu.landing-nav {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    background: none;
    border: none;
  }
  .nav__menu.landing-nav li { width: auto; }
  .nav__menu.landing-nav .nav__link { padding: 0.4rem 0; }
  .landing .nav__cta { display: inline-block; }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .services { grid-template-columns: 1fr; }

  .services .card--featured { grid-row: auto; padding: 2rem; }
  .contact { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.8rem; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Landings (terapias, tienda, equipo) y mejoras de tarjetas
   ========================================================== */

/* ===== Tarjetas más llamativas (home) ===== */
.card { position: relative; overflow: hidden; }

.card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 67, 35, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.card:hover .card__icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(-8deg) scale(1.06);
}

.card__icon { transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }

.services .card--featured {
  background: var(--black);
  border-color: var(--border-dark);
}

.services .card--featured h3 { color: var(--white); }
.services .card--featured p { color: var(--text-muted-dark); }

.services .card--featured:hover {
  border-color: var(--red);
  box-shadow: 0 16px 50px rgba(238, 67, 35, 0.3);
}

/* Terapias del home: ítem completo clicable */
.t-item {
  position: relative;
  padding: 1.1rem;
  border-radius: 14px;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.t-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.t-item__more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}

/* ===== Cinta de conceptos ===== */
.word-strip {
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding: 1.1rem 0;
}

.word-strip__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  animation: wordMarquee 24s linear infinite;
}

.word-strip span {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  white-space: nowrap;
}

.word-strip svg { flex-shrink: 0; }

@keyframes wordMarquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .word-strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ===== Landing: hero ===== */
.l-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  display: flex;
  align-items: center;
  min-height: 72vh;
}

.l-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.l-hero__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(238, 67, 35, 0.14);
  border: 1px solid rgba(238, 67, 35, 0.4);
  border-radius: 20px;
}

.l-hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Eyebrow mono en los heros de las páginas internas (identidad consistente) */
.l-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t-accent, var(--red));
  margin-bottom: 1.1rem;
}
.l-hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.l-hero--split .l-hero__eyebrow { justify-content: flex-start; }

.l-hero__tag {
  color: var(--text-muted-dark);
  font-size: 1.1rem;
  max-width: 34rem;
  margin: 0 auto 2.2rem;
}

.l-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-nav .nav__link { color: var(--text-on-dark); font-weight: 600; }
.landing-nav .nav__link:hover { color: var(--red); }

/* ===== Landing: beneficios ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.benefit--featured {
  grid-column: 1 / -1;
  background: var(--black);
  border-color: var(--border-dark);
}

.benefit--featured h3 { color: var(--white); }
.benefit--featured p { color: var(--text-muted-dark); max-width: 52rem; }

.benefit__check {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
  margin-bottom: 0.9rem;
}

.benefit--featured .benefit__check { background: var(--red); color: var(--white); }

.benefit h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.benefit p { font-size: 0.93rem; }

.l-about h2 { margin-bottom: 1rem; }
.l-about p { margin-bottom: 1rem; }

/* ===== Landing: otras terapias / CTA / footer ===== */
.l-others {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.l-other {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.l-other svg { color: var(--red); }

.l-other:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.l-cta { text-align: center; }
.l-cta h2 { margin-bottom: 0.6rem; }
.l-cta > p { margin-bottom: 1.8rem; }
.l-cta__alt { margin-top: 1.4rem; font-size: 0.92rem; }
.l-cta__alt a { color: var(--red); font-weight: 600; }

.l-footer { padding-top: 0; }
.l-footer .footer__bottom a { color: var(--red); font-weight: 600; }

/* ===== Tienda ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.p-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.p-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.p-card__media {
  display: grid;
  place-items: center;
  background: var(--gray-soft);
  border-radius: 12px;
  min-height: 220px;
  padding: 1.2rem;
}

.p-card__media img { max-height: 220px; width: auto; }

.p-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--charcoal-2), var(--black));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.p-card__placeholder strong { color: var(--red); }

.p-card h3 { font-size: 1.1rem; }

.p-card__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--red);
}

.p-card__price small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--text-body); }

.soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}

.soon-badge--live { background: var(--red); }

.p-card--soon .p-card__media,
.p-card--soon h3 { opacity: 0.75; }

.flavor-picker { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.flavor-picker label { cursor: pointer; text-align: center; font-size: 0.7rem; color: var(--text-body); }

.flavor-picker input { position: absolute; opacity: 0; pointer-events: none; }

.flavor-picker img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
  margin: 0 auto 0.25rem;
}

.flavor-picker input:checked + img {
  border-color: var(--red);
  transform: scale(1.12);
}

.flavor-picker input:focus-visible + img { outline: 3px solid var(--red); outline-offset: 2px; }

/* Carrito */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cart-btn:hover { border-color: var(--red); color: var(--red); }

.cart-btn__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 140;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--white);
  z-index: 150;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.2);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__head h2 { font-size: 1.2rem; }

.cart-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-heading);
  padding: 0.3rem;
}

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.cart-empty { text-align: center; color: var(--text-body); padding: 2.5rem 0; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
}

.cart-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--gray-soft); }

.cart-item h4 { font-size: 0.92rem; }
.cart-item small { color: var(--text-body); font-size: 0.8rem; display: block; }

.cart-qty { display: flex; align-items: center; gap: 0.5rem; }

.cart-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  color: var(--text-heading);
}

.cart-qty button:hover { border-color: var(--red); color: var(--red); }
.cart-qty span { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.cart-drawer__foot { border-top: 1px solid var(--border); padding: 1.3rem 1.5rem; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.cart-note { font-size: 0.8rem; color: var(--text-body); text-align: center; margin-top: 0.8rem; }

/* ===== Equipo (landing) ===== */
.coach {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.coach + .coach { margin-top: 5rem; }

.coach--flip .coach__media { order: 2; }

.coach__media { position: relative; margin: 12px; }

.coach__media::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 4px solid rgba(238, 67, 35, 0.3);
  border-radius: 12px;
}

.coach__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.coach__role {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.coach h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.coach p { margin-bottom: 1rem; }

.coach__points { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.2rem 0 1.6rem; }

.coach__points li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text-heading);
  font-weight: 500;
}

.coach__points li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transform: translateY(2px);
  background: var(--red);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.coach-quote {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.coach-quote p { font-style: italic; font-size: 1.15rem; color: var(--text-heading); margin-bottom: 0.8rem; }
.coach-quote footer { color: var(--red); font-weight: 600; }

@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; }
  .coach { grid-template-columns: 1fr; gap: 1.8rem; }
  .coach--flip .coach__media { order: 0; }
  .coach__media img { max-height: 420px; }
}

/* ===== Fixes de navegación móvil en landings ===== */
@media (max-width: 768px) {
  /* En las páginas internas el menú es un solo enlace "volver":
     se muestra en línea en vez del dropdown oculto del home */
  .landing .nav__menu {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    flex-direction: row;
  }

  .landing .nav__menu li { width: auto; }
  .landing .nav__link { display: inline; padding: 0; font-size: 0.85rem; }

  .landing .nav__cta {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .landing .logo__text { display: none; }
  .landing .nav { gap: 0.8rem; }
}

/* Botón centrado bajo una sección */
.section__more {
  text-align: center;
  margin-top: 2.2rem;
}

/* ==========================================================
   Esencia por terapia: acento, efectos de hero y variantes
   ========================================================== */

.landing { --t-accent: var(--red); }

.landing .l-hero__icon {
  color: var(--t-accent);
  background: color-mix(in srgb, var(--t-accent) 15%, transparent);
  border-color: color-mix(in srgb, var(--t-accent) 45%, transparent);
}

.landing .benefit__check {
  color: var(--t-accent);
  background: color-mix(in srgb, var(--t-accent) 12%, transparent);
}

.landing .benefit--featured .benefit__check {
  background: var(--t-accent);
  color: var(--white);
}

.landing .benefit:hover { border-color: var(--t-accent); }

/* Video de fondo opcional del hero (img/terapias/<slug>.mp4) */
.l-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

/* Hero con video de YouTube de fondo (RIMAN Brand Film) */
.l-hero__yt {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.l-hero__yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;       /* 16:9 según el ancho */
  min-width: 177.78vh;   /* 16:9 según el alto → cubre */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.l-hero__yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.4) 45%, rgba(15, 15, 15, 0.74));
}

/* En móvil el autoplay de YouTube suele bloquearse (modo bajo consumo, datos),
   y queda el póster con el botón de play. Ocultamos el video y usamos un fondo
   de marca degradado, limpio y legible. */
@media (max-width: 768px) {
  .l-hero--film .l-hero__yt { display: none; }
  .l-hero--film {
    background:
      radial-gradient(130% 85% at 50% 0%, rgba(238, 67, 35, 0.26), transparent 58%),
      linear-gradient(180deg, #201d1c 0%, #100f0e 100%);
  }
}

/* ===== Lightbox de imágenes de producto (zoom) ===== */
.p-card__media img.is-zoomable { cursor: zoom-in; }

body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  animation: lb-fade 0.25s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  max-width: min(92vw, 880px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transform: scale(0.92);
  animation: lb-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.3s ease;
}
@keyframes lb-pop { to { transform: scale(1); } }

.lightbox__img.is-zoomed {
  transform: scale(1.85);
  cursor: zoom-out;
}

.lightbox__cap {
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  max-width: 90vw;
}

.lightbox__close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.28); }

/* Capa de efecto por terapia */
.l-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Sol giratorio (bronceado) */
.l-fx--sun::before {
  content: "";
  position: absolute;
  top: -55vmax;
  left: 50%;
  width: 140vmax;
  height: 140vmax;
  margin-left: -70vmax;
  border-radius: 50%;
  background: repeating-conic-gradient(
    color-mix(in srgb, var(--t-accent) 9%, transparent) 0deg 6deg,
    transparent 6deg 20deg
  );
  animation: sunSpin 80s linear infinite;
}

.l-fx--sun::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, color-mix(in srgb, var(--t-accent) 22%, transparent), transparent 70%);
}

@keyframes sunSpin { to { transform: rotate(360deg); } }

/* Onda pulsante (radiofrecuencia) */
.l-fx--wave svg {
  position: absolute;
  left: -2%;
  bottom: 14%;
  width: 104%;
  height: 130px;
  opacity: 0.45;
}

.l-fx--wave path {
  fill: none;
  stroke: var(--t-accent);
  stroke-width: 2.5;
  stroke-dasharray: 14 10 4 10;
  animation: waveDash 5s linear infinite;
}

@keyframes waveDash { to { stroke-dashoffset: -380; } }

/* Anillos de ultrasonido (cavitación) */
.l-fx--rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border: 2px solid var(--t-accent);
  border-radius: 50%;
  opacity: 0;
  animation: ringExpand 5s ease-out infinite;
}

.l-fx--rings i:nth-child(2) { animation-delay: 1.66s; }
.l-fx--rings i:nth-child(3) { animation-delay: 3.33s; }

@keyframes ringExpand {
  0% { transform: scale(0.25); opacity: 0.5; }
  100% { transform: scale(10); opacity: 0; }
}

/* Burbujas de CO2 (carboxiterapia) */
.l-fx--bubbles i {
  position: absolute;
  left: var(--x, 50%);
  bottom: -36px;
  width: var(--s, 14px);
  height: var(--s, 14px);
  border: 1.5px solid var(--t-accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: bubbleUp var(--d, 10s) linear infinite;
  animation-delay: var(--dl, 0s);
}

@keyframes bubbleUp {
  80% { opacity: 0.35; }
  100% { transform: translateY(-115vh); opacity: 0; }
}

/* Aros de succión flotantes (vacuum) */
.l-fx--orbs i {
  position: absolute;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--t-accent) 45%, transparent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--t-accent) 18%, transparent);
  animation: orbFloat var(--d, 9s) ease-in-out infinite alternate;
  animation-delay: var(--dl, 0s);
}

@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-46px) scale(1.12); }
}

/* Gotas de activos (mesoterapia) */
.l-fx--drops i {
  position: absolute;
  top: -26px;
  left: var(--x, 50%);
  width: 7px;
  height: 12px;
  border-radius: 50% 50% 52% 52% / 38% 38% 62% 62%;
  background: color-mix(in srgb, var(--t-accent) 55%, transparent);
  animation: dropFall var(--d, 8s) linear infinite;
  animation-delay: var(--dl, 0s);
}

@keyframes dropFall { to { transform: translateY(118vh); } }

@media (prefers-reduced-motion: reduce) {
  .l-fx--sun::before,
  .l-fx--wave path,
  .l-fx--rings i,
  .l-fx--bubbles i,
  .l-fx--orbs i,
  .l-fx--drops i { animation: none; }
  .l-fx--rings i { opacity: 0.18; transform: scale(3); }
  .l-fx--bubbles i { opacity: 0.2; bottom: 30%; }
  .l-fx--drops i { top: 40%; opacity: 0.3; }
}

/* Variante B: beneficios en carrusel scroll-snap (solo desktop) */
.benefits-snap {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.3rem 1.4rem;
  -webkit-overflow-scrolling: touch;
}

.benefits-snap .benefit {
  min-width: min(300px, 78vw);
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* En móvil el snap horizontal es frágil (iOS lo deja a media tarjeta):
   columna vertical limpia */
@media (max-width: 768px) {
  .benefits-snap {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  .benefits-snap .benefit {
    min-width: 0;
    width: 100%;
  }
}

/* Variante C: panel oscuro con checklist */
.benefits-panel {
  background: var(--black);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.benefits-panel .b-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.benefits-panel .benefit__check {
  margin: 0;
  flex-shrink: 0;
  background: var(--t-accent);
  color: var(--white);
}

.benefits-panel h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.25rem; }
.benefits-panel p { color: var(--text-muted-dark); font-size: 0.93rem; }

/* Cómo funciona: pasos (secuencia real) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: var(--white);
}

.step strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  color: var(--t-accent);
  margin-bottom: 0.6rem;
}

.step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; }

/* Ideal para: chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.chip {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--t-accent) 45%, transparent);
  background: color-mix(in srgb, var(--t-accent) 8%, transparent);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

/* Antes / Después (resultado de referencia, dos imágenes) */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.ba__card { margin: 0; }

.ba__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--t-accent) 45%, transparent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--t-accent) 18%, transparent);
}

/* El margen negativo recorta la franja inferior (donde el plan Free de
   Higgsfield estampa su marca de agua), sin tocar el archivo original. */
.ba__img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -13%;
}

.ba__tag {
  position: absolute;
  bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(2px);
}

.ba__tag--before { left: 0.9rem; background: rgba(18, 18, 18, 0.72); }
.ba__tag--after { right: 0.9rem; background: color-mix(in srgb, var(--t-accent) 88%, #000 12%); }

.ba__note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-body);
}

/* ===== Productos de la casa · acordeón de imágenes ===== */
.prodacc {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.45fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.prodacc__intro p { margin-top: 0.6rem; }
.prodacc__intro .hero__actions { margin-top: 1.4rem; }

.prodacc__rail {
  display: flex;
  gap: 0.55rem;
  width: 100%;
  height: 440px;
}

.acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #141414;
  transition: flex-grow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-item.is-active { flex-grow: 5; }

.acc-item:focus-visible { outline: 3px solid var(--t-accent); outline-offset: 2px; }

.acc-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.55s ease, transform 0.55s ease;
}

/* Ficha colapsada: oscurece y desatura la imagen para que el banner no se vea
   "entrecortado"; se revela completa y nítida al expandirse. */
.acc-item:not(.is-active) .acc-item__img {
  filter: brightness(0.42) saturate(0.9);
  transform: scale(1.04);
}

/* Banners PowerCrumbz: son tiras altas (265x700), más angostas que la ficha.
   Al expandirse se muestran COMPLETOS (contain) sobre un fondo borroso del
   mismo banner, en vez de recortarse con cover. */
.acc-item__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  filter: blur(26px) brightness(0.5) saturate(1.15);
  opacity: 0;
  transition: opacity 0.55s ease;
}
.acc-item--banner.is-active .acc-item__bg { opacity: 1; }
.acc-item--banner.is-active .acc-item__img { object-fit: contain; }

.acc-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 48%);
}

.acc-item__cap {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all 0.4s ease;
}

.acc-item.is-active .acc-item__cap {
  writing-mode: horizontal-tb;
  transform: none;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  white-space: normal;
}

/* Ficha "Próximamente" (MyCreatine, sin foto) */
.acc-item--soon { background: linear-gradient(150deg, #1c1c1c, #2c2c2c); }

.acc-item__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.3rem, 3vw, 2rem);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.acc-item__placeholder strong { color: var(--t-accent); font-weight: 800; }
.acc-item.is-active .acc-item__placeholder { opacity: 1; }

.acc-item__soon {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.acc-item.is-active .acc-item__soon { opacity: 1; }

@media (max-width: 860px) {
  .prodacc { grid-template-columns: 1fr; gap: 1.75rem; }
  .prodacc__rail { height: 60vh; max-height: 420px; }
}

/* Outline para fondos claros (fix: era invisible sobre blanco) */
.btn--outline-ink {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border);
}

.btn--outline-ink:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* Hero dividido (fisioterapia: texto + foto) */
.l-hero--split .l-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.l-hero--split .l-hero__icon { margin: 0 0 1.5rem; }
.l-hero--split .l-hero__tag { margin: 0 0 2rem; }
.l-hero--split .l-hero__actions { justify-content: flex-start; }

.l-hero__media img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 860px) {
  .l-hero--split .l-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .l-hero--split .l-hero__icon { margin: 0 auto 1.5rem; }
  .l-hero--split .l-hero__actions { justify-content: center; }
  .l-hero__media { order: -1; max-width: 320px; margin: 0 auto; }
}

/* Callout destacado (punción seca / electropunción) */
.callout {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.callout__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 16px;
}

.callout div { flex: 1; min-width: 240px; }
.callout h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.3rem; }
.callout p { color: var(--text-muted-dark); font-size: 0.95rem; }

/* Foto de la terapia en "¿Es para ti?" (slot automático) */
.t-media-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.t-media-split.no-photo { display: block; max-width: 760px; margin-inline: auto; }
.t-media-split.no-photo .t-photo { display: none; }

.t-photo {
  position: relative;
  margin: 12px;
}

.t-photo::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 4px solid color-mix(in srgb, var(--t-accent) 35%, transparent);
  border-radius: 12px;
}

.t-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .t-media-split { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Dúo de fotos por terapia: roles intercambiables con slide automático */
.t-photo--duo {
  margin-bottom: 3.2rem;
  margin-right: 2.4rem;
  aspect-ratio: 4 / 3;
}

.t-photo--duo img {
  position: absolute;
  object-fit: cover;
  transition:
    inset 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    border 0.9s ease,
    box-shadow 0.9s ease;
}

.t-photo--duo img.is-main {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0 solid transparent;
  transform: rotate(0deg);
  box-shadow: var(--shadow);
  z-index: 1;
}

.t-photo--duo img.is-alt {
  inset: auto -9% -14% auto;
  width: 56%;
  height: 56%;
  border-radius: 10px;
  border: 5px solid var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transform: rotate(2.5deg);
  z-index: 2;
  cursor: pointer;
}

.t-photo--duo img.is-alt:hover { transform: rotate(0.5deg) scale(1.04); }

@media (max-width: 860px) {
  .t-photo--duo { margin-right: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .t-photo--duo img { transition: none; }
}


/* ===== Carrusel de vistas del merch ===== */
.p-card__media--carousel {
  position: relative;
  aspect-ratio: 1;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.merch-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.merch-carousel img.is-active { opacity: 1; }

/* Flechas dentro de la imagen del carrusel */
.merch-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}
.merch-carousel:hover .merch-arrow,
.merch-carousel:focus-within .merch-arrow { opacity: 1; }
.merch-arrow:hover { background: var(--white); }
.merch-arrow--prev { left: 10px; }
.merch-arrow--next { right: 10px; }
@media (hover: none) {
  .merch-arrow { opacity: 1; background: rgba(255, 255, 255, 0.9); }
}

.merch-dots {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.merch-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c4c4c4;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.merch-dots button.is-active {
  background: var(--red);
  transform: scale(1.25);
}


/* ===== Ficha de producto (tienda) ===== */
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.product-detail__media { border-radius: var(--radius); }

.merch-carousel--contain { background: var(--gray-soft); }

.merch-carousel--contain img {
  object-fit: contain;
  padding: 1.4rem;
}

.product-detail__info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.product-detail__info > p { margin-bottom: 1.2rem; }
.product-detail__info .flavor-picker { margin-bottom: 1.4rem; }

.product-info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--border);
}

.product-info-cols h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.product-info-cols p { font-size: 0.93rem; margin-bottom: 0.9rem; }

.spec-list { display: flex; flex-direction: column; gap: 0.55rem; }

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.spec-list li span:first-child { color: var(--text-body); }
.spec-list li span:last-child { color: var(--text-heading); font-weight: 600; white-space: nowrap; }

.spec-note { font-size: 0.85rem; color: var(--text-body); margin-top: 1rem; }

@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 1.8rem; }
  .product-info-cols { grid-template-columns: 1fr; gap: 2rem; }
}

/* Ficha técnica colapsable de MyPure */
.specs-toggle { margin-top: 1.8rem; }
.specs-toggle > summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.specs-toggle > summary::-webkit-details-marker { display: none; }
.specs-toggle > summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
}
.specs-toggle[open] > summary::after { content: "\2212"; }
.specs-toggle[open] .product-info-cols { border-top: none; padding-top: 0.5rem; }

.store-grid--pair { margin-top: 2.2rem; }

/* ===== PowerCrumbz (galletas) ===== */
.product-detail--sep {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.product-detail__media--light { background: #fff; }
.product-detail__tag { position: static; display: inline-block; margin-bottom: 0.8rem; }

.flavor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 1.4rem;
}
.flavor-chips span {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--red) 8%, transparent);
  color: var(--red-dark);
  border: 1px solid color-mix(in srgb, var(--red) 22%, transparent);
}

.cookies-nutri { overflow-x: auto; margin-top: 1.4rem; }
.cookies-nutri table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  font-size: 0.92rem;
}
.cookies-nutri th,
.cookies-nutri td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
.cookies-nutri thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}
.cookies-nutri tbody td:first-child { font-weight: 600; color: var(--text-heading); }
.cookies-nutri tbody td:not(:first-child) { color: var(--text-body); font-variant-numeric: tabular-nums; }

.cookie-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.cookie-banners img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 640px) {
  .cookie-banners { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Slider horizontal de productos ===== */
.pslider {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.pslider::-webkit-scrollbar { display: none; }
.pslider.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.pslider__track {
  display: flex;
  position: relative;
  gap: 1.6rem;
  padding-inline: max(1.25rem, calc((100% - 1160px) / 2));
}
.pslide {
  flex: 0 0 min(78%, 860px);
  scroll-snap-align: center;
}
.pslide > .container { width: 100%; max-width: none; margin: 0; }

.pslider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
}
.pslider__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pslider__arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pslider__arrow:disabled { opacity: 0.3; cursor: default; }
.pslider__dots { display: flex; gap: 0.5rem; }
.pslider__dots button {
  width: 9px; height: 9px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pslider__dots button.is-active { background: var(--red); transform: scale(1.35); }

/* Imagen a la derecha en el panel de galletas (variación) */
@media (min-width: 861px) {
  .product-detail--alt .product-detail__media { order: 2; }
}

/* Media de galletas (imagen única sobre blanco) */
.product-detail__media--light {
  background: #fff;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
}
#cookie-photo { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.product-detail__media--light img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-detail__media--placeholder { position: relative; aspect-ratio: 4 / 5; background: var(--gray-soft); }
/* El placeholder (creatina) llena el box para igualar el tamaño de los demás paneles */
.product-detail__media--placeholder .p-card__placeholder { width: 100%; height: 100%; border-radius: 0; font-size: 1.6rem; }
/* En el slider del home, la imagen de producto (proteína) más chica y sin cortarse */
.pslide .product-detail__media--light img { padding: clamp(1.2rem, 4vw, 3.2rem); }

/* Banners promocionales como media del panel de galletas (2×2, mismo tamaño que los demás) */
.cookie-banners--media {
  margin: 0;
  aspect-ratio: 4 / 5;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.4rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.cookie-banners--media img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 8px; }

/* ===== Catálogo RIMAN ===== */
.riman-grid { grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); }
.riman-card { display: flex; flex-direction: column; text-align: left; }
.riman-card__cat {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, #fff);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}
.riman-card__media {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.riman-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 0.9rem; }
.riman-card h3 { font-size: 1rem; line-height: 1.25; margin-bottom: 0.3rem; }
.riman-card__price { font-family: var(--font-heading); font-weight: 700; color: var(--red); margin: 0 0 0.5rem; }
.riman-card__price small { font-weight: 500; color: var(--text-muted-dark); font-size: 0.7rem; }
.riman-card__desc { font-size: 0.84rem; color: var(--text-body); opacity: 0.82; margin-bottom: 1rem; flex: 1; }
.riman-card .btn { margin-top: auto; }
.riman-card.is-hidden { display: none; }

/* Filtros de categoría RIMAN */
.riman-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.riman-filters button {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.riman-filters button:hover { border-color: var(--red); color: var(--red); }
.riman-filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Selector de sabor de galletas */
.cookie-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1.2rem 0;
}
.cookie-picker button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cookie-picker button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cookie-picker button span { font-size: 0.7rem; font-weight: 600; text-align: center; line-height: 1.15; }
.cookie-picker button:hover { border-color: color-mix(in srgb, var(--red) 40%, transparent); transform: translateY(-2px); }
.cookie-picker button.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--red) 35%, transparent);
}

.cookie-spec {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  background: var(--gray-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cookie-spec__hint { margin: 0; color: var(--text-body); opacity: 0.7; font-size: 0.9rem; }
.cookie-spec__title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.6rem; }
.cookie-spec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 0.7rem; }
.cookie-spec__grid div { text-align: center; }
.cookie-spec__grid strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; color: var(--red); font-variant-numeric: tabular-nums; }
.cookie-spec__grid small { font-size: 0.66rem; color: var(--text-body); opacity: 0.75; text-transform: uppercase; letter-spacing: 0.03em; }
.cookie-spec__ing { font-size: 0.78rem; color: var(--text-body); opacity: 0.85; margin: 0; }

@media (max-width: 560px) {
  .cookie-spec__grid { grid-template-columns: repeat(2, 1fr); }
}



/* ===== Membresías (Join the team) ===== */
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

.nav__cta--join { padding: 0.7rem 1.4rem; }

.nav__join-link { display: none; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tier:hover { transform: translateY(-6px); border-color: var(--red); }

.tier--featured {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 24px 60px rgba(238, 67, 35, 0.25);
}

.tier h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.tier--featured h3 { color: var(--text-heading); }

.tier__tag { color: var(--text-muted-dark); font-size: 0.93rem; }
.tier--featured .tier__tag { color: var(--text-body); }

.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tier__badge--soon { background: var(--white); color: var(--text-heading); }

.tier__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tier__list li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.93rem;
  color: var(--text-on-dark);
}

.tier--featured .tier__list li { color: var(--text-heading); }

.tier__list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transform: translateY(2px);
  background: var(--red);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.tier__list li.tier__muted { color: var(--text-muted-dark); }

.tier__list li.tier__muted::before {
  background: var(--text-muted-dark);
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round"><path d="M18 6 6 18M6 6l12 12"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round"><path d="M18 6 6 18M6 6l12 12"/></svg>');
}

.tier--featured .btn--outline { color: var(--text-heading); border-color: var(--border); }

.tiers__note {
  text-align: center;
  margin-top: 2.2rem;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .nav__cta--join { display: none; }
  .nav__join-link { display: block; }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .nav__menu { gap: 1.2rem; }
  .nav__link { font-size: 0.85rem; }
}

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .tier--featured { order: -1; }
}




/* ===== Tarjetas de servicio con foto difuminada de fondo ===== */
.card__bg {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: 50% 18%;
  filter: blur(7px) saturate(0.95);
  transform: scale(1.05);
  z-index: 0;
}

.card__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 255, 255, 0.97)
  );
}

.card--media > *:not(.card__bg):not(.card__scrim) {
  position: relative;
  z-index: 2;
}

.card--media:hover .card__bg { filter: blur(5px) saturate(1.1); }

/* Swatches de color del merch */
.color-picker i {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin: 0 auto 0.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.color-picker input:checked + i {
  border-color: var(--red);
  transform: scale(1.12);
}

.color-picker input:focus-visible + i {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ===== Checkout de membresías (demo) ===== */
.checkout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 980px;
  margin-inline: auto;
}

.checkout__summary {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.checkout__summary h3 { color: var(--white); margin-bottom: 1.1rem; }

.plan-pick { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.4rem; }

.plan-pick label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.plan-pick label:has(input:checked) {
  border-color: var(--red);
  background: rgba(238, 67, 35, 0.1);
}

.plan-pick input { accent-color: var(--red); }

.plan-pick strong { display: block; color: var(--white); font-size: 0.97rem; }
.plan-pick small { color: var(--text-muted-dark); font-size: 0.8rem; }

.checkout__includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--border-dark);
}

.checkout__includes li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--text-on-dark);
  font-size: 0.88rem;
}

.checkout__includes li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  transform: translateY(1px);
  background: var(--red);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.checkout__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--text-on-dark);
}

.checkout__total strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--red);
}

.checkout__fine { color: var(--text-muted-dark); font-size: 0.78rem; margin-top: 0.7rem; }

/* Formulario */
.checkout__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.checkout__form h3 { font-size: 1.15rem; }

.checkout__pay-title {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.demo-badge {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}

.field input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-heading);
  transition: border-color 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--red);
}

.field__error {
  display: none;
  color: #C62E12;
  font-size: 0.8rem;
}

.field--invalid input { border-color: #C62E12; }
.field--invalid .field__error { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.checkout__note {
  font-size: 0.8rem;
  color: var(--text-body);
  text-align: center;
}

#pay-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* Éxito */
.checkout__success {
  grid-column: 1 / -1;
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
}

.checkout__success-icon {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  margin-bottom: 1.2rem;
}

.checkout__success h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.checkout__success p { margin-bottom: 0.9rem; }
.checkout__success .btn { margin-top: 0.7rem; }

@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; }
  .field-row { grid-template-columns: 1fr; }
}

/* Precio de los planes */
.tier__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.3rem;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  line-height: 1;
}

.tier__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.tier--featured .tier__price small { color: var(--text-body); }

.tier__price-mxn {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  font-variant-numeric: tabular-nums;
}

.tier--featured .tier__price-mxn { color: var(--text-body); }

/* ===== Chat asistente (demo) ===== */
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 94px;
  width: min(370px, calc(100vw - 32px));
  max-height: min(560px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 160;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel { transition: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  background: var(--black);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  flex-shrink: 0;
}

.chat-head strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-head small {
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fbf71;
}

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.chat-close:hover { color: var(--white); }

.chat-body {
  flex: 1;
  min-height: 180px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(238, 67, 35, 0.04), transparent 40%),
    var(--gray-soft);
}

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 0.9rem 0.45rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg p { margin-bottom: 0.2rem; }

.chat-msg time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  opacity: 0.6;
}

.chat-msg--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text-heading);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--red);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-action {
  display: inline-block;
  margin: 0.3rem 0.35rem 0.3rem 0;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-pill);
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.chat-action:hover { background: var(--red); color: var(--white); }

.chat-typing { display: flex; gap: 4px; padding: 0.9rem 1rem; }

.chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5b5b5;
  animation: chatTyping 1s ease-in-out infinite;
}

.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatTyping {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.7rem 1rem 0.3rem;
  background: var(--white);
}

.chat-chip {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-heading);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chat-chip:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--white);
}

.chat-input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-heading);
}

.chat-input input:focus {
  outline: none;
  border-color: var(--red);
}

.chat-input button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-input button:hover { background: var(--red-dark); transform: scale(1.05); }

.chat-note {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-body);
  padding: 0 1rem 0.8rem;
  background: var(--white);
}

@media (max-width: 480px) {
  .chat-panel { right: 16px; bottom: 88px; }
}

/* ===== Toggle de facturación mensual/anual ===== */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  width: max-content;
  margin: -1.2rem auto 2.6rem;
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 5px;
}

.billing-toggle__opt {
  border: none;
  background: transparent;
  color: var(--text-muted-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.billing-toggle__opt.is-active {
  background: var(--red);
  color: var(--white);
}

.billing-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
}

.billing-toggle__opt:not(.is-active) .billing-badge {
  background: rgba(238, 67, 35, 0.18);
  color: var(--red);
}

.billing-toggle--mini {
  margin: 0 0 1.2rem;
  width: 100%;
}

.billing-toggle--mini .billing-toggle__opt {
  flex: 1;
  justify-content: center;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
}

.tier__annual-note {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
}

.tier--featured .tier__annual-note { color: var(--red-dark); }

/* Lockup vertical en el hero de membresías */
.l-hero__logo {
  width: clamp(190px, 26vw, 270px);
  height: auto;
  display: block;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

.l-hero__join {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 0.8rem;
}

/* ==========================================================
   Pulido UX / táctil (pass ui-ux-pro-max)
   ========================================================== */

/* Sin retardo de 300ms al tocar */
a, button, .btn, [role="button"], label, summary, input { touch-action: manipulation; }

/* Feedback de pulsación (scale-feedback) */
.btn:active,
.cart-btn:active,
.pslider__arrow:active,
.riman-filters button:active,
.cookie-picker button:active,
.t-new-service:active,
.t-item__more:active { transform: translateY(1px) scale(0.985); }

/* Área táctil cómoda en los dots (visual chico, hit grande) */
.pslider__dots, .merch-dots { gap: 0.2rem; }
.pslider__dots button,
.merch-dots button {
  padding: 7px;
  box-sizing: content-box;
  background-clip: content-box;
}

/* Filtros RIMAN y toggles: altura táctil cómoda */
.riman-filters button { padding: 0.62rem 1.15rem; min-height: 42px; }

/* En móvil, el selector de sabores de galletas con texto legible y área cómoda */
@media (max-width: 560px) {
  .cookie-picker { gap: 0.45rem; }
  .cookie-picker button span { font-size: 0.66rem; }
}

/* Reset global de movimiento reducido (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Páginas legales (aviso de privacidad / términos) ===== */
.legal { padding-top: calc(var(--header-height) + 2.5rem); }
.legal__eyebrow { color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 0.5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.4rem; }
.legal__updated { color: var(--text-body); opacity: 0.6; font-size: 0.9rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; margin-bottom: 0.7rem; }
.legal p { margin-bottom: 1rem; line-height: 1.7; color: var(--text-body); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.5rem; line-height: 1.6; color: var(--text-body); }
.legal a { color: var(--red); text-decoration: underline; }
.legal__note { font-size: 0.88rem; padding: 1rem 1.2rem; background: var(--gray-soft); border-radius: 12px; border-left: 3px solid var(--red); margin-top: 2rem; }
.legal__back { margin-top: 2.5rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.legal__back .btn { text-decoration: none; }
.footer__legal a { color: inherit; opacity: 0.85; }
.footer__legal a:hover { opacity: 1; color: var(--red); }

/* Botones de acción en la bio de coach (equipo) */
.coach__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

/* ===== Barra CTA fija (solo móvil) ===== */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition: transform 0.28s ease;
}
.mobile-cta.is-hidden { transform: translateY(120%); }
.mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  touch-action: manipulation;
}
.mobile-cta__btn--primary { background: var(--red); color: #fff; }
.mobile-cta__btn--wa { background: #25d366; color: #06351b; flex: 0 0 42%; }
.mobile-cta__btn:active { transform: translateY(1px) scale(0.99); }

@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  /* El botón flotante de WhatsApp cede su lugar a la barra en móvil */
  .whatsapp-float { display: none; }
  /* Que la barra no tape el contenido final ni los enlaces legales */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
