/*
  ============================================================
  PROYECTO: Plantilla web para artista/tatuador
  ARCHIVO: estilos generales del sitio
  NOTA PARA DISEÑO:
  - Las variables de :root controlan colores, radios, sombras y fuentes.
  - Los bloques están separados por secciones para facilitar edición.
  - La estructura está pensada para desktop y mobile.
  ============================================================
*/

/* ============================================================
   01. VARIABLES GLOBALES: paleta, tipografías y medidas base
   ============================================================ */

:root {
  --radius-global: 9px;
  --bg: #070707;
  --bg-soft: #111111;
  --bg-card: #151515;
  --text: #f4efe8;
  --muted: #b9aea4;
  --muted-2: #82776f;
  --line: rgba(244, 239, 232, 0.14);
  --accent: #f0a000;
  --accent-dark: #6f4930;
  --danger: #8d2f2f;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   02. RESET / BASE GENERAL
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* Helpers reutilizables para evitar estilos inline en HTML */
.align-left { justify-content: flex-start; }
.page-intro { padding-top: 150px; }

/* ============================================================
   03. CONTENEDOR GENERAL
   ============================================================ */

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

/* ============================================================
   04. HEADER Y NAVEGACIÓN
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }
.lang-switch { color: var(--accent); }

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  padding: 9px 13px;
}

/* ============================================================
   05. HERO / PRIMERA PANTALLA
   ============================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 70px;
  background: var(--bg);
}

/* Fondo del hero con parallax.
   IMPORTANTE:
   - Esta capa queda detrás del contenido, pero dentro del hero.
   - Es más alta que el hero para poder moverse sin mostrar bordes.
   - El movimiento lo controla main.js con transform.
*/
.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.92)),
    url('../img/hero-placeholder.jpg');

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;

  will-change: background-position;
  pointer-events: none;
}

/* Degradado inferior para que el hero se funda con el fondo general */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  width: min(920px, calc(100% - 32px));
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: clamp(96px, 9vw, 154px);
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55));
}

.hero-name {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 22px;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .7);
}

.hero-content h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(3.1rem, 5.6vw, 5.9rem);
  text-shadow: 0 8px 28px rgba(0, 0, 0, .82);
}

.hero-kicker {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--accent);
  text-shadow: 0 4px 14px rgba(0, 0, 0, .8);
}

.hero-content .lead {
  max-width: 660px;
  margin-top: 10px;
  color: rgba(244, 239, 232, .88);
  text-shadow: 0 4px 14px rgba(0, 0, 0, .82);
}


/* Mobile: mantiene el efecto, pero con menos área extra */
@media (max-width: 768px) {
  .parallax-bg {
    top: -18%;
    height: 136%;
  }

  .hero-content h1 {
    max-width: 620px;
    font-size: clamp(2.65rem, 10vw, 4.5rem);
  }

  .hero-logo {
    width: clamp(82px, 24vw, 120px);
  }
}

/* Accesibilidad: desactiva movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    transform: none !important;
    will-change: auto;
  }
}

/* ============================================================
   06. TIPOGRAFÍAS Y TEXTOS DESTACADOS
   ============================================================ */

