/* Barber Studio — Header Premium v5
   Cambia sólo el encabezado de la web pública en escritorio.
   No altera tarjetas, reservas, cuentas ni el diseño móvil aprobado. */

@media (min-width: 901px) {
  .site-header.bs-header {
    position:sticky;
    top:0;
    z-index:90;
    display:flex;
    align-items:center;
    width:100%;
    max-width:none;
    height:96px;
    padding:0 clamp(18px,2.8vw,58px);
    gap:clamp(12px,1.6vw,28px);
    background:linear-gradient(180deg,rgba(9,10,12,.98),rgba(5,6,8,.96));
    border-bottom:1px solid rgba(225,230,236,.32);
    box-shadow:0 1px 0 #ffffff12 inset,0 12px 36px #0009;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    isolation:isolate;
  }
  .site-header.bs-header::after {
    content:"";
    position:absolute;
    z-index:-1;
    bottom:-1px;
    left:10%;
    width:80%;
    height:1px;
    pointer-events:none;
    background:linear-gradient(90deg,transparent,#eef0f6 45%,transparent);
    opacity:.5;
  }
  .site-header.bs-header .bs-brand {
    display:flex;
    align-items:center;
    gap:13px;
    margin:0;
    padding:0;
    flex:0 0 auto;
    min-width:0;
    text-decoration:none;
  }
  .site-header.bs-header .bs-brand img {
    display:block;
    width:64px;
    height:64px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid #92969e;
    box-shadow:0 0 0 3px #ffffff09,0 0 18px #ffffff13;
  }
  .site-header.bs-header .bs-brand-copy {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    white-space:nowrap;
  }
  .site-header.bs-header .bs-brand-title {
    font-size:clamp(1.05rem,1.55vw,1.55rem);
    font-weight:850;
    line-height:1.15;
    letter-spacing:-.025em;
    color:#f8f8f9;
  }
  .site-header.bs-header .bs-brand-subtitle {
    font-size:.62rem;
    font-weight:520;
    letter-spacing:.15em;
    color:#a8abb3;
    text-transform:uppercase;
  }
  .site-header.bs-header > .bs-nav {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1 1 auto;
    margin:0;
    min-width:0;
    height:54px;
    gap:clamp(11px,1.7vw,28px);
    padding:0 clamp(9px,1.3vw,20px);
    border-left:1px solid #ffffff21;
    border-right:1px solid #ffffff21;
  }
  .site-header.bs-header > .bs-nav a {
    position:relative;
    display:inline-flex;
    align-items:center;
    height:44px;
    font-size:clamp(.78rem,.93vw,.95rem);
    font-weight:550;
    color:#d4d5d9;
    white-space:nowrap;
    text-decoration:none;
    transition:color .18s ease;
  }
  .site-header.bs-header > .bs-nav a::after {
    content:"";
    position:absolute;
    left:12%;right:12%;bottom:0;
    height:2px;
    background:linear-gradient(90deg,transparent,#fff,transparent);
    box-shadow:0 0 12px #ffffffb0;
    opacity:0;
    transform:scaleX(.5);
    transition:opacity .18s ease,transform .18s ease;
  }
  .site-header.bs-header > .bs-nav a:hover,
  .site-header.bs-header > .bs-nav a:focus-visible {color:#fff;}
  .site-header.bs-header > .bs-nav a:hover::after,
  .site-header.bs-header > .bs-nav a:focus-visible::after {opacity:1;transform:scaleX(1);}
  .site-header.bs-header .bs-header-actions {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:10px;
  }
  .site-header.bs-header .bs-header-actions a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:47px;
    margin:0;
    padding:10px 15px;
    border-radius:999px;
    font-size:.9rem;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
    transition:transform .18s ease,filter .18s ease,background .18s ease;
  }
  .site-header.bs-header .bs-header-actions a:hover {transform:translateY(-1px);}
  .site-header.bs-header .bs-header-actions a:focus-visible {outline:2px solid #fff;outline-offset:3px;}
  .site-header.bs-header .bs-header-actions svg {
    display:block;
    width:19px;height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex:0 0 auto;
  }
  .site-header.bs-header .bs-account-button {
    color:#f2f2f4;
    background:linear-gradient(150deg,#141517,#08090a);
    border:1px solid #9fa2aa;
    box-shadow:0 1px 0 #ffffff25 inset,0 2px 16px #0006;
  }
  .site-header.bs-header .bs-account-button:hover {background:#25272a;filter:brightness(1.15);}
  .site-header.bs-header .bs-book-button {
    background:linear-gradient(145deg,#ffffff 0%,#b4b8bd 52%,#f4f5f8 100%);
    border:1px solid #f6f6fa;
    color:#0a0a0b;
    box-shadow:0 2px 0 #ffffff90 inset,0 4px 19px #ffffff24;
  }
  .site-header.bs-header .bs-book-button:hover {filter:brightness(1.08);}
}

/* Escritorio compacto: no se sacrifica la navegación ni se desbordan botones. */
@media (min-width: 901px) and (max-width: 1200px) {
  .site-header.bs-header {height:80px;padding-inline:16px;gap:12px;}
  .site-header.bs-header .bs-brand img {width:52px;height:52px;}
  .site-header.bs-header .bs-brand {gap:9px;}
  .site-header.bs-header .bs-brand-title {font-size:1.06rem;}
  .site-header.bs-header .bs-brand-subtitle {display:none;}
  .site-header.bs-header > .bs-nav {gap:12px;padding-inline:10px;}
  .site-header.bs-header > .bs-nav a {font-size:.81rem;}
  .site-header.bs-header .bs-header-actions a {padding:9px 11px;min-height:42px;font-size:.81rem;gap:6px;}
  .site-header.bs-header .bs-header-actions svg {width:17px;height:17px;}
}
@media (min-width: 901px) and (max-width: 1040px) {
  .site-header.bs-header > .bs-nav .bs-optional-link {display:none;}
  .site-header.bs-header .bs-header-actions {gap:6px;}
  .site-header.bs-header > .bs-nav {gap:9px;padding-inline:7px;}
}

/* Menú y barra inferior ya existentes: sólo aseguramos que no se alteren. */
@media (max-width: 900px) {
  .site-header.bs-header .bs-brand-copy,
  .site-header.bs-header .bs-header-actions {display:none!important;}
  .site-header.bs-header > .bs-nav {display:none!important;}
}

@media (prefers-reduced-motion: reduce) {
  .site-header.bs-header .bs-nav a,
  .site-header.bs-header .bs-nav a::after,
  .site-header.bs-header .bs-header-actions a {transition:none!important;}
}
