/* ============================================================
   PAGES.CSS — Estilos específicos por sección/página
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   INDEX — HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-black);
  margin-top: calc(-1 * var(--header-height)); /* overlap header */
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../Sources/BG web v02.png'); /* fallback: navegadores sin image-set/WebP */
  background-image: image-set(
    url('../Sources/BG web v02.webp') type('image/webp'),
    url('../Sources/BG web v02.png')  type('image/png')
  );
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.65) saturate(0.9);
  z-index: 0;
}

.hero__fog {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,10,19,0.55) 0%,
    rgba(12,22,79,0.30) 40%,
    rgba(8,10,19,0.65) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  min-height: calc(100dvh - var(--header-height));
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  fill: var(--alice-blue);
  filter:
    drop-shadow(0 0 32px rgba(225, 39, 88, 0.3))
    drop-shadow(0 4px 28px rgba(0, 0, 0, 0.40));
  animation: hero-logo-in 1s var(--ease-out) 0.2s both;
}

@keyframes hero-logo-in {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  animation: hero-text-in 1s var(--ease-out) 0.4s both;
}

@keyframes hero-text-in {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--alice-blue);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.40), 0 0 40px rgba(0, 0, 0, 0.25);
}

.hero__subtitle {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--win-text-muted);
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.40);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Shadow suave solo en botones del hero */
.hero__ctas .btn {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.40);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--win-text-muted);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   INDEX — SALA Y OFERTAS
═══════════════════════════════════════════════════════════ */
.ofertas-section {
  position: relative;
  background-color: var(--ink-black);
  background-image: var(--dot-light);
  background-size: 45px 45px;
  padding-block: var(--space-20);
}

.ofertas-section > * { position: relative; z-index: 1; }

.ofertas-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.ofertas-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ═══════════════════════════════════════════════════════════
   INDEX — SERVICIOS PREVIEW
═══════════════════════════════════════════════════════════ */
.servicios-preview {
  background-color: var(--deep-navy);
  background-image: var(--dot-mid);
  background-size: 45px 45px;
  padding-block: var(--space-20);
}

.servicios-preview__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centra la 5ª card sola en su fila */
  gap: 24px;
  max-width: 980px;
  margin: 0 auto var(--space-10);
}
.servicios-preview__grid > .svc-card {
  flex: 0 0 calc((100% - 24px) / 2);  /* 2 por fila → 2x2 + 1 centrada */
}

/* ── Cyberpunk service cards ── */
.svc-card {
  position: relative;
  aspect-ratio: 1110 / 393;
  cursor: pointer;
  transition: transform var(--t-mid);
}
.svc-card:hover { transform: translateY(-3px); }

/* SVG: fondo + marco, cubre toda la card */
.svc-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Icono: PNG sin fondo, posicionado a la izquierda centrado verticalmente.
   top:13% = (100% - 73.5%) / 2 donde 73.5% = altura del icono (26%W) como % de H */
.svc-card__icon {
  position: absolute;
  left: 4%;
  top: 13%;
  width: 26%;
  aspect-ratio: 1 / 1;
  z-index: 1;
}
/* PNG ya sin fondo — sin tricks de blend */
.svc-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Texto: columna central, left:34% aleja del icono */
.svc-card__content {
  position: absolute;
  left: 34%;
  right: 6%;
  top: 14.4%;
  bottom: 32%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.svc-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 1.44vw, 22px);
  line-height: 0.95;
  letter-spacing: 1.5px;
  color: #EDF3FF;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
.svc-card__desc {
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.9vw, 13px);
  line-height: 1.3;
  color: #EDF3FF;
  opacity: 0.85;
  margin: 0;
}

/* CTA: centrado en el paralelogramo fuchsia del SVG */
.svc-card__cta {
  position: absolute;
  left: 62%;
  right: 4%;
  top: 75%;
  bottom: 2%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 1.5px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #EDF3FF;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.svc-card__cta:hover { opacity: 0.75; }

/* ═══════════════════════════════════════════════════════════
   INDEX — UBICACIÓN
═══════════════════════════════════════════════════════════ */
.ubicacion-section {
  background-color: var(--ink-black);
  background-image: var(--dot-light);
  background-size: 45px 45px;
  padding-block: var(--space-20);
}

.ubicacion-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.ubicacion-text__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.ubicacion-text__desc {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--win-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.ubicacion-text__transport {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.transport-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--alice-blue);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(237, 243, 255, 0.15);
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════
   SERVICIOS.HTML
═══════════════════════════════════════════════════════════ */
.page-servicios {
  background-color: var(--ink-black);
  background-image: var(--dot-light);
  background-size: 45px 45px;
}

.servicios-page {
  padding-block: var(--space-16);
}

.servicios-page__hero {
  text-align: center;
  padding-block: var(--space-12);
  margin-bottom: var(--space-12);
}

.servicios-page__hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem); /* móvil: escala para que cada palabra quepa entera sin partirse; escritorio mantiene 56px */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: var(--space-5);
}

