:root {
  --red: #6b3a4d;
  --red-dark: #5a2d3e;
  --red-deep: #4a2434;
  --wine: #5a2d3e;
  --rose: #8e5866;
  --blush: #efe6ea;
  --ink: #2f1c26;
  --ink-soft: #4a3340;
  --muted: #6e5560;
  --muted-2: #8a6e78;
  --line: #e0d2d6;
  --bg: #f7f1ef;
  --bg-soft: #f7f1ef;
  --bg-muted: #efe6ea;
  --tan: #ebe0dc;
  --tan-soft: #f7f1ef;
  --cream: #f7f1ef;
  --mauve: #6b3a4d;
  --header-bg: #5a2d3e;
  --radius-btn: 10px;
  --radius-img: 36px;
  --radius-card: 20px;
  --container: 1320px;
  --font: "Montserrat", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
section[id] {
  scroll-margin-top: 100px;
}
#planes {
  scroll-margin-top: 140px;
}
@media (min-width: 1025px) {
  #planes {
    /* En PC el scroll lo centra JS para mostrar bordes blanco arriba y abajo */
    scroll-margin-top: 0;
  }
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul { list-style: none; }

/* Cursiva solo en títulos */
.hero__title-script,
.section__title,
.section-rule__text h2,
.planes__title,
.ubicacion__title,
.nosotros__title {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.header.scrolled {
  border-bottom-color: rgba(88, 34, 58, .18);
  box-shadow: 0 4px 22px rgba(88, 34, 58, .16);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 92px;
  flex-wrap: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(251, 242, 233, .55);
  background: var(--cream);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo__name {
  font-size: 22px;
  font-weight: 700;
  color: #fbf2e9;
  letter-spacing: -.01em;
}
.logo__studio {
  font-size: 12px;
  font-weight: 600;
  color: rgba(251, 242, 233, .82);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(251, 242, 233, .92);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav a:hover {
  background: rgba(251, 242, 233, .14);
  color: #fff;
}
.nav a.active {
  background: #fbf2e9;
  color: var(--wine);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  padding: 12px 20px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.btn--primary:hover { background: #451a2e; border-color: #451a2e; }
.btn--outline {
  background: #fff;
  color: var(--wine);
  border-color: var(--wine);
}
.btn--outline:hover { background: var(--blush); }
.btn--header {
  padding: 10px 14px;
  font-size: 12px;
  border-radius: 8px;
  flex-shrink: 0;
}
.btn__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn--primary .btn__icon {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}
.btn--outline .btn__icon {
  background: var(--wine);
  color: #fff;
}
.btn__icon svg { width: 12px; height: 12px; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.notif-bell {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(251, 242, 233, .45);
  background: rgba(88, 34, 58, .22);
  color: #fbf2e9;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: .2s;
  flex-shrink: 0;
}
.notif-bell[hidden] { display: none !important; }
.notif-bell:not([hidden]) {
  display: inline-flex !important;
}
.notif-bell:hover,
.notif-bell.has-unread {
  background: rgba(88, 34, 58, .4);
  border-color: rgba(251, 242, 233, .7);
}
.notif-bell__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.notif-bell__badge[hidden] { display: none !important; }
.btn-session {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(251, 242, 233, .5);
  background: rgba(88, 34, 58, .22);
  color: #fbf2e9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s;
}
.btn-session[hidden] {
  display: none !important;
}
.btn-session:hover,
.btn-session.logged-in {
  background: var(--wine);
  border-color: var(--wine);
}
.nav-admin {
  color: #fff !important;
  background: rgba(88, 34, 58, .35);
  border-radius: 8px;
  padding: 6px 10px !important;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(251, 242, 233, .45);
  border-radius: 8px;
  background: rgba(88, 34, 58, .2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fbf2e9;
  transition: .2s;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(92vh, 900px);
  padding: 72px 0 56px;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  background: var(--wine);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: auto;
  width: auto;
  max-height: none;
  background: var(--wine);
  box-shadow: none;
  animation: none;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: none;
  transition: transform 8s ease;
}
.hero:hover .hero__media img {
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(58, 24, 40, .82) 0%, rgba(58, 24, 40, .55) 38%, rgba(58, 24, 40, .18) 68%, rgba(58, 24, 40, .08) 100%),
    linear-gradient(180deg, rgba(58, 24, 40, .35) 0%, transparent 28%, transparent 62%, rgba(58, 24, 40, .45) 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  align-items: end;
  gap: 40px;
  width: 100%;
}
.hero__content {
  min-width: 0;
  max-width: 620px;
  text-align: left;
  animation: fadeUp .7s ease both;
}
.hero__eyebrow {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.hero__title-line,
.hero__title-script {
  display: block;
}
.hero__title-script {
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.12;
  margin-top: 4px;
  color: #fff;
}
.hero__text {
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  max-width: 460px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}
.btn--hero-solid {
  background: #fff;
  color: var(--wine);
  border-color: #fff;
  border-radius: 999px;
  padding: 14px 24px;
}
.btn--hero-solid:hover {
  background: #f3ecef;
  border-color: #f3ecef;
  color: var(--wine);
}
.btn--hero-solid .btn__icon {
  background: rgba(90, 45, 62, .12);
  color: var(--wine);
}
.btn--hero-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
  border-radius: 999px;
  padding: 14px 24px;
}
.btn--hero-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}
.btn--hero-ghost .btn__icon,
.btn__icon--ghost {
  background: transparent;
  color: #fff;
  width: auto;
  height: auto;
  border-radius: 0;
}
.btn--hero-ghost .btn__icon svg {
  width: 16px;
  height: 16px;
}
.hero__instructor {
  justify-self: end;
  text-align: right;
  animation: fadeUp .85s ease .1s both;
}
.hero__instructor-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 6px;
}
.hero__instructor-name {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.25;
  color: #fff;
  padding-bottom: .08em;
}

@media (min-width: 1025px) {
  .hero {
    min-height: min(94vh, 960px);
    padding: 96px 0 72px;
  }
  .hero .container {
    width: min(100% - 48px, 1280px);
  }
  .hero__grid {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
  }
  .hero__content {
    margin-bottom: 14vh;
  }
  .hero__eyebrow {
    font-size: 13px;
    letter-spacing: .2em;
    margin-bottom: 24px;
  }
  .hero__title {
    font-size: clamp(52px, 4.8vw, 68px);
    margin-bottom: 26px;
  }
  .hero__title-script {
    font-size: clamp(58px, 5.8vw, 84px);
  }
  .hero__text {
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 36px;
  }
  .hero__actions {
    gap: 16px;
  }
  .hero__actions .btn {
    padding: 15px 28px;
    font-size: 15px;
  }
  .hero__actions .btn__icon {
    width: 24px;
    height: 24px;
  }
  .hero__actions .btn__icon svg {
    width: 13px;
    height: 13px;
  }
  .btn--hero-ghost .btn__icon {
    width: auto;
    height: auto;
  }
  .btn--hero-ghost .btn__icon svg {
    width: 16px;
    height: 16px;
  }
}

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

/* ——— Section helpers ——— */
.section { padding: 72px 0; background: transparent; }
.section--soft {
  background: transparent;
}
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.badge {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 7px 12px;
  margin-bottom: 16px;
}
.badge--round { border-radius: 6px; }
.section__title {
  font-size: clamp(36px, 4vw, 52px);
  color: var(--wine);
  margin-bottom: 12px;
}
.section__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.section__sub--center {
  text-align: center;
  max-width: 560px;
  margin: -8px auto 10px;
}
.section__note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.section__note--center {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ——— Section rule divider ——— */
.section-rule {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: 28px;
  width: 100%;
}
.section-rule__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wine), transparent);
  opacity: .35;
  min-width: 24px;
}
.section-rule__text {
  text-align: center;
  flex-shrink: 0;
  max-width: min(70%, 420px);
}
.section-rule__text h2 {
  font-size: clamp(34px, 4.2vw, 48px);
  color: var(--wine);
  line-height: 1.2;
  margin: 0;
}
.section-rule__text p {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mauve);
}

/* ——— Nosotros ——— */
.nosotros {
  background: transparent;
  padding-top: 40px;
}
.nosotros__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.nosotros__media {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  background: var(--cream);
  box-shadow: 0 20px 48px rgba(88, 34, 58, .12);
}
.nosotros__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nosotros__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 14px;
}
.nosotros__title {
  font-family: var(--font-script);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--wine);
  line-height: 1.15;
  margin-bottom: 18px;
}
.nosotros__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}
.nosotros__text p + p { margin-top: 14px; }
.nosotros__cta {
  margin-top: 28px;
}
.nosotros__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  max-width: 520px;
}
.nosotros__stat {
  padding-top: 14px;
  border-top: 1px solid rgba(88, 34, 58, .18);
}
.nosotros__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wine);
  font-weight: 700;
  margin-bottom: 4px;
}
.nosotros__stat span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ——— Beneficios ——— */
#beneficios {
  background: transparent;
}
.benefits-list {
  max-width: 880px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(88, 34, 58, .14);
}
.benefit-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 26px 28px;
  border: none;
  border-bottom: 1px solid rgba(88, 34, 58, .14);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .25s ease;
}
.benefits-list > li:nth-child(odd) .benefit-item {
  border-right: 1px solid rgba(88, 34, 58, .14);
}
.benefit-item:hover,
.benefit-item:focus-visible {
  background: rgba(255, 255, 255, .55);
  outline: none;
}
.benefit-item__num {
  flex-shrink: 0;
  font-family: var(--font-script);
  font-size: 28px;
  line-height: 1;
  color: var(--mauve);
  min-width: 1.4em;
}
.benefit-item__text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.3;
}

