/* Página pública de la barbería */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.solida { background: rgba(15,16,18,.92); backdrop-filter: blur(12px); border-color: var(--linea); }
.nav .cont { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.marca { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.marca svg { color: var(--naranja); }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a.enlace { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; text-decoration: none; color: var(--carbon); transition: color 0.2s; }
.nav nav a.enlace:hover { color: var(--naranja); }

.portada { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 110px 0 0; }
.portada > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; filter: saturate(0.9); transform: scale(1.05); animation: acerca 16s ease-out forwards; }
@keyframes acerca { to { transform: scale(1); } }
.portada::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,18,.94) 0%, rgba(15,16,18,.7) 38%, rgba(15,16,18,.15) 75%), linear-gradient(180deg, rgba(15,16,18,.5), transparent 30%, transparent 70%, var(--fondo)); z-index: 1; }
.portada .cont { position: relative; z-index: 2; }
.portada h1 { font-size: clamp(64px, 11vw, 168px); margin: 16px 0 22px; }
.portada h1 span { display: block; }
.portada p { max-width: 520px; font-size: 18px; color: var(--carbon); margin-bottom: 34px; }
.portada .acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.franja { position: relative; z-index: 2; margin-top: 80px; border-top: 1px solid var(--linea); background: rgba(24,25,28,.75); backdrop-filter: blur(8px); }
.franja .cont { display: grid; grid-template-columns: repeat(3, 1fr); }
.franja .item { display: flex; gap: 14px; align-items: center; padding: 24px 22px; border-left: 1px solid var(--linea); }
.franja .item:first-child { border-left: 0; padding-left: 0; }
.franja svg { color: var(--naranja); flex: none; }
.franja b { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.franja small { color: var(--gris); font-size: 14px; }

section { padding: 120px 0; }
.titulo { display: grid; gap: 12px; margin-bottom: 54px; }
.titulo h2 { font-size: clamp(48px, 7vw, 96px); }
.titulo p { color: var(--gris); font-size: 17px; max-width: 560px; }
.titulo.centro { text-align: center; justify-items: center; }

.esp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.esp figure { position: relative; overflow: hidden; border-radius: var(--radio); aspect-ratio: 4 / 3; background: var(--blanco); margin: 0; }
.esp img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .4s; filter: brightness(.82); }
.esp figure:hover img { transform: scale(1.06); filter: brightness(1); }
.esp figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; justify-content: space-between; align-items: end; }
.esp figcaption b { font-family: var(--display); font-size: 32px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.esp figcaption span { color: var(--naranja); font-weight: 800; font-size: 18px; }

.reservar { background: radial-gradient(50% 40% at 50% 0%, rgba(212, 162, 76,.12), transparent 70%), var(--fondo); }
.widget { max-width: 960px; margin: 0 auto; background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--brillo); overflow: hidden; }
.w-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--linea); }
.w-tabs button { background: none; border: 0; padding: 18px 10px; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gris-2); cursor: pointer; position: relative; }
.w-tabs button i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--linea); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.w-tabs button.on { color: var(--negro); }
.w-tabs button.on i, .w-tabs button.hecho i { background: var(--naranja); border-color: var(--naranja); color: #141414; }
.w-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--naranja); }
.w-tabs button:disabled { cursor: default; }
.w-cuerpo { padding: 30px; min-height: 380px; }
.w-pie { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 30px; border-top: 1px solid var(--linea); background: var(--sup-2); }
.w-pie small { display: block; color: var(--gris); font-size: 12px; }
.w-pie b { font-size: 18px; }
.w-atras { background: none; border: 0; color: var(--gris); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; cursor: pointer; }
.servs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sv { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px; border: 1px solid var(--linea); border-radius: 12px; background: var(--sup-2); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .15s; }
.sv:hover { border-color: #3a3b41; transform: translateY(-1px); }
.sv.sel { border-color: var(--naranja); background: var(--naranja-suave); }
.sv b { font-size: 16px; }
.sv span { font-weight: 800; color: var(--naranja); font-size: 16px; }
.sv small { color: var(--gris); font-size: 13px; grid-column: 1 / -1; }
.fechas-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.fechas-cab b { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.fechas-cab button { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--linea); background: var(--sup-2); cursor: pointer; font-size: 18px; }
.fechas { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fechas button { scroll-snap-align: start; display: grid; gap: 2px; justify-items: center; padding: 12px 6px; border: 1px solid var(--linea); border-radius: 12px; background: var(--sup-2); cursor: pointer; transition: all .2s; }
.fechas button small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 700; }
.fechas button b { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }
.fechas button em { font-style: normal; font-size: 10px; color: var(--gris-2); }
.fechas button:hover:not(:disabled) { border-color: #3a3b41; }
.fechas button.sel { background: var(--oro-grad); border-color: var(--naranja); color: #141414; }
.fechas button.sel small, .fechas button.sel em { color: #2a2112; }
.fechas button:disabled { opacity: .3; cursor: default; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.horas button { padding: 13px 6px; border: 1px solid var(--linea); border-radius: 10px; background: var(--sup-2); cursor: pointer; font-weight: 700; font-size: 15px; transition: all .2s; }
.horas button:hover { border-color: var(--naranja); }
.horas button.sel { background: var(--oro-grad); border-color: var(--naranja); color: #141414; }
.franja-h { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); font-weight: 700; margin: 22px 0 4px; }
.w-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w-form .full { grid-column: 1 / -1; }
.resumen { display: grid; border: 1px solid var(--linea); border-radius: 12px; overflow: hidden; }
.resumen div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--linea); }
.resumen div:last-child { border-bottom: 0; }
.resumen span { color: var(--gris); }
.resumen b { text-align: right; }
.resumen .dest { background: var(--naranja-suave); }
.resumen .dest b { color: var(--naranja); font-size: 20px; }
.exito { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 10px 0; }
.exito .icono { width: 74px; height: 74px; border-radius: 50%; background: var(--oro-grad); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--naranja-suave); margin-bottom: 8px; }
.exito h3 { font-size: 46px; }
.codigo { font-family: var(--display); font-size: 48px; letter-spacing: .14em; color: var(--naranja); }
.banco { border: 1px solid var(--linea); border-radius: 12px; text-align: left; width: 100%; max-width: 520px; margin: 8px 0; }
.banco div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--linea); font-size: 15px; }
.banco div:last-child { border-bottom: 0; }
.banco span { color: var(--gris); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.banco button { background: none; border: 1px solid var(--linea); color: var(--carbon); border-radius: 6px; padding: 4px 9px; font-size: 11px; cursor: pointer; }
.subir { display: grid; place-items: center; gap: 4px; padding: 22px; border: 1px dashed var(--naranja); border-radius: 12px; cursor: pointer; width: 100%; max-width: 520px; transition: background .2s; }
.subir:hover { background: var(--naranja-suave); }
.reloj { display: inline-flex; padding: 7px 14px; background: rgba(245,158,11,.14); color: #fbbf24; border-radius: 999px; font-size: 13px; font-weight: 700; }

.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.galeria figure { overflow: hidden; border-radius: var(--radio); background: var(--blanco); margin: 0; }
.galeria figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria figure:nth-child(5) { grid-row: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.galeria figure:hover img { transform: scale(1.06); }

.dif { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: 30px; letter-spacing: .02em; text-transform: uppercase; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linea); display: grid; place-items: center; font-style: normal; color: var(--naranja); transition: transform .3s; flex: none; font-family: var(--sans); }
.acordeon details[open] summary i { transform: rotate(45deg); border-color: var(--naranja); }
.acordeon p { color: var(--gris); padding: 0 0 22px; max-width: 560px; }
.cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cifras div { border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px; background: var(--sup-2); }
.cifras b { display: block; font-family: var(--display); font-size: 64px; font-weight: 400; line-height: 1; color: var(--naranja); }
.cifras span { color: var(--gris); font-size: 14px; }

.visita { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.datos-visita { display: grid; align-content: start; }
.datos-visita > a, .datos-visita > div { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--linea); text-decoration: none; }
.datos-visita svg { color: var(--naranja); flex: none; margin-top: 2px; }
.datos-visita b { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.datos-visita small { color: var(--gris); font-size: 15px; }
.horario { width: 100%; border-collapse: collapse; margin-top: 6px; }
.horario td { padding: 4px 0; color: var(--gris); font-size: 14px; }
.horario td:last-child { text-align: right; color: var(--carbon); }
.horario tr.hoy td { color: var(--naranja); font-weight: 700; }
.mapa { border-radius: 14px; overflow: hidden; border: 1px solid var(--linea); min-height: 380px; background: var(--blanco); }
.mapa iframe { filter: grayscale(.6) contrast(1.05); }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

footer { border-top: 1px solid var(--linea); padding: 60px 0 30px; overflow: hidden; }
.gigante { background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; font-family: var(--display); font-size: clamp(56px, 10.5vw, 190px); line-height: .85; color: transparent; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.pie { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; color: var(--gris); font-size: 13px; }
.flotante { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; box-shadow: 0 14px 30px -10px rgba(212, 162, 76,.8); }

@media (max-width: 900px) {
  .nav nav a.enlace { display: none; }
  .marca { font-size: 21px; white-space: nowrap; overflow: hidden; }
  .marca span { overflow: hidden; text-overflow: ellipsis; }
  .portada > img { opacity: .55; object-position: 70% center; }
  .franja .cont { grid-template-columns: 1fr; }
  .franja .item { border-left: 0; border-top: 1px solid var(--linea); padding: 18px 0; }
  .franja .item:first-child { border-top: 0; }
  .franja { margin-top: 50px; }
  .esp { grid-template-columns: repeat(2, 1fr); }
  .esp figcaption b { font-size: 24px; }
  .servs, .w-form { grid-template-columns: 1fr; }
  .w-tabs button span { display: none; }
  .w-cuerpo { padding: 22px 16px; }
  .w-pie { padding: 14px 16px; }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .dif, .visita { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 84px 0; }
  .flotante.ver { display: inline-flex; }
}

/* Logo de la marca */
.marca img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(212,162,76,.5); }
.portada > .cont { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.logo-portada { justify-self: center; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(212,162,76,.35), 0 40px 120px -30px rgba(212,162,76,.55); animation: flota 7s ease-in-out infinite; }
.logo-portada img { width: 100%; height: 100%; object-fit: cover; }
@keyframes flota { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.lema { display: flex; gap: 14px; align-items: center; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--carbon); margin: -6px 0 22px; font-weight: 600; }
.lema i { width: 5px; height: 5px; border-radius: 50%; background: var(--naranja); }
.logo-pie { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 24px; box-shadow: 0 0 0 1px rgba(212,162,76,.4); }
.logo-pie img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .logo-portada { animation: none; } }
@media (max-width: 900px) {
  .portada > .cont { grid-template-columns: 1fr; gap: 10px; }
  .logo-portada { order: -1; width: 190px; justify-self: start; }
  .marca img { width: 34px; height: 34px; }
}

/* Portada con foto principal enmarcada y el logo como sello */
.portada > img.fondo-heroe { filter: blur(22px) brightness(.45) saturate(1.1); opacity: 1; transform: scale(1.15); animation: none; }
.foto-portada { position: relative; justify-self: end; width: min(430px, 100%); aspect-ratio: 3 / 4.2; }
.foto-portada > img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 0 0 1px rgba(212,162,76,.6), 0 0 0 10px rgba(212,162,76,.08), 0 50px 120px -30px rgba(212,162,76,.55); }
.foto-portada::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(180deg, transparent 55%, rgba(15,16,18,.55)); pointer-events: none; }
.sello-logo { position: absolute; left: -46px; bottom: -34px; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; z-index: 2; box-shadow: 0 0 0 3px #0f1012, 0 0 0 4px rgba(212,162,76,.8), 0 20px 50px -10px rgba(0,0,0,.8); animation: flota 7s ease-in-out infinite; }
.sello-logo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .foto-portada { justify-self: stretch; width: 100%; max-width: 420px; margin: 26px auto 10px; aspect-ratio: 4 / 4.6; }
  .sello-logo { width: 96px; height: 96px; left: -8px; bottom: -22px; }
}

/* Versión corta: portada + reserva */
.pie-simple { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--gris); font-size: 13px; text-align: center; }
.pie-simple img { width: 44px; height: 44px; border-radius: 50%; }
footer { padding: 30px 0; }
.reservar { padding-top: 90px; }

