:root{
  --bg:#000000;
  --bg-elevated:#161513;
  --surface:#1C1B18;
  --surface-hover:#242220;
  --line:#332F29;
  --text:#F5F1E6;
  --text-muted:#AFA89A;
  --accent:#FF2800;
  --accent-hover:#D92200;
  --accent-soft:rgba(255,40,0,0.14);
  --gold:#D9A62E;
  --shadow: 0 20px 48px -20px rgba(0,0,0,0.7);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; background:var(--bg); overscroll-behavior-y:none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Work Sans", ui-sans-serif, system-ui, sans-serif;
  font-size:16px;
  line-height:1.6;
  padding-inline:20px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{
  font-family:"Work Sans", ui-sans-serif, sans-serif;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.01em;
  text-wrap:balance;
  line-height:1.12; /* títulos de varios renglones sin huecos grandes */
  margin:0;
}
.wrap{ max-width:1180px; margin-inline:auto; }
.eyebrow{
  font-family:"Work Sans", ui-monospace, monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--accent);
  display:inline-block;
}
.section-head{ display:flex; flex-direction:column; gap:14px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(30px,4.5vw,46px); }
/* Subtítulos dentro de una misma sección (guía, blog): separación del bloque anterior */
.wrap > .section-head:not(:first-child):not(.cortes-head){ margin-top:88px; }
@media (max-width:600px){ .wrap > .section-head:not(:first-child):not(.cortes-head){ margin-top:64px; } }
.section-head p{ color:var(--text-muted); max-width:60ch; font-size:16px; }
section{ padding-block:88px; border-bottom:1px solid var(--line); }
section:last-of-type{ border-bottom:none; }

button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:"Work Sans"; font-weight:700; font-size:14.5px;
  padding:13px 26px; border-radius:3px; border:1px solid transparent;
  text-decoration:none; white-space:nowrap; text-transform:uppercase; letter-spacing:0.03em;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary{ background:var(--accent); color:#FFF6F0; }
.btn-primary:hover{ background:var(--accent-hover); }
.btn-outline{ background:transparent; color:var(--gold); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--gold); color:var(--gold); }
/* Versión discreta: fondo rojo translúcido y borde fino */
.btn-soft{ background:rgba(255,40,0,0.10); color:var(--gold); border-color:rgba(255,40,0,0.45); }
.btn-soft:hover{ background:rgba(255,40,0,0.22); border-color:rgba(255,40,0,0.8); color:var(--gold); }

/* Movimiento breve al pasar el mouse, en todos los botones */
@media (hover:hover){
  .btn:hover, .mode-btn:hover{
    transform:translateY(-2px); box-shadow:0 10px 22px -12px rgba(0,0,0,0.8);
  }
}
.btn:active{ transform:scale(0.96); }
.btn-small{ padding:9px 16px; font-size:13px; width:100%; }