.servicios-page__hero-sub {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  color: var(--win-text-muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

.servicios-page__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centra la fila de 2 cards bajo las 3 de arriba */
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}
.servicios-page__grid > .service-card {
  flex: 0 0 calc((100% - 2 * var(--space-5)) / 3);  /* 3 por fila en escritorio */
}

/* ── Service card layout ── */

/*
 * Cuando .service-card se usa como .window (servicios.html, servicios-externos.html)
 * los estilos de components.css (.service-card: padding:24px, border, gap) crean
 * un marco interior visible. Los neutralizamos aquí.
 */
.window.service-card {
  padding: 0;
  border: none;
  gap: 0;
}

.service-card .window__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
}

.service-card {
  background: var(--persian-blue);
}

.service-card .window__titlebar {
  background: #0E2496;
}

.service-card__top {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.service-card__icon-wrapper {
  background: #080A13;
  border: none;
  outline: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 0;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

.service-card__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 22px); /* 26px cortaba "MASTERIZACIÓN" en el ancho de la card */
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--alice-blue);
  text-transform: uppercase;
  line-height: 1.15;
  overflow-wrap: break-word; /* seguridad: si aún no cabe, rompe en vez de cortarse */
}

.service-card__desc {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--alice-blue);
  opacity: 0.9;
  line-height: 1.65;
}

.service-card__price {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-1);
}

.service-card__price-label { color: var(--alice-blue); opacity: 0.7; }
.service-card__price-value { color: var(--turquoise); margin-left: 4px; }

.service-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ── Buttons ── */
.btn--fill-cyan {
  background: var(--turquoise);
  color: var(--deep-navy);
  border: none;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  border-radius: 2px;
}

.btn--fill-cyan:hover {
  background: var(--alice-blue);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.btn--fill-fuchsia {
  background: var(--hot-fuchsia);
  color: var(--alice-blue);
  border: none;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex: 1;
  text-align: center;
  border-radius: 2px;
}

.btn--fill-fuchsia:hover {
  background: var(--win-fuchsia-bar);
  color: var(--alice-blue);
  transform: translateY(-2px);
}

/* ── Consult Modal ── */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.consult-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.consult-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.consult-modal__window {
  position: relative;
  z-index: 1;
  width: min(680px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  transform: scale(0.85);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consult-modal.is-open .consult-modal__window {
  transform: scale(1);
}

.consult-modal__window .window__titlebar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.consult-modal__close {
  background: none;
  border: none;
  color: var(--alice-blue);
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.consult-modal__close:hover { opacity: 1; }

.consult-modal__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.consult-modal__intro {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--win-text);
  line-height: 1.7;
}

.consult-modal__note {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--alice-blue);
  opacity: 0.75;
  line-height: 1.6;
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-left: 2px solid var(--turquoise);
  background: rgba(0, 240, 222, 0.06);
}

.consult-modal__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.consult-modal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.consult-modal__card:hover { transform: translateY(-3px); }

.consult-modal__card--tg {
  background: var(--turquoise);
  border: none;
  color: var(--deep-navy);
}

.consult-modal__card--tg:hover {
  box-shadow: 0 0 24px rgba(0, 240, 222, 0.4);
}

.consult-modal__card--email {
  background: #F23030;
  border: none;
  color: var(--deep-navy);
}

.consult-modal__card--email .consult-modal__card-contact {
  color: var(--alice-blue);
}

.consult-modal__card--email:hover {
  box-shadow: 0 0 24px rgba(242, 48, 48, 0.4);
}

.consult-modal__card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.consult-modal__card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.consult-modal__card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 2px;
  color: inherit;
}

.consult-modal__card-sub {
  font-family: var(--font-ui);
  font-size: 11px;
  color: inherit;
  opacity: 0.7;
}

.consult-modal__card-contact {
  font-family: var(--font-ui);
  font-size: 12px;
  color: inherit;
  opacity: 0.8;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .service-card .window__body {
    flex-direction: column;
  }
  .service-card__icon-wrapper {
    width: 96px;
    padding: 10px;
    aspect-ratio: 1 / 1;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  }
  .service-card__actions {
    flex-direction: row;
  }
  .service-card__actions .btn--fill-cyan,
  .service-card__actions .btn--fill-fuchsia {
    font-size: 8.5px;
    letter-spacing: 1px;
    padding: 11px 6px;
  }
  .consult-modal__cards {
    grid-template-columns: 1fr;
  }
}

.servicios-page__cta {
  text-align: center;
  padding: var(--space-12);
  border: 1px solid rgba(20, 49, 209, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(12, 22, 79, 0.4);
}

.servicios-page__cta-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

/* ═══════════════════════════════════════════════════════════
   SERVICIOS-EXTERNOS.HTML
═══════════════════════════════════════════════════════════ */
.page-externos {
  background-color: var(--alice-blue);
  background-image: var(--dot-dark);
  background-size: 45px 45px;
  color: var(--ink-black);
}

.externos-page {
  padding-block: var(--space-16);
}

.externos-page__hero {
  position: relative;
  text-align: center;
  padding-block: var(--space-12);
  margin-bottom: var(--space-12);
}

.externos-page__mara-logo {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: block;
  width: clamp(48px, 6vw, 80px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.externos-page__mara-logo:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
.externos-page__mara-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.externos-page__hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink-black);
  margin-bottom: var(--space-2);
}

.externos-page__hero-powered {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hot-fuchsia);
  margin-bottom: var(--space-5);
}

.externos-page__hero-sub {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: rgba(8, 10, 19, 0.6);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

.externos-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.externos-page__footer {
  text-align: center;
}

.externos-page__mara-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--hot-fuchsia);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.externos-page__mara-link:hover { color: var(--raspberry); }

/* ═══════════════════════════════════════════════════════════
   ABOUT.HTML
═══════════════════════════════════════════════════════════ */
.page-about {
  background-color: var(--deep-navy);
  background-image: var(--dot-mid);
  background-size: 45px 45px;
}

.about-hero {
  text-align: center;
  padding-block: var(--space-10);
  background: rgba(8, 10, 19, 0.5);
  border-bottom: 1px solid rgba(237, 243, 255, 0.06);
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem); /* móvil: escala para que "PHASE-19" / "STUDIO" quepan enteros sin partirse; escritorio mantiene 56px */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1;
  color: var(--alice-blue);
  margin-bottom: var(--space-4);
}

