/* BARBER STUDIO — REDISEÑO MÓVIL v2
   Referencia aprobada: negro, acero pulido, fotografía editorial, logo circular.
   No altera solicitudes al backend ni la administración.
   Cargar siempre después de mobile-first-v1.css. */
:root{
  --bs2-silver:#e5e7e9;
  --bs2-silver-dark:#81878d;
  --bs2-dark:#070809;
  --bs2-panel:#111215;
  --bs2-line:rgba(233,236,241,.19);
}
.hero-mobile-copy,.mobile-quick-area,.mobile-showcase-title{display:none}
@media(max-width:900px){
  html{scroll-padding-top:82px}
  body{background:#050607!important;color:#f6f6f6;padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
  #inicio,#servicios,#equipo,#trabajos,#reserva,#resenas,#contacto{scroll-margin-top:82px}
  .site-header{
    position:sticky;top:0;height:78px;z-index:80;display:flex;align-items:center;
    justify-content:space-between;padding:0 17px!important;
    background:linear-gradient(180deg,rgba(8,9,11,.97),rgba(8,9,11,.88));
    border-bottom:1px solid rgba(255,255,255,.14);
  }
  .site-header .brand{
    position:absolute;left:50%;top:5px;transform:translateX(-50%);margin:0;
    width:68px;min-width:68px;max-width:68px;height:68px;display:grid;place-items:center;
  }
  .site-header .brand img{
    width:66px;height:66px;max-width:none;max-height:none;object-fit:cover;
    border:1px solid #a6a9ae;border-radius:50%;box-shadow:0 3px 25px #000,0 0 18px #e4e4e412;
  }
  .site-header .brand span{display:none!important}
  .mobile-nav-toggle{order:-1;width:44px;height:44px;position:relative;margin:0;z-index:2;
    background:transparent!important;border:0!important;border-radius:50%;color:#f6f6f6}
  .mobile-nav-toggle svg{width:25px;height:25px}
  .mobile-header-book{margin:0 0 0 auto;padding:0;width:44px;height:44px;z-index:2;
    background:transparent!important;color:#f4f4f4!important;border:0!important;border-radius:50%}
  .mobile-header-book svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .site-header .mobile-site-menu:not([hidden]){
    top:calc(100% + 5px);left:12px;right:12px;border-color:var(--bs2-line);
    background:linear-gradient(160deg,#202124,#0b0c0e);
  }
  .mobile-site-menu .mobile-menu-primary{
    background:linear-gradient(120deg,#fff,#b7bbc1 60%,#f5f6f8)!important;
    color:#090a0b!important;
  }
  .mobile-menu-scrim:not([hidden]){inset:78px 0 0}

  /* PORTADA: fotografía por encima y titular claro sin interrumpir la imagen */
  .hero{
    display:flex!important;align-items:flex-end!important;justify-content:stretch!important;
    position:relative;isolation:isolate;overflow:hidden;
    min-height:492px!important;height:auto;width:100%;margin:0!important;padding:0!important;
    background:#070809!important;
  }
  .hero:before{display:block!important;content:"";position:absolute;inset:0;z-index:0;
    background:linear-gradient(180deg,#14171b30,#070809 85%),url('../images/hex-led-ceiling.svg') 50% -130px/510px auto no-repeat;
    opacity:.35;pointer-events:none}
  .hero .led-ceiling,.hero .hero-logo-bg,.hero .hero-visual{display:none!important}
  .hero-mobile-art{display:block;position:absolute;inset:0 0 auto;height:336px;z-index:1;
    overflow:hidden;pointer-events:none;background:transparent}
  .hero-mobile-art img{
    width:100%;height:100%;object-fit:cover;object-position:50% 49%;
    filter:brightness(.80) contrast(1.08) saturate(.82);
  }
  .hero:after{content:"";position:absolute!important;inset:0!important;z-index:2!important;
    background:linear-gradient(180deg,
      rgba(4,5,6,.12) 0%, rgba(4,5,6,.05) 23%,
      rgba(4,5,6,.26) 38%,rgba(4,5,6,.78) 55%,
      rgba(5,6,7,.97) 71%,#050607 99%)!important;
    pointer-events:none}
  .hero-content{
    z-index:3!important;position:relative;display:flex!important;flex-direction:column;
    width:100%;padding:235px 21px 17px!important;gap:0;align-items:stretch!important;
  }
  .hero-desktop-copy{display:none!important}
  .hero-mobile-copy{display:block;text-align:left}
  .hero-mobile-copy .mobile-hero-eyebrow{
    margin:0 0 10px;color:#d8dadf;font-size:.62rem;letter-spacing:.20em;font-weight:750;
  }
  .hero .hero-mobile-copy h1{
    color:#fcfcfc!important;font-size:clamp(2.11rem,9.1vw,3.3rem)!important;
    font-family:Georgia,'Times New Roman',serif!important;font-weight:760;
    letter-spacing:-.025em;line-height:1.02;max-width:400px;margin:0!important;
    text-shadow:0 3px 17px #000d;text-wrap:balance;
  }
  .hero-mobile-copy>p:last-child{
    margin:11px 0 0;font-size:clamp(.57rem,2.65vw,.75rem);
    letter-spacing:.13em;color:#c9cdd2;font-weight:700;white-space:nowrap;
  }
  .hero-mobile-copy>p:last-child span{color:#8b8f96;padding:0 2px}
  .hero-actions{display:flex!important;gap:0!important;margin:22px 0 0!important;width:100%}
  .hero-actions .btn-ghost{display:none!important}
  .hero .hero-actions .btn-primary{
    display:flex!important;width:100%;justify-content:center;position:relative;
    min-height:55px;padding:13px 45px 13px 22px;border-radius:999px;
    font-size:1rem;font-weight:900;color:#111!important;
    background:linear-gradient(168deg,#fff 0%,#f2f3f4 19%,#9da1a5 48%,#d7dadd 75%,#fafbfc 100%)!important;
    border:1px solid rgba(255,255,255,.85)!important;
    box-shadow:inset 0 2px #fff9,0 3px 0 #676a70,0 12px 27px #0009!important;
    text-decoration:none;
  }
  .hero .hero-actions .btn-primary:after{
    content:"›";display:grid;place-items:center;position:absolute;right:12px;top:50%;transform:translateY(-50%);
    width:30px;height:30px;border-radius:50%;background:#151618;color:#fff;font-size:1.6rem;font-weight:500;
  }
  .hero-meta{display:none!important}

  /* SERVICIOS: tarjetas deslizables compactas, como la referencia */
  #servicios.services-showcase{padding:20px 0 25px 15px!important;background:#050607;overflow:hidden}
  #servicios .services-showcase-intro{margin:0 16px 14px 2px!important;display:flex;align-items:end;justify-content:space-between;gap:8px}
  #servicios .services-showcase-intro .eyebrow,
  #servicios .services-showcase-intro h2:not(.mobile-showcase-title),
  #servicios .services-showcase-intro>p{display:none!important}
  #servicios .services-showcase-intro h2.mobile-showcase-title{
    display:block!important;margin:0!important;color:#fbfbfb!important;
    font-family:Georgia,'Times New Roman',serif;font-weight:740;font-size:1.54rem!important;line-height:1.2;letter-spacing:-.015em;
  }
  #servicios .premium-services-grid{gap:10px!important;scroll-snap-type:x mandatory;padding:0 15px 15px 0!important}
  #servicios .premium-service-card{
    flex:0 0 min(45vw,187px)!important;width:min(45vw,187px)!important;min-width:0!important;
    background:linear-gradient(160deg,#191a1c,#0c0d0f 65%)!important;
    border:1px solid rgba(255,255,255,.22)!important;border-radius:14px!important;
    box-shadow:0 8px 20px #0008!important;
  }
  #servicios .premium-service-media{height:130px!important;max-height:130px!important}
  #servicios .premium-service-media>img{object-fit:cover;object-position:center 24%;filter:contrast(1.06) saturate(.78)}
  #servicios .premium-service-time{font-size:.6rem;padding:5px 7px;min-height:24px;top:8px;right:8px;gap:4px}
  #servicios .premium-service-time svg{width:12px;height:12px;min-width:12px;min-height:12px}
  #servicios .premium-service-body{padding:10px 10px 11px!important;min-height:103px;display:flex;flex-direction:column}
  #servicios .premium-service-detail{padding-bottom:6px!important}
  #servicios .premium-service-kicker{display:none!important}
  #servicios .premium-service-detail h3{font-family:inherit!important;font-size:.86rem!important;font-weight:800;line-height:1.12;margin:0 0 4px!important;letter-spacing:-.02em;min-height:20px}
  #servicios .premium-service-detail p{font-size:.67rem!important;line-height:1.26!important;
    color:#aeb2b8!important;-webkit-line-clamp:2;margin:0!important}
  #servicios .premium-service-foot{border:0!important;padding:6px 0 0!important;gap:2px;margin-top:auto;align-items:center!important;flex-wrap:nowrap!important}
  #servicios .premium-service-price span{display:none!important}
  #servicios .premium-service-price strong{font-size:.91rem!important;font-weight:850;white-space:nowrap;color:#fbfbfc}
  #servicios .premium-service-book{
    min-width:29px!important;min-height:29px!important;width:29px!important;height:29px!important;
    flex:0 0 29px;overflow:hidden;font-size:0!important;padding:0!important;
    border:1px solid rgba(255,255,255,.50)!important;border-radius:50%!important;
    color:#fff!important;background:linear-gradient(145deg,#323538,#090a0c)!important;
    box-shadow:none!important;
  }
  #servicios .premium-service-book span{font-size:1.25rem!important;color:#f7f7f7;line-height:1}
  #servicios .services-upcoming{font-size:.76rem;margin-top:12px}

  /* ACCESOS: cuatro cuadros en una sola fila sin funciones ficticias */
  .mobile-quick-area{display:block;padding:7px 15px 28px;background:#050607}
  .mobile-quick-area h2{font-family:Georgia,'Times New Roman',serif;font-size:1.5rem!important;
    margin:0 0 14px;line-height:1.2;font-weight:730}
  .mobile-quick-actions{display:flex!important;gap:8px!important;padding:0!important;margin:0!important;background:none!important}
  .mobile-quick-actions a{
    display:flex;flex-direction:column;flex:1;gap:7px!important;min-width:0;
    padding:10px 3px!important;min-height:83px!important;border-radius:13px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    background:linear-gradient(150deg,#292a2d,#111214 70%)!important;
    box-shadow:inset 0 1px #ffffff19,0 12px 18px #0003!important;
    font-size:clamp(.62rem,2.65vw,.77rem)!important;font-weight:650!important;
    text-align:center;color:#f6f6f6!important;
  }
  .mobile-quick-actions a:first-child{background:linear-gradient(160deg,#e1e4e6,#898e94)!important;color:#0a0b0c!important;border-color:#f5f6f7!important}
  .mobile-quick-actions svg{width:25px!important;height:25px!important;color:inherit!important}

  /* BARRA INFERIOR DE ACCESO FIJO */
  .mobile-bottom-nav{
    z-index:60;left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom,0px));
    min-height:65px!important;border-radius:20px!important;padding:4px 4px!important;
    background:rgba(12,13,15,.97)!important;border:1px solid rgba(255,255,255,.26)!important;
    box-shadow:0 15px 33px #000c,inset 0 1px #fff1!important;
  }
  .mobile-bottom-nav a{font-size:clamp(.57rem,2.45vw,.68rem);gap:4px!important;color:#d3d5d8!important;border-radius:13px}
  .mobile-bottom-nav a svg{width:22px;height:22px}
  .mobile-bottom-nav a.is-current{background:#ffffff11!important;color:#fff!important}
  .mobile-bottom-nav a.mobile-dock-book{
    color:#090a0b!important;background:linear-gradient(125deg,#fff,#b2b6bd 55%,#f2f4f5)!important;
    border-radius:15px!important;box-shadow:inset 0 1px #fff,0 4px 16px #ffffff1f!important;
  }
  /* RESERVAS: mantener entradas funcionales y estilo plateado */
  #reserva .booking-shell-premium{border:1px solid var(--bs2-line)!important;background:linear-gradient(155deg,#191a1c,#0c0d0f)!important}
  #reserva .step-pill.active:after{background:linear-gradient(90deg,#f6f6f6,#b4b7bb,transparent)!important}
  #reserva .step-pill.active .step-circle,
  #reserva .date-card.selected,
  #reserva .slot.selected{
    background:linear-gradient(125deg,#fff,#bbc0c5)!important;color:#0a0b0c!important;border-color:#fff!important;
  }
  #reserva .premium-submit-btn{background:linear-gradient(125deg,#fff,#aeb2b8,#e6e8eb)!important;color:#0c0d0e!important}
  #reserva .choice-card.selected{border-color:#e1e5e9!important;box-shadow:0 0 0 1px #ddd8!important}
  :where(.mobile-quick-actions a,.mobile-bottom-nav a,.mobile-nav-toggle,.mobile-header-book):focus-visible{outline:2px solid #fff;outline-offset:2px}
}
@media(max-width:355px){
  .hero{min-height:465px!important}
  .hero-content{padding:224px 16px 14px!important}
  .hero .hero-mobile-copy h1{font-size:2.04rem!important}
  #servicios .premium-service-card{flex-basis:47vw!important;width:47vw!important}
  .mobile-quick-actions a{font-size:.60rem!important}
}
@media(min-width:901px){
  .mobile-quick-area,.hero-mobile-copy{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .hero-actions .btn,.mobile-quick-actions a{transition:none!important}
}