.modal--benefit {
  width: min(100%, 520px);
  background: var(--bg);
  border: 1px solid rgba(88, 34, 58, .12);
  border-radius: 22px;
}
.modal__header--benefit {
  background: transparent;
  border-bottom: 1px solid rgba(88, 34, 58, .14);
  padding: 22px 24px 18px;
  align-items: flex-start;
}
.benefit-modal__heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.benefit-modal__num {
  flex-shrink: 0;
  font-family: var(--font-script);
  font-size: 34px;
  line-height: 1;
  color: var(--mauve);
}
.modal__header--benefit h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.2;
}
.modal__body--benefit {
  padding: 22px 24px 28px;
}
.benefit-modal__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 14px;
}
.benefit-modal__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}
.benefit-modal__text p + p {
  margin-top: 14px;
}

/* ——— Planes ——— */
.planes {
  position: relative;
  overflow: hidden;
  background: #4a1a2c;
  color: #f7f1ef;
  padding: 110px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.planes__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  width: 100%;
}
.planes__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  max-width: 360px;
}
.planes__eyebrow {
  font-size: 13.8px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247, 241, 239, .78);
  margin-bottom: 0;
}
.planes__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(64.4px, 8.05vw, 96.6px);
  line-height: .9;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
  margin-bottom: 0;
}
.planes__desc {
  font-size: 17.25px;
  line-height: 1.7;
  color: rgba(247, 241, 239, .82);
  max-width: 300px;
  margin-bottom: 0;
}
@media (min-width: 1025px) {
  .planes__layout {
    align-items: stretch;
  }
  .planes__copy {
    justify-content: space-between;
    gap: 0;
    padding-top: 0;
    min-height: 100%;
    align-self: stretch;
  }
}

.plans-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.plans-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  max-width: none;
}
.plans-list__note {
  margin: 2px 0 0;
  padding: 0;
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(247, 241, 239, .72);
}
.plan-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  padding: 22px clamp(20px, 3vw, 32px);
  min-height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(247, 241, 239, .28);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
  overflow: visible;
  transition: background .25s, border-color .25s, transform .25s;
  color: #f7f1ef;
}
.plan-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.plan-card--featured {
  background: #f3ebe6;
  border-color: #f3ebe6;
  color: #4a1a2c;
}
.plan-card--featured:hover {
  background: #f7f1ef;
  border-color: #f7f1ef;
}
.plan-card__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 64px);
  line-height: .85;
  color: inherit;
  min-width: .85em;
  text-align: left;
}
.plan-card__body {
  min-width: 0;
}
.plan-card__classes {
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: .02em;
  margin: 0;
  color: inherit;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.plan-card__classes strong {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: inherit;
}
.plan-card__classes em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: clamp(26px, 3vw, 34px);
  color: inherit;
  margin-left: 0;
  line-height: 1;
}
.plan-card__freq {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(247, 241, 239, .65);
}
.plan-card--featured .plan-card__freq {
  color: rgba(74, 26, 44, .62);
}
.plan-card__price-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0;
  text-align: right;
}
.plan-card__price {
  font-family: var(--font);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: inherit;
  line-height: 1;
  letter-spacing: .01em;
}
.plan-card__cta {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s;
}
.plan-card__cta:hover {
  opacity: 1;
}
.plan-card__cta span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .2s;
}
.plan-card__cta:hover span {
  transform: translateX(3px);
}

.faq__thanks {
  font-family: var(--font-script);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--mauve);
  line-height: 1.2;
  text-align: center;
  margin-top: 40px;
}