/* Reserva rápida */
.rapido { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--naranja); border-radius: 14px; background: var(--naranja-suave); cursor: pointer; text-align: left; transition: transform .15s, box-shadow .2s; }
.rapido:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -14px rgba(212,162,76,.7); }
.rapido small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--naranja); font-weight: 800; }
.rapido b { font-size: 17px; }
.rapido i { font-style: normal; font-weight: 800; color: #141414; background: var(--oro-grad); padding: 10px 16px; border-radius: 8px; white-space: nowrap; font-size: 14px; }
.o-elige { text-align: center; color: var(--gris-2); font-size: 13px; margin: 14px 0 6px; }
.hola { margin-bottom: 14px; color: var(--carbon); }
.confirmar, .exito { text-align: center; }
.gran-fecha { font-family: var(--display); font-size: 40px; text-transform: uppercase; line-height: 1; margin-top: 6px; }
.gran-hora { font-family: var(--display); font-size: 76px; line-height: .95; background: var(--oro-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.confirmar .resumen { text-align: left; max-width: 520px; margin: 0 auto; }
.horas button, .fechas button { min-height: 48px; }
@media (max-width: 900px) {
  .rapido { flex-direction: column; align-items: stretch; text-align: center; }
  .rapido i { text-align: center; padding: 13px; }
  .gran-hora { font-size: 64px; }
}
