/* Colima Fitness v2. Misma dirección de v1, componentes compartidos y contraste AA. */
:root {
  --ink: #1d1d1f;
  --gray: #f5f5f7;
  --text-gray: #65656b;
  --line: #d2d2d7;
  --black: #000;
  --white: #fff;
  --copper: #c17a45;
  --copper-dark: #a85a35;
  --stone: #ece3d2;
  --sand: #ddd0b4;
  --blue: #0071e3;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.6, 1);
  --enter: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1240px;
  --nav-h: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.374px;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(48px, 8vw, 96px);
}
h2,
.h2 {
  font-size: clamp(34px, 5.2vw, 56px);
}
h3 {
  font-size: 24px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  padding-left: 22px;
}
li + li {
  margin-top: 6px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.is-locked {
  overflow: hidden;
}
site-header,
site-footer,
cart-drawer,
cookie-consent {
  display: block;
}
.wrap {
  max-width: var(--wrap);
  padding-inline: var(--gutter);
  margin-inline: auto;
  width: 100%;
}
.section {
  padding-block: clamp(64px, 9vw, 124px);
}
.section-gray {
  background: var(--gray);
}
.section-dark {
  background: var(--black);
  color: #fff;
}
.section-stone {
  background: var(--stone);
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 42px;
}
.head > div {
  max-width: 650px;
}
.lead {
  font-size: clamp(19px, 2.1vw, 24px);
  color: var(--text-gray);
  line-height: 1.35;
  margin-top: 18px;
  letter-spacing: -0.02em;
}
.section-dark .lead,
.section-dark .note {
  color: #b8b8bd;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.fine,
.note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-gray);
}
.note {
  margin-top: 22px;
}
.accent {
  color: var(--copper-dark);
}
.section-dark .accent {
  color: #e3a374;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 15px;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 14px;
  background: white;
  z-index: 200;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.full {
  width: 100%;
}
/* Relief, pointer reflection, press and keyboard states. */
.pill {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  background: linear-gradient(#fff, #f7f7f7);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    0 2px 3px #00000006,
    0 4px 10px #00000006;
  transition:
    transform 0.28s var(--enter),
    box-shadow 0.28s var(--enter),
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
/* Zona de contacto 4 px más grande que el botón: al elevarse 1 px el cursor sigue "dentro" y no hay parpadeo en el borde. */
.pill::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -2;
  border-radius: inherit;
}
.pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 0%), #ffffff30, transparent);
  transition: opacity 0.32s;
}
.pill-dark {
  background: linear-gradient(#28282a, #1d1d1f);
  color: white;
}
.pill-outline {
  background: transparent;
  border-color: var(--line);
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 2px 3px #00000003;
}
.pill-ghost {
  background: transparent;
  color: white;
  border-color: #ffffff70;
}
.pill-sm {
  font-size: 13px;
  min-height: 44px;
  padding: 10px 18px;
}
.pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px #00000018;
}
.pill:active {
  transform: translateY(0) scale(0.985);
  box-shadow: inset 0 2px 4px #00000022;
  transition-duration: 0.12s;
}
.round {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #00000008;
  transition:
    transform 0.28s var(--enter),
    background-color 0.28s var(--ease);
}
.round:active {
  transform: scale(0.94);
  transition-duration: 0.12s;
}
@media (hover: hover) and (pointer: fine) {
  .pill:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 #ffffff59,
      0 4px 8px #0000000a,
      0 10px 20px #00000012;
  }
  .pill:hover:active {
    transform: translateY(0) scale(0.985);
    box-shadow: inset 0 2px 4px #00000022;
  }
  .pill:hover::after {
    opacity: 1;
  }
  .round:hover {
    background: #00000010;
  }
  .text-link:hover {
    color: var(--copper-dark);
  }
}
/* Navigation and logo: always monochrome, never framed. */
.logo {
  display: block;
  width: 34px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url("../assets/logo-mark.png") center/contain no-repeat;
  mask: url("../assets/logo-mark.png") center/contain no-repeat;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  font-weight: 600;
  font-size: 18px;
}
.brand-name {
  font-size: 10px;
  letter-spacing: 0.11em;
  max-width: 65px;
  line-height: 1.25;
}
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  background: #ffffffed;
  border-bottom: 1px solid #00000008;
}
.nav-inner {
  height: 100%;
  max-width: 1440px;
  margin: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.nav-links {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  font-size: 13px;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--enter);
}
.nav-links a:hover::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-burger {
  display: none;
}
.nav.is-scrolled {
  background: #ffffffdb;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
body.home .nav {
  background: transparent;
  color: white;
  border-color: #ffffff15;
}
body.home .nav.is-scrolled {
  background: #161617d9;
}
body.home .nav .round {
  background: #ffffff10;
}
body.home .nav-account {
  background: #fff;
  color: var(--ink);
}
.cart-trigger {
  position: relative;
}
.cart-count {
  position: absolute;
  top: 0;
  right: -3px;
  min-width: 17px;
  border-radius: 20px;
  padding: 1px 4px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  line-height: 15px;
}
body.home .cart-count {
  background: #fff;
  color: var(--ink);
}
.mobile-menu {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  padding: 90px var(--gutter) 40px;
}
.mobile-menu nav {
  display: grid;
  gap: 6px;
}
.mobile-menu nav a {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-menu nav a[aria-current] {
  color: var(--copper-dark);
}
/* V1 hero, horizontal discipline rail, manifesto, offers and architectural bento. */
.hero {
  min-height: 800px;
  min-height: 100svh;
  background: #1c1b1a;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 150px var(--gutter) 190px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, #ffffff04 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: 1350px;
}
.hero h1 {
  font-size: clamp(56px, 12vw, 148px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero .eyebrow {
  color: #e3a374;
}
.hero .lead {
  color: #cdcdcf;
  max-width: 500px;
  margin: 24px auto 0;
}
.hero .actions {
  justify-content: center;
  margin-top: 34px;
}
.hero-guide {
  position: absolute;
  bottom: 38px;
  left: var(--gutter);
  text-align: left;
  max-width: 460px;
  border-left: 1px solid #ffffff40;
  padding-left: 16px;
}
.hero-guide strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.hero-guide span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #b8b8b8;
  margin-top: 5px;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.hero-scroll::after {
  content: "↓";
  font-size: 24px;
}
.manifest {
  max-width: 1050px;
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  margin: auto;
}
.manifest-text {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.manifest-text .word {
  color: #737378;
}
.manifest-text .word.on {
  color: var(--ink);
}
.manifest .text-link {
  margin-top: 30px;
}
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding: 12px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.tile {
  flex: 0 0 clamp(270px, 30vw, 340px);
  aspect-ratio: 4/5;
  scroll-snap-align: start;
}
.rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 26px;
  background-color: var(--ph, var(--gray));
  color: var(--pc, var(--ink));
  background-image: repeating-linear-gradient(135deg, #ffffff09 0 1px, transparent 1px 15px);
}
.placeholder .ph-label {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.85;
}
.placeholder strong,
.placeholder h3 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.placeholder small {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 38ch;
}
.placeholder .text-link {
  align-self: flex-start;
}
.tone-ink {
  --ph: #252422;
  --pc: #fff;
}
.tone-stone {
  --ph: var(--stone);
}
.tone-sand {
  --ph: var(--sand);
}
.tone-copper {
  --ph: var(--copper-dark);
  --pc: #fff;
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.offer {
  min-height: 430px;
  padding: 36px;
  align-items: flex-start;
}
.offer .pill {
  margin-top: 12px;
}
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.bento .placeholder {
  min-height: 260px;
}
.bento .placeholder:first-child {
  grid-row: span 2;
  min-height: 540px;
}
.location {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.location .placeholder {
  min-height: 350px;
}
.details-list {
  margin-top: 30px;
}
.details-row {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.details-row span {
  font-size: 15px;
  color: var(--text-gray);
}
.details-row strong {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.join {
  text-align: center;
}
.join .lead {
  max-width: 520px;
  margin-inline: auto;
}
.join .actions {
  justify-content: center;
}
/* Multi-page surfaces. */
.page-intro {
  padding: calc(var(--nav-h) + 65px) 0 58px;
}
.page-intro .lead {
  max-width: 660px;
}
.page-intro h1 {
  max-width: 950px;
}
.page-intro .eyebrow {
  color: var(--copper-dark);
}
.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.demo-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
.notice {
  padding: 18px 22px;
  background: var(--gray);
  border-left: 2px solid var(--copper);
  font-size: 14px;
  line-height: 1.5;
  margin: 24px 0;
}
.notice p + p {
  margin-top: 8px;
}
.notice a {
  text-decoration: underline;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.split > *,
.grid-2 > *,
.grid-3 > * {
  min-width: 0;
}
.panel {
  padding: 32px;
  border-radius: 24px;
  background: var(--gray);
}
.panel h2 {
  font-size: 32px;
}
.panel p + .actions {
  margin-top: 24px;
}
.panel p {
  margin-top: 14px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  padding: 30px 24px;
  background: var(--gray);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-height: 385px;
  position: relative;
  transition:
    transform 0.5s var(--enter),
    box-shadow 0.5s var(--enter);
}
@media (hover: hover) and (pointer: fine) {
  .plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 48px -30px #00000055;
  }
}
.plan .eyebrow {
  font-size: 10px;
  color: var(--text-gray);
}
.plan h3 {
  font-size: 23px;
}
.plan-price {
  font-size: 46px;
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1;
  margin-top: 24px;
}
.plan-price small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 0;
  margin-top: 10px;
}
.plan ul {
  font-size: 14px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
  color: var(--text-gray);
}
.plan li::before {
  content: "·";
  color: var(--copper-dark);
  padding-right: 8px;
}
.plan .pill {
  margin-top: auto;
}
.plan-hot {
  background: var(--ink);
  color: white;
}
.plan-hot .eyebrow,
.plan-hot .plan-price small,
.plan-hot ul {
  color: #b9b9bf;
}
.plan-hot li::before {
  color: #e3a374;
}
[data-tilt] {
  position: relative;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.5s var(--enter),
    box-shadow 0.5s var(--enter);
}
/* Margen de contacto invisible: la tarjeta inclinada no "pierde" al cursor en el borde. */
[data-tilt]::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
}
[data-tilt]::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #ffffff1f, transparent);
  transition: opacity 0.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  [data-tilt]:hover {
    box-shadow: 0 26px 50px -30px #00000066;
  }
  [data-tilt]:hover::after {
    opacity: 1;
  }
}
.discipline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.discipline-row:nth-child(even) .placeholder {
  order: 2;
}
.discipline-row .placeholder {
  aspect-ratio: 4/3;
}
.discipline-row h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.discipline-row .lead {
  font-size: 20px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}
.filter {
  min-height: 44px;
  padding: 10px 19px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.filter[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 36px;
}
.toolbar .field {
  margin: 0;
}
.toolbar p {
  font-size: 14px;
  color: var(--text-gray);
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.day {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.day h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.class-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}
.class-row time {
  font-size: 14px;
  font-weight: 600;
  color: var(--copper-dark);
}
.class-row h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.class-row p {
  margin-top: 7px;
}
.class-row button {
  margin-top: 10px;
  min-height: 44px;
}
.product .placeholder {
  aspect-ratio: 1;
  min-height: 260px;
}
.product .placeholder strong {
  font-size: 26px;
}
.product-info {
  padding: 20px 2px;
}
.product-info h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.product-info p {
  margin-top: 6px;
  font-size: 14px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}
.product-bottom strong {
  font-size: 18px;
}
.product-detail .placeholder {
  min-height: 230px;
  margin-bottom: 26px;
}
.product-detail h2 {
  padding-right: 10px;
}
.challenge {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.challenge h2 {
  font-size: 28px;
}
.challenge p {
  margin: 14px 0;
  color: var(--text-gray);
  font-size: 15px;
}
.challenge .pill {
  margin-top: 24px;
}
.progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: #dedee3;
  accent-color: var(--ink);
}
.progress::-webkit-progress-bar {
  background: #dedee3;
}
.progress::-webkit-progress-value {
  background: var(--ink);
}
.progress::-moz-progress-bar {
  background: var(--ink);
}
.ranking {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.ranking caption {
  text-align: left;
  color: var(--text-gray);
  font-size: 13px;
  padding: 8px 0 18px;
}
.ranking th {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 600;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.ranking td {
  font-size: 15px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.ranking a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ranking th:last-child,
.ranking td:last-child {
  text-align: right;
}
.feed {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.feed li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.feed small {
  display: block;
  color: var(--text-gray);
  margin-top: 6px;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.badge {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 99px;
  font-size: 13px;
}
.profile-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--stone);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 26px;
}
.empty {
  padding: 40px 0;
}
.empty h3 {
  font-size: 24px;
}
.empty p {
  color: var(--text-gray);
  margin-top: 12px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.metric {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.metric h2 {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
  letter-spacing: 0;
}
.metric strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
  margin-top: 20px;
  font-weight: 600;
}
.metric small {
  color: var(--text-gray);
  font-size: 12px;
}
.bar-chart {
  margin-top: 30px;
  display: grid;
  gap: 22px;
}
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 42px;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}
.bar-track {
  height: 10px;
  background: #e4e4e9;
  border-radius: 10px;
  overflow: hidden;
}
.bar-value {
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  border-radius: 10px;
}
.bar-row:first-child .bar-value {
  background: var(--copper-dark);
}
.legal {
  max-width: 820px;
  padding-top: 0;
}
.legal section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.legal h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.legal p + p {
  margin-top: 18px;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal code {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.legal .actions {
  margin-bottom: 20px;
}
.thanks {
  min-height: 80svh;
  padding-block: 150px 80px;
  text-align: center;
}
.thanks .logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 30px;
}
.thanks .lead {
  max-width: 600px;
  margin-inline: auto;
}
.thanks .actions {
  justify-content: center;
}
.thanks .notice {
  text-align: left;
  max-width: 660px;
  margin: 30px auto;
}
/* Forms and accessible native dialogs. */
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
  min-width: 0;
}
.field label,
.field-label {
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #93939a;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  min-height: 48px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field [aria-invalid="true"],
input[aria-invalid="true"] {
  border-color: #b42318;
  outline: 2px solid #b42318;
  outline-offset: 2px;
}
.field-error {
  font-size: 13px;
  color: #a52116;
  line-height: 1.4;
}
.field-error:empty {
  display: none;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  line-height: 1.5;
}
.check input {
  appearance: auto;
  accent-color: var(--ink);
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 1px 0 0;
}
.check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.check small {
  display: block;
  color: var(--text-gray);
  font-size: 13px;
  margin-top: 4px;
}
fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.form-message {
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.form-message:not(:empty) {
  padding: 14px 16px;
  background: var(--gray);
  border-left: 2px solid var(--copper);
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.auth-tabs button {
  min-height: 48px;
  padding: 10px 24px;
  border-bottom: 2px solid transparent;
  color: var(--text-gray);
}
.auth-tabs button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.form-card {
  max-width: 620px;
}
.danger {
  color: #a52116;
}
.method {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
}
.method:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.method input {
  accent-color: var(--ink);
  width: 19px;
  height: 19px;
  flex: none;
  margin: 3px 0 0;
}
.method small {
  display: block;
  margin-top: 4px;
  color: var(--text-gray);
  font-size: 12px;
}
dialog {
  border: 0;
  border-radius: 26px;
  padding: 38px;
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  max-height: 90svh;
  overflow: auto;
  color: var(--ink);
  background: white;
  margin: auto;
  box-shadow: 0 30px 100px #00000033;
}
dialog::backdrop {
  background: #0007;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog[open] {
  animation: dialog-in 0.35s var(--enter);
}
dialog h2 {
  font-size: 32px;
  padding-right: 34px;
  margin-bottom: 14px;
}
dialog > p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
}
dialog > .eyebrow {
  color: var(--copper-dark);
  font-size: 11px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.drawer {
  height: 100svh;
  max-height: 100svh;
  border-radius: 26px 0 0 26px;
  margin: 0 0 0 auto;
  max-width: 100vw;
  padding-top: 55px;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-swatch {
  background: var(--ph);
  border-radius: 12px;
  min-height: 80px;
}
.cart-line h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.cart-line p {
  font-size: 13px;
  margin-top: 7px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.quantity .text-link {
  margin-left: auto;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  font-size: 16px;
}
.total + p {
  margin-bottom: 16px;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 60;
  max-width: 1160px;
  margin-inline: auto;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 45px #0002;
  display: flex;
  align-items: center;
  gap: 30px;
}
.cookie-banner h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 13px;
  color: var(--text-gray);
  max-width: 530px;
}
.cookie-banner p a {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.cookie-actions .pill {
  font-size: 12px;
  padding: 12px 17px;
  min-height: 44px;
  white-space: nowrap;
}
.consent-row {
  border-top: 1px solid var(--line);
  padding-block: 18px;
}
.consent-row b {
  font-weight: 600;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: var(--ink);
  color: white;
  padding: 14px 24px;
  border-radius: 99px;
  font-size: 14px;
  max-width: calc(100vw - 40px);
  width: max-content;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  box-shadow: 0 4px 25px #0002;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.foot {
  padding: 64px 0 32px;
  background: var(--gray);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-top p {
  font-size: 14px;
  color: var(--text-gray);
}
.footer-top a:not(.brand) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  color: var(--text-gray);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-bottom nav a,
.footer-bottom nav button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 12px;
}
.foot .fine {
  font-size: 11px;
}
.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--enter) var(--delay, 0ms),
    transform 1s var(--enter) var(--delay, 0ms);
}
.will-reveal.is-in {
  opacity: 1;
  transform: none;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cart-pulse {
  50% {
    transform: scale(1.14);
  }
}
.pulse {
  animation: cart-pulse 0.4s var(--enter);
}
@media (max-width: 1100px) {
  .brand-name {
    display: none;
  }
  .nav-inner {
    gap: 18px;
  }
  .nav-links {
    gap: 20px;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner p {
    max-width: none;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .pill {
    flex: 1 1 auto;
    padding-inline: 12px;
  }
  .location {
    gap: 40px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  :root {
    --nav-h: 68px;
  }
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: inline-grid;
  }
  .brand-name {
    display: block;
  }
  .hero {
    padding-bottom: 215px;
    min-height: 780px;
    min-height: 100svh;
  }
  .hero-scroll {
    display: none;
  }
  .head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-2,
  .split,
  .offer-grid,
  .location {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento .placeholder:first-child {
    grid-row: auto;
    grid-column: span 2;
    min-height: 340px;
  }
  .discipline-row {
    gap: 30px;
  }
  .challenge {
    padding: 26px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top .brand {
    grid-column: span 2;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-intro {
    padding-top: calc(var(--nav-h) + 48px);
  }
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 20px;
  }
  .bar-row {
    grid-template-columns: 95px 1fr 40px;
    gap: 10px;
  }
}
@media (max-width: 560px) {
  .hero h1 {
    max-width: 400px;
    margin: auto;
  }
  .hero .lead {
    font-size: 20px;
    max-width: 300px;
  }
  .hero .actions {
    flex-direction: column;
  }
  .hero .pill {
    width: 100%;
    max-width: 300px;
  }
  .hero-guide {
    bottom: 26px;
    right: 20px;
    left: 20px;
    max-width: 330px;
  }
  .hero .eyebrow {
    font-size: 11px;
  }
  .hero-guide span {
    font-size: 10px;
  }
  .plans,
  .grid-3,
  .schedule-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .plan {
    min-height: 350px;
    padding: 30px;
  }
  .plan-price {
    font-size: 50px;
  }
  .discipline-row {
    grid-template-columns: 1fr;
    padding-block: 36px;
  }
  .discipline-row:nth-child(even) .placeholder {
    order: 0;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .placeholder:first-child {
    grid-column: auto;
  }
  .bento .placeholder {
    min-height: 300px;
  }
  .offer {
    min-height: 390px;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .toolbar .field {
    width: 100%;
  }
  .cookie-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cookie-actions .pill {
    padding: 12px 10px;
    font-size: 11px;
    flex: 1 1 29%;
  }
  .cookie-banner p {
    font-size: 12px;
  }
  .cookie-banner h2 {
    font-size: 18px;
  }
  .cookie-banner {
    max-height: 75svh;
    overflow: auto;
  }
  .cookie-banner h2 {
    margin-bottom: 6px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-top {
    gap: 20px;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-account {
    padding-inline: 14px;
  }
  .page-intro {
    padding-bottom: 36px;
  }
  .page-intro h1 {
    font-size: 52px;
  }
  .panel {
    padding: 24px;
  }
  .metric-grid {
    gap: 16px;
  }
  .metric strong {
    font-size: 32px;
  }
  .ranking th,
  .ranking td {
    padding-inline: 4px;
  }
  .ranking th:nth-child(3),
  .ranking td:nth-child(3) {
    display: none;
  }
  .details-row {
    flex-direction: column;
    gap: 4px;
  }
  .details-row strong {
    text-align: left;
  }
  .drawer {
    border-radius: 0;
    width: 100%;
  }
  dialog {
    padding: 32px 24px;
  }
  dialog h2 {
    font-size: 28px;
  }
  .product .placeholder {
    min-height: 290px;
  }
  .toast {
    border-radius: 16px;
    text-align: center;
  }
  .total {
    font-size: 15px;
  }
  .section {
    padding-block: 64px;
  }
}
/* ========== ACCESO: socios y personal ========== */
body:is([data-page="comunidad"], [data-page="perfil"], [data-page="recibo"], [data-page="panel"]):not(.access-ok)
  main
  > :not(.gate):not([data-publico]) {
  display: none !important;
}
.gate {
  background: #000;
  color: #fff;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.gate::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #b4653a55, transparent 62%);
  pointer-events: none;
}
.gate .wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: gate-in 0.9s var(--enter) both;
}
.gate .eyebrow {
  color: #e3a374;
}
.gate .lead {
  color: #b9b9bf;
  max-width: 40ch;
}
.gate .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}
.gate .text-link {
  color: #fff;
}
.gate-preview {
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: #8a8a90 !important;
  cursor: pointer;
}
.gate-ico,
.lock-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff12;
  border: 1px solid #ffffff22;
}
.gate-ico svg,
.lock-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
}
.lock-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--gray);
  margin: 24px 0;
}
.lock-card .lock-ico {
  width: 48px;
  height: 48px;
  background: #fff;
  border-color: var(--line);
}
.lock-card b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.lock-card span:not(.lock-ico) {
  font-size: 13px;
  color: var(--text-gray);
}
@media (max-width: 560px) {
  .lock-card {
    grid-template-columns: auto 1fr;
  }
  .lock-card .pill {
    grid-column: 1 / -1;
  }
}

/* ========== IMÁGENES DEMO sobre los marcadores ========== */
.placeholder.con-foto {
  background-color: #1d1d1f;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.placeholder.con-foto > .ph-label,
.placeholder.con-foto > small,
.placeholder.con-foto > strong {
  display: none;
}
.placeholder.con-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #00000040, transparent 30%, transparent 55%, #000000b3);
  pointer-events: none;
}
.placeholder.con-foto > * {
  position: relative;
  z-index: 1;
}
.placeholder.con-foto .text-link {
  color: #fff;
}
.foto-demo {
  position: absolute !important;
  top: 16px;
  left: 16px;
  z-index: 2 !important;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #00000059;
  border: 1px solid #ffffff38;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none !important;
  }
  .pill,
  .pill:hover,
  .pill:active,
  .pill:focus-visible,
  .round,
  .plan,
  .plan:hover,
  .hero-content,
  [data-tilt] {
    transform: none !important;
  }
  .hero-content {
    opacity: 1 !important;
  }
  .manifest-text .word {
    color: var(--ink);
  }
  .toast {
    transform: translate(-50%, 0);
  }
}

/* ========== PORTADA CON VIDEO (intro de la mancuerna) ==========
   El video arranca y, desde el primer segundo, la página cae suavemente encima:
   nadie espera. Al terminar comienza el reel del Centro de medios.
   Las animaciones usan fill-mode «backwards» para no pelear con el parallax de app.js. */
.hero-video {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  background: #101214;
  padding-bottom: clamp(96px, 14vh, 150px);
}
.hero-video::before {
  display: none;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  animation: hero-dolly 14s cubic-bezier(0.22, 0.8, 0.16, 1) both;
}
@keyframes hero-dolly {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
/* Sombra suave abajo y a la izquierda para que el texto se lea sobre el fondo claro */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #0000004d 0%, transparent 22%, transparent 42%, #0d0c0bb8 82%, #0d0c0be6 100%),
    radial-gradient(70% 60% at 0% 100%, #0d0c0b99, transparent 70%);
}
/* Fundido de entrada desde negro */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  animation: hero-fundido 1.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes hero-fundido {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.hero-video .hero-content {
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-video h1 {
  font-size: clamp(54px, 10vw, 136px);
}
.hero-video .lead {
  margin: 20px 0 0;
}
.hero-video .actions {
  justify-content: flex-start;
}
.hero-video .hero-scroll {
  z-index: 2;
}
/* Todo cae suavemente mientras el video corre */
.hero-video .hero-content > * {
  animation: hero-cae 1.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-video .hero-content > :nth-child(1) {
  animation-delay: 0.55s;
}
.hero-video .hero-content > :nth-child(2) {
  animation-delay: 0.7s;
}
.hero-video .hero-content > :nth-child(3) {
  animation-delay: 0.9s;
}
.hero-video .hero-content > :nth-child(4) {
  animation-delay: 1.1s;
}
.hero-video .hero-scroll,
.hero-ctrl {
  animation: hero-aparece 1.2s ease backwards 1.6s;
}
@keyframes hero-cae {
  from {
    opacity: 0;
    transform: translateY(-26px);
    filter: blur(10px);
  }
}
@keyframes hero-aparece {
  from {
    opacity: 0;
  }
}
/* El menú baja desde arriba al mismo tiempo */
body[data-page="index"] .nav {
  animation: nav-cae 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards 0.25s;
}
@keyframes nav-cae {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
}
/* Control del video: pausar, reanudar o ver de nuevo (obligatorio para movimiento de más de 5 s) */
.hero-ctrl {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ffffff40;
  background: #ffffff1a;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-ctrl:hover {
  background: #ffffff33;
}
.hero-ctrl svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  grid-area: 1 / 1;
  display: none;
}
.hero-ctrl .i-play {
  fill: currentColor;
  stroke: none;
}
.hero-ctrl[data-estado="corre"] .i-pausa,
.hero-ctrl[data-estado="pausa"] .i-play,
.hero-ctrl[data-estado="fin"] .i-otra {
  display: block;
}
@media (max-width: 760px) {
  .hero-video {
    padding-bottom: 120px;
  }
  .hero-media video {
    object-position: 50% 38%;
  }
  .hero-video .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctrl {
    bottom: 36px;
    right: auto;
    left: var(--gutter);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video,
  .hero-video::after,
  .hero-video .hero-content > *,
  .hero-video .hero-scroll,
  body[data-page="index"] .nav {
    animation: none !important;
  }
}
/* Páginas oscuras (preventa, colaboraciones): el pie conserva su tinta y los avisos de formulario van en oscuro */
body:is(.pvc, .colab) .foot {
  color: var(--ink);
}
body:is(.pvc, .colab) .form-message:not(:empty) {
  background: #ff9a8f14;
  border-left-color: #ff9a8f;
}

/* Planes regulares: precio por anunciar */
.plan-oculto .pv-borroso {
  filter: blur(9px);
  user-select: none;
  -webkit-user-select: none;
}
.plan-sello {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid currentColor;
  opacity: 0.75;
}
.plan-sello svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* ---------- Revisión global (oct 2026) ---------- */
/* Las medidas y nombres de archivo siguen en el DOM para fotos.js, pero el público no las ve. */
.placeholder small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.placeholder .ph-label { opacity: 0.55; }
/* En fondo gris, los planes no destacados necesitan su propia tarjeta para que el trío se lea parejo. */
.section-gray .plan:not(.plan-hot) { background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d; }
/* Horarios: el check-in es una acción secundaria, discreta y del mismo tamaño en cada fila. */
.class-row button { min-height: 36px; padding-inline: 16px; font-size: 13px; }
.class-row button:disabled { opacity: 0.55; }
/* Cuenta: el alta vive en registro.html; el formulario viejo queda solo como respaldo en el código. */
#signup-form { display: none !important; }
.reg-callout { margin-bottom: 4px; }
.placeholder .ph-label { opacity: 0.75; }
/* Fotos reales/demo: más sombra abajo para que título y enlace se lean sobre cualquier imagen. */
.placeholder.con-foto::after {
  background: linear-gradient(180deg, #00000052 0%, transparent 26%, transparent 38%, #000000a6 70%, #000000e0 100%);
}
.placeholder.con-foto h3,
.placeholder.con-foto .text-link {
  text-shadow: 0 1px 14px #00000080;
}

/* ---------- Mapa (Visítanos) ---------- */
.mapa {
  border-radius: 26px;
  overflow: hidden;
  background: #11100f;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.mapa-portada,
.mapa-frame {
  flex: 1;
  min-height: 320px;
}
.mapa-frame {
  border: 0;
  width: 100%;
  display: block;
}
.mapa-portada {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 32px 20px;
  color: #fff;
  background:
    radial-gradient(60% 60% at 50% 45%, #c9855233, transparent 70%),
    repeating-linear-gradient(28deg, #ffffff0a 0 1px, transparent 1px 46px),
    repeating-linear-gradient(118deg, #ffffff0d 0 2px, transparent 2px 74px),
    linear-gradient(160deg, #24211e, #11100f);
}
.mapa-pin {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3a374;
  box-shadow: 0 0 0 10px #e3a37426, 0 0 0 22px #e3a37412;
}
.mapa-pin svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #11100f;
  stroke-width: 1.8;
}
.mapa-dir {
  font-size: 15px;
  color: #d6d4d0;
  line-height: 1.45;
}
.mapa-dir b {
  display: block;
  color: #fff;
  font-size: 19px;
}
.mapa-nota {
  font-size: 12px;
  color: #a9a7a3;
}
.mapa-ir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ffffff1a;
}
.mapa-ir a {
  padding: 15px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.mapa-ir a + a {
  border-left: 1px solid #ffffff1a;
}
.mapa-ir a:hover {
  background: #ffffff0f;
}

/* ---------- Firma My Genie (pie de todas las páginas) ----------
   Regla de marca: logo blanco sobre oscuro, nunca dentro de placa ni recuadro. */
.firma-mg {
  margin-top: 40px;
  background: #0b0a09;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.firma-mg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 120% at 15% 0%, #c9855226, transparent 70%);
  pointer-events: none;
}
.firma-in {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 40px;
  padding-block: 34px;
}
.firma-logo {
  display: block;
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.3s;
}
.firma-logo span {
  display: block;
  width: clamp(170px, 17vw, 240px);
  aspect-ratio: 720 / 122;
  background: currentColor;
  -webkit-mask: url("../assets/logo-mygenie.png") center / contain no-repeat;
  mask: url("../assets/logo-mygenie.png") center / contain no-repeat;
}
.firma-logo:hover {
  opacity: 1;
}
.firma-txt {
  font-size: 13px;
  line-height: 1.55;
  color: #a9a7a3;
  letter-spacing: 0.01em;
  padding-left: 40px;
  border-left: 1px solid #ffffff1f;
}
.firma-txt b {
  color: #fff;
  font-weight: 600;
}
.firma-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 99px;
  border: 1px solid #ffffff38;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.firma-web svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.firma-web:hover {
  background: #ffffff14;
  border-color: #ffffff66;
}
@media (max-width: 760px) {
  .firma-in {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 32px 36px;
  }
  .firma-txt {
    padding-left: 0;
    border-left: 0;
  }
}
.foot { padding-bottom: 0; }

/* ---------- ¿Cuánto hago? ---------- */
.trayecto {
  margin-top: 26px;
}
.trayecto-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
}
.trayecto-btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.trayecto-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}
.trayecto-btn b {
  display: block;
  font-size: 15px;
}
.trayecto-btn small {
  display: block;
  font-size: 12.5px;
  color: var(--text-gray);
  margin-top: 2px;
}
.trayecto-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #11100f;
}
.trayecto-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #e3a374;
  stroke-width: 1.7;
}
.trayecto-res {
  max-width: 460px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d;
  animation: eq-aparece 0.4s var(--enter) both;
}
@keyframes eq-aparece {
  from { opacity: 0; transform: translateY(6px); }
}
.trayecto-dist {
  font-size: 15px;
}
.trayecto-modos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  margin: 14px 0 10px;
}
.trayecto-modos div {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--gray);
}
.trayecto-modos small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 600;
}
.trayecto-modos b {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.trayecto-nota {
  font-size: 13px;
  color: var(--text-gray);
}
.trayecto-ir {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
}
.trayecto-ir a {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 99px;
  background: #11100f;
  color: #fff;
  text-decoration: none;
}
.trayecto-ok {
  font-size: 13px;
  min-height: 0;
}

/* ---------- Equipo de alto rendimiento (Life Fitness / Hammer Strength) ---------- */
.lf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: #0b0a09;
  color: #fff;
  min-height: min(92vh, 860px);
}
.lf-foto {
  background-size: cover;
  background-position: center 40%;
  min-height: 420px;
}
.lf-in {
  padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lf h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 12px 0 18px;
  max-width: 14ch;
}
.lf .lead {
  color: #c9c7c3;
  max-width: 42ch;
}
.lf-cifras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 26px;
  padding: 22px 0;
  border-block: 1px solid #ffffff1f;
}
.lf-cifras dt {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}
.lf-cifras dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #a9a7a3;
}
.lf-casos {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: #c9c7c3;
}
.lf-casos b {
  color: #e3a374;
  font-weight: 600;
}
.lf-marcas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.lf-k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d8d94;
}
/* Mientras llegan los archivos oficiales, el nombre va en texto sobrio (no se imita el logotipo). */
.lf-marca {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.lf-marca.con-logo {
  font-size: 0;
  width: 150px;
  height: 34px;
  background: currentColor;
  -webkit-mask: var(--logo) left center / contain no-repeat;
  mask: var(--logo) left center / contain no-repeat;
}
@media (max-width: 860px) {
  .lf {
    grid-template-columns: 1fr;
  }
  .lf-foto {
    min-height: 62vh;
  }
  .lf-cifras {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
}

/* ===================== Experiencia: avisos en vivo, WhatsApp y recorrido ===================== */
.wa-flotante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 99px;
  background: #1f9d55;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px #0b3d22aa, 0 0 0 1px #ffffff1f inset;
  transition: transform 0.3s var(--enter), box-shadow 0.3s;
}
.wa-flotante svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.wa-flotante:hover {
  transform: translateY(-2px);
}
@media (max-width: 560px) {
  .wa-flotante {
    width: 52px;
    padding: 0;
    justify-content: center;
  }
  .wa-flotante span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
.avisos {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 79;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 100px));
  pointer-events: none;
}
.aviso {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 12px 14px 14px;
  border-radius: 18px;
  background: #11100fef;
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px #000c, 0 0 0 1px #ffffff17 inset;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.4s var(--enter), transform 0.4s var(--enter);
}
.aviso.on {
  opacity: 1;
  transform: none;
}
.aviso-ic {
  width: 10px;
  height: 10px;
  margin: 5px 2px 0;
  border-radius: 50%;
  background: #e3a374;
  box-shadow: 0 0 0 0 #e3a37499;
  animation: aviso-pulso 1.8s infinite;
}
.aviso-ic.ok {
  background: #4cc38a;
  animation: none;
}
.aviso-ic.lugar {
  background: #e3a374;
}
@keyframes aviso-pulso {
  70% { box-shadow: 0 0 0 9px #e3a37400; }
  100% { box-shadow: 0 0 0 0 #e3a37400; }
}
.aviso-tx {
  display: grid;
  gap: 3px;
  font-size: 13px;
  line-height: 1.4;
}
.aviso-tx b {
  font-size: 14px;
  font-weight: 600;
}
.aviso-tx span {
  color: #c9c7c3;
}
.aviso-tx a {
  justify-self: start;
  margin-top: 6px;
  color: #e3a374;
  font-weight: 600;
  text-decoration: none;
}
.aviso-x {
  border: 0;
  background: none;
  color: #8d8d94;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
@media (prefers-reduced-motion: reduce) {
  .aviso, .wa-flotante { transition: none; }
  .aviso-ic { animation: none; }
}
/* Recorrido guiado */
.tour {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.tour-hueco {
  position: fixed;
  border-radius: 22px;
  box-shadow: 0 0 0 200vmax #000000b8;
  transition: all 0.5s var(--enter);
  pointer-events: none;
  outline: 2px solid #e3a374;
  outline-offset: 2px;
}
.tour-card {
  position: fixed;
  left: 50%;
  translate: -50% 0;
  width: min(440px, calc(100vw - 32px));
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px -20px #000c;
  transition: top 0.5s var(--enter), bottom 0.5s var(--enter);
}
.tour-k {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-dark);
  font-weight: 600;
}
.tour-card h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.tour-card p:not(.tour-k) {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-gray);
}
.tour-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.tour-acc span {
  display: flex;
  gap: 8px;
}
.tour-salir {
  border: 0;
  background: none;
  color: var(--text-gray);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.nav-account.con-sesion {
  background: #e3a374;
  color: #11100f;
}
.nav-tour {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 99px;
  opacity: 0.85;
}
.nav-tour:hover {
  opacity: 1;
  background: #ffffff1a;
}
@media (max-width: 980px) {
  .nav-tour { display: none; }
}

/* Reel aéreo después de la mancuerna: fundido cruzado lento y suave. */
.hero-media .hero-reel {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transform: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  animation: none;
  transition: opacity 2.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-media .hero-reel.on {
  opacity: 1;
}
.hero-media #hero-video {
  transition: opacity 2.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-media #hero-video.fuera {
  opacity: 0;
}

/* ===================== Portada v3 ===================== */
.hola-socio {
  background: #e3a374;
  color: #11100f;
}
.hola-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding-block: 34px;
}
.hola-in h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  margin: 6px 0 6px;
}
.hola-in .eyebrow,
.hola-in .lead {
  color: #2b2520;
}
.hola-in .pill.primary {
  background: #11100f;
  color: #fff;
}
.hola-in .pill-ghost {
  color: #11100f;
  border-color: #11100f55;
}
/* Smart Building */
.smart {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: #f5f3ef;
}
.smart-foto {
  background-size: cover;
  background-position: center 30%;
  min-height: 520px;
}
.smart-in {
  padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.smart h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
  max-width: 15ch;
}
.smart .lead {
  max-width: 46ch;
}
.smart-lista {
  list-style: none;
  padding: 0;
  margin: 28px 0 22px;
  display: grid;
  gap: 14px;
}
.smart-lista li {
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
  color: var(--text-gray);
}
.smart-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #c98552;
}
.smart-lista b {
  color: var(--ink);
}
.smart-mas {
  font-weight: 600;
  color: var(--copper-dark);
}
/* Membresías */
.mb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mb {
  background: #fff;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d;
}
.mb-top {
  background: #11100f;
  color: #fff;
}
.mb-k {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--copper-dark);
}
.mb-top .mb-k {
  color: #e3a374;
}
.mb-p {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 10px 0 6px;
}
.mb-p small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-gray);
}
.mb-top .mb-p small,
.mb-top .mb-i {
  color: #c9c7c3;
}
.mb-i {
  font-size: 14px;
  color: var(--text-gray);
}
.mb-extra {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 14px;
  margin: 14px 0 26px;
}
.mb-extra > div {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  font-size: 15px;
}
.mb-extra span {
  color: var(--text-gray);
}
/* Galería de fotos reales */
.galeria {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 14px;
}
.galeria figure {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #1d1d1f;
}
.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--enter);
}
.galeria figure:hover img {
  transform: scale(1.04);
}
.galeria figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #11100fb3;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.g-a { grid-row: 1 / 3; }
.g-a img { object-position: 30% 60%; }
.g-b img { object-position: 50% 45%; }
.g-c img { object-position: 50% 40%; }
.g-d { grid-column: 2 / 4; }
.g-d img { object-position: 20% 55%; }
/* Clases */
.cl-lista {
  list-style: none;
  padding: 0;
  margin: 8px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cl-lista li {
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid #ffffff2e;
  color: #e8e6e2;
  font-size: 14px;
}
@media (max-width: 980px) {
  .smart { grid-template-columns: 1fr; }
  .smart-foto { min-height: 56vh; }
  .mb-grid { grid-template-columns: 1fr 1fr; }
  .mb-extra { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .galeria {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 220px 220px;
  }
  .g-a { grid-column: 1 / 3; grid-row: auto; }
  .g-d { grid-column: 1 / 3; }
}
@media (max-width: 460px) {
  .mb-grid { grid-template-columns: 1fr; }
}

/* ===================== Mi cuenta ===================== */
.mc-entrar-in {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  gap: 40px;
  align-items: center;
  padding-top: calc(var(--nav-h, 64px) + 20px);
}
.mc-entrar h1,
.mc h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 10px 0 12px;
}
.mc-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d;
}
.mc-card h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.mc-alt {
  margin-top: 16px;
}
.mc {
  padding-top: calc(var(--nav-h, 64px) + 24px);
}
.mc-cab {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}
.mc-foto img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray);
  box-shadow: 0 0 0 4px #e3a37455;
}
.mc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mc-membresia {
  background: #11100f;
  color: #fff;
}
.mc-membresia .fine {
  color: #a9a7a3;
}
.mc-membresia .pill-dark {
  background: #e3a374;
  color: #11100f;
  margin-top: 14px;
}
.mc-estado {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mc-pago + .mc-pago {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ffffff1f;
}
.mc-pago.pagado b {
  color: #4cc38a;
}
.mc-pago.apartado b,
.mc-pago.pendiente b {
  color: #e3a374;
}
.mc-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.mc-subir {
  margin-top: 14px;
  cursor: pointer;
}
.mc-rfc {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mc-rfc-acc {
  display: flex;
  gap: 12px;
  align-items: start;
  flex: none;
}
.mc-pred {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: #c9855221;
  color: var(--copper-dark);
}
.mc-agregar {
  margin-top: 14px;
}
.mc-agregar summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.mc-borrar {
  background: #fff;
  color: #a52116;
  border: 1px solid #a5211655;
}
@media (max-width: 860px) {
  .mc-entrar-in,
  .mc-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .mc-2 {
    grid-template-columns: 1fr;
  }
}
.hr-tabla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 22px;
  max-width: 760px;
}
.hr-tabla div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--gray);
}
.hr-tabla b {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-gray);
}
.hr-tabla span {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (max-width: 620px) {
  .hr-tabla { grid-template-columns: 1fr; }
}
.tabla-mb {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px #0000004d;
}
.tm-fila {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.tm-fila b {
  font-weight: 600;
}
.tm-fila small {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 2px;
}
.tm-cab {
  background: #11100f;
  color: #e3a374;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tm-top {
  background: #fbf3ec;
}
.tm-sub {
  font-size: 15px;
  color: var(--text-gray);
}
@media (max-width: 560px) {
  .tm-fila {
    grid-template-columns: 1.2fr 1fr 0.8fr;
    padding: 14px 16px;
    font-size: 15px;
  }
}
/* Galería v2: cada foto en un recuadro de su misma orientación */
.galeria {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 340px 300px;
}
.g-a { grid-row: 1 / 3; grid-column: 1; }
.g-b { grid-row: 1; grid-column: 2; }
.g-c { grid-row: 1; grid-column: 3; }
.g-d { grid-row: 2; grid-column: 2 / 4; }
.g-a img { object-position: 50% 55%; }
.g-b img { object-position: 50% 45%; }
.g-c img { object-position: 50% 50%; }
.g-d img { object-position: 50% 62%; }
@media (max-width: 680px) {
  .galeria {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 240px 220px;
  }
  .g-a { grid-column: 1 / 3; grid-row: 1; }
  .g-b { grid-column: 1; grid-row: 2; }
  .g-c { grid-column: 2; grid-row: 2; }
  .g-d { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 680px) {
  .avisos {
    top: calc(var(--nav-h, 64px) + 10px);
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .aviso { transform: translateY(-14px) scale(0.98); }
  .aviso.on { transform: none; }
}
.mc-ok { color: #1f9d55; }
.mc-o { margin: 14px 0 8px; }
/* Locker rentado dentro de la tarjeta de membresía */
.mc-locker { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #ffffff1f; --lk: #4cc777; }
.mc-locker.por-vencer { --lk: #ffc53d; }
.mc-locker.vencido { --lk: #ff6b5b; }
.mc-locker.apartado { --lk: #a996ff; }
.mc-locker .mc-estado small { font-size: 13px; font-weight: 500; color: #a9a7a3; margin-left: 6px; }
.mc-locker-anillo { position: relative; flex: none; width: 84px; height: 84px; }
.mc-locker-anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-locker-anillo circle { fill: none; stroke-width: 7; }
.mc-locker-anillo .pista { stroke: #ffffff1a; }
.mc-locker-anillo .avance { stroke: var(--lk); stroke-linecap: round; filter: drop-shadow(0 0 6px var(--lk)); transition: stroke-dasharray 0.9s ease; }
.mc-locker-anillo div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mc-locker-anillo b { font-size: 26px; font-weight: 300; line-height: 1; color: var(--lk); font-variant-numeric: tabular-nums; }
.mc-locker-anillo span { font-size: 11px; color: #a9a7a3; }
/* Pase VIP en Mi cuenta */
.mc-vip { margin-bottom: 16px; }
.mc-vip .fine { margin-top: 8px; }
.mc-vip-pase { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 24px; color: #f7ecd0;
  background: radial-gradient(120% 160% at 0% 0%, #3d2f13, #0e0c09 62%); box-shadow: inset 0 0 0 1px #e8c46e59, 0 24px 50px -28px #000; }
.mc-vip-pase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, #ffe6a02e 48%, transparent 60%); transform: translateX(-60%); animation: mc-brillo 5s ease-in-out infinite; pointer-events: none; }
@keyframes mc-brillo { 60%, 100% { transform: translateX(60%); } }
.mc-vip-pase img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #0e0c09, 0 0 0 4px #c9962d; }
.mc-vip-pase div { display: flex; flex-direction: column; gap: 3px; }
.mc-vip-k { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; background: linear-gradient(90deg, #f6dc8f, #c9962d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-vip-pase b { font-size: 26px; font-weight: 400; color: #fff; letter-spacing: -0.01em; }
.mc-vip-pase span:last-child { font-size: 13px; color: #cdbf9c; }
@media (prefers-reduced-motion: reduce) { .mc-vip-pase::after { animation: none; } }