/* ——— Clases / Horarios ——— */
#clases {
  background: transparent;
}
.schedule-block {
  margin-top: 8px;
}
.schedule-block[hidden] {
  display: none !important;
}
.schedule-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}
.schedule-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.schedule-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: .2s;
}
.schedule-tabs button.active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.schedule-block[hidden] { display: none; }
.schedule-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.schedule {
  display: grid;
  grid-template-columns: 56px repeat(5, minmax(120px, 1fr));
  min-width: 760px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f7ebe3;
  box-shadow: 0 10px 28px rgba(88, 34, 58, .06);
}
.schedule__head,
.schedule__time,
.schedule__cell {
  border-right: 1px solid rgba(240, 232, 226, .9);
  border-bottom: 1px solid rgba(240, 232, 226, .9);
}
.schedule__head:last-child { border-right: none; }
/* right border handled per-cell; last column keeps thin edge for variable day counts */
.schedule__head {
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--wine);
  background: #f0e0d4;
}
.schedule__head--dated {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  white-space: pre-line;
}
.schedule__head-date {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}
.schedule__time {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  font-size: 11px;
  color: #999;
  background: transparent;
}
.schedule__cell {
  min-height: 72px;
  padding: 6px;
  position: relative;
}
.slot-empty {
  height: 100%;
  min-height: 60px;
  border: 1.5px solid rgba(90, 45, 62, .28);
  border-radius: 10px;
  background: #fff8f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
  width: 100%;
  font-family: inherit;
  cursor: default;
  padding: 8px 6px;
}
.slot-empty.is-clickable {
  cursor: pointer;
}
.slot-empty.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(88, 34, 58, .14);
  filter: brightness(1.03);
}
.slot-empty.is-full {
  background: #f3e0e4;
  border-color: rgba(90, 45, 62, .5);
}
.slot-empty.is-disabled {
  background: #d8d2cd !important;
  border-color: #c4bbb4 !important;
  color: #5c5550;
  opacity: 1;
}
.slot-empty.is-disabled .slot__time,
.slot-empty.is-disabled .slot__names,
.slot-empty.is-disabled .slot__cupo {
  color: #5c5550;
}
.slot-empty.is-disabled .slot__names {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.slot-empty .slot__time {
  font-size: 11px;
  font-weight: 700;
  color: var(--wine);
  opacity: .95;
  line-height: 1.2;
}
.slot-empty .slot__names {
  display: block;
  width: 100%;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-empty .slot__cupo {
  font-size: 9px;
  font-weight: 700;
  color: var(--mauve);
  letter-spacing: .02em;
}
.slot-empty.is-blank .slot__time {
  opacity: .55;
  font-weight: 600;
}
.slot-empty.is-blank.is-disabled .slot__time {
  opacity: 1;
  font-weight: 700;
  color: #5c5550;
}
.slot-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid rgba(90, 45, 62, .35);
  background: #fff8f1;
}
.slot-btn {
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.slot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(88, 34, 58, .14);
  filter: brightness(1.03);
}
.slot-btn:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}
.slot {
  padding: 8px 10px;
  text-align: center;
}
.slot--grupal {
  background: #fff8f1;
  color: var(--ink);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slot--pers {
  background: #fff8f1;
  color: var(--ink);
}
.slot__name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.slot__time {
  display: block;
  font-size: 10px;
  opacity: .9;
  margin-top: 2px;
}
.schedule-legend {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}
.schedule-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.swatch--g {
  background: #fbf2e9;
  border: 1px solid rgba(90, 45, 62, .35);
}
.swatch--p { background: #fbf2e9; }

/* ——— FAQ ——— */
#faq {
  background: transparent;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(90, 45, 62, .25);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover {
  box-shadow: 0 8px 22px rgba(88, 34, 58, .08);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .25s;
  stroke: var(--wine);
}
.faq-item.open button svg { transform: rotate(45deg); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.faq-item.open .faq-item__body {
  max-height: 220px;
  padding: 0 22px 20px;
}

/* ——— Instagram / Comunidad ——— */
.ig {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 28px;
  background: transparent;
}
.ig-profile {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(90, 45, 62, .22);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(88, 34, 58, .08);
}
.ig-profile__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.ig-profile__meta {
  min-width: 0;
}
.ig-profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mauve);
  background: var(--bg-soft);
}
.ig-profile__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.ig-profile__user {
  font-size: 22px;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: -.01em;
}
.ig-profile__handle {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
}
.ig-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}
.ig-profile__stats strong {
  color: var(--ink);
  font-weight: 800;
  margin-right: 4px;
}
.ig-profile__bio {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
}
.ig-profile__bio p + p { margin-top: 2px; }
.ig-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ig-profile__actions .btn {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
}

/* ——— Ubicación ——— */
.ubicacion {
  background: transparent;
  padding-top: 28px;
}
.ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 8px;
}
.ubicacion__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}
.ubicacion__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--wine);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fbf2e9;
  margin-bottom: 18px;
}
.ubicacion__badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.ubicacion__title {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--wine);
  margin-bottom: 24px;
  line-height: 1.15;
}
.ubicacion__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.ubicacion__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.ubicacion__list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--mauve);
  fill: none;
  stroke-width: 1.7;
}
.ubicacion__list a {
  color: var(--ink-soft);
  transition: color .2s;
}
.ubicacion__list a:hover { color: var(--wine); }
.ubicacion__maps {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: color .2s, border-color .2s;
}
.ubicacion__maps:hover {
  color: var(--wine);
  border-color: var(--wine);
}
.ubicacion__map {
  position: relative;
  order: 2;
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(90, 45, 62, .25);
  background: var(--bg-muted);
  box-shadow: 0 16px 40px rgba(88, 34, 58, .1);
}
.ubicacion__map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  pointer-events: none;
}
.ubicacion__map-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}


