:root{
  /* ====== OASIS TECH (tema CLARO elegante) ====== */
  --bg:#ffffff;                 /* fondo general */
  --surface:#ffffff;            /* header/tarjetas */
  --surface2:#f6f8fb;           /* secciones suaves / hover */
  --text:#0b1220;               /* texto principal (negro elegante) */
  --muted:#667085;              /* texto secundario */
  --border:#e4e7ec;             /* borde suave */

  /* Marca */
  --primary:#0b2a4a;            /* azul marino */
  --primary2:#123a63;           /* azul vivo */
  --accent:#caa06a;             /* madera/dorado */
  --glow:#2f7cff;               /* azul “glow” suave (para detalles) */

  /* Sombras (light mode) */
  --shadow: 0 12px 28px rgba(16,24,40,.10);
  --shadow2: 0 18px 50px rgba(16,24,40,.12);
  --shadowGlow: 0 16px 34px rgba(18,58,99,.18);
  --radius:16px;

  /* WhatsApp */
  --wa:#25D366;
}

*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(11,42,74,.08), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(202,160,106,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.container{ width:min(1180px, 92vw); margin:0 auto; }

/* TOPBAR (toque azul marino, fino) */
.topbar{
  background: linear-gradient(90deg, var(--primary), #071a2d);
  border-bottom:1px solid rgba(255,255,255,.14);
}
.topbar__inner{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 0; gap:12px;
}
.topbar__left{
  display:flex; gap:10px; align-items:center;
  color: rgba(255,255,255,.92);
  font-size:13px; flex-wrap:wrap;
}
.sep{ opacity:.7; }
.topbar__right{ display:flex; gap:12px; }
.topbar__link{ color: rgba(255,255,255,.90); font-size:13px; }
.topbar__link:hover{ color:#fff; }

/* ===== Iconos SVG (teléfono / reloj / ubicación) ===== */
.topbar__item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color: rgba(255,255,255,.92);
}
.tbicon{
  width:16px;
  height:16px;
  flex:0 0 16px;
}
.tbicon--stroke{
  fill:none;
  stroke: rgba(255,255,255,.92);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Redes */
.topbar__icon{
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.topbar__icon:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}
.topbar__icon svg{
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,.92);
  display:block;
}


/* HEADER */
.header{
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px 0;
}

/* LOGO */
.logo{ display:flex; gap:10px; align-items:center; }
.logo__text{ display:flex; flex-direction:column; line-height:1.05; }
.logo__text small{ color:var(--muted); font-size:12px; margin-top:3px; }

/* Si usas imagen de logo */
.logo__img{
  width: 100px;
  height: 57px;
  object-fit: contain;

  /* sin marco */
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

/* SEARCH */
.search{
  display:flex; align-items:center;
  border:1px solid var(--border);
  border-radius: 999px;
  overflow:hidden;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
  min-width: 260px;
}
.search__select{
  border:0; outline:0;
  background: rgba(11,42,74,.06);
  color: var(--text);
  padding:10px 10px;
}
.search input{
  width:100%;
  padding:10px 14px;
  border:0; outline:0;
  background: transparent;
  color: var(--text);
}
.search input::placeholder{ color: rgba(16,24,40,.45); }

.search button{
  border:0;
  background: rgba(202,160,106,.80); /* madera */
  color: #1b1207;
  cursor:pointer;
  padding:10px 14px;
  font-weight: 900;
}
.search button:hover{ filter: brightness(.98); }

/* ACTIONS */
.actions{ display:flex; gap:10px; align-items:center; }
.iconbtn{
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  display:flex; gap:8px; align-items:center;
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
}
.iconbtn:hover{
  border-color: rgba(11,42,74,.22);
  box-shadow: 0 14px 30px rgba(18,58,99,.10);
}

.cta{
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--primary2), var(--primary));
  color:#fff;
  font-weight:900;
  border:1px solid rgba(11,42,74,.22);
  box-shadow: var(--shadowGlow);
}

/* Contador del carrito */
.cartCount{
  margin-left: 8px;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(11,42,74,.08);
  border: 1px solid rgba(11,42,74,.18);
  color: var(--primary);
}

/* NAV 2 */
.nav2{
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.92);
  position: relative;
}
.nav2__inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:10px 0;
}
.nav2__left{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.nav2__right{ display:flex; gap:10px; align-items:center; }

/* Cat btn */
.catbtn{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(11,42,74,.18);
  background: rgba(11,42,74,.06);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
}
.catbtn:hover{ background: rgba(11,42,74,.10); }

.navlink{
  padding:8px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.navlink:hover{
  color: var(--text);
  background: rgba(11,42,74,.06);
  border: 1px solid rgba(11,42,74,.10);
}

/* Botones derecha */
.pill{
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--primary2), var(--primary));
  color:#fff;
  font-weight:900;
  border:1px solid rgba(11,42,74,.22);
  box-shadow: var(--shadowGlow);
}
.pill--ghost{
  background: rgba(202,160,106,.14); /* madera suave */
  color: #1b1207;
  border: 1px solid rgba(202,160,106,.35);
  box-shadow: 0 14px 28px rgba(202,160,106,.14);
}

