/* ===========================================
   CLOTHERBROS — CLOTHERSTUDIO
   Booking Page — Design System
   Paleta: Negro + Violeta (marca real)
   =========================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── COLOR PALETTE ── */
  /* Base oscura */
  --black:       #060606;
  --black-2:     #0e0e0e;
  --black-3:     #161616;
  --black-4:     #1e1e1e;
  --white:       #f0f0f0;
  --white-dim:   #888899;

  /* Violeta primario — color de marca */
  --purple:          #7B2FBE;
  --purple-light:    #A855F7;
  --purple-bright:   #C026D3;
  --purple-dark:     #4C1A8A;
  --purple-dim:      rgba(123, 47, 190, 0.18);
  --purple-glow:     rgba(168, 85, 247, 0.25);
  --purple-border:   rgba(168, 85, 247, 0.35);

  /* Bordes y glassmorphism */
  --border:      rgba(255, 255, 255, 0.06);
  --border-p:    rgba(168, 85, 247, 0.3);
  --glass:       rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.06);

  /* Error */
  --red:         #e03040;

  /* ── TYPOGRAPHY ── */
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-ui:    'Space Grotesk', sans-serif;

  /* ── SPACING ── */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container:   1200px;

  /* ── EASING ── */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-ui); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* === UTILITIES === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-padding { padding: var(--section-pad) 0; }

.section-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--white-dim);
  max-width: 480px;
  margin: 0 auto;
}

.accent-text { color: var(--purple-light); }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: gap 0.2s, transform 0.2s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--purple-light);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
}

.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { gap: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.25s, background 0.25s;
}

.btn-ghost:hover {
  border-color: var(--purple-light);
  background: var(--purple-dim);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  color: var(--white-dim);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
}

.btn-ghost-sm:hover { border-color: var(--purple-border); color: var(--white); }

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-next:hover { background: var(--purple-light); transform: translateX(2px); }

.btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 24px var(--purple-glow);
}
.btn-confirm:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { background: #20b855; transform: translateY(-1px); }

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--purple-border);
  color: var(--purple-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-maps:hover { background: var(--purple-dim); border-color: var(--purple-light); }

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ig:hover { border-color: var(--purple-border); background: var(--purple-dim); }
.btn-ig .ig-handle { color: var(--purple-light); font-weight: 700; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; height: 100%; }

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.logo-sub {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  color: var(--purple-light);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--purple-light); }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--purple);
  color: #fff;
  transition: background 0.2s;
  box-shadow: 0 0 16px var(--purple-glow);
}
.nav-cta:hover { background: var(--purple-light); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(6, 6, 6, 0.98);
  border-top: 1px solid var(--border);
  gap: 0.3rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.nav-mobile.open { max-height: 400px; padding-top: 1.2rem; padding-bottom: 1.5rem; }

.nav-mobile-link {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--purple-light); }

.nav-mobile-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Fondo violeta-negro como fallback */
  background: radial-gradient(ellipse 80% 60% at 60% 40%, #1a0a2e 0%, #0a0010 50%, #060606 100%);
}

/* Efecto de noise/textura sutil */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) saturate(0.7);
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6,6,6,0.98) 0%, rgba(6,6,6,0.3) 60%, rgba(6,6,6,0.05) 100%),
    linear-gradient(135deg, rgba(123,47,190,0.15) 0%, transparent 60%);
}

/* Ticker de marcas */
.hero-ticker {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  padding: 0.55rem 0;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-dark));
  margin-top: 70px;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
}

.ticker-track .sep { color: rgba(255,255,255,0.3); }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Orb decorativo de luz violeta */
.hero-orb {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(8rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem) 4rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-sizing: border-box;
}

.hero-text-side {
  max-width: 700px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 10px var(--purple-light);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--purple-light); }
  50% { opacity: 0.5; transform: scale(0.7); box-shadow: 0 0 4px var(--purple-light); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(5.5rem, 12vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 0 80px rgba(123,47,190,0.3);
  margin-bottom: 0;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-visual-side {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-spinning-wrapper {
  position: relative;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-spinning-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 35s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-spinning-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px var(--purple-glow));
}

.hero-center-logo {
  position: relative;
  z-index: 2;
  width: 45%; 
  height: 45%;
  object-fit: contain;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(240,240,240,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  z-index: 3;
  color: rgba(168,85,247,0.4);
  font-size: 1.3rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* === EXPERIENCIA === */
.experiencia { background: var(--black); }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.exp-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, #1a0a2e 0%, #0e0e0e 100%);
}

.exp-img-wrap.img-fallback {
  background:
    repeating-linear-gradient(45deg, #1a1a1a 0px, #1a1a1a 2px, transparent 2px, transparent 24px),
    linear-gradient(160deg, #1a0a2e 0%, #0d0c0a 100%);
}

.exp-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.exp-img-wrap:hover .exp-img { transform: scale(1.04); }

/* Borde violeta brillante en la imagen */
.exp-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--purple-border);
  pointer-events: none;
}

.exp-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 1rem 1.2rem;
  line-height: 1.2;
  box-shadow: 0 0 20px var(--purple-glow);
}

.exp-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.exp-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: var(--white);
}

.exp-text { font-size: 0.95rem; color: var(--white-dim); line-height: 1.8; }

.exp-features { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 0.5rem; }

.exp-feature { display: flex; align-items: flex-start; gap: 1rem; }

.feature-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--purple-border);
  color: var(--purple-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--purple-dim);
}

