:root {
  --ink:     #0C1220;
  --ink-2:   #131B2E;
  --gold:    #C9A227;
  --gold-lt: #E8C547;
  --gold-dk: #A88718;
  --bg:      #FFFFFF;
  --bg-alt:  #F6F4EE;
  --muted:   #5B6675;
  --border:  #E4E7EC;
  --radius:  10px;
  --shadow:  0 10px 40px rgba(12,18,32,.10);

  --font-display: 'Bebas Neue', sans-serif;
  --font-head:    'Oswald', sans-serif;
  --font-body:    'Manrope', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

/* ── RAYA DE BARBERO (detalle de marca) ─────────────── */
.barber-stripe, .nav::after {
  content: '';
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0 12px,
    var(--ink-2) 12px 24px,
    #ffffff22 24px 25px,
    var(--ink-2) 25px 36px
  );
}

/* ── NAV ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.logo-icon { color: var(--gold); font-size: 1.4rem; }

/* ── BOTONES ───────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .65rem 1.6rem;
  border-radius: 3px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 0 0 0 rgba(201,162,39,.35);
}
.btn-gold:hover  { background: var(--gold-lt); box-shadow: 0 6px 24px rgba(201,162,39,.35); }
.btn-gold:active { transform: scale(.97); }
.btn-lg   { padding: .95rem 2.4rem; font-size: .95rem; }
.btn-full { width: 100%; padding: 1rem; font-size: .95rem; margin-top: 1rem; }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201,162,39,.10), transparent 60%),
    linear-gradient(160deg, var(--ink) 60%, var(--ink-2));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* textura sutil de líneas diagonales */
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 28px, rgba(255,255,255,.018) 28px 30px);
  pointer-events: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 540px;
  padding: 5.5rem 1.5rem;
  gap: 2rem;
}
.hero-content, .hero-visual { max-width: 1100px; }
.hero-content { margin-left: auto; padding-left: 0; width: 100%; max-width: 550px; }
.hero-visual  { margin-right: auto; width: 100%; max-width: 550px; }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { margin: 0 auto; }
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 2px; background: var(--gold);
  display: inline-block;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: rgba(255,255,255,.62);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.8;
  font-weight: 400;
}
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-circle {
  width: 270px; height: 270px;
  border-radius: 50%;
  border: 2px solid rgba(201,162,39,.45);
  outline: 1px solid rgba(201,162,39,.15);
  outline-offset: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--gold);
  opacity: .55;
  position: relative;
}
.hero-circle::after {
  content: var(--marquesina, 'BARBER SHOP · VALLADOLID · EST. 2026 · ');
  position: absolute; inset: -42px;
  font-family: var(--font-head);
  font-size: .65rem; letter-spacing: .3em;
  color: rgba(255,255,255,.25);
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  animation: rotate 30s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ── SECCIONES ─────────────────────────────────────── */
.section { padding: 5.5rem 1.5rem; }
.section-dark { background: var(--bg-alt); }
.container { max-width: 900px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  margin-bottom: .5rem;
}
.section-sub {
  text-align: center; color: var(--muted);
  margin-bottom: 3rem; font-size: .95rem;
  font-family: var(--font-head);
  font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  font-size: .8rem;
}
.section-sub::after {
  content: '';
  display: block;
  width: 54px; height: 3px;
  background: var(--gold);
  margin: 1.1rem auto 0;
}

/* ── GRID SERVICIOS ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-top-color: var(--gold);
}
.service-card-name {
  font-family: var(--font-head);
  font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .4rem;
}
.service-card-desc { color: var(--muted); font-size: .875rem; margin-bottom: 1.1rem; line-height: 1.55; }
.service-card-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px dashed var(--border); padding-top: .85rem; margin-top: .5rem;
}
.service-card-price {
  font-family: var(--font-display);
  font-size: 1.7rem; color: var(--ink);
  letter-spacing: .03em;
}
.service-card-dur   { font-size: .78rem; color: var(--muted); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.service-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius); height: 160px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── FORMULARIO DE RESERVA ─────────────────────────── */
.booking-form { max-width: 680px; margin: 0 auto; }

.step { margin-bottom: 2.25rem; }
.step-hidden { display: none; }

.step-title {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .85rem;
}
.step-num {
  width: 32px; height: 32px;
  background: var(--ink); color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 400; font-size: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Selección de servicios en el form */
.services-select {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.service-option {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.service-option:hover    { border-color: var(--gold); transform: translateY(-2px); }
.service-option.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fdf8e7, #faf3d7);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.service-option-name  {
  font-family: var(--font-head);
  font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: .3rem;
}
.service-option-info  { font-size: .8rem; color: var(--muted); }
.service-option-price { font-weight: 700; color: var(--ink); font-size: .95rem; }

/* Date picker */
.input-field {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem; font-family: var(--font-body);
  color: var(--ink); background: var(--bg);
  transition: border-color .15s;
  margin-bottom: .75rem;
}
.input-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }

/* Tira de días rápidos */
.week-strip {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem;
}
.day-chip {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 3px; padding: .45rem 1.1rem;
  cursor: pointer; font-size: .8rem;
  font-family: var(--font-head);
  letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .15s, background .15s;
}
.day-chip:hover    { border-color: var(--gold); }
.day-chip.selected { border-color: var(--gold); background: var(--gold); color: var(--ink); font-weight: 600; }

/* Slots de horas */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: .6rem;
}
.slot {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 3px; padding: .65rem;
  text-align: center; cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500; font-size: .95rem;
  letter-spacing: .05em;
  transition: border-color .15s, background .15s, transform .1s;
}
.slot:hover    { border-color: var(--gold); transform: translateY(-2px); }
.slot.selected { border-color: var(--gold); background: var(--gold); color: var(--ink); font-weight: 600; }
.slots-empty   { color: var(--muted); font-size: .9rem; padding: 1rem 0; }

/* Resumen */
.booking-summary {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.booking-summary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, transparent 12px 24px);
}
.booking-summary h4 {
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary-row + .summary-row { border-top: 1px solid rgba(255,255,255,.08); }
.summary-label { color: rgba(255,255,255,.55); }
.summary-value { font-weight: 600; }

/* Confirmación */
.booking-confirmed {
  text-align: center; padding: 3rem 1rem;
}
.confirmed-icon {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: 2.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 8px rgba(201,162,39,.15), 0 0 0 16px rgba(201,162,39,.06);
}
.booking-confirmed h3 {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.booking-confirmed p  { color: var(--muted); margin-bottom: .5rem; }
.confirmed-note { font-size: .875rem; margin-bottom: 1.5rem !important; }

/* ── VALORACIÓN EN EL HERO ──────────────────────────── */
.hero-rating {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
}
.hero-stars { color: var(--gold-lt); font-size: 1.1rem; letter-spacing: .1em; }
.hero-rating-txt {
  color: rgba(255,255,255,.7); font-size: .82rem;
  font-family: var(--font-head); letter-spacing: .04em;
}

/* ── BARRA DE CONFIANZA ─────────────────────────────── */
.trust-bar {
  background: var(--ink-2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 4px solid var(--gold);
}
.trust-item {
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-lt);
  line-height: 1;
  letter-spacing: .02em;
}
.trust-lbl {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
}
@media (max-width: 700px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .trust-num { font-size: 2.1rem; }
}

/* ── GALERÍA / NUESTRO TRABAJO ──────────────────────── */
.section-gallery { background: var(--bg-alt); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--ink), var(--ink-2));
}
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-card:hover img { transform: scale(1.07); }
.gallery-card.no-img::before {
  /* fallback si la foto no carga: tijeras sobre degradado */
  content: '✂';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(201,162,39,.35);
}
.gallery-card-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(12,18,32,.9));
  color: #fff;
  display: flex; flex-direction: column; gap: .15rem;
}
.gallery-card-title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.gallery-card-tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-lt);
}
.gallery-cta { text-align: center; margin-top: 2.25rem; }