.about-hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--raspberry);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.about-hero__text {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  color: var(--win-text-muted);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.8;
}

.about-rider {
  padding-block: var(--space-10);
  border-bottom: 1px solid rgba(237, 243, 255, 0.06);
}

.about-rider__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-rider__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.about-rider__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(237, 243, 255, 0.08);
  filter: brightness(0.8) saturate(0.7);
}

.about-rider__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ink-black) 0%, var(--persian-blue) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(237, 243, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.3;
}

.about-artists {
  padding-block: var(--space-6);
  background: rgba(8, 10, 19, 0.5);
  border-block: 1px solid rgba(237, 243, 255, 0.06);
}

/* ─── About — Rider equipment ─────────────────────────────── */
.equipment-item__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--turquoise);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* silencia cualquier carácter residual */
}
.equipment-item__icon svg { width: 22px; height: 22px; }
.equipment-item__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--alice-blue);
}

/* Títulos de sección (// Artistas, // Productores) en gris apagado */
.about-artists .section-header__title {
  color: var(--win-text-muted);
}

.about-artists__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: center;
  margin-top: var(--space-5);
}

.about-artists__name {
  font-family: var(--font-accent);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--alice-blue);
  transition: color var(--t-mid);
  letter-spacing: 2px;
  text-decoration: none;
}
.about-artists__name:hover { color: var(--raspberry); }

.about-spotify {
  padding-block: var(--space-8);
  border-bottom: 1px solid rgba(237, 243, 255, 0.06);
}

.about-spotify__embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 352px;
  background: rgba(8, 10, 19, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 243, 255, 0.08);
}

.about-spotify__placeholder {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--win-text-muted);
  text-align: center;
}

.about-spotify__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Studio photo carousel ───────────────────────── */
.studio-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(237, 243, 255, 0.08);
  background: linear-gradient(135deg, var(--ink-black) 0%, var(--persian-blue) 100%);
}

.studio-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--t-mid);
}

.studio-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.studio-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.7);
}

.studio-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(237, 243, 255, 0.2);
  background: rgba(8, 10, 19, 0.55);
  color: var(--alice-blue);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.studio-carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.studio-carousel__arrow:hover,
.studio-carousel__arrow:focus-visible {
  background: rgba(8, 10, 19, 0.85);
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.studio-carousel__arrow--prev { left: var(--space-3); }
.studio-carousel__arrow--next { right: var(--space-3); }

.studio-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
}