/* MEGA MENU */
.mega{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:60;
}
.mega__panel{
  margin-top:10px;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.mega__head{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(90deg, rgba(11,42,74,.06), rgba(202,160,106,.10));
}
.mega__title{ font-weight:900; }
.mega__close{
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width:38px; height:38px;
  border-radius:12px;
  cursor:pointer;
}
.mega__close:hover{ border-color: rgba(11,42,74,.20); }

.mega__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px;
}
.mega__col h4{
  margin:0 0 10px;
  font-size: 14px;
  color: var(--text);
}
.mega__col a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  color: var(--muted);
}
.mega__col a:hover{
  color: var(--text);
  background: rgba(11,42,74,.06);
}

.mega__footer{
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 16px;
  border-top:1px solid var(--border);
  background: rgba(16,24,40,.02);
}
.mega__all{ color: var(--primary); font-weight:900; }
.mega__tip{ color: var(--muted); font-size: 13px; }

/* Overlay */
.overlay{
  position: fixed; inset:0;
  background: rgba(0,0,0,.28);
  z-index:55;
}

/* MAIN */
.main{ padding:18px 0 90px; }

body.view-home .main{
  padding-bottom: 0;
}

/* WhatsApp flotante */
.whats-float{
  position:fixed; right:18px; bottom:18px; z-index:80;
  width:56px; height:56px; border-radius:999px;
  display:grid; place-items:center;
  background: var(--wa);
  color:#fff;
  border:1px solid rgba(37,211,102,.35);
  box-shadow: 0 16px 30px rgba(37,211,102,.22);
  font-size:22px;
}

.hide-sm{ display:inline; }

/* ===== Breakpoints base (los tuyos) ===== */
@media (max-width: 980px){
  .header__inner{ grid-template-columns: auto 1fr; grid-template-areas:
    "logo actions"
    "search search";
  }
  .logo{ grid-area: logo; }
  .actions{ grid-area: actions; justify-self:end; }
  .search{ grid-area: search; }
  .hide-sm{ display:none; }
  .mega__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .mega__grid{ grid-template-columns: 1fr; }
}

/* (Opcional) esconder dirección larga en móvil (tu regla original) */
@media (max-width: 700px){
  #addressShown{ display:none; }
}

/* ====== PRODUCTOS ====== */
.section{ margin-top: 16px; }
.section__head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  margin-bottom: 10px;
}
.section__head h3{ margin:0; font-size:18px; }
.section__head p{ margin:0; color:var(--muted); font-size:13px; }

.products{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pCard{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}

/* Recuadro 1:1 */
.pImg{
  aspect-ratio: 1 / 1;
  height: auto;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display:grid;
  place-items:center;
  padding: 14px;
}

/* Imagen centrada */
.pImg img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 26px rgba(16,24,40,.10);
}

.pBody{ padding: 14px; display:flex; flex-direction:column; gap:10px; }

.pTop{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.pTitle{ margin:0; font-size:14px; font-weight:900; line-height:1.25; }
.pSub{ margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.35; }

.badges{ display:flex; flex-wrap:wrap; gap:8px; }
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(16,24,40,.02);
  color: var(--muted);
  white-space:nowrap;
}
.badge--loc{
  border-color: rgba(202,160,106,.45);
  background: rgba(202,160,106,.14);
  color: #5a4600;
}
.badge--new{
  border-color: rgba(11,42,74,.20);
  background: rgba(11,42,74,.06);
  color: var(--primary);
}