/* ── RESEÑAS ────────────────────────────────────────── */
.section-reviews { background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.review-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
}
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.review-card blockquote {
  font-size: .96rem; line-height: 1.6; color: var(--ink);
  font-style: italic;
}
.review-card figcaption {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border); padding-top: .8rem;
}
.review-name {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; font-size: .9rem;
}
.review-meta { font-size: .78rem; color: var(--muted); }

/* ── HORARIO ────────────────────────────────────────── */
.hours-box { margin-top: 1.75rem; }
.hours-title {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .9rem; color: var(--gold);
  margin-bottom: .75rem;
}
.hours-list { list-style: none; max-width: 320px; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .95rem; color: rgba(255,255,255,.85);
}
.hours-list li:last-child { border-bottom: none; }
.hours-closed { color: rgba(255,255,255,.45); }

/* ── ANIMACIONES SCROLL-REVEAL ──────────────────────── */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── UBICACIÓN ──────────────────────────────────────── */
.section-location {
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(201,162,39,.07), transparent 60%),
    var(--ink);
  color: #fff;
}
.location-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.location-text { flex: 1; }
.location-text .section-title { color: #fff; margin-bottom: 1.25rem; }
.location-address {
  display: inline-flex; align-items: flex-start; gap: .75rem;
  color: var(--gold); text-decoration: none;
  font-size: 1.1rem; line-height: 1.6;
  border-bottom: 1px dashed rgba(201,162,39,.4);
  padding-bottom: .5rem; margin-bottom: .75rem;
  transition: border-color .15s;
}
.location-address:hover { border-color: var(--gold); }
.location-address svg  { margin-top: .2rem; }
.location-hint { color: rgba(255,255,255,.4); font-size: .8rem; }
.location-map-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  padding: .85rem 1.7rem; border-radius: 3px;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .2s;
  white-space: nowrap;
}
.location-map-btn:hover  { background: var(--gold-lt); box-shadow: 0 6px 24px rgba(201,162,39,.35); }
.location-map-btn:active { transform: scale(.97); }

.footer-address {
  display: block; color: rgba(255,255,255,.55);
  text-decoration: none; font-size: .85rem;
  margin: .2rem 0 .5rem;
  transition: color .15s;
}
.footer-address:hover { color: var(--gold); }

/* ── WHATSAPP FAB ───────────────────────────────────── */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .15s, box-shadow .15s;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--ink-2); color: rgba(255,255,255,.5);
  text-align: center; padding: 2.75rem 1rem;
  font-size: .875rem; line-height: 2;
  border-top: 4px solid;
  border-image: repeating-linear-gradient(-45deg, var(--gold) 0 12px, var(--ink) 12px 24px) 1;
}
.footer p:first-child {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

/* ── LOADING SPINNER ───────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST ─────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 300;
  background: var(--ink); color: #fff;
  padding: .8rem 1.25rem; border-radius: var(--radius);
  font-size: .875rem; box-shadow: var(--shadow);
  animation: slideUp .2s ease;
}
.toast.error { background: #EF4444; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