.exp-feature strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.exp-feature p { font-size: 0.82rem; color: var(--white-dim); }

/* === TIPOS DE TURNO === */
.turnos {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
  position: relative;
  overflow: hidden;
}

/* Orb decorativo en fondo */
.turnos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,190,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.turnos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.turno-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.turno-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-dark), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.turno-card:hover::before { opacity: 1; }
.turno-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(123,47,190,0.15);
}

.turno-card--featured {
  border-color: var(--purple-border);
  background: linear-gradient(160deg, #150828 0%, var(--black-3) 60%);
  box-shadow: 0 0 40px rgba(123,47,190,0.12);
}

.turno-card--featured::before {
  background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
  opacity: 1;
}

.turno-card--featured:hover {
  border-color: var(--purple-light);
  box-shadow: 0 10px 50px rgba(168,85,247,0.25);
}

.turno-card-top { display: flex; justify-content: space-between; align-items: flex-start; }

.turno-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: rgba(168,85,247,0.08);
  line-height: 1;
}

.turno-badge {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--white-dim);
}

.turno-badge--purple {
  border-color: var(--purple-border);
  color: var(--purple-light);
  background: var(--purple-dim);
}

.turno-name {
  font-family: var(--font-head);
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.turno-range {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  text-transform: uppercase;
}

.turno-desc { font-size: 0.88rem; color: var(--white-dim); line-height: 1.6; }

.turno-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  flex: 1;
}

.turno-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(240,240,240,0.65);
}

.turno-features i { color: var(--purple-light); font-size: 0.9rem; }

.turno-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.turno-card--featured .turno-select-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: var(--purple);
  box-shadow: 0 0 16px var(--purple-glow);
}

.turno-select-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-glow);
}

/* === GALERÍA === */
.galeria { background: var(--black); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
  margin-bottom: 3rem;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
  cursor: pointer;
}