.price{
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: .2px;
  color: var(--text);
}

.specs{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.45;
}
.specs li{ margin: 6px 0; }

.pActions{
  margin-top:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}

/* Botones */
.btnBuy, .btnCart{
  flex:1;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor:pointer;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .08s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}
.btnBuy:active, .btnCart:active{ transform: translateY(1px); }

.iconSvg{
  width: 18px;
  height: 18px;
  fill: var(--primary);       /* ✅ azul marino */
  flex: 0 0 auto;
}

/* si el ícono está dentro del botón de buscar (fondo madera) y quieres contraste */
.iconStroke{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #1b1207;           /* negro elegante (porque el botón es madera) */
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Carrito azul marino */
.btnCart{
  background: linear-gradient(135deg, var(--primary2), var(--primary));
  border-color: rgba(11,42,74,.22);
  color:#fff;
  box-shadow: var(--shadowGlow);
}
.btnCart:hover{ filter: brightness(1.03); }

/* Comprar estilo “pill madera” (como badge EN LIMA) */
.btnBuy{
  background: rgba(202,160,106,.14);
  border-color: rgba(202,160,106,.55);
  color: #1b1207;
  box-shadow: 0 12px 26px rgba(16,24,40,.10);
}
.btnBuy:hover{
  background: rgba(202,160,106,.18);
}

/* icono */
.btnCart .icon{
  font-size: 16px;
  line-height: 1;
  transform: translateY(-.5px);
}
a.btnBuy{ text-decoration:none; }

@media (max-width: 980px){
  .products{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .products{ grid-template-columns: 1fr; }
}

/* ==========================================================
   RESPONSIVE FIX PRO (MÓVIL) - HEADER AZUL + NAV + PRODUCTOS
   (Pegar al final: ya está incluido aquí)
   ========================================================== */

/* TOPBAR FIX PRO: 1 fila, compacto, alineado */
@media (max-width: 720px){
  .topbar__inner{
    flex-wrap: nowrap;               /* ✅ 1 sola fila */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
  }

  .topbar__left{
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;               /* ✅ no saltos */
    overflow: hidden;
    white-space: nowrap;
    gap: 10px;
    line-height: 1.2;
  }

  .topbar__left .sep{ display:none; }
  #addressShown{ display:none !important; }

  .topbar__right{
    flex: 0 0 auto;
    gap: 10px;
    justify-content: flex-end;
  }

  .topbar__icon{
    width: 30px;
    height: 30px;
  }
  .topbar__icon svg{
    width: 16px;
    height: 16px;
  }
}

/* NAV2: links en scroll horizontal, pills abajo */
@media (max-width: 720px){
  .nav2__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav2__left{
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }

  .nav2__left .navlink,
  .nav2__left .catbtn{
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .nav2__left::-webkit-scrollbar{
    display: none;
  }

  .nav2__right{
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
}

/* Products + botones más cómodos en móvil */
@media (max-width: 560px){
  .pBody{ padding: 12px; }
  .price{ font-size: 20px; }
  .btnBuy, .btnCart{
    height: 46px;
    font-size: 14px;
  }
}

@media (max-width: 720px){
  .topbar__addr{ display:none !important; }
}

/* ==========================================================
   HEADER REDESIGN (REFERENCIA CELULAR + PC)
   ========================================================== */
.topbar{
  display: none;
}

html, body{
  background: #f5f7fa;
}

.header{
  position: sticky;
  top: 0;
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid #e6e9ee;
  box-shadow: 0 4px 14px rgba(16,24,40,.04);
}

.brandbar{
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  min-height: 88px;
}

.chromeBtn{
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  color: #0b2a4a;
  cursor: pointer;
  justify-self: center;
}

.chromeBtn svg{
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo--center{
  justify-self: center;
  min-height: 60px;
  width: auto;
  display: grid;
  place-items: center;
  border: 0;
  line-height: 0;
}

.logo__img{
  width: clamp(124px, 12.5vw, 176px);
  height: auto;
  max-height: 62px;
  display: block;
  object-fit: contain;
  transform: translateY(0) scale(1);
  transform-origin: center;
  filter: drop-shadow(0 2px 6px rgba(11,42,74,.14));
}

.quickSearch{
  padding: 0 0 8px;
}

.quickSearch[hidden]{
  display: none;
}

.quickSearch .search{
  width: min(640px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(16,24,40,.08);
}

.drawer{
  border-top: 1px solid #e7ebef;
  background: #ffffff;
}

.drawer[hidden]{
  display: none;
}

.drawer__inner{
  padding: 14px 0 16px;
  display: grid;
  gap: 10px;
}

.drawer__row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.drawer__row--actions{
  justify-content: flex-start;
}

.drawer__row .navlink{
  border: 1px solid #e2e7ed;
  color: #0b2a4a;
  background: #f8fafc;
}

.drawer__row--pills .pill,
.drawer__row--pills .pill--ghost{
  box-shadow: none;
}

.mega{
  top: auto;
  position: relative;
  z-index: 72;
}

.mega__panel{
  margin-top: 0;
  border-radius: 0 0 16px 16px;
}

.overlay{
  z-index: 65;
}

@media (max-width: 980px){
  .brandbar{
    min-height: 80px;
    grid-template-columns: 1fr;
    position: relative;
    align-items: center;
  }

  .chromeBtn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  #menuBtn{
    left: 8px;
    justify-self: auto;
    align-self: auto;
  }

  #searchToggle{
    right: 8px;
    justify-self: auto;
    align-self: auto;
  }

  .logo--center{
    min-height: 56px;
    justify-self: center;
    align-self: center;
  }

  .logo__img{
    width: clamp(110px, 20vw, 150px);
    transform: translateY(-2px);
  }

  .drawer__row{
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .drawer__row::-webkit-scrollbar{
    display: none;
  }

  .drawer__row > *{
    flex: 0 0 auto;
  }

  .drawer__row--actions{
    overflow: visible;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px){
  .brandbar{
    min-height: 72px;
    grid-template-columns: 1fr;
    position: relative;
  }

  .chromeBtn{
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .chromeBtn svg{
    width: 24px;
    height: 24px;
  }

  #menuBtn{
    left: 6px;
  }

  #searchToggle{
    right: 6px;
  }

  .logo--center{
    min-height: 52px;
    justify-self: center;
    align-self: center;
  }

  .logo__img{
    width: clamp(104px, 34vw, 132px);
    max-height: 52px;
    transform: translateY(-1px);
  }

  .quickSearch{
    padding-bottom: 8px;
  }

  .quickSearch .search{
    border-radius: 12px;
  }
}

/* ==========================================================
   DESKTOP LAYOUT TUNE (misma linea visual, mejor disposicion)
   ========================================================== */
@media (min-width: 981px) and (hover: hover) and (pointer: fine){
  .header .brandbar.container{
    width: 100%;
    max-width: none;
    padding-left: 42px;
    padding-right: 42px;
  }

  .brandbar{
    grid-template-columns: 1fr auto 1fr;
    min-height: 86px;
  }

  #menuBtn{
    justify-self: start;
    grid-column: 1;
  }

  #searchToggle{
    justify-self: end;
    grid-column: 3;
  }

  .logo--center{
    grid-column: 2;
    min-height: 68px;
  }

  .logo__img{
    width: clamp(170px, 12vw, 230px);
    max-height: 78px;
    transform: translateY(-1px) scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(11,42,74,.16));
  }

  .quickSearch .search{
    width: min(760px, 94vw);
  }
}

/* Celulares en "modo escritorio": evita desalineacion del header */
@media (min-width: 981px) and (hover: none), (min-width: 981px) and (pointer: coarse){
  .header .brandbar.container{
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brandbar{
    grid-template-columns: 1fr;
    min-height: 74px;
    position: relative;
    align-items: center;
  }

  #menuBtn{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    justify-self: auto;
    align-self: auto;
  }

  #searchToggle{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    justify-self: auto;
    align-self: auto;
  }

  .logo--center{
    min-height: 56px;
    justify-self: center;
    align-self: center;
  }

  .logo__img{
    width: clamp(110px, 10vw, 150px);
    max-height: 56px;
    transform: translateY(-1px);
    filter: drop-shadow(0 2px 6px rgba(11,42,74,.14));
  }
}

/* ==========================================================
   HEADER ALIGN LOCK (consistencia total en todos los modos)
   ========================================================== */
.brandbar{
  position: relative !important;
  display: block !important;
}

.brandbar .logo--center{
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

.brandbar #menuBtn,
.brandbar #searchToggle{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.brandbar #menuBtn{
  left: 10px !important;
}

.brandbar #searchToggle{
  right: 10px !important;
}

