/* ─── TOKENS ─── */
:root {
  --black:      #0D0D0D;
  --carbon:     #141414;
  --graphite:   #2B2B2B;
  --steel:      #7B7B7B;
  --white:      #F5F5F5;
  --red:        #C1121F;
  --wine:       #7A1020;
  --red-glow:   rgba(193,18,31,0.15);
  --red-glow2:  rgba(193,18,31,0.06);

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* ─── CUSTOM CURSOR ─── */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s var(--ease-out), opacity 0.3s;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(193,18,31,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
}
body:hover #cursor { opacity: 1; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(13,13,13,0.92);
  -webkit-backdrop-filter: blur();
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--steel);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 1.5px !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: #a00e18 !important; color: var(--white) !important; }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(122,16,32,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(193,18,31,0.08) 0%, transparent 60%),
    var(--carbon);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding-top: 120px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.hero-title .num {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,245,245,0.15);
  font-size: clamp(120px, 20vw, 280px);
  line-height: 0.8;
  position: relative;
}
.hero-title .num::after {
  content: "DUR";
  position: absolute;
  left: 0; top: 0;
  color: var(--white);
  -webkit-text-stroke: 0;
  clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--steel);
  font-weight: 300;
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 18px 36px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
  cursor: none;
  border: none;
  font-family: var(--font-body);
}
.btn-primary:hover { background: #a00e18; transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  cursor: none;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--white); }

.hero-score-badge {
  position: absolute;
  right: 60px;
  bottom: 80px;
  background: rgba(20,20,20,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.badge-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}
.badge-score {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.badge-desc { font-size: 11px; color: var(--steel); }
.badge-bar {
  width: 100%;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}
.badge-bar-fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, var(--wine), var(--red));
  border-radius: 2px;
  animation: barFill 1.5s var(--ease-out) 1.8s both;
}
@keyframes barFill { from { width: 0; } to { width: 73%; } }

/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
  position: absolute;
  bottom: 40px; left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--steel);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--red);
  animation: lineSlide 2s ease-in-out infinite;
}
@keyframes lineSlide { 0%,100%{left:-100%} 50%{left:100%} }
.scroll-hint span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--steel); }

/* ─── SECTIONS BASE ─── */
section { padding: 120px 60px; max-width: 1400px; margin: 0 auto; }
.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 1px;
}

/* ─── SERVICES ─── */
#services { padding-top: 80px; }
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.services-header p {
  color: var(--steel);
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  align-self: end;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--carbon);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: none;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--graphite); }
.service-num {
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute;
  right: 20px; top: 20px;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(193,18,31,0.08); }
.service-icon { font-size: 24px; margin-bottom: 24px; }
.service-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.service-desc { font-size: 13px; color: var(--steel); line-height: 1.7; margin-bottom: 32px; }
.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}
.service-price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
}
.service-duration { font-size: 11px; letter-spacing: 2px; color: var(--steel); }
.service-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ─── BARBERS ─── */
#barbers { background: var(--carbon); padding: 120px 60px; max-width: unset; }
#barbers > div { max-width: 1400px; margin: 0 auto; }
.barbers-header { margin-bottom: 80px; }
.barbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.barber-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: none;
}
.barber-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.barber-card:hover .barber-img { transform: scale(1.05); }
.barber-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--graphite), var(--carbon));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.6s var(--ease-out);
}
.barber-card:hover .barber-placeholder { transform: scale(1.03); }
.barber-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--graphite);
  border: 2px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--red);
}
.barber-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.barber-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.barber-title { font-size: 11px; letter-spacing: 3px; color: var(--red); text-transform: uppercase; margin-bottom: 16px; }
.barber-specialties { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 10px;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 2px;
  color: var(--steel);
}

/* ─── WORK GALLERY (EL 23 DARK STYLE) ─── */



/* El resplandor rojo de fondo característico */
.gallery-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193, 18, 31, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-container {
  max-width: 900px; /* Cambia el valor que tengas (ej. 1400px) por 900px o 850px */
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}


/* El Grid que respeta tus clases HTML */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-p {
    color: var(--steel);
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  align-self: auto;
}


/* Estilo de Tarjeta Tipo Caja/Servicio de tu imagen */
.gallery-item {
  background: #111111; /* Fondo de tarjeta sutilmente más claro que el fondo general */
border: 1px solid rgba(255, 255, 255, 0.05); /*   El borde fino y elegante */
  border-radius: 4px; /* Esquinas ligeramente suavizadas, no exageradas */
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

/* Variación para el ítem destacado si quieres que emule la tarjeta VIP roja */
.gallery-item.item-tall {
  border-color: rgba(193, 18, 31, 0.2); /* Borde sutil rojo en la imagen principal */
}

/* Envoltorio de la imagen y proporciones */
.item-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  
}