.studio-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(237, 243, 255, 0.4);
  background: rgba(8, 10, 19, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.studio-carousel__dot.is-active {
  background: var(--turquoise);
  border-color: var(--turquoise);
}

/* ── fullscreen button ── */
.studio-carousel__fullscreen {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(237, 243, 255, 0.2);
  background: rgba(8, 10, 19, 0.55);
  color: var(--alice-blue);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.studio-carousel__fullscreen:hover,
.studio-carousel__fullscreen:focus-visible {
  background: rgba(8, 10, 19, 0.85);
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.studio-carousel__fullscreen svg {
  width: 16px;
  height: 16px;
}

/* ── thumbnail strip ── */
.studio-thumbs {
  display: flex;
  flex-wrap: wrap; /* 6 thumbs de 72px (=472px) no caben a 375px → que envuelvan en vez de forzar el ancho */
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.studio-thumb {
  flex: 0 0 auto;
  width: 72px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--ink-black);
  transition: border-color var(--t-fast);
}

.studio-thumb.is-active {
  border-color: var(--turquoise);
}

.studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.15) brightness(0.55);
  transition: filter var(--t-fast);
}

.studio-thumb.is-active img {
  filter: saturate(0.8) brightness(0.9);
}

.studio-thumb:hover:not(.is-active) img {
  filter: saturate(0.4) brightness(0.75);
}

/* ── lightbox ── */
.studio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 10, 19, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-lightbox[hidden] { display: none; }

.studio-lightbox__stage {
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

.studio-lightbox__close {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(237, 243, 255, 0.2);
  background: rgba(8, 10, 19, 0.7);
  color: var(--alice-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.studio-lightbox__close:hover,
.studio-lightbox__close:focus-visible {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.studio-lightbox__close svg {
  width: 18px;
  height: 18px;
}

.studio-lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(237, 243, 255, 0.2);
  background: rgba(8, 10, 19, 0.7);
  color: var(--alice-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.studio-lightbox__arrow:hover,
.studio-lightbox__arrow:focus-visible {
  background: rgba(8, 10, 19, 0.9);
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.studio-lightbox__arrow svg { width: 24px; height: 24px; }
.studio-lightbox__arrow--prev { left: var(--space-4); }
.studio-lightbox__arrow--next { right: var(--space-4); }

.studio-lightbox__counter {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(237, 243, 255, 0.55);
}

.about-contact {
  padding-block: var(--space-10);
  text-align: center;
  background: rgba(8, 10, 19, 0.5);
  border-block: 1px solid rgba(237, 243, 255, 0.06);
}

.about-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.about-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-8);
  background: rgba(8, 10, 19, 0.4);
  border: 1px solid rgba(237, 243, 255, 0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color var(--t-mid);
}

.about-contact__card:hover { border-color: rgba(225, 39, 88, 0.3); transform: translateY(-3px); }

.about-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
}
.about-contact__icon svg {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--turquoise);
}

.about-contact__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--win-text-muted);
}

.about-contact__value {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--alice-blue);
  text-align: center;
}

/* Tarjetas estilo popup-consulta — colores tomados de servicios > consultar */
.about-contact__card--email {
  background: #F23030;
  border: none;
  color: var(--deep-navy);
}
.about-contact__card--email .about-contact__icon svg { color: var(--deep-navy); }
.about-contact__card--email .about-contact__label { color: var(--deep-navy); }
.about-contact__card--email .about-contact__value { color: var(--alice-blue); }
.about-contact__card--email:hover { box-shadow: 0 0 24px rgba(242, 48, 48, 0.4); border-color: transparent; }

.about-contact__card--tg {
  background: var(--turquoise);
  border: none;
  color: var(--deep-navy);
}
.about-contact__card--tg .about-contact__icon svg { color: var(--deep-navy); }
.about-contact__card--tg .about-contact__label,
.about-contact__card--tg .about-contact__value { color: var(--deep-navy); }
.about-contact__card--tg:hover { box-shadow: 0 0 24px rgba(0, 240, 222, 0.4); border-color: transparent; }

/* Tarjeta "Dirección" — recupera el mini-mapa de la sección Ubicación de inicio */
.about-contact__card--map {
  background: var(--persian-blue);
  border: none;
  color: var(--alice-blue);
}
.about-contact__card--map .about-contact__icon svg { color: var(--alice-blue); }
.about-contact__card--map .about-contact__label,
.about-contact__card--map .about-contact__value { color: var(--alice-blue); }
.about-contact__card--map:hover { box-shadow: 0 0 24px rgba(20, 49, 209, 0.5); border-color: transparent; }


/* ═══════════════════════════════════════════════════════════
   RESERVAS.HTML
═══════════════════════════════════════════════════════════ */
.page-reservas {
  background-color: var(--alice-blue);
  background-image: var(--dot-dark);
  background-size: 45px 45px;
  color: var(--ink-black);
}

.reservas-page {
  padding-block: var(--space-10);
}

.reservas-page__hero {
  text-align: center;
  margin-bottom: var(--space-10);
}

.reservas-page__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink-black);
}

.reservas-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  align-items: start;
}

/* ── CALENDAR WINDOW ── */
.calendar-window {
  position: sticky;
  top: calc(var(--header-height) + var(--space-5));
}

.calendar-window .window__body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Month view */
.cal-month {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(237, 243, 255, 0.1);
}

.cal-month__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.cal-month__nav {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(237, 243, 255, 0.1);
  color: var(--win-text);
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.cal-month__nav:hover { background: rgba(237, 243, 255, 0.2); }

.cal-month__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--win-text);
}

.cal-month__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: var(--space-2);
}

.cal-month__weekday {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(237, 243, 255, 0.45);  /* todos igual, sin distinción S/D */
  padding-block: var(--space-1);
}

.cal-month__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-month__recargo-note {
  margin-top: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--alice-blue);
  opacity: 0.45;
  letter-spacing: 0.3px;
}

.cal-day {
  aspect-ratio: 1;
  min-width: 0; /* permite que las 7 columnas 1fr encojan a <375px (si no, aspect-ratio+min-width:auto las clava en ~50px y el calendario desborda) */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: var(--text-md);   /* más grande */
  font-weight: 900;
  cursor: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  border: 1px solid transparent;
  position: relative;
}