@media (max-width: 560px){
  .brandbar{
    min-height: 72px !important;
  }

  .brandbar #menuBtn{
    left: 6px !important;
  }

  .brandbar #searchToggle{
    right: 6px !important;
  }
}

@media (min-width: 981px) and (hover: hover) and (pointer: fine){
  .brandbar{
    min-height: 86px !important;
  }

  .brandbar #menuBtn{
    left: 42px !important;
  }

  .brandbar #searchToggle{
    right: 42px !important;
  }
}

/* Tamano de logo fijo en todos los modos/tamanos */
.brandbar .logo__img{
  width: clamp(170px, 12vw, 230px) !important;
  max-height: 78px !important;
  transform: translateY(-1px) scale(1.08) !important;
}

/* En movil real: logo mas contenido para no saturar el header */
@media (max-width: 560px){
  .brandbar .logo__img{
    width: clamp(108px, 34vw, 136px) !important;
    max-height: 54px !important;
    transform: translateY(-1px) scale(1) !important;
  }
}

/* ==========================================================
   SIDE DRAWER MENU (referencia)
   ========================================================== */
body.menu-open{
  overflow: hidden;
}

.drawer{
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 86vw);
  max-width: 100%;
  border-top: 0;
  background: #012d57;
  box-shadow: 24px 0 44px rgba(2,14,28,.42);
  z-index: 78;
}