/* Mantenemos tus proporciones asimétricas intactas */
.gallery-item.item-tall .item-image-wrapper {
  aspect-ratio: 1 / 1.6; /* Proporción vertical estilizada */
}

.gallery-item.item-wide .item-image-wrapper {
  aspect-ratio: 16 / 7; /* Proporción panorámica limpia */
}

.item-image-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%; /* Clave: impide que la imagen use su tamaño gigante original */
  object-fit: cover; /* Recorta los excesos sin deformar el corte */
  display: block;
}


/* Capa de información integrada de manera premium */
.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0; /* Oculto por defecto en desktop para limpiar la visual */
  transition: opacity 0.4s ease;
}

.item-info {
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.item-category {
  font-family: monospace;
  font-size: 0.75rem;
  color: #C1121F;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}



/* Interacciones Senior en Hover */
.gallery-item:hover {
  border-color: rgba(193, 18, 31, 0.6); /* El borde se ilumina en rojo como el botón de reservar */
  transform: translateY(-2px);
}

.gallery-item:hover img {
  transform: scale(1.02);
  filter: brightness(1); /* La imagen cobra vida al pasar el cursor */
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

.gallery-item:hover .item-info {
  transform: translateY(0);
}

/* ─── AJUSTES RESPONSIVOS ─── */
@media (max-width: 1024px) {
  .gallery-container {
    padding: 0 40px;
  }
    
}

@media (max-width: 768px) {
  .work-gallery {
    padding: 80px 0;
  }
  
 .gallery-container {
    padding: 0 24px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr; /* Una sola columna en móvil para fluidez */
    gap: 16px;
  }
  
  .gallery-item.item-wide {
    grid-column: span 1;
  }
  
  /* Forzamos proporciones simétricas idénticas en móvil para mejor legibilidad */
  .item-image-wrapper,
  .gallery-item.item-tall .item-image-wrapper,
  .gallery-item.item-wide .item-image-wrapper {
    aspect-ratio: 4 / 5;
  }
  
  /* En móviles el texto se queda fijo para no perder la información */
  .item-overlay {
    opacity: 1;
    padding: 20px;
  }
  
  .item-info {
    transform: translateY(0);
  }
}

/* ─── TESTIMONIALS ─── */
#testimonials { padding: 120px 60px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.testimonial {
  background: var(--carbon);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 120px;
  color: rgba(193,18,31,0.08);
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}
.t-text {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 500; }
.t-score { font-size: 11px; color: var(--red); letter-spacing: 1px; }

/* ─── BOOKING MODAL ─── */
#booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
}
#booking-overlay.active { display: flex; }
.booking-modal {
  background: var(--carbon);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  width: min(780px, 95vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.5s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.booking-header {
  padding: 32px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.booking-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; }
.booking-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  color: var(--steel);
  font-size: 20px;
  transition: background 0.3s, color 0.3s;
}
.booking-close:hover { background: var(--red); color: var(--white); }
.booking-steps {
  display: flex;
  padding: 0 40px;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.booking-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.booking-step.active { color: var(--white); border-color: var(--red); }
.booking-step.done { color: var(--red); }
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.booking-step.active .step-num { background: var(--red); color: var(--white); }
.booking-step.done .step-num { background: rgba(193,18,31,0.2); color: var(--red); }
.booking-body {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
}
.booking-body::-webkit-scrollbar { width: 4px; }
.booking-body::-webkit-scrollbar-track { background: transparent; }
.booking-body::-webkit-scrollbar-thumb { background: var(--graphite); border-radius: 4px; }

.step-panel { display: none; }
.step-panel.active { display: block; }

.step-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; letter-spacing: 1px; }
.step-subtitle { font-size: 13px; color: var(--steel); margin-bottom: 32px; }

/* Services choice */
.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-option {
  padding: 20px 24px;
  background: var(--graphite);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: none;
  transition: border-color 0.3s, background 0.3s;
  text-align: left;
}
.service-option:hover { border-color: rgba(193,18,31,0.3); }
.service-option.selected { border-color: var(--red); background: rgba(193,18,31,0.08); }
.so-name { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.so-meta { font-size: 12px; color: var(--steel); display: flex; gap: 12px; }
.so-price { color: var(--red); }

/* Barber choice */
.barber-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.barber-option {
  padding: 24px 16px;
  background: var(--graphite);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: none;
  transition: border-color 0.3s, background 0.3s;
  text-align: center;
}
.barber-option:hover { border-color: rgba(193,18,31,0.3); }
.barber-option.selected { border-color: var(--red); background: rgba(193,18,31,0.08); }
.bo-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--carbon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
  margin: 0 auto 12px;
}
.bo-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.bo-title { font-size: 11px; color: var(--steel); }

/* Date/Time */
.datetime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calendar-mini { background: var(--graphite); border-radius: 4px; padding: 20px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.cal-nav { background: none; border: none; color: var(--steel); cursor: none; font-size: 16px; transition: color 0.3s; padding: 4px 8px; }
.cal-nav:hover { color: var(--white); }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 8px; }
.cal-day-name { font-size: 10px; letter-spacing: 1px; color: var(--steel); text-align: center; padding: 4px; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  border-radius: 3px;
  cursor: none;
  transition: background 0.2s, color 0.2s;
  color: var(--steel);
}
.cal-day.available { color: var(--white); }
.cal-day.available:hover { background: rgba(193,18,31,0.2); color: var(--white); }
.cal-day.selected { background: var(--red); color: var(--white); }
.cal-day.today { border: 1px solid rgba(255,255,255,0.15); color: var(--white); }
.cal-day.empty { cursor: default; }

.time-slots { background: var(--graphite); border-radius: 4px; padding: 20px; }
.time-slots-title { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  text-align: center;
  font-size: 12px;
  cursor: none;
  transition: border-color 0.2s, background 0.2s;
}
.slot.available { color: var(--white); }
.slot.available:hover { border-color: rgba(193,18,31,0.4); }
.slot.selected { border-color: var(--red); background: rgba(193,18,31,0.1); color: var(--white); }
.slot.booked { color: rgba(255,255,255,0.15); cursor: default; }

/* Client form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1/-1; }
.form-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--steel); }
.form-input {
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}
.form-input:focus { border-color: var(--red); }
.form-input::placeholder { color: var(--steel); }

/* Confirmation */
.confirm-summary {
  background: var(--graphite);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 24px;
  border-left: 3px solid var(--red);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-key { color: var(--steel); }
.confirm-val { font-weight: 500; }
.confirm-total {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
}

.booking-footer {
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.booking-summary-mini { font-size: 12px; color: var(--steel); }
.booking-summary-mini strong { color: var(--white); display: block; font-size: 14px; margin-bottom: 2px; }

/* ─── INFO STRIP ─── */
#info {
  background: var(--carbon);
  padding: 0 60px;
  max-width: unset;
  margin: 0;
}
#info > div { max-width: 1400px; margin: 0 auto; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.info-item {
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.info-item:last-child { border-right: none; }
.info-icon { font-size: 24px; margin-bottom: 20px; color: var(--red); }
.info-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.info-value { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; margin-bottom: 4px; }
.info-detail { font-size: 12px; color: var(--steel); }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--red); }
.footer-desc { font-size: 13px; color: var(--steel); line-height: 1.8; max-width: 260px; margin-bottom: 32px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 3px;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  color: var(--steel);
  cursor: none;
  transition: background 0.3s, color 0.3s;
}
.social-btn:hover { background: var(--red); color: var(--white); }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(245,245,245,0.5);
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: var(--steel); }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { font-size: 12px; color: var(--steel); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--white); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── SUCCESS STATE ─── */
.booking-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}
.booking-success.active { display: flex; }
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(193,18,31,0.12);
  border: 1px solid rgba(193,18,31,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(193,18,31,0.3); }
  50%      { box-shadow: 0 0 0 20px rgba(193,18,31,0); }
}
.success-title { font-family: var(--font-display); font-size: 40px; margin-bottom: 12px; }
.success-sub { font-size: 14px; color: var(--steel); margin-bottom: 40px; max-width: 320px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .nav-links { gap: 24px; }
  section { padding: 80px 32px; }
  #barbers, #score { padding: 80px 32px; }
  #info { padding: 0 32px; }
  footer { padding: 60px 32px; }
  .hero-content { padding: 0 32px; padding-top: 120px; }
  .scroll-hint { left: 32px; }
  .hero-score-badge { right: 32px; bottom: 60px; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  section { padding: 64px 24px; }
  #barbers, #score { padding: 64px 24px; }
  #info { padding: 0 24px; }
  footer { padding: 48px 24px; }
  .hero-content { padding: 0 24px; padding-top: 100px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .barbers-grid { grid-template-columns: 1fr 1fr; }
  .score-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-score-badge { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .booking-steps { gap: 0; padding: 0 24px; }
  .booking-step span:not(.step-num) { display: none; }
  .booking-header { padding: 24px; }
  .booking-body { padding: 24px; }
  .booking-footer { padding: 20px 24px; }
  .service-options { grid-template-columns: 1fr; }
  .barber-options { grid-template-columns: 1fr 1fr; }
  .datetime-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

.slot.booked {
  background-color: #1a1a1a; /* O un tono gris muy oscuro */
  color: #555;
  border-color: transparent;
}
