/* Barber Studio · Web pública mobile-first v1 · 25-10-2026
   Capa visual aislada: sin cambios en API, administración ni lógica de reservas. */
:root {
  --mobile-accent: #e6c89d;
  --mobile-accent-dark: #b79366;
  --mobile-ink: #08090b;
  --mobile-panel: #151619;
  --mobile-outline: rgba(255,255,255,.13);
}
html { scroll-padding-top: 84px; }
#inicio,#servicios,#equipo,#trabajos,#reserva,#resenas,#contacto {scroll-margin-top:84px;}
.skip-link {
  position:fixed;top:-100px;left:12px;z-index:200;background:#f6f0e6;color:#090909;
  padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:none;
}
.skip-link:focus {top:12px;}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--mobile-accent);outline-offset:3px;}
.mobile-header-book,.mobile-nav-toggle,.mobile-site-menu,.mobile-menu-scrim,
.mobile-bottom-nav,.mobile-quick-actions,.hero-mobile-art {display:none;}
.site-header .mobile-site-menu{display:none!important;}
[hidden]{display:none!important;}

@media (max-width: 900px) {
  html {scroll-padding-top:76px;}
  body {padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));background:#08090b;}
  body.mobile-menu-open {overflow:hidden;}
  #inicio,#servicios,#equipo,#trabajos,#reserva,#resenas,#contacto {scroll-margin-top:76px;}

  /* Cabecera compacta */
  .site-header {
    position:sticky;top:0;z-index:80;height:68px;
    padding:0 15px;gap:10px;
    background:rgba(8,9,11,.92);border-bottom:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  }
  .site-header .brand{min-width:0;flex:1;gap:9px;font-size:.88rem;letter-spacing:.005em;}
  .site-header .brand img {width:38px;height:38px;border-color:#74777e;}
  .site-header .brand span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.78rem,3.4vw,.96rem);}
  .site-header > nav:not(.mobile-site-menu), .site-header .header-cta {display:none!important;}
  .mobile-header-book {
    display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;
    padding:9px 12px;border:1px solid rgba(230,200,157,.48);border-radius:999px;
    background:rgba(230,200,157,.09);color:#f2d5a9;text-decoration:none;font-size:.78rem;font-weight:800;
  }
  .mobile-header-book span{font-size:1rem;line-height:1;}
  .mobile-nav-toggle {
    display:grid;place-items:center;flex:none;width:40px;height:40px;
    border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#17191d;color:#fff;cursor:pointer;
  }
  .mobile-nav-toggle svg, .mobile-bottom-nav svg, .mobile-quick-actions svg {
    display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }
  .mobile-menu-scrim:not([hidden]) {display:block;position:fixed;z-index:69;inset:68px 0 0;background:rgba(0,0,0,.68);backdrop-filter:blur(4px);}
  .site-header .mobile-site-menu:not([hidden]) {
    display:grid!important;position:absolute;z-index:85;top:calc(100% + 9px);right:12px;left:12px;
    max-height:calc(100dvh - 100px);overflow-y:auto;
    background:linear-gradient(160deg,#1b1c20,#101113);border:1px solid rgba(255,255,255,.17);
    border-radius:20px;padding:10px;box-shadow:0 30px 80px #000c;
  }
  .mobile-site-menu a {display:flex;align-items:center;min-height:47px;padding:11px 15px;border-radius:11px;
    color:#e8e9ec;text-decoration:none;font-weight:650;font-size:.94rem;}
  .mobile-site-menu a + a {border-top:1px solid rgba(255,255,255,.055);}
  .mobile-site-menu a:active,.mobile-site-menu a:focus-visible {background:#26272a;}
  .mobile-site-menu .mobile-menu-primary {justify-content:space-between;margin-top:7px;
    color:#0b0b0c;background:linear-gradient(135deg,#f2d8b3,#be996a);font-weight:850;}

  /* Portada editorial con imagen real en lugar del círculo de escritorio */
  .hero {
    isolation:isolate;display:flex!important;position:relative;align-items:flex-end!important;
    justify-content:stretch!important;width:100%;min-height:645px!important;margin:0!important;
    padding:0!important;background:#090a0c!important;overflow:hidden;
  }
  .hero:before {display:none!important;}
  .hero .led-ceiling,.hero .hero-logo-bg,.hero .hero-visual {display:none!important;}
  .hero-mobile-art {position:absolute;z-index:0;inset:0;display:block;pointer-events:none;}
  .hero-mobile-art img {
    width:100%;height:100%;display:block;object-fit:cover;object-position:50% 23%;
    filter:brightness(.62) saturate(.74) contrast(1.15);
  }
  .hero:after {
    z-index:1!important;inset:0!important;
    background:linear-gradient(180deg,rgba(8,9,11,.07) 4%,rgba(8,9,11,.18) 24%,rgba(8,9,11,.62) 46%,rgba(8,9,11,.96) 67%,#090a0c 100%)!important;
  }
  .hero-content {
    position:relative;z-index:3!important;width:100%;isolation:auto!important;
    padding:200px 22px 28px;display:flex;flex-direction:column;align-items:flex-start;
  }
  .hero .eyebrow {
    color:#e8c89e!important;font-size:.67rem;font-weight:800;letter-spacing:.19em;
    margin:0 0 13px;text-shadow:0 2px 12px #000;
  }
  .hero h1 {
    margin:0;max-width:370px;font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(3.05rem,12vw,4.25rem)!important;line-height:.98;letter-spacing:-.06em;font-weight:650;
    color:#fff;text-wrap:balance;text-shadow:0 6px 24px #0008;
  }
  .hero h1 span {
    background:linear-gradient(105deg,#ffe4bd,#c09b68,#fff2dd);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .hero .lead {margin:16px 0 0;max-width:355px;font-size:.96rem;line-height:1.55;color:#d8d8d8;}
  .hero-actions {
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:9px;
    width:100%;margin:24px 0 19px;
  }
  .hero-actions .btn {
    min-height:54px;min-width:0;padding:12px 17px;border-radius:14px;
    font-size:.95rem;font-weight:850;text-align:center;
  }
  .hero .hero-actions .btn-primary {
    color:#14100a;background:linear-gradient(120deg,#ffe3b8,#d2ad7c 62%,#efd5ae);
    border:1px solid #f6d5a5;box-shadow:0 13px 34px #0006, inset 0 1px 0 #fff9;
  }
  .hero .hero-actions .btn-ghost {background:#ffffff13;border:1px solid #ffffff42;color:#fff;white-space:nowrap;}
  .hero-meta {display:flex!important;flex-wrap:wrap;gap:6px 13px;color:#c5c8cf!important;font-size:.72rem!important;}
  .hero-meta span {display:inline-flex;gap:6px;align-items:center;}

  /* Accesos rápidos reales: sólo se muestran enlaces que existen */
  .mobile-quick-actions {
    display:flex;align-items:stretch;gap:10px;padding:0 18px 18px;
    margin-top:-2px;background:#090a0c;
  }
  .mobile-quick-actions a {
    flex:1;min-width:0;display:grid;place-items:center;align-content:center;gap:9px;
    min-height:83px;border:1px solid rgba(255,255,255,.12);border-radius:16px;
    background:linear-gradient(160deg,#1b1c20,#101113);box-shadow:inset 0 1px #ffffff09;
    color:#f0f0f0;text-decoration:none;font-size:.76rem;font-weight:750;
  }
  .mobile-quick-actions svg {color:#ebc899;width:22px;height:22px;}

  /* Espaciado y títulos */
  .section {padding:58px 18px!important;}
  .section h2 {font-size:clamp(2.2rem,9vw,3.05rem);line-height:1.06;letter-spacing:-.052em;}
  #servicios.services-showcase {padding:55px 0 59px 18px!important;overflow:hidden;}
  #servicios .services-showcase-intro {display:block;margin:0 18px 24px 0;}
  #servicios .services-showcase-intro .eyebrow {font-size:.71rem;color:#e1c399;margin-bottom:11px;}
  #servicios .services-showcase-intro h2 {font-size:clamp(2.25rem,9.6vw,3rem);line-height:1.02;}
  #servicios .services-showcase-intro>p {margin-top:11px;font-size:.93rem;line-height:1.55;color:#afb4bc;}
  /* Carrusel natural con desplazamiento táctil, sin biblioteca externa */
  #servicios .premium-services-grid {
    display:flex!important;grid-template-columns:none!important;align-items:stretch;
    gap:13px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    padding:4px 18px 16px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  #servicios .premium-services-grid::-webkit-scrollbar {display:none;}
  #servicios .premium-service-card {
    flex:0 0 min(78vw,330px)!important;width:min(78vw,330px);
    scroll-snap-align:start;transform:none!important;border-radius:20px;
    border-color:#373536;background:linear-gradient(155deg,#1b1a1a,#0c0d0f);
  }
  #servicios .premium-service-media {height:176px;max-height:176px;}
  #servicios .premium-service-body {padding:16px 17px 18px;}
  #servicios .premium-service-detail {padding-bottom:14px;}
  #servicios .premium-service-detail h3 {font-size:1.42rem;}
  #servicios .premium-service-detail p {font-size:.82rem;line-height:1.43;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
  #servicios .premium-service-foot {align-items:center;flex-wrap:wrap;gap:7px;padding-top:13px;}
  #servicios .premium-service-price strong {font-size:1.4rem;}
  #servicios .premium-service-book {min-height:42px;padding:9px 11px;font-size:.76rem;gap:4px;background:linear-gradient(120deg,#f9e4c6,#c9a77d);}
  #servicios .services-upcoming {margin-right:18px;}

  /* Equipo: foto horizontal + resumen compacto en móvil */
  #equipo.team-premium-section {padding:60px 18px!important;}
  #equipo .team-premium-head {gap:9px;margin-bottom:24px;}
  #equipo .team-premium-head h2 {font-size:clamp(2.2rem,9vw,3rem);max-width:none;}
  #equipo .team-premium-lead {line-height:1.5;color:#aeb3bb;}
  #equipo .team-premium-grid {gap:16px;}
  #equipo .team-premium-card {border-radius:22px;}
  #equipo .team-premium-photo {height:260px;min-height:260px;}
  #equipo .team-premium-details {padding:19px 20px 22px;}
  #equipo .team-premium-details h3 {font-size:1.86rem;}
  #equipo .team-premium-description {font-size:.9rem;}
  #equipo .team-premium-links {padding-top:16px;}
  #equipo .team-premium-book {min-height:46px;justify-content:center;}

  /* Galería tipo revista */
  #trabajos.gallery-section {padding:56px 18px!important;}
  #trabajos .section-head {margin-bottom:23px;}
  #trabajos .gallery-grid {gap:9px;}
  #trabajos .gallery-card {border-radius:15px;}

  /* Reserva optimizada para el pulgar */
  #reserva.booking-section {padding:58px 14px 65px!important;}
  #reserva .premium-booking-intro {margin:0 4px 20px;gap:16px;}
  #reserva .premium-booking-copy h2 {font-size:clamp(2.32rem,10vw,3.15rem);line-height:1.04;}
  #reserva .premium-booking-copy p:last-child {font-size:.94rem;line-height:1.5;}
  #reserva .booking-notice-card {padding:15px 16px!important;border-radius:16px;}
  #reserva .booking-notice-head {gap:10px;margin-bottom:8px;}
  #reserva .booking-notice-icon {width:28px;height:28px;font-size:.9rem;}
  #reserva .booking-notice-head strong {font-size:1.28rem;}
  #reserva .booking-notice-card p {font-size:.82rem;line-height:1.46;}
  #reserva .booking-notice-foot {margin-top:8px;padding-top:8px;gap:9px;}
  #reserva .booking-notice-foot small {font-size:.78rem;}
  #reserva .booking-mini-icon {width:28px;height:28px;}
  #reserva .booking-shell-premium {padding:20px 13px 22px!important;border-radius:20px!important;}
  #reserva .premium-steps {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;
    margin:0 0 21px!important;
  }
  #reserva .step-pill {
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    gap:6px;min-width:0;text-align:center;padding:0 2px 10px;
  }
  #reserva .step-circle {width:33px;height:33px;font-size:.92rem;}
  #reserva .step-copy b {font-size:clamp(.66rem,2.7vw,.83rem);white-space:nowrap;}
  #reserva .step-copy small {display:none!important;}
  #reserva .booking-step h3 {font-size:clamp(1.75rem,7.2vw,2.25rem)!important;margin:6px 0 17px!important;}
  #reserva .premium-choice-grid {gap:10px!important;}
  #reserva .service-choice-card,#reserva .premium-barber-choice {
    min-height:87px!important;padding:13px!important;border-radius:15px!important;gap:8px;
  }
  #reserva .choice-main {gap:10px;}
  #reserva .choice-icon {width:39px;height:39px;}
  #reserva .choice-icon svg {width:19px;height:19px;}
  #reserva .choice-copy b {font-size:1rem;line-height:1.17;}
  #reserva .choice-copy small {font-size:.81rem;}
  #reserva .service-choice-card strong {font-size:1.14rem;white-space:nowrap;}
  #reserva .premium-barber-choice img {width:51px!important;height:51px!important;border-radius:12px!important;}
  #reserva .premium-date-box {padding:12px 10px;border-radius:15px!important;}
  #reserva .date-picker-head {gap:7px;}
  #reserva .date-picker-head small {font-size:.72rem;}
  #reserva .date-cards {scrollbar-width:none;}
  #reserva .date-card {flex-basis:99px;min-height:109px;border-radius:13px!important;}
  #reserva .hours-panel {padding:14px 11px!important;border-radius:15px!important;}
  #reserva .slots {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
  #reserva .slot {min-height:44px;padding:10px 5px;touch-action:manipulation;}
  #reserva .form-grid {grid-template-columns:1fr;gap:0;}
  #reserva .field input,#reserva .field select,#reserva .field textarea {font-size:16px!important;min-height:46px;}
  #reserva .booking-selection-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  #reserva .booking-selection-summary>div {min-width:0;overflow-wrap:anywhere;}
  #reserva .form-actions {display:grid!important;gap:9px;}
  #reserva .premium-submit-btn {min-height:51px;font-size:1rem;background:linear-gradient(120deg,#f6dfbe,#c9a372);color:#0c0c0d;}
  #reserva .premium-back-btn {order:2;min-height:46px;}
  #reserva .terms {align-items:flex-start;gap:10px;font-size:.83rem;line-height:1.45;}
  #reserva .terms input {width:19px;height:19px;flex:none;}
  #reserva .booking-result {padding:25px 5px;}

  #resenas.reviews-premium-section {padding:58px 18px!important;}
  #contacto.bs-contact {margin:12px 12px 54px!important;padding:22px 16px!important;}
  .bs-final-cta {margin-bottom:22px;}
  /* Dock accesible, integrado con secciones existentes */
  .mobile-bottom-nav {
    position:fixed;z-index:60;bottom:calc(10px + env(safe-area-inset-bottom,0px));
    left:12px;right:12px;display:flex;align-items:stretch;justify-content:space-around;
    min-height:67px;padding:6px 5px;border:1px solid rgba(255,255,255,.19);
    border-radius:21px;background:rgba(16,17,19,.95);box-shadow:0 20px 55px #000b, 0 1px 0 #ffffff13 inset;
    backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  }
  .mobile-bottom-nav a {
    flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:4px;padding:4px 1px;border-radius:15px;color:#a9afb7;
    text-decoration:none;font-size:clamp(.56rem,2.5vw,.68rem);font-weight:650;line-height:1.2;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-bottom-nav svg {width:20px;height:20px;}
  .mobile-bottom-nav a.is-current {color:#f2d5ac;background:rgba(230,200,157,.09);}
  .mobile-bottom-nav a.mobile-dock-book {
    flex:1.16;min-width:0;background:linear-gradient(135deg,#f7e0bf,#c7a477);
    color:#12100c;font-weight:850;box-shadow:0 6px 18px #0005;
  }
  body.mobile-menu-open .mobile-bottom-nav {visibility:hidden;}
}
@media (max-width: 365px) {
  .site-header .brand span {max-width:105px;}
  .hero {min-height:627px!important;}
  .hero-content {padding-inline:16px;padding-bottom:23px;}
  .hero h1 {font-size:3rem!important;}
  .hero-actions {grid-template-columns:1fr;gap:8px;margin-top:18px;}
  .hero-actions .btn {min-height:48px;}
  #servicios.services-showcase {padding-left:14px!important;}
  #servicios .premium-service-card {flex-basis:83vw!important;width:83vw;}
  #reserva.booking-section {padding-inline:10px!important;}
  #reserva .service-choice-card strong {font-size:1.02rem;}
  #reserva .choice-copy b {font-size:.93rem;}
}
@media (min-width: 901px) {
  /* Retiene la experiencia de escritorio, con un acabado de cabecera más suave. */
  .site-header {border-bottom-color:rgba(255,255,255,.12);}
  .site-header nav a {transition:color .18s ease;}
  .site-header nav a:hover {color:#f2d7b0;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto;}
  .mobile-bottom-nav a,.mobile-quick-actions a {transition:none;}
  #servicios .premium-services-grid {scroll-behavior:auto;}
}