/* Day states */
.cal-day--empty { visibility: hidden; cursor: default; }

.cal-day--past,
.cal-day--tooFar {
  color: rgba(237, 243, 255, 0.18);
  cursor: not-allowed;
}

.cal-day--weekend,
.cal-day--holiday {
  color: rgba(237, 243, 255, 0.22);
  cursor: not-allowed;
}

/* Libre — alice-blue con número deep-navy */
.cal-day--free {
  background: var(--alice-blue);
  color: var(--deep-navy);
}
.cal-day--free:hover {
  background: #d8e8ff;
  border-color: var(--turquoise);
  color: var(--deep-navy);
}

/* Parcial — amber #fec684, número deep-navy */
.cal-day--partial {
  background: #fec684;
  color: var(--deep-navy);
}
.cal-day--partial:hover {
  background: #ffd89e;
  border-color: var(--turquoise);
  color: var(--deep-navy);
}

/* Lleno — raspberry sólido, número alice-blue */
.cal-day--full {
  background: var(--raspberry);
  color: var(--alice-blue);
  cursor: not-allowed;
}

.cal-day--today {
  border-color: var(--turquoise) !important;
  box-shadow: 0 0 8px rgba(0, 240, 222, 0.3);
}

.cal-day--selected {
  background: var(--turquoise) !important;
  color: var(--ink-black) !important;
  border-color: transparent !important;
  box-shadow: 0 0 12px rgba(0, 240, 222, 0.4);
}

.cal-day--holiday .cal-day__emoji {
  position: absolute;
  top: 0;
  right: 1px;
  font-size: 8px;
}

/* ── Placeholder "selecciona un día" ── */
.cal-slots__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: rgba(237, 243, 255, 0.3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-6);
  border-top: 1px solid rgba(237, 243, 255, 0.08);
}

/* ══════════════════════════════════════════════════════════
   NUEVA SECCIÓN DE TIEMPO — Timeline 15 min + dropdowns
══════════════════════════════════════════════════════════ */
.cal-time-section {
  display: flex;
  border-top: 1px solid rgba(237, 243, 255, 0.1);
  min-height: 320px;
  max-height: 360px;
  overflow: hidden;
}

/* Columna izquierda: dropdowns */
.cal-time-controls {
  width: 108px;
  flex-shrink: 0;
  padding: var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: rgba(0, 0, 0, 0.18);
  border-right: 1px solid rgba(237, 243, 255, 0.1);
}

.cal-time-picker-group { display: flex; flex-direction: column; gap: 4px; }

/* Labels igual tono que los números del timeline (rgba white 0.75) */
.cal-time-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(237, 243, 255, 0.75);
}

.cal-time-select {
  appearance: none;
  width: 100%;
  background: rgba(8, 10, 19, 0.5);
  border: 1px solid rgba(237, 243, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--win-text);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 6px;
  cursor: none;
  transition: border-color var(--t-fast);
}
.cal-time-select:focus {
  outline: none;
  border-color: var(--turquoise);
}
.cal-time-select:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Separador ↕ — crece para empujar HORA FIN hacia abajo.
   Línea vertical + flecha centrada */
.cal-time-separator {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
}

.cal-time-separator::before,
.cal-time-separator::after {
  content: '';
  width: 1px;
  flex: 1;
  background: rgba(237, 243, 255, 0.2);
}

/* El símbolo ↕ centrado */
.cal-time-separator > span {
  font-size: 20px;
  color: rgba(237, 243, 255, 0.55);
  line-height: 1;
  flex-shrink: 0;
}

.cal-time-duration {
  padding-top: var(--space-3);
  border-top: 1px solid rgba(237, 243, 255, 0.1);
  text-align: center;
}

.cal-time-duration__value {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 900;
  color: var(--turquoise);
  display: block;
}