.drawer[hidden]{
  display: none;
}

.drawer__panel{
  height: 100%;
  overflow-y: auto;
  padding: 22px 22px 30px;
  color: #f5f9ff;
}

.drawer__top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.drawer__menuicon,
.drawer__iconlink{
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
}

.drawer__menuicon{
  cursor: pointer;
}

.drawer__iconlink{
  text-decoration: none;
}

.drawerSvg{
  width: 33px;
  height: 33px;
}

.drawerSvg--stroke{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawerSvg--fill{
  fill: currentColor;
}

.drawer__nav h3{
  margin: 0 0 14px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #ffffff;
}

.drawer__section{
  margin-top: 34px !important;
}

.drawer__group{
  margin: 0 0 18px;
  padding-left: 6px;
}

.drawer__group h4{
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 850;
}

.drawer__group a{
  display: block;
  color: rgba(255,255,255,.93);
  font-size: 22px;
  line-height: 1.28;
  margin: 0 0 10px;
  font-weight: 500;
}

.drawer__group--plain a{
  font-weight: 760;
}

.overlay{
  background: rgba(3,13,25,.52);
}

@media (max-width: 980px){
  .drawer{
    width: min(400px, 88vw);
  }

  .drawer__nav h3{
    font-size: 52px;
  }

  .drawer__group h4{
    font-size: 23px;
  }

  .drawer__group a{
    font-size: 21px;
  }
}

@media (max-width: 560px){
  .drawer{
    width: min(360px, 88vw);
  }

  .drawer__panel{
    padding: 16px 16px 24px;
  }

  .drawer__top{
    gap: 8px;
    margin-bottom: 16px;
  }

  .drawer__menuicon,
  .drawer__iconlink{
    width: 40px;
    height: 40px;
  }

  .drawerSvg{
    width: 28px;
    height: 28px;
  }

  .drawer__nav h3{
    font-size: 42px;
    margin-bottom: 12px;
  }

  .drawer__group{
    margin-bottom: 14px;
    padding-left: 4px;
  }

  .drawer__group h4{
    font-size: 21px;
    margin-bottom: 8px;
  }

  .drawer__group a{
    font-size: 18px;
    margin-bottom: 7px;
  }

  .drawer__section{
    margin-top: 22px !important;
  }
}

/* ==========================================================
   MENU FULLSCREEN BLANCO + VISTAS
   ========================================================== */
.is-hidden{
  display: none !important;
}

.section--home{
  margin-top: -18px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: calc(100dvh - var(--home-header-h, 86px));
}

.homeCard{
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
}

.homeCard--video{
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  background: #000;
  height: calc(100dvh - var(--home-header-h, 86px));
}

.homeVideo{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px){
  .section--home,
  .homeCard--video{
    min-height: calc(100dvh - var(--home-header-h, 80px));
    height: calc(100dvh - var(--home-header-h, 80px));
  }
}

.drawer{
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  right: auto !important;
  width: min(440px, 86vw) !important;
  max-width: 100% !important;
  height: 100dvh !important;
  background: #071a2d !important;
  border-right: 0 !important;
  box-shadow: 24px 0 50px rgba(2,14,28,.44) !important;
  opacity: 0;
  transform: translateX(-26px);
  transition: transform .28s cubic-bezier(.22,.75,.2,1), opacity .2s ease;
  will-change: transform, opacity;
}

.drawer.drawer--open{
  opacity: 1;
  transform: translateX(0);
}

.drawer__panel{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px 34px !important;
  color: #f5f9ff !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer__top{
  margin-bottom: 20px !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: auto;
  box-shadow: none;
}

.drawer__menuicon,
.drawer__iconlink{
  width: 40px;
  height: 40px;
  color: #ffffff !important;
  border-radius: 10px;
  transition: background-color .16s ease, transform .16s ease;
}

.drawerSvg{
  width: 26px;
  height: 26px;
}

.drawer__menuicon:hover,
.drawer__iconlink:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.drawer__nav h3{
  color: #ffffff !important;
  font-size: clamp(38px, 3.6vw, 50px) !important;
  font-weight: 820;
  letter-spacing: -.012em;
  line-height: 1.06;
  margin-bottom: 10px;
  text-shadow: 0 6px 20px rgba(2,10,22,.22);
}

.drawer__group h4{
  color: #ffffff !important;
  font-size: 21px;
  font-weight: 760;
  margin-bottom: 8px;
}

.drawer__group a{
  color: rgba(255,255,255,.93) !important;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -.004em;
  padding: 7px 12px;
  margin: 0 0 4px;
  border-radius: 10px;
  transition: background-color .16s ease, transform .16s ease, color .16s ease;
}

.drawer__group--plain a{
  font-weight: 680 !important;
}

.drawer__group a:hover{
  color: #ffffff !important;
  background: rgba(255,255,255,.12);
  transform: translateX(3px);
}

.drawer__section{
  margin-top: 28px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.overlay{
  background: linear-gradient(90deg, rgba(3,13,25,.58) 0%, rgba(3,13,25,.46) 55%, rgba(3,13,25,.40) 100%) !important;
  backdrop-filter: blur(1.5px);
  opacity: 0;
  transition: opacity .22s ease;
}

.overlay.overlay--show{
  opacity: 1;
}

@media (max-width: 560px){
  .homeCard:not(.homeCard--video){
    border-radius: 14px;
  }

  .section--home,
  .homeCard--video{
    min-height: calc(100dvh - var(--home-header-h, 72px));
    height: calc(100dvh - var(--home-header-h, 72px));
  }

  .drawer{
    width: min(360px, 88vw) !important;
  }

  .drawer__panel{
    padding: 16px 16px 24px !important;
    gap: 2px;
  }

  .drawer__top{
    margin-bottom: 14px !important;
    padding: 0;
  }

  .drawer__menuicon,
  .drawer__iconlink{
    width: 36px;
    height: 36px;
  }

  .drawerSvg{
    width: 24px;
    height: 24px;
  }

  .drawer__nav h3{
    font-size: 34px !important;
  }

  .drawer__group a{
    font-size: 18px;
    padding: 6px 8px;
    margin-bottom: 2px;
  }

  .drawer__section{
    margin-top: 18px !important;
    padding-top: 12px;
  }
}

@media (min-width: 981px){
  .drawer__panel{
    padding-left: 42px !important;
    padding-right: 42px !important;
  }

  .drawer{
    width: min(420px, 30vw) !important;
  }
}