/* ——— Footer ——— */
.footer {
  padding: clamp(56px, 8vw, 88px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--header-bg);
  border-top: none;
  color: #fbf2e9;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(251, 242, 233, .22);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__logo {
  display: block;
  font-family: var(--font);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 52px);
  color: #fbf2e9;
}
.footer__logo span {
  display: block;
}
.footer__logo strong {
  display: block;
  font-weight: 800;
  color: #fbf2e9;
  -webkit-text-fill-color: #fbf2e9;
  -webkit-text-stroke: 0;
  letter-spacing: -.02em;
}
.footer__brand p {
  max-width: 36ch;
  margin-top: 22px;
  color: rgba(251, 242, 233, .72);
  font-size: 14px;
  line-height: 1.65;
}
.footer__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid #fbf2e9;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fbf2e9;
  transition: background .2s, color .2s;
}
.footer__cta:hover {
  background: #fbf2e9;
  color: var(--header-bg);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer__cols h3 {
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e8c9d0;
  text-align: left;
}
.footer__cols a,
.footer__cols span {
  display: block;
  color: rgba(251, 242, 233, .78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  transition: color .2s;
}
.footer__cols a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 22px;
  border-top: none;
  text-align: left;
  font-size: 12px;
  color: rgba(251, 242, 233, .65);
}
.footer__to-top {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(251, 242, 233, .85);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  transition: color .2s;
}
.footer__to-top:hover {
  color: #fff;
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  transform: translateY(120%);
  opacity: 0;
  transition: .3s;
  z-index: 200;
  max-width: 280px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .header__cta { display: none; }
}

@media (max-width: 1024px) {
  .hero {
    min-height: calc(100svh - 92px);
    min-height: calc(100dvh - 92px);
    padding: 28px 0 32px;
    justify-content: stretch;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    width: 100%;
    min-height: calc(100svh - 92px - 60px);
    min-height: calc(100dvh - 92px - 60px);
    gap: 24px;
  }
  .hero__content {
    text-align: center;
    max-width: 540px;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__text {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero__instructor {
    justify-self: start;
    align-self: flex-start;
    text-align: left;
    margin-top: 0;
    padding-top: 8px;
    flex-shrink: 0;
  }
  .hero__instructor-name {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.3;
  }
  .hero__media {
    aspect-ratio: auto;
    max-height: none;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(58, 24, 40, .55) 0%, rgba(58, 24, 40, .35) 28%, rgba(58, 24, 40, .45) 62%, rgba(58, 24, 40, .78) 100%),
      linear-gradient(90deg, rgba(58, 24, 40, .55) 0%, rgba(58, 24, 40, .2) 100%);
  }
  .nosotros__grid { grid-template-columns: 1fr; gap: 24px; }
  .nosotros__content {
    display: contents;
  }
  .nosotros__eyebrow { order: 1; }
  .nosotros__title { order: 2; }
  .nosotros__media {
    max-height: 380px;
    aspect-ratio: 16 / 10;
    order: 3;
  }
  .nosotros__text { order: 4; }
  .nosotros__cta { order: 5; }
  .benefits-list {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
  .benefits-list > li:nth-child(odd) .benefit-item {
    border-right: none;
  }
  .benefit-item {
    padding: 22px 8px;
  }
  .benefit-item__text {
    font-size: 18px;
  }
  .planes__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .planes__copy {
    max-width: 420px;
  }
  .planes__desc {
    max-width: 360px;
  }
  .planes {
    min-height: auto;
    padding: 60px 0;
  }
  .planes > .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  .plans-stack,
  .plans-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .plans-list__note {
    font-size: 12px;
  }
  .plan-card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num body"
      "price price";
    gap: 12px 20px;
    flex: 0 0 auto;
    min-height: 0;
    padding: 18px 18px;
    width: 100%;
  }
  .plan-card__num { grid-area: num; }
  .plan-card__body { grid-area: body; }
  .plan-card__price-side {
    grid-area: price;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid rgba(247, 241, 239, .18);
  }
  .plan-card--featured .plan-card__price-side {
    border-top-color: rgba(74, 26, 44, .15);
  }
  .ubicacion__grid { grid-template-columns: 1fr; }
  .ubicacion__info { order: 1; }
  .ubicacion__map {
    order: 2;
    min-height: 320px;
  }
  .ubicacion__map iframe { min-height: 320px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .ig-profile__top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .ig-profile__name-row,
  .ig-profile__stats,
  .ig-profile__actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nosotros__cta {
    width: 100%;
  }
  .nosotros__cta .btn {
    width: 100%;
    justify-content: center;
  }
  .nosotros__cta .btn__icon {
    display: none;
  }

  /* Celular: título → mapa → datos de contacto */
  .ubicacion__grid {
    gap: 0;
  }
  .ubicacion__info {
    display: contents;
  }
  .ubicacion__badge { order: 1; }
  .ubicacion__title {
    order: 2;
    margin-bottom: 16px;
  }
  .ubicacion__map {
    order: 3;
    min-height: 280px;
    margin-bottom: 22px;
  }
  .ubicacion__map iframe { min-height: 280px; }
  .ubicacion__list { order: 4; }
  .ubicacion__maps { order: 5; }

  .planes {
    padding: 48px 20px !important;
  }

  .planes__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
  }

  .planes__copy,
  .planes__desc {
    margin-bottom: 0;
  }

  .planes__copy {
    margin-bottom: 8px;
    max-width: 100%;
    width: 100%;
  }

  .planes__desc {
    margin-bottom: 24px;
    max-width: 100%;
  }

  .plans-stack,
  .plans-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .plans-stack {
    gap: 12px;
  }

  .plan-card {
    padding: 24px 20px;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 96px 16px auto;
    background: #fbf2e9;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 14px;
    color: var(--ink);
  }
  .nav a:hover {
    background: rgba(90, 45, 62, .1);
    color: var(--wine);
  }
  .nav a.active {
    background: var(--wine);
    color: #fbf2e9;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 84px;
  }
  section[id] {
    scroll-margin-top: 84px;
  }
  #planes {
    scroll-margin-top: 120px;
  }
  .container { width: min(100% - 28px, var(--container)); }
  .header__inner {
    min-height: 72px;
    padding: 10px 0;
  }
  .logo__img {
    width: 52px;
    height: 52px;
  }
  .logo__name { font-size: 20px; }
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero {
    min-height: calc(100svh - 72px);
    min-height: calc(100dvh - 72px);
    padding: 20px 0 28px;
    overflow: hidden;
  }
  .hero__grid {
    min-height: calc(100svh - 72px - 48px);
    min-height: calc(100dvh - 72px - 48px);
    gap: 16px;
  }
  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
    margin-bottom: 14px;
  }
  .hero__title {
    font-size: clamp(30px, 8.2vw, 40px);
    margin-bottom: 14px;
  }
  .hero__title-script {
    font-size: clamp(34px, 9.2vw, 48px);
    line-height: 1.15;
  }
  .hero__text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero__actions {
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero__instructor {
    margin-top: 0;
    padding-top: 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .hero__instructor-label {
    font-size: 10px;
    letter-spacing: .18em;
    margin-bottom: 2px;
  }
  .hero__instructor-name {
    font-size: clamp(30px, 9.5vw, 42px);
    line-height: 1.35;
    padding-bottom: .15em;
  }
  .section { padding: 48px 0; }
  .planes {
    min-height: auto;
    padding: 48px 20px !important;
  }
  .planes__layout {
    gap: 32px;
    align-items: stretch;
    width: 100%;
  }
  .planes__copy {
    max-width: 100%;
    width: 100%;
    margin-bottom: 8px;
  }
  .planes__desc {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .planes__title {
    font-size: clamp(55.2px, 16.1vw, 73.6px);
    margin-bottom: 14px;
  }
  .plans-list {
    gap: 20px;
    width: 100%;
  }
  .plan-card {
    padding: 24px 20px;
    min-height: 0;
    width: 100%;
  }
  .btn-session span { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ——— Horario en vivo (toolbar) ——— */
.horario-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.horario-toolbar .schedule-tabs {
  margin-bottom: 0;
  margin-top: 0;
}
.horario-live-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.horario-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.public-calendar {
  max-width: 1100px;
  margin: 0 auto 24px;
}
.public-calendar .calendar-view-container {
  box-shadow: 0 12px 32px rgba(88, 34, 58, .08);
}
.public-calendar .calendar-view-container[hidden],
.grid-view-panel[hidden],
#monthNavigator[hidden],
#daySlotsPanel[hidden] {
  display: none !important;
}
.grid-view-panel {
  margin-top: 4px;
}
.grid-view-panel .horario-toolbar {
  margin-bottom: 12px;
}
.grid-view-panel .schedule {
  max-width: 100%;
}
.day-slots {
  max-width: 920px;
  margin: 0 auto;
}
.day-slots__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--wine);
  text-align: center;
  margin-bottom: 14px;
  text-transform: capitalize;
}
.day-slots__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.day-slots__list > .admin-users__empty {
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
}
.day-slot-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(90, 45, 62, .35);
  background: #fff8f1;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .15s, box-shadow .2s;
}
.day-slot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(88, 34, 58, .12);
}
.day-slot-card.is-full {
  background: #f3e0e4;
  border-color: rgba(90, 45, 62, .5);
}
.day-slot-card.is-mine {
  background: #e7f3ec;
  border-color: #6f9a7e;
  box-shadow: inset 3px 0 0 #4f7d61;
}
.day-slot-card.is-mine:hover {
  box-shadow: inset 3px 0 0 #4f7d61, 0 8px 18px rgba(79, 125, 97, .18);
}
.day-slot-card.is-mine.is-disabled {
  background: #e7f3ec !important;
  border-color: #6f9a7e !important;
  color: inherit;
  opacity: 1;
}
.day-slot-card.is-mine.is-disabled .day-slot-card__time,
.day-slot-card.is-mine.is-disabled .day-slot-card__names,
.day-slot-card.is-mine.is-disabled .day-slot-card__cupo {
  color: inherit;
}
.day-slot-card.is-disabled {
  background: #d8d2cd !important;
  border-color: #c4bbb4 !important;
  opacity: 1;
  color: #5c5550;
}
.day-slot-card.is-disabled .day-slot-card__time,
.day-slot-card.is-disabled .day-slot-card__names,
.day-slot-card.is-disabled .day-slot-card__cupo {
  color: #5c5550;
}
.day-slot-card__time {
  font-size: 14px;
  font-weight: 800;
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.day-slot-card__mine {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #2f5c42;
  background: #d5eadc;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.day-slot-card__names {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}
.day-slot-card__cupo {
  font-size: 11px;
  font-weight: 700;
  color: var(--mauve);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e6a;
  box-shadow: 0 0 0 0 rgba(47, 158, 106, .5);
  animation: livePulse 1.8s ease infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 158, 106, .45); }
  70% { box-shadow: 0 0 0 10px rgba(47, 158, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 158, 106, 0); }
}

/* ——— Admin (estilo Eneidis adaptado) ——— */
.admin-section {
  background: linear-gradient(180deg, #f7ebe3 0%, var(--bg) 100%);
  min-height: 70vh;
}
.admin-shell {
  max-width: 920px;
  margin: 0 auto;
}
.admin-shell__header {
  text-align: center;
  margin-bottom: 16px;
}
.admin-shell__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--wine);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.btn-back:hover { text-decoration: underline; }
.admin-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(88, 34, 58, .06);
  border: 1px solid rgba(88, 34, 58, .1);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.admin-banner i { color: var(--wine); }