.kicker {
  color: var(--accent);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { font-size: 1.6rem; }

.nowrap {
  white-space: nowrap;
}

.lead {
  color: var(--muted);
  max-width: 690px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ============================================================
   07. BOTONES Y GRUPOS DE ACCIONES
   ============================================================ */

.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn-primary { background: var(--text); color: #080808; border-color: var(--text); }
.btn-accent { background: var(--accent); color: #080808; border-color: var(--accent); }

/* ============================================================
   08. SECCIONES, GRIDS Y LAYOUTS REUTILIZABLES
   ============================================================ */

.section { padding: 105px 0; }
.section.alt { background: var(--bg-soft); }
.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head p { color: var(--muted); margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ============================================================
   09. TARJETAS / CARDS
   ============================================================ */

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-body { padding: 24px; }
.card p { color: var(--muted); margin: 12px 0 0; }
.card small { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }

.differentials-card .card-body { padding: 28px; }
.differentials-list { display: grid; gap: 22px; margin-top: 18px; }
.differential-item { padding-top: 20px; border-top: 1px solid var(--line); }
.differential-item:first-child { padding-top: 0; border-top: 0; }
.differential-item h3 { margin: 0; font-size: 1.1rem; letter-spacing: .01em; }
.differential-item p { margin-top: 8px; }

/* ============================================================
   10. IMÁGENES DESTACADAS
   ============================================================ */

.image-frame {
  border-radius: var(--radius-global);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 440px;
  background: #1d1d1d;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   11. GALERÍA Y LIGHTBOX
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  min-height: 310px;
  border-radius: var(--radius-global);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #181818;
  cursor: pointer;
}
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 6; }
.gallery-item:nth-child(2), .gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5) { grid-column: span 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

/* Galería completa: mosaico editorial compacto, manteniendo piezas grandes y chicas sin huecos visuales. */
.gallery-page-grid {
  grid-auto-rows: 88px;
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-page-grid .gallery-item {
  grid-column: span 3;
  grid-row: span 3;
  min-height: 0;
  box-shadow: var(--shadow);
}

.gallery-page-grid .gallery-item:nth-child(8n + 1),
.gallery-page-grid .gallery-item:nth-child(8n + 6) {
  grid-column: span 6;
  grid-row: span 4;
}

.gallery-page-grid .gallery-item:nth-child(8n + 3),
.gallery-page-grid .gallery-item:nth-child(8n + 7) {
  grid-column: span 3;
  grid-row: span 4;
}

.gallery-page-grid .gallery-item:nth-child(8n + 4) {
  grid-column: span 6;
  grid-row: span 3;
}

/* Excepciones puntuales de mosaico: solo desktop. */
@media (min-width: 769px) {
  .gallery-page-grid .gallery-item.tattoo-01-fill-bottom {
    grid-row: span 5;
  }
}

.lightbox-only { display: none; }
.gallery-item:hover img { transform: scale(1.04); }

/* ============================================================
   12. TIENDA / PRODUCTOS
   ============================================================ */

.product-price { color: var(--text); font-size: 1.2rem; margin-top: 14px; }

/* ============================================================
   13. RESERVAS / FORMULARIO
   ============================================================ */

.booking-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.form-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.full { grid-column: 1 / -1; }
label { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  background: #0b0b0b;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-global);
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }

.notice {
  border-left: 2px solid var(--accent);
  padding: 16px 18px;
  background: rgba(183, 138, 88, .08);
  color: var(--muted);
  border-radius: var(--radius-global);
  display: none;
}

/* ============================================================
   14. TESTIMONIOS
   ============================================================ */

.testimonial { padding: 24px; }
.testimonial p { color: var(--muted); }
.testimonial strong { display: block; margin-top: 16px; }


/* CTA final de galería */
.gallery-cta-section {
  text-align: center;
}

.gallery-cta {
  max-width: 760px;
}

.gallery-cta .lead {
  margin: 10px auto 28px;
}



/* Trayectoria / premios y reconocimientos */
.trajectory-section {
  background: var(--bg);
}

.awards-head {
  align-items: end;
}

.awards-head .lead {
  max-width: 520px;
  margin: 0;
}

.awards-copy {
  width: 100%;
  max-width: none;
  margin: 28px 0 32px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  background: rgba(255,255,255,.035);
}


.awards-copy__content {
  position: relative;
}

.awards-copy__toggle {
  display: none;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.awards-copy__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.awards-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.68;
}

.awards-copy p:last-child {
  margin-bottom: 0;
}

.award-gallery-item.is-lightbox-only {
  display: none;
}

.awards-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 88px;
  grid-auto-flow: dense;
  gap: 12px;
  padding: 2px 0 0;
}

.award-gallery-item {
  grid-column: span 3;
  grid-row: span 2;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  background: #181818;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.award-gallery-item.award--wide {
  grid-column: span 6;
}

.award-gallery-item.award--tall {
  grid-row: span 3;
}

.award-gallery-item.award--large {
  grid-column: span 6;
  grid-row: span 3;
}

/* Ajustes puntuales para que el mosaico cierre como un bloque más rectangular. */
.award-gallery-item[data-lightbox-order="5"],
.award-gallery-item[data-lightbox-order="12"],
.award-gallery-item[data-lightbox-order="13"] {
  grid-row: span 3;
}

.award-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}



.award-gallery-item[data-lightbox-order="1"] img { object-position: center 22%; }
.award-gallery-item[data-lightbox-order="2"] img { object-position: center 18%; }
.award-gallery-item[data-lightbox-order="3"] img { object-position: center 20%; }
.award-gallery-item[data-lightbox-order="4"] img { object-position: center 24%; }
.award-gallery-item[data-lightbox-order="5"] img { object-position: center 16%; }
.award-gallery-item[data-lightbox-order="7"] img { object-position: center 18%; }
.award-gallery-item[data-lightbox-order="8"] img { object-position: center 20%; }
.award-gallery-item[data-lightbox-order="9"] img { object-position: center 38%; }
.award-gallery-item[data-lightbox-order="10"] img { object-position: center 18%; }
.award-gallery-item[data-lightbox-order="11"] img { object-position: center 22%; }
.award-gallery-item[data-lightbox-order="12"] img { object-position: center 18%; }
.award-gallery-item[data-lightbox-order="13"] img { object-position: center 30%; }
.award-gallery-item[data-lightbox-order="15"] img { object-position: center 18%; }

.award-gallery-item:hover img {
  transform: scale(1.04);
}

.award-gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ============================================================
   15. CTA FLOTANTE Y FOOTER
   ============================================================ */

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   16. ANIMACIONES DE ENTRADA
   ============================================================ */

.fade-up { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius-global); }
.lightbox button {
  position: absolute;
  border: 1px solid var(--line);
  background: #111;
  color: var(--text);
  border-radius: var(--radius-global);
  cursor: pointer;
}
.lightbox-close {
  top: 20px;
  right: 20px;
  padding: 10px 14px;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   17. RESPONSIVE TABLET / MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #101010;
    border: 1px solid var(--line);
    border-radius: var(--radius-global);
    padding: 18px;
  }
  .nav-links.is-open { display: flex; }
  .section { padding: 76px 0; }
  .section-head, .grid-2, .booking-panel { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 6; min-height: 260px; }
  .award-gallery-item,
  .award-gallery-item:nth-child(n) {
    grid-column: span 6;
    grid-row: span 2;
  }

  .award-gallery-item.award--large,
  .award-gallery-item.award--wide,
  .award-gallery-item.award--tall,
  .award-gallery-item[data-lightbox-order="5"],
  .award-gallery-item[data-lightbox-order="12"],
  .award-gallery-item[data-lightbox-order="13"] {
    grid-column: span 6;
    grid-row: span 2;
  }

  .gallery-page-grid {
    grid-auto-rows: 78px;
  }

  .gallery-page-grid .gallery-item,
  .gallery-page-grid .gallery-item:nth-child(n) {
    grid-column: span 6;
    grid-row: span 3;
    min-height: 0;
  }

  .gallery-page-grid .gallery-item:nth-child(6n + 1),
  .gallery-page-grid .gallery-item:nth-child(6n + 4) {
    grid-row: span 4;
  }
}

@media (max-width: 620px) {
  .nav { height: 68px; }
  .hero { padding-top: 92px; }
  .hero-name { margin-bottom: 16px; }
  .hero-kicker { margin-top: 18px; }
  .hero-content .lead { font-size: .95rem; }
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 12; }

  /* Mantiene la galería destacada del index en 2 columnas también en móviles. */
  .featured-gallery-grid .gallery-item,
  .featured-gallery-grid .gallery-item:nth-child(n) {
    grid-column: span 6;
    min-height: 180px;
  }

  /* Galería principal: mantiene 2 columnas en móviles, con alturas editoriales compactas. */
  .gallery-page-grid {
    grid-auto-rows: 64px;
    gap: 10px;
  }

  .gallery-page-grid .gallery-item,
  .gallery-page-grid .gallery-item:nth-child(n) {
    grid-column: span 6;
    grid-row: span 3;
    min-height: 0;
  }

  .gallery-page-grid .gallery-item:nth-child(6n + 1),
  .gallery-page-grid .gallery-item:nth-child(6n + 4) {
    grid-row: span 4;
  }

  /* Productos/seminarios: primera tarjeta completa y las siguientes en 2 columnas en móviles. */
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-products-grid .card:first-child {
    grid-column: 1 / -1;
  }


  .awards-head .lead { margin-top: 12px; }

  .awards-copy {
    margin: 26px 0 30px;
    padding: 22px;
  }

  .awards-copy__content {
    max-height: 238px;
    overflow: hidden;
  }

  .awards-copy__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(to bottom, rgba(24,24,24,0), var(--bg));
    pointer-events: none;
  }

  .awards-copy.is-expanded .awards-copy__content {
    max-height: none;
  }

  .awards-copy.is-expanded .awards-copy__content::after {
    display: none;
  }

  .awards-copy__toggle {
    display: inline-block;
  }

  .awards-gallery-grid {
    grid-auto-rows: 68px;
    gap: 9px;
  }

  .award-gallery-item,
  .award-gallery-item:nth-child(n),
  .award-gallery-item.award--large,
  .award-gallery-item.award--wide,
  .award-gallery-item.award--tall,
  .award-gallery-item[data-lightbox-order="5"],
  .award-gallery-item[data-lightbox-order="12"],
  .award-gallery-item[data-lightbox-order="13"] {
    grid-column: span 6;
    grid-row: span 2;
  }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  /* Oculta únicamente el botón flotante de reservas en mobile. */
  .floating-cta { display: none; }
}