.galeria-item.img-placeholder {
  background:
    repeating-linear-gradient(45deg, #161616 0px, #161616 2px, transparent 2px, transparent 24px),
    linear-gradient(160deg, #1a0a2e 0%, #0e0c0e 100%);
}

.galeria-item.img-placeholder::after {
  content: '[ Foto real aquí ]';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(168,85,247,0.2);
  text-transform: uppercase;
}

.galeria-item--tall { grid-row: span 2; }
.galeria-item--wide { grid-column: span 2; }

.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.galeria-overlay {
  position: absolute; inset: 0;
  background: rgba(6,6,6,0);
  display: flex; align-items: flex-end;
  padding: 1rem 1.2rem;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}

.galeria-overlay span {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.3s var(--ease);
}

.galeria-item:hover img { transform: scale(1.07); }
.galeria-item:hover .galeria-overlay { opacity: 1; background: rgba(6,6,6,0.5); }
.galeria-item:hover .galeria-overlay span { transform: translateY(0); }

.galeria-cta { display: flex; justify-content: center; padding: 0 1rem; }

/* === RESERVA / FORMULARIO === */
.reserva {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Orb de fondo en la sección reserva */
.reserva::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,190,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Stepper */
.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.step { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; opacity: 0.3; transition: opacity 0.4s; }
.step.active, .step.completed { opacity: 1; }

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.8rem; font-weight: 600;
  color: var(--white-dim);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.step.active .step-circle {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 0 16px var(--purple-glow);
}

.step.completed .step-circle {
  background: var(--purple-dark);
  border-color: var(--purple-border);
  color: var(--purple-light);
}

.step-label {
  font-family: var(--font-ui);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.step.active .step-label { color: var(--purple-light); }
.step.completed .step-label { color: var(--purple-dark); }

.step-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0 0.5rem;
  margin-bottom: 1.2rem;
}

/* Form wrapper */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-step { display: none; animation: fadeInUp 0.4s var(--ease) forwards; }
.form-step.active { display: block; }

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

.step-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step-hint { font-size: 0.85rem; color: var(--white-dim); margin-bottom: 2rem; }

.step-error {
  display: none;
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 0.8rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 107, 107, 0.06);
  border-left: 2px solid #ff6b6b;
}
.step-error.visible { display: block; }

.step-actions {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Type selector */
.type-selector { display: flex; flex-direction: column; gap: 1rem; }

.type-option {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
}

.type-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.type-option.selected {
  border-color: var(--purple-border);
  background: var(--purple-dim);
}

.type-option-content { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }

.type-tag {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: rgba(168,85,247,0.1);
  line-height: 1;
}

.type-option-content strong {
  font-family: var(--font-ui);
  font-size: 1rem; font-weight: 600;
  color: var(--white);
}

.type-option-content span { font-size: 0.8rem; color: var(--white-dim); }

.type-check {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.type-option.selected .type-check {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* Date picker */
.date-picker-wrap { margin: 0.5rem 0; }

.date-input {
  width: 100%; max-width: 320px;
  padding: 1rem 1.2rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color-scheme: dark;
}

.date-input:focus {
  border-color: var(--purple-border);
  box-shadow: 0 0 0 2px rgba(123,47,190,0.15);
}

/* Slots */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.slot-btn {
  padding: 0.75rem 0.5rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--purple-border);
  background: var(--purple-dim);
}

.slot-btn.selected {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px var(--purple-glow);
}

.slot-btn:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.slot-btn.booked {
  border-color: rgba(255,107,107,0.2);
  color: rgba(255,107,107,0.5);
  background: rgba(255,107,107,0.04);
  cursor: not-allowed;
}

/* Form fields */
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.field-group--full { grid-column: span 2; }

.field-group label {
  font-family: var(--font-ui);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.required { color: var(--purple-light); }
.optional { color: rgba(255,255,255,0.2); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--purple-border);
  box-shadow: 0 0 0 2px rgba(123,47,190,0.12);
}

.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(255,255,255,0.18); }

.input-with-prefix {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  background: var(--black-3);
  transition: border-color 0.2s;
}
.input-with-prefix:focus-within { border-color: var(--purple-border); }

.input-prefix {
  padding: 0 0.8rem;
  font-size: 0.9rem; color: var(--purple-light); font-weight: 700;
  border-right: 1px solid var(--border);
}

.input-with-prefix input { border: none; background: transparent; flex: 1; }

/* Resumen */
.resumen-card {
  background: var(--black-3);
  border: 1px solid var(--purple-border);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 0 30px rgba(123,47,190,0.1);
}

.resumen-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.resumen-row:last-child { border-bottom: none; padding-bottom: 0; }
.resumen-row .label { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-dim); }
.resumen-row .val { font-weight: 600; color: var(--white); text-align: right; }

.confirm-disclaimer {
  margin-top: 1.5rem; font-size: 0.77rem;
  color: rgba(255,255,255,0.3); line-height: 1.6; text-align: center;
}

/* Success Screen */
.success-screen {
  text-align: center; padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}

.success-icon {
  font-size: 4rem; color: var(--purple-light);
  animation: successPop 0.5s var(--ease-spring) forwards;
  text-shadow: 0 0 30px var(--purple-glow);
}

@keyframes successPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
  color: var(--white);
}

.success-sub { font-size: 1.1rem; color: var(--white-dim); }

.success-detail {
  background: var(--black-3);
  border: 1px solid var(--purple-border);
  padding: 1.5rem 2rem;
  text-align: left;
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 0.6rem;
}

.success-detail p { font-size: 0.88rem; display: flex; justify-content: space-between; gap: 1rem; }
.success-detail p .label { color: var(--white-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.success-detail p .val { font-weight: 600; color: var(--white); text-align: right; }

.success-note { font-size: 0.82rem; color: rgba(255,255,255,0.35); max-width: 400px; line-height: 1.7; }

.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* === FAQ === */
.faq { background: var(--black); }

.faq-list {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  padding: 1.4rem 0;
  background: none; text-align: left; cursor: pointer;
  color: var(--white);
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--purple-light); }

.faq-icon { color: var(--purple-light); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
  overflow: hidden;
}
.faq-answer.open { grid-template-rows: 1fr; }
.faq-answer > * { overflow: hidden; }
.faq-answer p { padding: 0 0 1.5rem 0; font-size: 0.9rem; color: var(--white-dim); line-height: 1.8; }
.faq-answer a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 2px; }

/* === CONTACTO === */
.contacto { background: var(--black-2); }

.contacto-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.contacto-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 2rem; }

.contacto-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }

.contacto-item { display: flex; align-items: flex-start; gap: 1rem; }
.contacto-item > i { font-size: 1.2rem; color: var(--purple-light); margin-top: 0.15rem; flex-shrink: 0; }
.contacto-item strong { display: block; font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 0.3rem; }
.contacto-item p, .contacto-item a { font-size: 0.9rem; color: var(--white); line-height: 1.6; }
.contacto-item a:hover { color: var(--purple-light); }

.contacto-links { display: flex; flex-direction: column; gap: 0.6rem; }

.contacto-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-size: 0.85rem;
  color: var(--white-dim); transition: color 0.2s;
}
.contacto-link i { color: var(--purple-light); }
.contacto-link:hover { color: var(--white); }

.contacto-map { position: relative; }

.map-embed {
  overflow: hidden;
  border: 1px solid var(--purple-border);
  filter: brightness(0.7) saturate(0.5) invert(0.9) hue-rotate(200deg);
}

/* === FOOTER === */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-top {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 2rem;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-logo { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.1em; }
.footer-slogan { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.28em; color: var(--purple-light); text-transform: uppercase; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; }
.footer-nav a { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white-dim); transition: color 0.2s; }
.footer-nav a:hover { color: var(--purple-light); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white-dim);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.footer-social a:hover {
  border-color: var(--purple-border);
  color: var(--purple-light);
  box-shadow: 0 0 12px var(--purple-glow);
}

.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 0;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.73rem; color: rgba(255,255,255,0.2); }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */

/* Prevenir overflow horizontal en toda la página */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
  }
  .hero-text-side { max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual-side {
    position: relative;
    top: auto; right: auto;
    opacity: 1;
    pointer-events: none;
    order: -1;
  }
  .hero-spinning-wrapper {
    width: min(45vw, 350px);
    height: min(45vw, 350px);
  }
  .turnos-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .galeria-item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(3rem, 8vw, 5rem); }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  .nav-container { height: 72px; }
  .nav-logo-img { height: 44px; }

  .hero {
    overflow-x: hidden;
  }

  .hero-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 5rem 1.5rem 4rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    gap: 2rem !important;
    overflow: hidden !important;
  }

  .hero-text-side { 
    width: 100% !important; 
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-title { text-align: center; }
  .hero-sub { text-align: center; }
  .hero-actions { 
    justify-content: center; 
    flex-direction: column; 
    width: 100%; 
    gap: 0.75rem;
    align-items: center;
  }
  .btn-primary, .btn-ghost { 
    width: 100%; 
    max-width: 380px;
    justify-content: center; 
    text-align: center; 
  }

  .hero-visual-side { 
    order: -1;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  /* Clave: sin min-width fijo, usa solo vw para no desbordar */
  .hero-spinning-wrapper {
    width: min(70vw, 280px) !important;
    height: min(70vw, 280px) !important;
    flex-shrink: 0;
  }
  .hero-center-logo {
    width: 55% !important;
    height: 55% !important;
  }

  .hero-orb { width: 280px; height: 280px; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }

  .exp-grid { grid-template-columns: 1fr; }
  .exp-img-wrap { aspect-ratio: 4/3; order: -1; }
  .exp-features { grid-template-columns: 1fr; }

  .turnos-grid { grid-template-columns: 1fr; max-width: 480px; }
  .turno-card { padding: 1.5rem; }

  .galeria-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .galeria-item--tall { grid-row: span 1; }

  .form-fields { grid-template-columns: 1fr; }
  .field-group--full { grid-column: span 1; }

  .contacto-grid { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.3rem; }

  .stepper { gap: 0; }
  .step-label { display: none; }
  .step-line { max-width: 40px; }

  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn-next,
  .step-actions .btn-confirm { justify-content: center; }

  .slots-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .slot-btn { padding: 0.7rem 0.5rem; font-size: 0.95rem; }

  .resumen-row { flex-direction: column; gap: 0.2rem; }
  .resumen-row .label { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 1rem; height: 68px; }
  .nav-logo-img { height: 40px; }

  .hero-title { font-size: clamp(2.6rem, 13vw, 3.8rem); }

  /* En pantallas muy pequeñas, el spinner aún más compacto */
  .hero-spinning-wrapper {
    width: min(60vw, 200px) !important;
    height: min(60vw, 200px) !important;
  }
  .hero-center-logo {
    width: 55% !important;
    height: 55% !important;
  }

  .galeria-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .galeria-item--wide { grid-column: span 1; }
  .galeria-item--tall { grid-row: span 1; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .success-detail { padding: 1rem; }

  .form-step { padding: 1.5rem 1rem; }
  .step-title { font-size: 1.6rem; }

  .faq-question { font-size: 0.95rem; padding: 1rem; }

  .contacto-items { gap: 1rem; }
  .map-embed iframe { height: 250px; }

  .footer-nav { flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
}