.user-admin-panel {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(88, 34, 58, .08);
  border: 1px solid var(--line);
}
.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}
.action-card {
  appearance: none;
  text-align: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 22px 14px;
  box-shadow: 0 6px 18px rgba(88, 34, 58, .06);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  display: block;
}
.action-card:hover {
  transform: translateY(-4px);
  border-color: var(--wine);
  box-shadow: 0 12px 28px rgba(88, 34, 58, .12);
}
.action-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--wine) 0%, var(--mauve) 100%);
  color: #fff;
  font-size: 1.35rem;
}
.action-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.action-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}
.admin-home-footer {
  text-align: center;
  padding: 0 22px 26px;
}
.admin-panel-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
  background: #fbf2e9;
}
.admin-panel-bar h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-panel-body {
  padding: 20px;
}
.admin-card__hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.45;
}
.admin-panel-body label,
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .03em;
  margin-bottom: 12px;
}
.admin-panel-body select,
.admin-panel-body input,
.form-field input {
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  width: 100%;
  padding-right: 44px;
}
.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.password-field__toggle:hover {
  background: var(--blush);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.form-row--add {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 8px;
}
.admin-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.admin-block-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.admin-users {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.admin-users__empty {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
.admin-user-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
}
.admin-user-name {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--wine);
  cursor: pointer;
}
.btn-icon--danger { color: #9a3b4a; }
.admin-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.admin-resumen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chip.active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.admin-resumen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resumen-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbf2e9;
  cursor: pointer;
  transition: .15s;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.resumen-item:hover {
  border-color: var(--mauve);
  background: #fff;
}
.resumen-item__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.resumen-item__title {
  font-weight: 700;
  color: var(--wine);
  font-size: 14px;
}
.resumen-item__cupo {
  font-size: 12px;
  font-weight: 700;
  color: var(--mauve);
}
.resumen-item__names {
  font-size: 13px;
  color: var(--ink-soft);
}
.resumen-item.is-disabled {
  background: #111;
  border-color: #000;
  opacity: 1;
}
.resumen-item.is-disabled .resumen-item__title,
.resumen-item.is-disabled .resumen-item__cupo,
.resumen-item.is-disabled .resumen-item__names {
  color: #f5f5f5;
}
.admin-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(154, 59, 74, .08);
  border: 1px solid rgba(154, 59, 74, .2);
  color: #7a2f3a;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.btn--danger {
  background: #9a3b4a;
  color: #fff;
  border: 1px solid #9a3b4a;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn--danger:hover { filter: brightness(.95); }
.btn-block { width: 100%; justify-content: center; }
.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.btn--google:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.btn--google .fab { color: #ea4335; }

@media (max-width: 900px) {
  .admin-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .admin-actions { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ——— Modales ——— */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(58, 40, 48, .48);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none !important; }
.modal {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  overflow: hidden;
  animation: fadeUp .28s ease both;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbf2e9;
}
.modal__header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal__close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal__body { padding: 18px; }
.auth-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.45;
}
.auth-admin-link {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
}
.auth-admin-link a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 14px;
}
.req { color: var(--wine); }
.slot-modal__capacity {
  font-size: 13px;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 12px;
}
.slot-modal__names {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.slot-modal__names li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbf2e9;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}
.slot-modal__you {
  font-weight: 500;
  color: var(--muted);
}
.slot-modal__empty {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.slot-modal__actions { display: flex; flex-direction: column; gap: 8px; }
.gestionar-users__meta {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--wine);
  margin: 0 0 8px;
  font-weight: 700;
}
.gestionar-users__section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.gestionar-users__section .admin-card__hint {
  margin-bottom: 10px;
}
.gestionar-users__add {
  margin-top: 0;
  margin-bottom: 0;
}
.gestionar-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf2e9;
}
.gestionar-user-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gestionar-user-row__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--wine);
  word-break: break-word;
}
.gestionar-user-row__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.gestionar-clients__search {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  color: var(--ink);
}
.gestionar-clients-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(36vh, 280px);
  overflow-y: auto;
}
.gestionar-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.gestionar-client-row.is-expired {
  opacity: 0.72;
  background: #f3f1ef;
}
.gestionar-client-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gestionar-client-row__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--wine);
}
.gestionar-client-row__meta {
  font-size: 11px;
  color: var(--muted);
  word-break: break-word;
}
.gestionar-client-row__warn {
  font-size: 11px;
  font-weight: 700;
  color: #8b1e2d;
}
.btn--sm {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ——— User menu dropdown (patrón Kiosco, estética Pilates) ——— */
.user-menu {
  position: relative;
  z-index: 120;
}
.user-menu[hidden] { display: none !important; }
.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(251, 242, 233, .5);
  background: rgba(88, 34, 58, .35);
  color: #fbf2e9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
  min-height: 40px;
}
.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
  background: var(--wine);
  border-color: var(--wine);
}
.user-display {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu-chevron {
  font-size: 10px;
  opacity: .85;
  transition: transform .2s;
}
.user-menu-trigger[aria-expanded="true"] .user-menu-chevron {
  transform: rotate(180deg);
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #3a2030;
  border: 1px solid rgba(251, 242, 233, .12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  z-index: 200;
  padding: 6px 0;
  animation: dropIn .15s ease;
}
.user-dropdown[hidden] { display: none !important; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: none;
  background: transparent;
  color: rgba(251, 242, 233, .94);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.dropdown-item[hidden] {
  display: none !important;
}
.dropdown-item i {
  width: 16px;
  text-align: center;
  opacity: .9;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.dropdown-divider {
  height: 1px;
  background: rgba(251, 242, 233, .14);
  margin: 4px 0;
}
.logout-item { color: #f5b8c0; }
.logout-item:hover {
  background: rgba(154, 59, 74, .35);
  color: #fee2e2;
}
@media (max-width: 600px) {
  .user-display { display: none; }
  .user-menu-chevron { display: none; }
  .user-menu-trigger {
    padding: 10px;
    min-width: 40px;
    justify-content: center;
  }
  .logo__studio { display: none; }
  .header__actions {
    gap: 6px;
  }
  .notif-bell {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ——— Panel modals (fullscreen-ish) ——— */
.modal-overlay--panel {
  padding: 12px;
  align-items: stretch;
  place-items: stretch;
}
.modal--panel {
  width: min(100%, 1100px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  max-height: calc(100svh - 16px - env(safe-area-inset-bottom, 0px));
  margin: auto;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
}
.modal--panel .modal__body--panel {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 24px;
}
.modal__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--line);
}
.modal__actions .btn {
  min-height: 48px;
}
@media (max-width: 700px) {
  .modal-overlay:not(.modal-overlay--fullscreen) {
    align-items: flex-end;
    place-items: end center;
    padding: 8px 8px 0;
    height: 100svh;
    max-height: 100svh;
    bottom: auto;
    overflow: hidden;
  }
  .modal-overlay:not(.modal-overlay--fullscreen):not(.modal-overlay--seleccion) .modal {
    width: min(100%, 420px);
    max-height: calc(100svh - max(12px, env(safe-area-inset-top, 0px)) - env(safe-area-inset-bottom, 0px));
    margin: 0;
  }
  .modal-overlay:not(.modal-overlay--fullscreen) .modal--panel {
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  html.is-android .modal-overlay:not(.modal-overlay--fullscreen) .modal {
    max-height: calc(100svh - max(12px, env(safe-area-inset-top, 0px)) - max(52px, env(safe-area-inset-bottom, 0px)));
  }
  html.is-android .modal__actions {
    padding-bottom: calc(12px + max(52px, env(safe-area-inset-bottom, 0px)));
  }
  html.is-android .modal__body {
    padding-bottom: calc(18px + max(28px, env(safe-area-inset-bottom, 0px)));
  }
}
.modal__header--panel {
  background: #fbf2e9;
  flex-shrink: 0;
}

/* Gestión de Clientes — pantalla completa */
.modal-overlay--fullscreen {
  padding: 0;
  place-items: stretch;
  align-items: stretch;
  background: #fff;
}
.modal--fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal--fullscreen .modal__header--panel {
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 16px;
  border-bottom: 1px solid var(--line);
}
.modal--fullscreen .modal__header--panel h3 {
  font-size: clamp(24px, 3vw, 32px);
}
.modal__body--fullscreen {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}
.modal__body--fullscreen .clients-filters {
  flex-shrink: 0;
}
.modal__body--fullscreen .clients-table-wrap {
  flex: 1;
  min-height: 0;
  border-radius: 14px;
}
@media (min-width: 900px) {
  .modal__body--fullscreen {
    padding-left: 32px;
    padding-right: 32px;
  }
}
.modal__header--calendar {
  background: var(--wine);
  border-bottom: none;
}
.modal__header--calendar h3 { color: #fbf2e9; }
.modal__close--light { color: rgba(251, 242, 233, .85); }
.modal__close--light:hover { color: #fff; }
.modal--md { width: min(100%, 520px); }
.modal--sm { width: min(100%, 400px); }
.modal--calendar { width: min(100%, 1180px); }

/* ——— Clientes table ——— */
.clients-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.clients-filters input,
.clients-filters select {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.clients-filters input {
  flex: 1;
  min-width: 220px;
}
.clients-filters select { min-width: 160px; }
.clients-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.clients-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
  font-size: 13px;
}
.client-plan-cell {
  min-width: 130px;
}
.client-horarios-td {
  min-width: 140px;
  max-width: 220px;
}
.client-horarios-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.client-horarios-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--wine);
  background: #fbf2e9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.client-horarios-list {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}
.client-horarios-empty {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.client-plan-select {
  width: 100%;
  max-width: 140px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf2e9;
  color: var(--wine);
  cursor: pointer;
}
.client-plan-select:focus {
  outline: 2px solid var(--mauve);
  outline-offset: 1px;
}
.client-plan-price {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mauve);
}
.client-plan-price--muted { color: var(--muted); }
.client-plan-pending {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
}
.client-plan-pending--danger {
  color: #b91c1c;
}
.clients-table th {
  text-align: left;
  padding: 12px 14px;
  background: #f7ebe3;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.clients-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink);
}
.clients-table tr:last-child td { border-bottom: none; }
.clients-table tr:hover td { background: rgba(251, 242, 233, .55); }
.client-email {
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.client-name-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.clients-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px !important;
}
.badge-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
.badge-pill--ok { background: #d1fae5; color: #065f46; }
.badge-pill--warn { background: #fef3c7; color: #92400e; }
.badge-pill--danger { background: #fee2e2; color: #991b1b; }
.badge-pill--active { background: #dbeafe; color: #1e40af; }
.badge-pill--blocked { background: #e5e7eb; color: #374151; }
.days-cell { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.days-sub {
  font-size: 11px;
  color: var(--muted);
}
.client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: filter .15s;
}
.btn-act:hover { filter: brightness(.95); }
.btn-act--bd { background: #16a34a; }
.btn-act--pay { background: #0f766e; }
.btn-act--gift { background: #ca8a04; }

.pago-box {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fffaf6;
}
.pago-box__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.pago-box__row strong {
  color: var(--wine);
  text-align: right;
}
.pago-transfer {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(88, 34, 58, .18);
  border-radius: 14px;
  background: #fff;
}
.pago-transfer__lead {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.pago-transfer__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf6;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pago-transfer__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pago-transfer__text span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pago-transfer__text strong {
  color: var(--wine);
  font-size: 15px;
  word-break: break-word;
}
.pago-transfer__row--static {
  cursor: default;
}
.pago-transfer__copy {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--wine);
}
.pago-hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}
.modal--seleccion {
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  max-height: min(92dvh, 900px);
  overflow: hidden;
}
.modal-overlay--seleccion {
  align-items: stretch;
  place-items: stretch;
  padding: 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
}
.modal-overlay--seleccion .modal--seleccion {
  margin: auto;
  width: min(720px, 100%);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
}
.modal__body--seleccion {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.seleccion-cal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seleccion-cal__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -8px 20px rgba(47, 28, 38, .06);
}
.seleccion-cal__footer .btn {
  min-height: 48px;
  font-size: 15px;
}
.seleccion-cal__nav {
  justify-content: center;
}
.seleccion-cal__nav .nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.seleccion-cal__grid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.seleccion-cal__grid .month-grid--full {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 520px;
}
.seleccion-cal__day-title {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--wine);
  text-transform: capitalize;
}
.seleccion-cal__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.seleccion-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: .15s;
}
.seleccion-slot-btn:hover {
  border-color: var(--mauve);
  background: #fbf2e9;
}
.seleccion-slot-btn.is-on {
  border-color: var(--wine);
  background: #fbf2e9;
}
.seleccion-slot-btn.is-full,
.seleccion-slot-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #e5e0dc;
  background: #f7f4f2;
}
.seleccion-slot-btn__time {
  font-size: 14px;
  font-weight: 800;
  color: var(--wine);
}
.seleccion-slot-btn__meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--mauve);
}
.seleccion-cal__count {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}
@media (max-width: 640px) {
  .modal-overlay--seleccion {
    padding: 0;
    padding-bottom: 0;
  }
  .modal-overlay--seleccion .modal--seleccion {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .modal--seleccion .modal__header--panel {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }
  .modal--seleccion .modal__header--panel h3 {
    font-size: 18px;
  }
  .modal__body--seleccion {
    padding: 12px 14px;
  }
  .modal__body--seleccion .auth-hint {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .seleccion-cal__grid .month-day {
    min-height: 48px;
    padding: 4px;
  }
  .seleccion-cal__grid .month-day__num {
    font-size: 12px;
  }
  .seleccion-cal__grid .month-day__meta {
    font-size: 9px;
  }
  .seleccion-cal__footer {
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom, 0px) + 48px);
  }
  .seleccion-cal__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.month-day.is-past {
  opacity: 1;
}
.month-day.is-past:not(.is-outside) {
  background: #ececec !important;
  color: #8f8f8f;
  border-color: #ddd;
}
.month-day.is-past .month-day__num {
  color: #8f8f8f;
}
.month-day.is-past.is-today .month-day__num,
.month-day.is-past.has-my-booking .month-day__num {
  background: #a3a3a3;
  color: #fff;
}
.month-day.is-past .month-day__meta {
  color: #9a9a9a;
}
.month-day.is-past .month-day__mine-chip {
  background: #e2e2e2;
  border-color: #c8c8c8;
  color: #666;
}
.month-day.is-past.is-selected {
  background: #e0e0e0 !important;
  box-shadow: inset 0 0 0 2px #b0b0b0;
}
.day-slots__past-hint {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 0 4px;
}
.day-slot-card.is-past {
  background: #f0f0f0;
  border-color: #d0d0d0;
  color: #6a6a6a;
}
.day-slot-card.is-past .day-slot-card__time,
.day-slot-card.is-past .day-slot-card__names,
.day-slot-card.is-past .day-slot-card__cupo {
  color: #6a6a6a;
}
.day-slot-card.is-past.is-mine {
  background: #e8e8e8;
  border-color: #bdbdbd;
  box-shadow: inset 3px 0 0 #9a9a9a;
}
.day-slot-card.is-past .day-slot-card__mine {
  background: #d8d8d8;
  color: #555;
}
.month-day.has-picks {
  border-color: var(--wine);
  background: #fbf2e9;
}
.month-day:disabled {
  cursor: default;
}
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(60vh, 420px);
  overflow: auto;
}
.membership-days-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fffaf6;
}
.membership-days-card[hidden] { display: none !important; }
.membership-days-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.membership-days-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.membership-days-card__value {
  font-size: 18px;
  font-weight: 800;
  color: var(--wine);
}
.membership-days-card__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.membership-days-card.is-ok {
  border-color: #86efac;
  background: #f0fdf4;
}
.membership-days-card.is-ok .membership-days-card__value { color: #166534; }
.membership-days-card.is-warn {
  border-color: #fcd34d;
  background: #fffbeb;
}
.membership-days-card.is-warn .membership-days-card__value { color: #92400e; }
.membership-days-card.is-danger {
  border-color: #fca5a5;
  background: #fef2f2;
}
.membership-days-card.is-danger .membership-days-card__value { color: #b91c1c; }
.notif-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  transition: .15s;
}
.notif-item__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.notif-item:hover {
  border-color: var(--mauve);
  background: #fbf2e9;
}
.notif-item.is-unread {
  border-color: var(--wine);
  background: #fbf2e9;
}
.notif-item__title {
  font-size: 14px;
  color: var(--wine);
}
.notif-item__msg {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.notif-item__cancel {
  margin-top: 2px;
  font-size: 12px;
  padding: 8px 12px;
}
.btn-act--lock { background: #dc2626; min-width: 36px; }
.btn-act--del { background: #b91c1c; }

/* ——— Calendar / Horarios modal ——— */
.horarios-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calendar-view-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cal-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--mauve);
  background: #fff;
  color: var(--wine);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.cal-view-btn.active,
.cal-view-btn:hover {
  background: rgba(90, 45, 62, .12);
  border-color: var(--wine);
}
.date-navigator {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-navigator #currentPeriod {
  min-width: 180px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  text-transform: lowercase;
}
.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--wine);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .15s;
}
.nav-arrow:hover {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.calendar-view-container {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  background: #fff;
  /* Evita que el gesto horizontal se “coma” el scroll de la página */
  touch-action: pan-x pan-y;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  min-width: 560px; /* en pantallas chicas se desliza horizontal como la Vista Grilla */
}
.month-weekday {
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fbf2e9;
  background: var(--wine);
}
.month-day {
  min-height: 78px;
  padding: 8px;
  border: 1px solid #eee4e0;
  background: #fff;
  cursor: pointer;
  transition: background .15s;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.month-day:hover:not(.is-outside) {
  background: #fbf2e9;
}
.month-day.is-outside {
  background: #f3ece8;
  color: #b0a09a;
  cursor: default;
}
.month-day.is-today .month-day__num {
  background: var(--wine);
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
}
.month-day.is-selected {
  background: #ede0e8;
  box-shadow: inset 0 0 0 2px var(--mauve);
}
.month-day.has-my-booking:not(.is-outside) {
  background: #ede0e8;
}
.month-day.has-my-booking .month-day__num {
  background: var(--wine);
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
}
.month-day.has-my-booking.is-selected {
  background: #e4d4df;
  box-shadow: inset 0 0 0 2px var(--wine);
}
.month-day__mine-times {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 2px;
}
.month-day__mine-chip {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: #2f5c42;
  background: #d5eadc;
  border: 1px solid #8fb59a;
  border-radius: 999px;
  padding: 3px 6px;
  white-space: nowrap;
}
.month-day.is-weekend:not(.is-outside) {
  background: #faf6f3;
}
.month-day__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.month-day.is-outside .month-day__num { color: #b0a09a; }
.month-day__meta {
  font-size: 10px;
  font-weight: 600;
  color: var(--mauve);
  line-height: 1.25;
}
.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}
.year-month {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 14px;
  background: #fbf2e9;
  cursor: pointer;
  text-align: center;
  font: inherit;
  transition: .15s;
}
.year-month:hover {
  border-color: var(--mauve);
  background: #fff;
  transform: translateY(-2px);
}
.year-month__name {
  display: block;
  font-weight: 700;
  color: var(--wine);
  font-size: 15px;
  margin-bottom: 4px;
  text-transform: capitalize;
}
.year-month__count {
  font-size: 12px;
  color: var(--muted);
}
.horarios-editor {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}
.horarios-feedback {
  display: block;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.horarios-feedback[hidden] {
  display: none !important;
}
.horarios-feedback.is-ok {
  background: #e8f5ee;
  color: #166534;
  border: 1px solid #b7dfc6;
}
.horarios-feedback.is-error {
  background: #fde8ea;
  color: #8b1e2d;
  border: 1px solid #f0c2c8;
}
.horarios-feedback.is-info {
  background: #fbf2e9;
  color: var(--wine);
  border: 1px solid var(--line);
}
.horarios-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.horarios-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.horarios-section__title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--wine);
  margin: 0 0 12px;
  font-weight: 700;
}
.horarios-editor__head h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wine);
  margin-bottom: 4px;
}
.horarios-tabs { justify-content: flex-start; margin-bottom: 12px; }
.schedule--admin { margin-bottom: 8px; }
.work-hours-card {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.work-hours-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--wine);
  margin: 0 0 16px;
}
.work-hours-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.work-hours-card input[type="time"],
.work-hours-card select {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.work-hours-days-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 4px 0 10px;
}
.work-days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.work-day-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.work-day-btn:hover {
  border-color: var(--mauve);
}
.work-day-btn.active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbf2e9;
}
.work-hours-card .btn--primary {
  margin-top: 4px;
}
.horarios-editor__controls {
  margin-top: 0;
  padding-top: 0;
}
.horarios-editor__controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.horarios-editor__controls select,
.horarios-editor__controls input[type="time"],
.horarios-editor__controls input[type="text"] {
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.cupos-days-panel {
  margin-bottom: 14px;
}
.horarios-editor__grid-wrap {
  margin: 12px 0 16px;
}
.cupos-blocks-wrap {
  margin: 0 0 16px;
}
.cupos-blocks-wrap .admin-card__hint,
.cupos-days-panel .admin-card__hint {
  margin-bottom: 10px;
}
.cupos-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
  max-height: min(70vh, 640px);
  overflow-y: auto;
}
.cupos-block-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  min-height: 64px;
}
.cupos-block-row.is-selected {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
}
.cupos-block-row.is-inactive {
  background: #1a1a1a;
  border-color: #111;
}
.cupos-block-row.is-inactive .cupos-block-row__title,
.cupos-block-row.is-inactive .cupos-block-row__meta {
  color: #f0f0f0;
}
.cupos-block-row__main {
  border: none;
  background: transparent;
  text-align: left;
  padding: 14px 16px;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.cupos-block-row__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--wine);
  line-height: 1.2;
}
.cupos-block-row__meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.cupos-block-row__actions {
  display: flex;
  align-items: stretch;
}
.cupos-block-delete,
.cupos-block-toggle {
  min-width: 110px;
  border: none;
  border-left: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 16px;
  transition: .15s;
}
.cupos-block-delete {
  background: #f8ecec;
  color: #9f1239;
}
.cupos-block-row.is-inactive .cupos-block-delete {
  background: #2a1a1f;
  color: #f5c2c7;
  border-left-color: rgba(255, 255, 255, 0.12);
}
.cupos-block-toggle.is-active {
  background: #e8f5ee;
  color: #166534;
}
.cupos-block-toggle.is-inactive {
  background: var(--wine);
  color: #fff;
  border-left-color: transparent;
}
.cupos-block-delete:hover,
.cupos-block-toggle:hover {
  filter: brightness(0.96);
}
.cupos-edit-panel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.block-status-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: #fbf2e9;
}
.block-status-badge__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  width: 100%;
}
.block-status-badge strong {
  font-size: 18px;
  color: var(--wine);
  min-width: 90px;
}
.block-status-badge.is-active {
  background: #e8f5ee;
  border-color: #b7dfc6;
}
.block-status-badge.is-active strong {
  color: #166534;
}
.block-status-badge.is-inactive {
  background: #111;
  border-color: #111;
}
.block-status-badge.is-inactive .block-status-badge__label,
.block-status-badge.is-inactive strong {
  color: #f5f5f5;
}
.cupos-days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.cupos-day-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: .15s;
}
.cupos-day-btn__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--wine);
}
.cupos-day-btn__dates {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.cupos-day-btn__state {
  font-size: 11px;
  font-weight: 700;
  color: var(--mauve);
}
.cupos-day-btn--fecha {
  min-height: 88px;
}
.cupos-day-btn.is-selected {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
  background: #fbf2e9;
}
.cupos-day-btn.is-on:hover {
  border-color: var(--mauve);
  background: #fbf2e9;
}
.cupos-day-btn.is-selected.is-off {
  background: #2a2a2a;
  box-shadow: 0 0 0 2px var(--wine);
}
.cupos-day-action {
  margin-top: 12px;
}
.cupos-day-action-btn {
  width: 100%;
  font-weight: 800;
}
.cupos-day-btn.is-off {
  background: #111;
  border-color: #111;
}
.cupos-day-btn.is-off .cupos-day-btn__name,
.cupos-day-btn.is-off .cupos-day-btn__state {
  color: #f3f3f3;
}
.cupos-day-btn.is-off:hover {
  filter: brightness(1.15);
}
.slot-empty.is-blank.is-clickable {
  cursor: pointer;
}
.slot-empty.is-blank.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(88, 34, 58, .1);
  filter: brightness(0.97);
}
.slot-empty.is-blank.is-disabled .slot__names,
.slot-empty.is-blank.is-disabled .slot__cupo,
.slot-empty.is-blank.is-disabled .slot__time {
  color: #5c5550;
  font-weight: 700;
}
.slot-empty.is-day-off .slot__time,
.slot-empty.is-day-off .slot__names,
.slot-empty.is-day-off .slot__cupo {
  color: #5c5550;
}
.schedule__head.is-day-off-head {
  background: #d8d2cd;
  color: #5c5550;
}
.month-day.is-day-off-cal {
  background: #d8d2cd !important;
  color: #5c5550;
}
.month-day.is-day-off-cal .month-day__num,
.month-day.is-day-off-cal .month-day__meta {
  color: #5c5550;
}
#cuposModal label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
#cuposModal select,
#cuposModal input {
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.client-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.client-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fbf2e9;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.client-detail-row strong { color: var(--wine); }
.client-blocks .auth-hint {
  margin: 0 0 10px;
}
.client-blocks .mis-horarios__plan {
  margin-bottom: 12px;
}
.client-blocks h4 {
  font-size: 14px;
  color: var(--wine);
  margin-bottom: 8px;
}
.client-blocks__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 4px;
}
.pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--wine);
  cursor: pointer;
  transition: .15s;
}
.pager__btn:hover:not(:disabled) {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}
.pager__btn:disabled {
  opacity: .35;
  cursor: default;
}
.pager__info {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
#clientsPager:empty {
  display: none;
}
.client-booking-btn {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf2e9;
  font: inherit;
  cursor: pointer;
  transition: .15s;
}
.client-booking-btn:hover {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
  background: #fff;
}
.client-booking-btn__date {
  grid-column: 1;
  font-size: 13px;
  font-weight: 800;
  color: var(--wine);
}
.client-booking-btn__time {
  grid-column: 1;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.client-booking-btn__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--mauve);
  white-space: nowrap;
}
.client-blocks li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mis-horarios {
  margin-top: 4px;
}
.mis-horarios__plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #fbf2e9;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.mis-horarios__plan[hidden] {
  display: none !important;
}
.mis-horarios__plan-label {
  font-weight: 800;
  color: var(--wine);
}
.mis-horarios__plan-count {
  font-weight: 800;
  color: var(--mauve);
  letter-spacing: 0.02em;
}
.mis-horarios__plan-status {
  margin-left: auto;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-soft);
}
.mis-horarios__plan-status--link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-size: 12px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-left: auto;
}
.mis-horarios__plan-status--link:hover {
  color: var(--mauve);
}
.mis-horarios__plan--over {
  border-color: #c45c5c;
  background: #fdf1f1;
}
.mis-horarios__plan--over .mis-horarios__plan-count,
.mis-horarios__plan--over .mis-horarios__plan-status {
  color: #a33a3a;
}
.mis-horarios__past-title {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 18px 0 8px;
  font-weight: 700;
}
.client-booking-btn--past {
  opacity: 0.72;
}
.client-booking-btn--past .client-booking-btn__go {
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 700px) {
  .year-grid { grid-template-columns: repeat(2, 1fr); }
  .month-day { min-height: 58px; padding: 6px; }
  .calendar-toolbar { flex-direction: column; align-items: stretch; }
  .date-navigator { justify-content: center; }
  .calendar-view-container {
    margin-inline: -4px;
    padding-bottom: 4px;
  }
  .month-grid {
    min-width: 580px;
  }
  .month-weekday {
    padding: 8px 4px;
    font-size: 11px;
  }
  .public-calendar .calendar-scroll-hint {
    display: block;
  }
}
.calendar-scroll-hint {
  display: none;
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ——— Página Quién soy ——— */
.page-quien-soy .header {
  position: sticky;
  top: 0;
}
.page-horarios #clases {
  padding-top: 88px;
}
.quien-hero {
  padding: 56px 0 28px;
  text-align: center;
  background: var(--bg);
}
.quien-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 14px;
}
.quien-hero__title {
  font-family: var(--font-script);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 400;
  color: var(--wine);
  line-height: 1.1;
  margin-bottom: 16px;
}
.quien-hero__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