/* ============================================================
   18. MINI CALENDARIO DE RESERVAS
   ============================================================ */
.calendar-card { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-global); background: rgba(255,255,255,.035); }
.calendar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.calendar-top strong { font-family: var(--font-title); /* usa la variable global de títulos */ font-size: 1.25rem; }
.calendar-nav { width: 38px; height: 38px; border-radius: var(--radius-global); border: 1px solid var(--line); background: #0b0b0b; color: var(--text); cursor: pointer; font-size: 1.4rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.calendar-weekdays { color: var(--muted); font-size: .72rem; text-align: center; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.calendar-day, .calendar-empty { min-height: 42px; border-radius: var(--radius-global); }
.calendar-day { border: 1px solid transparent; background: rgba(255,255,255,.03); color: rgba(255,255,255,.35); }
.calendar-day.is-available { color: var(--text); border-color: rgba(183, 138, 88, .45); background: rgba(183, 138, 88, .12); cursor: pointer; }
.calendar-day.is-selected { background: var(--accent); color: #090909; }
.calendar-day:disabled { cursor: not-allowed; }
.calendar-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; margin-top: 14px; }
.calendar-legend span { width: 10px; height: 10px; border-radius: var(--radius-global); background: var(--accent); }
.slot-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.slot-panel p { margin: 0 0 12px; }
.slot-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.slot-btn { border: 1px solid var(--line); background: #0b0b0b; color: var(--text); border-radius: var(--radius-global); padding: 9px 14px; cursor: pointer; }
.slot-btn.is-selected { background: var(--text); color: #090909; }
.slot-panel small { display: block; line-height: 1.6; }
@media (max-width: 620px) { .calendar-card { padding: 16px; } .calendar-weekdays, .calendar-grid { gap: 5px; } .calendar-day, .calendar-empty { min-height: 36px; border-radius: var(--radius-global); } }

/* Fondo sección tienda - Index */
.featured-products,
.shop-bg {
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.72)),
    url("../img/back-1.png");
  background-size: 1920px auto;
  background-repeat: no-repeat;
  background-position: center;
}

/* Footer links */
.footer-row a {
  color: inherit;
  transition: color .25s ease, opacity .25s ease;
}

.footer-row a:hover {
  color: var(--accent);
}

.footer-contact,
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.footer-credit {
  opacity: .42;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-credit:hover {
  opacity: .68;
}

/* ============================================================
   19. POPUP DE PRODUCTO — TIENDA
   ============================================================ */

.product-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-card .btn {
  margin-top: 18px;
  background: transparent;
  color: var(--text);
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-card__actions .btn {
  margin-top: 0;
}

.product-card--preview {
  position: relative;
}

.product-card--preview .product-price--soon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(183, 138, 88, .45);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(183, 138, 88, .1);
  font-size: .92rem;
  letter-spacing: .02em;
}

.product-price {
  color: var(--accent);
  margin-top: 14px;
  font-weight: 600;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 24px;
}

.product-modal.is-open {
  display: grid;
  place-items: center;
}

.product-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(12px);
}

.product-modal__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 28px;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  box-shadow: var(--shadow);
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  background: #070707;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.product-modal__hero-wrap,
.product-modal__hero,
.product-modal__hero-video,
.product-modal__thumb img,
.product-modal__thumb video,
.product-modal__videos video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  background: #050505;
}