/* Label "DURACIÓN" al mismo tono */
.cal-time-duration__label {
  font-family: var(--font-ui);
  font-size: 9px;
  color: rgba(237, 243, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Instrucción */
.cal-time-hint {
  font-family: var(--font-ui);
  font-size: 9px;
  color: rgba(237, 243, 255, 0.55);
  text-align: center;
  line-height: 1.4;
  margin-top: var(--space-1);
}

/* Columna derecha: timeline — fondo morado del window */
.cal-timeline-wrap {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(150,44,221,0.4) transparent;
}

.cal-timeline {
  display: flex;
  flex-direction: column;
  padding: var(--space-1) 0;
}

/* Una fila = 15 min */
.cal-tl-row {
  display: flex;
  align-items: stretch;
  min-height: 16px;
  flex-shrink: 0;
  user-select: none;
}

.cal-tl-row--hour-start {
  min-height: 20px;
  border-top: 1px solid rgba(237, 243, 255, 0.12);
  margin-top: 1px;
}

/* Etiqueta de hora — blanco más visible sobre morado */
.cal-tl-time {
  width: 36px;
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  color: rgba(237, 243, 255, 0.75);   /* +visible que antes (era 0.45) */
  padding: 3px 4px 0 4px;
  text-align: right;
  align-self: flex-start;
  line-height: 1;
}

.cal-tl-row:not(.cal-tl-row--hour-start) .cal-tl-time {
  color: rgba(237, 243, 255, 0.45);   /* +visible que antes (era 0.2) */
  font-size: 8px;
}

/* Celda de slot */
.cal-tl-cell {
  flex: 1;
  margin: 1px 4px 1px 2px;
  border-radius: 2px;
  transition: background var(--t-fast);
  cursor: none;
  position: relative;
}

/* Estados celda — sobre fondo morado */
.cal-tl-cell--available {
  background: rgba(237, 243, 255, 0.32);  /* más visible que antes (era 0.14) */
}
.cal-tl-cell--available:hover {
  background: rgba(0, 240, 222, 0.35);
}

.cal-tl-cell--occupied {
  background: var(--raspberry);
  opacity: 0.9;
  cursor: not-allowed;
}

/* Buffer 15min post-reserva */
.cal-tl-cell--buffer {
  background: rgba(247, 28, 96, 0.35);
  cursor: not-allowed;
}

.cal-tl-cell--toosoon {
  background: rgba(74, 74, 90, 0.25);
  cursor: not-allowed;
}

/* Rango seleccionado */
.cal-tl-cell--selected {
  background: rgba(0, 240, 222, 0.45) !important;
  cursor: none;
}

/* Primer y último del rango */
.cal-tl-cell--sel-start {
  background: var(--turquoise) !important;
  border-radius: 3px 3px 0 0;
}
.cal-tl-cell--sel-end {
  background: var(--turquoise) !important;
  border-radius: 0 0 3px 3px;
}
/* Si start y end son el mismo: */
.cal-tl-cell--sel-single {
  background: var(--turquoise) !important;
  border-radius: 3px;
}

/* Preview durante arrastre */
.cal-tl-cell--preview {
  background: rgba(0, 240, 222, 0.25) !important;
}
.cal-tl-cell--preview-start {
  background: rgba(0, 240, 222, 0.6) !important;
  border-radius: 3px 3px 0 0;
}

/* Indicador "seleccionando" en la primera celda */
.cal-tl-row--selecting .cal-tl-cell--available {
  cursor: crosshair;
}

/* Slots footer simplificado */
.cal-slots__footer {
  padding: var(--space-2) var(--space-4);
  border-top: 1px solid rgba(237, 243, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--win-text-muted);
  background: rgba(0,0,0,0.1);
}

.cal-slots__total {
  font-weight: 700;
  color: var(--turquoise);
}

/* Calendar legend */
.cal-legend {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid rgba(237, 243, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cal-legend__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(237, 243, 255, 0.4);
}

.cal-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── CONFIG WINDOW ── */
.config-window { display: flex; flex-direction: column; }

.config-window .window__body {
  flex: 1;
  overflow-y: auto;
}

/* ─── Oferta de bienvenida (sección 02) ────────────────────── */
.welcome-offer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--turquoise);
  color: var(--deep-navy);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.welcome-offer__i {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--deep-navy);
  cursor: help;
}
.welcome-offer__i svg { width: 18px; height: 18px; display: block; }

.offer-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
/* Gris / no clickable cuando no es elegible (logueado o < 2h) */
.offer-row.is-disabled { opacity: 0.4; }
.offer-row.is-disabled .form-checkbox,
.offer-row.is-disabled .form-checkbox input { cursor: not-allowed; }

.offer-tip {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(237, 243, 255, 0.5);
  color: var(--win-text-muted);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  cursor: help;
}
.offer-tip::after,
.welcome-offer__i[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 220px;
  background: var(--deep-navy);
  border: 1px solid rgba(237, 243, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--alice-blue);
  line-height: 1.5;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}
.offer-tip:hover::after,
.offer-tip:focus-visible::after,
.welcome-offer__i[data-tip]:hover::after,
.welcome-offer__i[data-tip]:focus-visible::after { opacity: 1; }

/* ─── Servicios Extra — filas rediseñadas ──────────────────── */
#servicesCheckboxes {
  gap: 0;
}
#servicesCheckboxes .form-checkbox {
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  gap: var(--space-4);
  border-bottom: 1px solid rgba(237,243,255,0.06);
}
#servicesCheckboxes .form-checkbox:last-child {
  border-bottom: none;
}
#servicesCheckboxes .form-checkbox:nth-child(odd) {
  background: var(--deep-navy);
}
#servicesCheckboxes .form-checkbox:nth-child(even) {
  background: rgba(12,22,79,0.5);
}