/* ---- Navbar ---- */
/* Fijo arriba, de borde a borde (compensa el padding del body) y con fondo sólido */
header.nav{
  position:sticky; top:0; z-index:70; /* por encima del botón flotante de WhatsApp, así no tapa los resultados del buscador */
  margin-inline:-20px; padding-inline:20px;
  padding-top:env(safe-area-inset-top);
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; padding-block:12px; gap:14px 20px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ height:52px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand .b1{ font-family:"Work Sans"; font-weight:700; font-size:19px; letter-spacing:0.02em; }
.brand .b2{ font-family:"Work Sans"; font-size:10px; letter-spacing:0.18em; color:var(--gold); margin-top:5px; text-transform:uppercase; }
.nav-search{ position:relative; width:clamp(140px, 22vw, 260px); flex:0 0 auto; }
.nav-search .search-box{ margin-bottom:0; }
.nav-search .search-box input{ width:100%; padding:10px 16px 10px 40px; font-size:13.5px; }
.nav-right{ display:flex; align-items:center; justify-content:flex-end; gap:14px; }
.nav-right > .btn-primary{ display:none; }
@media (max-width:600px){
  .nav-right{ width:100%; }
  .nav-search{ flex:1 1 auto; width:auto; }
}
.burger{ display:flex; background:none; border:1px solid var(--line); border-radius:3px; width:42px; height:42px; align-items:center; justify-content:center; }
.burger span, .burger span::before, .burger span::after{
  content:""; display:block; width:18px; height:2px; background:var(--text); position:relative; transition:transform .2s ease, opacity .2s ease;
}
.burger span::before{ position:absolute; top:-6px; }
.burger span::after{ position:absolute; top:6px; }
.burger[aria-expanded="true"] span{ background:transparent; }
.burger[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.burger[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

.mobile-panel{
  display:block; max-height:0; overflow:hidden; transition:max-height .3s ease;
}
.mobile-panel.open{ max-height:360px; border-top:1px solid var(--line); }
/* Menú ☰ — compu: fila horizontal centrada / celular: lista centrada con separadores */
.mobile-panel ul{
  list-style:none; margin:0; padding:14px 0; display:flex; flex-wrap:wrap;
  justify-content:center; gap:4px 8px;
}
.mobile-panel a{
  display:block; text-decoration:none; color:var(--text); text-transform:uppercase;
  font-size:14px; font-weight:600; letter-spacing:0.08em; padding:10px 18px; border-radius:3px;
  transition:color .2s ease, background .2s ease;
}
.mobile-panel a:hover, .mobile-panel a:focus-visible{ color:var(--gold); background:var(--surface); }
@media (max-width:760px){
  .mobile-panel ul{ flex-direction:column; flex-wrap:nowrap; gap:0; padding:6px 0 10px; }
  .mobile-panel li + li{ border-top:1px solid var(--line); }
  .mobile-panel a{ padding:15px 10px; font-size:15px; text-align:center; }
}

/* ---- Hero (video background) ---- */
.hero{
  position:relative; min-height:88vh; display:flex; align-items:flex-end;
  margin-inline:-20px; padding-inline:20px; overflow:hidden; border-bottom:none;
  isolation:isolate; /* el video (z-index negativo) queda dentro del hero y no lo tapa el fondo del body */
}
.hero-media{ position:absolute; inset:0; z-index:-2; background:#000; }
/* Encuadre centrado en los cortes de carne (mitad baja del video), no en la cara */
.hero-media video, .hero-media img{
  position:absolute; top:50%; left:50%; width:100%; height:100%;
  object-fit:cover; object-position:center 58%; transform:translate(-50%,-50%);
  filter:saturate(1.15) contrast(1.05);
}
/* Scrim más liviano en el centro para que se vean los cortes; oscuro abajo y a la izquierda para el texto */
.hero-scrim{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(6,5,4,0.45) 0%, rgba(6,5,4,0.2) 35%, rgba(6,5,4,0.6) 70%, rgba(6,5,4,0.95) 100%),
    linear-gradient(90deg, rgba(6,5,4,0.75) 0%, rgba(6,5,4,0.25) 55%, rgba(6,5,4,0.1) 100%);
}
.hero-inner{ width:100%; padding-block:56px 48px; }
@media (max-width:760px){
  .hero-media video, .hero-media img{ object-position:center 50%; }
  .hero-scrim{
    background:linear-gradient(180deg, rgba(6,5,4,0.5) 0%, rgba(6,5,4,0.45) 30%, rgba(6,5,4,0.78) 60%, rgba(6,5,4,0.96) 100%);
  }
}
.hero-tag{
  display:inline-flex; align-items:center; gap:8px; background:var(--accent); color:#FFF6F0;
  font-family:"Work Sans"; font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
  padding:7px 14px; border-radius:2px; margin-bottom:20px;
}
.hero h1{ font-size:clamp(38px,6.4vw,68px); line-height:0.98; color:#FBF6EC; }
.hero h1 em{ font-style:normal; color:var(--gold); }

.hero .lede{ margin-top:20px; font-size:17.5px; color:#E7E0D2; max-width:52ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

/* ---- Search box ---- */
.search-box{ position:relative; margin-bottom:22px; }
.search-box .search-ic{ position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; transition:color .2s ease; }
.search-box.typing .search-ic{ color:var(--gold); animation:lupa .6s ease; }
@keyframes lupa{ 0%,100%{ transform:translateY(-50%) scale(1); } 40%{ transform:translateY(-50%) scale(1.25); } }
.search-box input{
  width:100%; background:var(--surface); border:1px solid var(--line); border-radius:30px;
  padding:13px 18px 13px 46px; color:var(--text); font-family:"Work Sans"; font-size:14.5px;
}
.search-box input::placeholder{ color:var(--text-muted); }
.search-box input:focus{ outline:none; border-color:var(--gold); }

/* ---- Hero search + global results dropdown ---- */
.search-results{
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:20;
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  overflow:hidden; box-shadow:var(--shadow);
  max-height:0; opacity:0; pointer-events:none; transition:max-height .2s ease, opacity .2s ease;
}
.search-results.open{ max-height:480px; opacity:1; pointer-events:auto; overflow-y:auto; }

.chat-msg{ display:flex; gap:10px; align-items:flex-start; padding:14px 16px; border-bottom:1px solid var(--line); }
.chat-avatar{
  width:28px; height:28px; border-radius:50%; background:var(--accent-soft); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-size:14px; flex:0 0 auto;
}
.chat-bubble{
  background:var(--surface-hover); border:1px solid var(--line); border-radius:4px 14px 14px 14px;
  padding:12px 14px; max-width:calc(100% - 38px);
}
.chat-bubble p{ margin:0 0 10px; font-size:13.5px; color:var(--text); line-height:1.5; text-align:left; }
.chat-bubble p:last-child{ margin-bottom:0; }
.chat-bubble .btn{ margin-top:2px; }
.chat-results-label{
  font-family:"Work Sans"; font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--text-muted); padding:12px 16px 4px;
}

.sr-item{
  display:flex; align-items:center; gap:12px; width:100%; text-align:left;
  background:none; border:none; border-bottom:1px solid var(--line); padding:12px 16px; color:var(--text);
}
.sr-item:last-child{ border-bottom:none; }
.sr-item:hover, .sr-item.active{ background:var(--surface-hover); }
.sr-item.active{ box-shadow:inset 3px 0 0 var(--gold); }
.sr-text{ flex:1; }
.sr-go{ color:var(--text-muted); font-size:14px; flex:0 0 auto; transition:transform .15s ease, color .15s ease; }
.sr-item:hover .sr-go, .sr-item.active .sr-go{ color:var(--gold); transform:translateX(3px); }
.sr-text b mark, .search-results mark{ background:none; color:var(--gold); }

/* Preguntas sugeridas */
.sr-chips{ display:flex; flex-wrap:wrap; gap:8px; padding:4px 16px 14px; }
.sr-chip{
  background:var(--bg-elevated); border:1px solid var(--line); color:var(--text); border-radius:20px;
  padding:7px 13px; font-size:12.5px; font-family:inherit; text-align:left; line-height:1.3;
  transition:border-color .15s ease, color .15s ease;
}
.sr-chip:hover, .sr-chip.active{ border-color:var(--gold); color:var(--gold); }

.chat-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.chat-actions .btn, .sr-footer .btn{ width:auto; max-width:100%; white-space:normal; text-align:center; line-height:1.25; }
.chat-bubble b{ color:var(--gold); font-weight:600; }
.chat-bubble a:not(.btn){ color:var(--text); text-decoration:none; line-height:1.9; }
.chat-bubble a:not(.btn):hover{ color:var(--gold); text-decoration:underline; }
.sr-footer{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  padding:12px 16px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-muted);
}
.sr-footer .btn{ width:auto; }

/* En compu el panel es más ancho que la caja de búsqueda, para que la respuesta se lea cómoda */
@media (min-width:601px){
  .search-results{ left:auto; right:0; width:min(440px, 92vw); }
}
@media (max-width:600px){
  .search-results.open{ max-height:70vh; }
  .nav-search .search-box input{ font-size:16px; } /* evita el zoom automático del iPhone */
}
.sr-ic{ font-size:18px; flex:0 0 auto; }
.sr-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.sr-text b{ font-size:14px; font-weight:600; }
.sr-text small{ font-size:12px; color:var(--text-muted); }

@keyframes searchFlash{
  0%,100%{ box-shadow:0 0 0 0 rgba(217,166,46,0); }
  30%{ box-shadow:0 0 0 4px rgba(217,166,46,0.55); }
}
.search-hit{ animation:searchFlash 1.4s ease; border-color:var(--gold) !important; }

/* Sucursales: mismo espacio arriba (desde la portada) que abajo (hasta "Nuestros cortes") */
#productos{ padding-top:56px; }
.historia-locations.sucursales-top{ margin:0 0 56px; padding:0; gap:0; background:none; border:none; border-radius:0; } /* sin recuadro gris: queda sobre el fondo negro */
.sucursal-link{
  display:flex; align-items:center; gap:18px; padding:24px 4px; text-decoration:none; color:var(--text); font-size:19.5px;
}
.sucursal-link + .sucursal-link{ border-top:1px solid var(--line); }
.sucursal-link b{ color:var(--gold); font-size:13.5px; letter-spacing:0.08em; text-transform:uppercase; min-width:118px; }
.sucursal-link span{ flex:1; font-weight:500; letter-spacing:0.005em; }
.sucursal-link a{ font-size:15.5px; font-weight:700; color:var(--gold); white-space:nowrap; text-decoration:none; transition:color .15s ease, transform .15s ease; }
.sucursal-link a:hover{ color:#FFF6F0; transform:translateY(-1px); }
.sucursal-link a + a{ margin-left:16px; }
@media (max-width:600px){
  #productos{ padding-top:44px; }
  .historia-locations.sucursales-top{ margin-bottom:44px; }
}
@media (max-width:760px){
  .sucursal-link{ flex-direction:column; gap:7px; text-align:center; font-size:17.5px; padding:20px 0; }
  .sucursal-link b{ font-size:12.5px; }
  .sucursal-link a{ font-size:15px; }
  .sucursal-link b{ min-width:0; }
  .sucursal-link a + a{ margin-left:0; }
}

/* "Nuestros cortes": primeras tarjetas siempre visibles + botón abajo que despliega el resto */
.section-head.cortes-head{ margin-bottom:40px; }
.cortes-panel{ position:relative; overflow:hidden; transition:max-height .65s ease; }
/* Degradé al pie mientras está cerrado: insinúa que hay más tarjetas */
.cortes-panel::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:28px; pointer-events:none;
  background:linear-gradient(0deg, var(--bg), rgba(0,0,0,0)); opacity:1; transition:opacity .4s ease;
}
.cortes-panel.open::after{ opacity:0; }
.cortes-panel .product-card.is-extra{ opacity:0; transform:translateY(-24px); transition:opacity .45s ease, transform .45s ease, border-color .2s ease, box-shadow .2s ease; }
.cortes-panel.open .product-card.is-extra{ opacity:1; transform:none; }
.cortes-panel.open .product-card.is-extra:hover{ transform:translateY(-3px); }

.cortes-toggle{
  display:flex; align-items:center; justify-content:center; gap:10px; margin:24px auto 0;
  background:rgba(255,40,0,0.10); border:1px solid rgba(255,40,0,0.45); border-radius:3px;
  padding:14px 26px; color:var(--gold); font:inherit; cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.cortes-toggle:hover{ background:rgba(255,40,0,0.22); border-color:rgba(255,40,0,0.8); transform:translateY(-2px); }
.cortes-hint{ font-size:13.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; }
.cortes-arrow{ font-size:14px; transition:transform .35s ease; }
.cortes-toggle[aria-expanded="true"] .cortes-arrow{ transform:rotate(180deg); }

.card-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:22px; }
.no-results{ color:var(--text-muted); font-size:15px; padding:40px 10px; text-align:center; width:100%; }
.product-card{
  background:var(--surface); border:1px solid var(--line); border-radius:6px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.product-card:hover{ border-color:var(--gold); transform:translateY(-3px); box-shadow:var(--shadow); }
.product-card:active{ transform:translateY(-1px) scale(0.98); }
.product-card .thumb{ aspect-ratio:4/3; background:var(--bg-elevated); overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.product-card:hover .thumb img{ transform:scale(1.05); }
.product-card .body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-card .cat-tag{ font-family:"Work Sans"; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); }
.product-card h3{ font-size:19px; text-transform:none; font-family:"Work Sans"; font-weight:700; }
.product-card p{ margin:0; font-size:14px; color:var(--text-muted); flex:1; }

/* ---- Guide ---- */
.mode-select{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.mode-btn{
  background:var(--surface); border:1px solid var(--line); padding:14px 24px; border-radius:6px;
  font-size:14.5px; font-weight:700; color:var(--text-muted); transition:all .18s ease; text-transform:uppercase; letter-spacing:0.02em;
}
.mode-btn:hover{ border-color:var(--gold); color:var(--text); }
.mode-btn:active{ transform:scale(0.96); }
.mode-btn.active{ background:var(--accent); border-color:var(--accent); color:#FFF6F0; }
.mode-btn{ display:inline-flex; align-items:center; gap:9px; }

/* Fuego: llama que titila (A la Parrilla) */
.fx-fire{ overflow:visible; transform-origin:50% 100%; animation:fireFlicker 1.1s ease-in-out infinite; filter:drop-shadow(0 0 4px rgba(255,120,30,0.55)); }
.fx-fire .f-out{ fill:#FF6A1A; }
.fx-fire .f-in{ fill:#FFC845; transform-box:fill-box; transform-origin:50% 100%; animation:fireCore .8s ease-in-out infinite alternate; }
.mode-btn.active .fx-fire .f-out{ fill:#FFB23E; }
.mode-btn.active .fx-fire .f-in{ fill:#FFF3C4; }
.mode-btn.active .fx-fire{ filter:drop-shadow(0 0 5px rgba(255,220,120,0.8)); }
@keyframes fireFlicker{
  0%,100%{ transform:scale(1,1) rotate(0deg); }
  25%{ transform:scale(.94,1.08) rotate(-3deg); }
  50%{ transform:scale(1.04,.95) rotate(2deg); }
  75%{ transform:scale(.97,1.06) rotate(-1deg); }
}
@keyframes fireCore{ from{ transform:scale(.85,.9); opacity:.85; } to{ transform:scale(1.05,1.12); opacity:1; } }

/* Humo: tres hilos que suben y se desvanecen (Al Horno) */
.fx-smoke{ overflow:visible; }
.fx-smoke path{ fill:none; stroke:#D8D1C4; stroke-width:2; stroke-linecap:round; animation:smokeRise 2.4s ease-out infinite; }
.fx-smoke path:nth-child(2){ animation-delay:.8s; }
.fx-smoke path:nth-child(3){ animation-delay:1.6s; }
.mode-btn.active .fx-smoke path{ stroke:#FFF6F0; }
@keyframes smokeRise{
  0%{ transform:translateY(4px); opacity:0; }
  30%{ opacity:.9; }
  100%{ transform:translateY(-6px); opacity:0; }
}
.cut-card{
  background:var(--surface); border:1px solid var(--line); border-radius:6px; overflow:hidden;
  display:flex; flex-direction:column; gap:12px;
  transition:border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cut-card:hover{ border-color:var(--gold); transform:translateY(-3px); box-shadow:var(--shadow); }
.cut-card:active{ transform:translateY(-1px) scale(0.98); }
.cut-card .thumb{ aspect-ratio:16/10; background:var(--bg-elevated); overflow:hidden; }
.cut-card .thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.cut-card:hover .thumb img{ transform:scale(1.05); }
.cut-card .cut-body{ padding:0 22px 22px; display:flex; flex-direction:column; gap:12px; }
.cut-card h3{ font-size:18px; text-transform:none; font-family:"Work Sans"; font-weight:700; }
.cut-meta{ display:flex; gap:18px; font-family:"Work Sans"; font-size:12px; color:var(--text-muted); flex-wrap:wrap; }
.cut-meta b{ color:var(--text); font-weight:600; }
.cut-tip{ font-size:14px; color:var(--text-muted); border-top:1px solid var(--line); padding-top:12px; margin:0; }
.cut-tip b{ color:var(--gold); font-family:"Work Sans"; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; display:block; margin-bottom:5px; font-weight:600; }
.dots{ letter-spacing:2px; }

/* ---- Featured video card (used in Tips + Promos) ---- */
.video-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin-bottom:48px; }
@media (max-width:760px){ .video-grid{ grid-template-columns:1fr; } }
.video-feature{
  position:relative; border-radius:10px; overflow:hidden; border:1px solid var(--line);
  background:#000; box-shadow:var(--shadow); margin-bottom:0;
}
.video-grid .video-feature video{ max-height:420px; }
.video-feature video{ width:100%; display:block; max-height:560px; object-fit:cover; }
.video-feature .vf-badge{
  position:absolute; top:18px; left:18px; background:var(--accent); color:#FFF6F0;
  font-family:"Work Sans"; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  padding:7px 12px; border-radius:2px; display:flex; align-items:center; gap:8px;
}
.video-feature .vf-badge .dot{ width:7px; height:7px; border-radius:50%; background:#FFF6F0; animation:blink 1.6s ease-in-out infinite; }
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:.25;} }
.video-feature .vf-caption{
  position:absolute; left:0; right:0; bottom:0; padding:22px 24px;
  padding-top:70px;
  background:linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0) 100%);
}
.video-feature .vf-caption h3{ color:var(--gold); font-size:clamp(20px,2.6vw,28px); text-transform:none; font-family:"Work Sans"; font-weight:800; line-height:1.15; text-shadow:0 2px 10px rgba(0,0,0,0.7); }
.video-feature .vf-caption p{ color:#D8D0C0; margin:6px 0 0; font-size:14px; max-width:52ch; }

/* ---- Blog ---- */
/* 4 tarjetas: 4 columnas en compu, 2 en tablet, 1 en celular (nunca queda una sola huérfana) */
.blog-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; align-items:start; }
@media (max-width:1100px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .blog-grid{ grid-template-columns:1fr; } }
.blog-card{
  background:var(--surface); border:1px solid var(--line); border-radius:6px; overflow:hidden;
  display:flex; flex-direction:column; gap:14px;
  transition:border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.blog-card:hover{ border-color:var(--gold); transform:translateY(-3px); box-shadow:var(--shadow); }
.blog-card:active{ transform:translateY(-1px) scale(0.98); }
.blog-card .thumb{ aspect-ratio:16/9; background:var(--bg-elevated); overflow:hidden; }
.blog-card .thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.blog-card:hover .thumb img{ transform:scale(1.05); }
.blog-card .blog-body{ padding:22px; display:flex; flex-direction:column; gap:14px; }
.blog-meta{ display:flex; justify-content:space-between; align-items:center; }
.blog-tag{ font-family:"Work Sans"; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); }
.blog-time{ font-size:12.5px; color:var(--text-muted); }
.blog-card h3{ font-size:19px; text-transform:none; font-family:"Work Sans"; font-weight:700; }
.blog-excerpt{ font-size:14.5px; color:var(--text-muted); margin:0; }
.blog-full{
  display:grid; grid-template-rows:0fr; transition:grid-template-rows .32s ease;
}
.blog-full > div{ overflow:hidden; }
.blog-card.open .blog-full{ grid-template-rows:1fr; }
.blog-full p{ font-size:14.5px; color:var(--text-muted); margin:12px 0 0; }
.blog-toggle{ background:none; border:none; padding:0; color:var(--accent); font-weight:700; font-size:14px; text-align:left; display:flex; align-items:center; gap:6px; text-transform:uppercase; letter-spacing:0.02em; }
.blog-toggle .arrow{ transition:transform .25s ease; }
.blog-card.open .blog-toggle .arrow{ transform:rotate(180deg); }

/* ---- Tarjetas alineadas (catálogo, guía y blog) ----
   En cada fila, las tarjetas comparten las alturas de cada parte: la etiqueta, el título, el texto
   y el botón empiezan a la misma altura aunque un título ocupe dos renglones y otro uno. */

/* Textos centrados en todas las tarjetas, en compu y en celular */
.product-card .body, .cut-card .cut-body, .blog-card .blog-body{ text-align:center; }
.cut-meta{ justify-content:center; }
.blog-meta{ justify-content:center; gap:12px; flex-wrap:wrap; }
.blog-card .blog-toggle{ justify-content:center; justify-self:center; align-self:end; margin-inline:auto; }


/* Plan B (navegadores sin subgrid): al menos los botones quedan todos abajo */
.product-card .body > .btn{ margin-top:auto; }
.cut-card{ height:100%; }
.cut-card .cut-body{ flex:1; }
.cut-card .cut-tip{ margin-top:auto; }
.blog-card{ height:100%; }
.blog-card .blog-body{ flex:1; }
.blog-card .blog-excerpt{ flex:1; }

@supports (grid-template-rows: subgrid){
  /* Catálogo: foto · categoría · título · descripción · botón */
  .card-grid .product-card{ display:grid; grid-row:span 5; grid-template-rows:subgrid; row-gap:0; }
  .product-card .body{ display:grid; grid-row:span 4; grid-template-rows:subgrid; row-gap:8px; }
  .product-card .body > .btn{ margin-top:6px; align-self:end; }
  .product-card p{ align-self:start; }

  /* Guía: foto · título · tiempo/nivel · tip */
  .card-grid .cut-card{ display:grid; grid-row:span 4; grid-template-rows:subgrid; row-gap:0; gap:0; height:auto; }
  .cut-card .thumb{ margin-bottom:16px; }
  .cut-card .cut-body{ display:grid; grid-row:span 3; grid-template-rows:subgrid; row-gap:12px; }
  .cut-card .cut-tip{ margin-top:0; align-self:start; }

  /* Blog: foto · título · resumen · "Leer nota completa" · nota desplegable */
  .blog-grid{ align-items:stretch; }
  .blog-grid .blog-card{ display:grid; grid-row:span 5; grid-template-rows:subgrid; row-gap:0; gap:0; height:auto; }
  .blog-card .thumb{ margin-bottom:0; }
  .blog-card .blog-body{ display:grid; grid-row:span 4; grid-template-rows:subgrid; row-gap:12px; }
  .blog-card .blog-toggle{ align-self:end; }
  .blog-card .blog-excerpt{ align-self:start; }
  .blog-card h3{ align-self:center; } /* títulos más cortos quedan centrados en su espacio, sin hueco abajo */
}

/* ---- Historia ---- */
.historia-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
.historia-grid img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:6px; filter:saturate(1.05) contrast(1.05); }
.historia-grid h2{ font-size:clamp(28px,4vw,42px); margin-bottom:18px; }
.historia-grid p{ color:var(--text-muted); font-size:15.5px; margin:0 0 14px; }
.historia-locations{ display:flex; flex-direction:column; gap:10px; margin:20px 0; padding:18px 20px; background:var(--surface); border:1px solid var(--line); border-radius:6px; }
.historia-locations div{ display:flex; gap:10px; font-size:14.5px; color:var(--text); }
.historia-locations b{ color:var(--gold); font-family:"Work Sans"; font-size:11px; letter-spacing:0.06em; text-transform:uppercase; min-width:80px; }
.historia-sign{ font-family:"Work Sans"; font-weight:700; font-size:16px; margin-top:20px; color:var(--gold); text-transform:uppercase; letter-spacing:0.03em; }
#historia .historia-grid h2{ font-size:clamp(28px,4.4vw,58px); line-height:1.05; margin:0; }
@media (max-width:860px){ .historia-grid{ grid-template-columns:1fr; } }
.historia-photo-link{ display:block; position:relative; border-radius:6px; overflow:hidden; text-decoration:none; }
/* Botón "Conocé nuestra historia" encima de la foto, abajo y centrado */
.historia-photo-btn{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%);
  background:rgba(0,0,0,0.72); border-color:rgba(255,40,0,0.7);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
}
.historia-photo-link:hover .historia-photo-btn{ background:rgba(0,0,0,0.85); border-color:var(--accent); transform:translateX(-50%) translateY(-2px); }
.historia-photo-link img{ object-position:center 45%; transition:transform .4s ease; }
.historia-photo-link:hover img{ transform:scale(1.03); }
.historia-link{ text-decoration:none; color:inherit; }
a.eyebrow.historia-link{ color:var(--gold); }
.historia-link:hover{ color:var(--gold); }

/* ---- Página "Nuestra historia" ---- */
.page-historia .nav-row{ flex-wrap:nowrap; }
.page-historia .nav-row .btn{ padding:10px 18px; font-size:13px; }
.hist-kicker{ font-family:Georgia, "Times New Roman", serif; font-style:italic; font-size:clamp(18px,2.2vw,22px); color:#E7E0D2; margin:18px 0 0; }
.hist-rule{ display:block; height:4px; margin:22px 0; max-width:520px; border-top:3px solid var(--accent); border-bottom:1px solid var(--gold); }

.hist-cover{
  position:relative; min-height:min(86vh, 900px); display:flex; align-items:flex-end;
  margin-inline:-20px; padding-inline:20px; overflow:hidden; isolation:isolate;
}
.hist-cover-media{ position:absolute; inset:0; z-index:-1; }
.hist-cover-media img{ width:100%; height:100%; object-fit:cover; }
.hist-cover-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.92) 85%, #000 100%);
}
.hist-cover-inner{ width:100%; padding-block:60px 40px; }
.hist-cover h1{ font-size:clamp(46px,8vw,96px); line-height:0.95; color:#FBF6EC; margin-top:18px; }

.hist-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.hist-grid--flip .hist-photo{ order:2; }
.hist-photo{ margin:0; }
.hist-photo img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; }
.hist-photo figcaption{ font-size:12px; color:var(--text-muted); margin-top:8px; }
.hist-text h2, .hist-solo h2{ font-size:clamp(32px,4.6vw,54px); line-height:1; margin-top:16px; }
.hist-text p:not(.hist-kicker), .hist-solo p:not(.hist-kicker){ color:var(--text-muted); font-size:16px; margin:0 0 14px; max-width:60ch; }

/* Bloques solo-texto (fundador, "una historia que sigue", cierre): centrados en todas las pantallas */
.hist-solo{ max-width:820px; text-align:center; }
.hist-solo .eyebrow{ justify-content:center; }
.hist-solo .hist-rule{ margin-inline:auto; }
.hist-solo p{ margin-inline:auto !important; }
/* Mismo estilo que el botón discreto (.btn-soft): fondo rojo translúcido, borde fino y letras doradas */
.hist-solo h2.hist-oneline{
  display:inline-block; white-space:nowrap; font-size:clamp(16px,4.6vw,44px);
  padding:0.35em 0.7em; border-radius:3px; margin:0 0 24px;
  background:rgba(255,40,0,0.10); border:1px solid rgba(255,40,0,0.45); color:var(--gold);
}
.hist-statement{ font-weight:700; text-transform:uppercase; font-size:clamp(20px,2.6vw,28px) !important; line-height:1.3; color:var(--text) !important; margin-top:36px !important; }

.hist-logo{ height:110px; width:auto; margin:0 auto 26px; }
.hist-ctas{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:28px; }

@media (max-width:860px){
  .hist-grid{ grid-template-columns:1fr; gap:28px; }
  .hist-grid--flip .hist-photo{ order:0; }
}
@media (max-width:760px){
  .hist-rule{ margin-inline:auto; }
  .hist-text p{ margin-inline:auto !important; }
  .page-historia .brand-text{ display:none; }
}

/* ---- Footer ---- */
/* Compu: 4 columnas alineadas a la izquierda · Tablet: 2×2 · Celular: una columna centrada */
footer{
  background:var(--bg-elevated); border-top:1px solid var(--line); padding-block:72px 28px;
  margin-inline:-20px; padding-inline:20px; /* fondo de borde a borde */
}
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:48px; margin-bottom:56px; align-items:start; }
.footer-grid h4{
  font-family:"Work Sans"; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold);
  margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--line);
}
.foot-brand-top{ display:flex; align-items:center; gap:24px; margin-bottom:32px; }
.foot-brand img{ height:72px; width:auto; }

.foot-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.foot-list li{ display:flex; flex-direction:column; gap:3px; font-size:14px; line-height:1.5; }
.foot-list b{ color:var(--text); font-weight:600; font-size:14px; }
.foot-list span{ color:var(--text-muted); }
.foot-list a{ color:var(--text-muted); text-decoration:none; width:fit-content; transition:color .15s ease; }
.foot-list a:hover{ color:var(--gold); }
.foot-list a[href*="google.com/maps"], .foot-list span + a{ color:var(--gold); font-size:13px; font-weight:600; margin-top:2px; }

.social-row{ display:flex; gap:10px; }
.social-row a{ width:40px; height:40px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center; justify-content:center; text-decoration:none; color:var(--text); transition:border-color .2s ease, color .2s ease; }
.social-row a:hover{ border-color:var(--gold); color:var(--gold); }

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; gap:14px 24px; flex-wrap:wrap;
  border-top:1px solid var(--line); padding-top:24px; font-size:12.5px; color:var(--text-muted);
}
.footer-links{ display:flex; gap:22px; flex-wrap:wrap; margin-right:84px; } /* espacio para el botón flotante de WhatsApp */
.footer-links a{ color:var(--text-muted); text-decoration:none; transition:color .15s ease; }
.footer-links a:hover{ color:var(--gold); }

@media (max-width:980px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:40px 48px; } .foot-brand{ grid-column:1 / -1; } .foot-brand .foot-list{ display:grid; grid-template-columns:1fr 1fr; gap:18px 48px; } }
@media (max-width:600px){
  footer{ text-align:center; padding-block:56px 100px; }
  .footer-links{ margin-right:0; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .foot-brand .foot-list{ display:flex; }
  .foot-brand-top{ flex-direction:column; justify-content:center; gap:18px; }
  .foot-list li, .foot-list a{ align-items:center; margin-inline:auto; }
  .social-row{ justify-content:center; }
  .footer-bottom{ flex-direction:column; justify-content:center; }
  .footer-links{ justify-content:center; gap:16px; }
}

/* ---- Floating WhatsApp ---- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:60px; height:60px; border-radius:50%; background:var(--accent); color:#FFF6F0;
  display:flex; align-items:center; justify-content:center; text-decoration:none;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.6);
}
.wa-float::before{
  content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--accent);
  animation:pulse 2.4s ease-out infinite;
}
@keyframes pulse{ 0%{ transform:scale(1); opacity:.6; } 100%{ transform:scale(1.5); opacity:0; } }

.reveal{ opacity:1; transform:none; transition:opacity .5s ease, transform .5s ease; }
.reveal.pre{ opacity:0; transform:translateY(16px); }

@media (max-width:600px){
  section{ padding-block:60px; }
  .hero{ min-height:78vh; }
}

/* ---- Mobile: todo el texto centrado ---- */
@media (max-width:760px){
  section{ text-align:center; }
  .eyebrow{ justify-content:center; }
  .section-head{ align-items:center; }
  .section-head p{ margin-inline:auto; }

  .hero-inner{ display:flex; flex-direction:column; align-items:center; }
  .hero .lede{ margin-inline:auto; }
  .hero-ctas{ justify-content:center; }
  .hero-ctas{ flex-direction:column; width:100%; max-width:340px; }
  .hero-ctas .btn, .hist-ctas .btn{ width:100%; max-width:340px; justify-content:center; text-align:center; }

  .mode-select{ justify-content:center; }
  .cut-meta{ justify-content:center; }
  .blog-meta{ justify-content:center; gap:14px; flex-wrap:wrap; }
  .blog-toggle{ align-self:center; }

  .video-feature .vf-caption{ text-align:center; }
  .video-feature .vf-caption p{ margin-inline:auto; }

  .historia-locations div{ flex-direction:column; align-items:center; gap:2px; }
  .historia-locations b{ min-width:0; }


  /* El chat y los resultados de búsqueda se leen mejor alineados a la izquierda */
  .search-results{ text-align:left; }
}

/* ---- 5) Globito del botón de WhatsApp: aparece una vez a los 5 s y se va solo ---- */
.wa-bubble{
  position:fixed; right:94px; bottom:34px; z-index:60;
  background:#FFF6F0; color:#1A1714; text-decoration:none; font-weight:600; font-size:14px;
  padding:11px 16px; border-radius:16px 16px 4px 16px; box-shadow:0 12px 28px -10px rgba(0,0,0,0.7);
  opacity:0; transform:translateY(10px) scale(.92); transform-origin:bottom right; pointer-events:none;
  transition:opacity .35s ease, transform .35s cubic-bezier(.2,.8,.3,1.3);
  white-space:nowrap;
}
.wa-bubble.show{ opacity:1; transform:none; pointer-events:auto; }
.wa-bubble:hover{ background:#fff; }
@media (max-width:600px){ .wa-bubble{ right:88px; bottom:32px; font-size:13px; padding:10px 13px; } }