.quien-story {
  padding-top: 24px;
  padding-bottom: 48px;
}
.quien-story__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.quien-story__prose {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.quien-story__prose p + p {
  margin-top: 18px;
}
.quien-story__highlight {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.45;
  padding: 8px 0;
  border-top: 1px solid rgba(88, 34, 58, .14);
  border-bottom: 1px solid rgba(88, 34, 58, .14);
  margin: 28px 0 !important;
}
.quien-story__closing {
  margin-top: 32px;
  text-align: center;
}
.quien-story__closing p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.35;
}
.quien-story__closing p + p {
  margin-top: 6px;
}

.quien-certs {
  padding-top: 24px;
}
.certs-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 28px auto 0;
}
.cert-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(88, 34, 58, .12);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cert-card:hover,
.cert-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(88, 34, 58, .22);
  box-shadow: 0 18px 40px rgba(88, 34, 58, .12);
  outline: none;
}
.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  background: var(--cream);
  display: block;
}
.cert-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}
.cert-card__org {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mauve);
}
.cert-card__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.25;
}
.cert-card__detail {
  font-size: 13px;
  color: var(--muted);
}

.quien-cta {
  padding-top: 40px;
  padding-bottom: 72px;
}
.quien-cta__inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.quien-cta__title {
  font-family: var(--font-script);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--wine);
  margin-bottom: 12px;
}
.quien-cta__text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.quien-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.modal--cert {
  width: min(100%, 920px);
  background: var(--bg);
  border-radius: 22px;
}
.modal__body--cert {
  padding: 12px 16px 20px;
}
.modal__body--cert img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 700px) {
  .certs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .quien-hero {
    padding: 40px 0 16px;
  }
  .quien-story__prose {
    font-size: 16px;
  }
}