/* Checkbox circular */
#servicesCheckboxes .form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--alice-blue);
  border-radius: 50%;
  background: var(--alice-blue);
  cursor: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
}
#servicesCheckboxes .form-checkbox input[type="checkbox"]:checked {
  background: var(--turquoise);
  border-color: var(--turquoise);
  box-shadow: 0 0 8px rgba(0,240,222,0.4);
}
#servicesCheckboxes .form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--ink-black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Nombre del servicio — Orbitron */
.svc-row__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--win-text);
  flex: 1;
  min-width: 0; /* permite que el nombre encoja en vez de fijar el ancho de la fila (rompía el calendario en móvil) */
  overflow-wrap: anywhere;
  letter-spacing: 0.04em;
}

/* Precio incluido (texto mudo) */
.svc-row__price {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--win-text-muted);
  flex-shrink: 0;
}

/* Botón CONSULTAR */
.svc-row__consult {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--turquoise);
  background: transparent;
  border: 1px solid rgba(0,240,222,0.5);
  border-radius: 3px;
  padding: 5px var(--space-3);
  cursor: none;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}
.svc-row__consult:hover {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--ink-black);
}

.config-footer {
  padding: var(--space-4) var(--space-6);
  background: rgba(8, 10, 19, 0.3);
  border-top: 1px solid rgba(237, 243, 255, 0.1);
}

.config-footer__summary {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--win-text-muted);
  margin-bottom: var(--space-2);
}

/* Precio total grande */
.config-footer__total {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--alice-blue);
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.config-footer__total strong { color: var(--turquoise); }

.config-footer__actions {
  display: flex;
  gap: var(--space-3);
}

.config-date-summary {
  background: rgba(8, 10, 19, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--win-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.config-payment-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(8, 10, 19, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--win-text-muted);
}

.config-disclaimer {
  padding: var(--space-3) var(--space-4);
  background: rgba(8, 10, 19, 0.2);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(0, 240, 222, 0.4);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--win-text-muted);
  line-height: 1.6;
}

/* Cart item cards in modal */
.cart-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(8, 10, 19, 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.cart-item-card__info { flex: 1; }

.cart-item-card__date {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--win-text);
}

.cart-item-card__detail {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--win-text-muted);
  margin-top: 2px;
}

.cart-item-card__price {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--turquoise);
  white-space: nowrap;
}

.cart-item-card__remove {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: rgba(225, 39, 88, 0.15);
  color: var(--raspberry);
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.cart-item-card__remove:hover { background: rgba(225, 39, 88, 0.3); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .servicios-page__grid > .service-card { flex-basis: calc((100% - var(--space-5)) / 2); } /* tablet: 2 por fila */
  .externos-page__grid  { grid-template-columns: 1fr; }
  .about-rider__grid    { grid-template-columns: 1fr; }
  .about-contact__grid  { gap: var(--space-4); }
  .about-contact__card  { padding: var(--space-5) var(--space-3); }
  .ubicacion-inner      { grid-template-columns: 1fr; }
  .reservas-layout      { grid-template-columns: 1fr; }
  .calendar-window      { position: static; }
  .ofertas-grid         { grid-template-columns: 1fr; }
  .ofertas-small-grid   { grid-template-columns: repeat(2, 1fr); }
  .poster--sala         { grid-template-columns: 1fr 170px; }
}

/* ═══════════════════════════════════════════════════════════
   RESERVAS — SLOT PENDIENTE + LEYENDA
═══════════════════════════════════════════════════════════ */
.cal-tl-cell--pending {
  background: repeating-linear-gradient(
    -45deg,
    #FCA927 0px,
    #FCA927 3px,
    rgba(225,39,88,0.85) 3px,
    rgba(225,39,88,0.85) 6px
  );
  cursor: not-allowed;
  opacity: 0.8;
}

/* Icono ? con tooltip en la leyenda */
.cal-legend__tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(237,243,255,0.3);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  color: var(--win-text-muted);
  cursor: default;
  position: relative;
  flex-shrink: 0;
  margin-left: var(--space-1);
}
.cal-legend__tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: none;
  width: 240px;
  background: var(--deep-navy);
  border: 1px solid rgba(237,243,255,0.15);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--alice-blue);
  line-height: 1.5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
  white-space: normal;
  text-align: left;
}
.cal-legend__tooltip:hover::after { opacity: 1; }