.product-modal__hero-wrap {
  overflow: hidden;
}

.product-modal__hero,
.product-modal__hero-video {
  display: block;
  height: 420px;
  object-fit: cover;
}

.product-modal__hero.is-hidden,
.product-modal__hero-video.is-hidden {
  display: none;
}

.product-modal__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-modal__thumb {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-modal__thumb img,
.product-modal__thumb video {
  height: 86px;
  object-fit: cover;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.product-modal__thumb:hover img,
.product-modal__thumb:hover video,
.product-modal__thumb.is-active img,
.product-modal__thumb.is-active video {
  opacity: 1;
  border-color: var(--accent);
}

.product-modal__thumb:focus-visible img,
.product-modal__thumb:focus-visible video {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-modal__thumb:hover img,
.product-modal__thumb:hover video {
  transform: translateY(-2px);
}

.product-modal__videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-modal__videos video {
  max-height: 260px;
}

.product-modal__info {
  padding-right: 18px;
}

.product-modal__info h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.product-modal__info p {
  color: var(--muted);
}

.product-features {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.product-features div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-features h3 {
  font-family: var(--font-body);
  font-size: .9rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-features p {
  margin: 8px 0 0;
}

body.product-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .product-modal__content {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .product-modal__info {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .product-modal {
    padding: 12px;
  }

  .product-modal__content {
    padding: 18px;
  }

  .product-modal__hero {
    height: 300px;
  }

  .product-modal__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-modal__videos {
    grid-template-columns: 1fr;
  }
}

.product-price--modal {
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.product-order-form {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-global);
  background: rgba(255,255,255,.035);
}

.product-order-form h3 {
  font-family: var(--font-body);
  font-size: .95rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-form-note,
.product-form-status {
  color: var(--muted);
  font-size: .9rem;
}

.product-form-note {
  margin-bottom: 18px;
}

.product-order-form .btn {
  margin-top: 18px;
}

.product-form-status {
  margin-top: 12px;
}

@media (max-width: 620px) {
  .product-modal__hero,
  .product-modal__hero-video {
    height: 300px;
  }

  .product-order-form {
    padding: 16px;
  }
}


/* Estado del formulario de reservas */
.form-status{
  margin:14px 0 0;
  font-size:.95rem;
  line-height:1.45;
  color:var(--muted);
}
.form-status.is-success{color:#9bd18f;}
.form-status.is-error{color:#ff9b9b;}
.form-card.is-sending{opacity:.78; pointer-events:none;}

/* ============================================================
   20. LIGHTBOX DE VIDEO — SEMINARIO ONLINE
   ============================================================ */

.product-card__media-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.product-card__media-button img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card__media-button:hover img {
  transform: scale(1.04);
}

.video-play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.92);
}

.video-lightbox.is-open {
  display: grid;
}

.video-lightbox__inner {
  position: relative;
  width: min(92vw, 1100px);
}

.video-lightbox__media {
  width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-global);
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-lightbox__close {
  position: absolute;
  top: -54px;
  right: 0;
  border: 1px solid var(--line);
  background: #111;
  color: var(--text);
  border-radius: var(--radius-global);
  padding: 10px 14px;
  cursor: pointer;
}

@media (max-width: 620px) {
  .video-play-badge {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  .video-lightbox {
    padding: 16px;
  }
}