/* Titlebar variant — más grande, alice-blue, tooltip hacia abajo */
.cal-legend__tooltip--titlebar {
  width: 20px;
  height: 20px;
  font-size: 11px;
  color: var(--alice-blue);
  border-color: rgba(237,243,255,0.55);
  margin-left: auto;
  flex-shrink: 0;
}
.cal-legend__tooltip--titlebar::after {
  bottom: auto;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════
   CART NOTICE
═══════════════════════════════════════════════════════════ */
.cart-notice {
  font-family: var(--font-ui);
  font-size: 10px;
  color: rgba(237,243,255,0.4);
  padding: var(--space-2) 0 0;
  line-height: 1.5;
  border-top: 1px solid rgba(237,243,255,0.08);
  margin-top: var(--space-2);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SERVICIOS — DISCLAIMER
═══════════════════════════════════════════════════════════ */
.servicios-disclaimer {
  background: rgba(0,240,222,0.05);
  border: 1px solid rgba(0,240,222,0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--win-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}
.servicios-disclaimer strong { color: var(--alice-blue); }

/* ═══════════════════════════════════════════════════════════
   FAQ — PREGUNTAS FRECUENTES
═══════════════════════════════════════════════════════════ */
.faq-section {
  padding-block-start: var(--space-6);
  padding-block-end: var(--space-10);
  background: rgba(12, 22, 79, 0.85);
}
.faq-section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--alice-blue);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
}
.faq-list { max-width: 860px; }
.faq-item {
  background: var(--deep-navy);
  border-bottom: 1px solid rgba(237,243,255,0.06);
  border-radius: var(--radius-sm);
  padding-inline: var(--space-5);
  margin-bottom: 2px;
}
.faq-item summary {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--turquoise);
  padding: var(--space-4) 0;
  cursor: default;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  line-height: 1.4;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--turquoise);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] > summary::after { content: '–'; }
.faq-item[open] > summary { color: var(--turquoise); }
.faq-item__a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--alice-blue);
  line-height: 1.7;
  padding-bottom: var(--space-4);
  max-width: 820px;
  margin: 0;
}
.faq-note { color: var(--raspberry); font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   PERFIL — BONO ACTIVO + CANCELAR
═══════════════════════════════════════════════════════════ */
.bono-card { margin-bottom: var(--space-6); }
.bono-card__bar-wrap {
  padding: var(--space-1) var(--space-6) var(--space-3);
}
.bono-card__track {
  height: 6px;
  background: rgba(237,243,255,0.4);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--space-1);
}
.bono-card__fill {
  height: 100%;
  background: var(--turquoise);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0,240,222,0.4);
}
.bono-card__meta {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--win-text-muted);
  padding: 0 var(--space-6) var(--space-3);
  display: flex;
  justify-content: space-between;
}

.btn--cancel {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--raspberry);
  background: transparent;
  border: 1px solid rgba(225,39,88,0.35);
  border-radius: var(--radius-sm);
  padding: 4px var(--space-3);
  cursor: not-allowed;
  opacity: 0.65;
}

.btn--cancel:not(:disabled) {
  cursor: pointer;
  opacity: 1;
}

.btn--cancel:not(:disabled):hover {
  background: rgba(225,39,88,0.12);
  border-color: var(--raspberry);
}

/* ── Modal cancelación de reserva ── */
#cancelReservaOverlay {
  position: fixed;
  inset: 0;
  background: rgba(8,10,19,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#cancelReservaOverlay.is-open {
  opacity: 1;
  pointer-events: all;
}
#cancelReservaModal {
  max-width: 440px;
  width: 100%;
}
.cr-detail {
  font-size: var(--text-sm);
  line-height: 1.7;
  background: rgba(8,10,19,0.4);
  border: 1px solid rgba(237,243,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--alice-blue);
}
.cr-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Mobile */
@media (max-width: 768px) {
  .hero__content { grid-template-columns: 1fr; min-height: 90dvh; text-align: center; }
  .hero__logo-wrap { justify-content: center; }
  .hero__logo-svg { max-width: 280px; }
  .hero__ctas { justify-content: center; }
  .servicios-page__grid > .service-card { flex-basis: 100%; } /* móvil: 1 card por fila (a 2 cols los botones desbordaban) */
  .servicios-preview__grid > .svc-card { flex-basis: 100%; } /* cards cyberpunk (aspect 2.8:1) inservibles a 2 cols en móvil → 1 col */
  /* Móvil: mantiene aspect-ratio y posiciones absolutas, solo escala tipografía */
  .svc-card__title { font-size: clamp(15px, 5vw, 22px); } /* baja para que "MASTERIZACIÓN" quepa en la columna del preview a 1 col */
  .svc-card__desc  { font-size: 11px; }
  .svc-card__cta   { font-size: 14px; top: 75%; bottom: 2%; }
  .about-contact__grid  { grid-template-columns: 1fr; gap: var(--space-2); } /* era repeat(3,1fr): 3 tarjetas desbordaban en móvil */
  .about-contact__card  { padding: var(--space-3) var(--space-2); gap: var(--space-2); }
  .about-contact__icon, .about-contact__icon svg { width: 1.85rem; height: 1.85rem; }
  .about-contact__icon { font-size: 1.85rem; }
  .about-contact__label { font-size: 10px; letter-spacing: 1px; }
  .about-contact__value { font-size: 11px; word-break: break-word; }
  .about-artists__grid  { gap: var(--space-3); }
  .ofertas-small-grid   { grid-template-columns: repeat(2, 1fr); } /* 2x2 en móvil */
  .poster--sala         { grid-template-columns: 1fr; }
  .poster__sala-photo   { min-height: 220px; width: 100%; }
  .config-footer__actions { flex-direction: column; }
  .phone-mockup { transform: scale(0.85); transform-origin: center top; }
  .reservas-page__title { font-size: var(--text-2xl); }
}
