/* =====================================================================
   Lácteos NC — hoja de estilos
   Colores de marca: rojo NC y blanco. Azul de las etiquetas como apoyo.
   ===================================================================== */
/* Tipografías alojadas en el sitio */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2"); }

:root {
  --rojo: #E1141C;
  --rojo-oscuro: #B50E15;
  --blanco: #FFFFFF;
  --leche: #F2F4F7;
  --azul: #1F2C7A;
  --madera: #2A1B15;
  --tinta: #231F20;
  --gris: #5E5A5B;

  --f-titulo: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-texto: "Barlow", system-ui, sans-serif;
  --f-script: "Yellowtail", cursive;

  --ancho: 1180px;
  --header: 84px;
  --marco: 14px; /* grosor de los corchetes rojos */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

.saltar {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--azul); color: var(--blanco); padding: .6rem 1rem; text-decoration: none;
}
.saltar:focus { top: 1rem; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.seccion { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }

.titulo {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--rojo);
  margin-bottom: .45em;
}
.titulo--claro { color: var(--blanco); }

/* ---------- Corchetes rojos: el mismo marco de las fotos de producto ---------- */
.marco { position: relative; }
.marco::before, .marco::after {
  content: ""; position: absolute; width: 32%; height: 38%;
  border: var(--marco) solid var(--rojo); pointer-events: none; z-index: 1;
}
.marco::before { top: calc(var(--marco) * -1); left: calc(var(--marco) * -1); border-right: 0; border-bottom: 0; }
.marco::after  { top: calc(var(--marco) * -1); right: calc(var(--marco) * -1); border-left: 0; border-bottom: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em;
  padding: .8rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s;
}
.btn--rojo { background: var(--rojo); color: var(--blanco); }
.btn--rojo:hover { background: var(--rojo-oscuro); }
.btn--linea { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn--linea:hover { background: var(--tinta); color: var(--blanco); }

/* =========================== HEADER =========================== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  background: var(--blanco);
  border-bottom: 4px solid var(--rojo);
}
.header__logo img { width: 66px; height: 66px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(.25rem, 1vw, .8rem); margin: 0; padding: 0; }
.nav a {
  position: relative; isolation: isolate; display: block;
  font-family: var(--f-titulo); font-weight: 600; font-size: 1.25rem; line-height: 1;
  color: var(--tinta); text-decoration: none; padding: .7rem 1.05rem;
  transition: color .2s;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="true"] { color: var(--blanco); }
.nav .nav__cta { background: var(--rojo); color: var(--blanco); border-radius: 999px; margin-left: .4rem; }

/* ---- Estilo PELUCHE (predeterminado: <nav class="nav nav--peluche">) ----
   Detrás del texto aparece una "alfombra" roja de bordes peludos:
   forma irregular + filtro SVG #peluche que deshilacha el borde.       */
.nav--peluche a::before {
  content: ""; position: absolute; inset: -.1rem -.15rem; z-index: -1;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(circle at 72% 78%, rgba(0,0,0,.18), transparent 60%),
    var(--rojo);
  border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%;
  filter: url(#peluche);
  transform: scale(.2) rotate(-8deg); opacity: 0;
  transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .2s, border-radius .6s;
}
.nav--peluche a:hover::before,
.nav--peluche a:focus-visible::before,
.nav--peluche a[aria-current="true"]::before {
  opacity: 1; transform: scale(1) rotate(0);
  border-radius: 54% 46% 58% 42% / 44% 58% 42% 56%;
}
.nav--peluche a:active::before { transform: scale(.9, .84); transition-duration: .1s; } /* se aplasta al hacer clic */
.nav--peluche a:focus-visible { outline: none; }
.nav--peluche a:focus-visible::before { box-shadow: 0 0 0 3px var(--azul); }
/* Contacto ya es rojo: al pasar se vuelve peluche rojo oscuro */
.nav--peluche .nav__cta { background: transparent; }
.nav--peluche .nav__cta::before { opacity: 1; transform: none; background: var(--rojo); }
.nav--peluche .nav__cta:hover::before { background: var(--rojo-oscuro); transform: scale(1.06) rotate(-2deg); }

/* ---- Estilo CONVERTIR (alternativo: <nav class="nav nav--clasico">) ----
   Como el sitio de Convertir: el botón se pinta de rojo y el texto pasa a blanco. */
.nav--clasico a { border-radius: 6px; transition: background-color .2s, color .2s; }
.nav--clasico a:hover, .nav--clasico a:focus-visible, .nav--clasico a[aria-current="true"] { background: var(--rojo); }
.nav--clasico .nav__cta:hover { background: var(--rojo-oscuro); }

.header__toggle { display: none; }

/* =========================== HERO =========================== */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - var(--header));
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem) clamp(7rem, 12vw, 10rem);
}
.hero__texto { position: relative; z-index: 2; max-width: 36rem; }
.hero__script {
  font-family: var(--f-script); color: var(--rojo);
  font-size: clamp(3.4rem, 8vw, 6.2rem); line-height: 1; margin: 0 0 -.15em -.04em;
  transform: rotate(-6deg); transform-origin: left bottom;
}
.hero__titulo {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem); font-weight: 800; text-transform: uppercase;
  color: var(--tinta); letter-spacing: -.005em; margin-bottom: .35em;
}
.hero__bajada { font-size: 1.15rem; color: var(--gris); max-width: 32rem; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero__foto { margin: 0; position: relative; z-index: 2; justify-self: center; width: min(100%, 520px); }
.hero__foto img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 40% 70%; }

/* Franja roja en diagonal, como el pie de las fotos de producto */
.hero__franja {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(5rem, 10vw, 8rem);
  background: var(--rojo); clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%); z-index: 1;
}

/* Carga: una sola entrada orquestada */
@media (prefers-reduced-motion: no-preference) {
  .hero__script { animation: trazo .9s .1s both cubic-bezier(.2,.7,.2,1); }
  .hero__titulo, .hero__bajada, .hero__acciones { animation: sube .7s both cubic-bezier(.2,.7,.2,1); }
  .hero__titulo { animation-delay: .25s; }
  .hero__bajada { animation-delay: .38s; }
  .hero__acciones { animation-delay: .5s; }
  .hero__foto { animation: entra 1s .2s both cubic-bezier(.2,.7,.2,1); }
  .hero__franja { animation: franja .9s both cubic-bezier(.2,.7,.2,1); }
}
@keyframes trazo { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes entra { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes franja { from { transform: translateY(100%); } to { transform: none; } }

/* ======================== INSTITUCIONAL ======================== */
.institucional { background: var(--leche); }
.institucional__grilla { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.institucional__texto p { max-width: 62ch; }
.institucional__texto strong { color: var(--azul); }

.linea { list-style: none; margin: .5rem 0 0; padding: 0 0 0 1.6rem; border-left: 3px solid var(--rojo); }
.linea li { position: relative; padding-bottom: 1.6rem; }
.linea li:last-child { padding-bottom: 0; }
.linea li::before {
  content: ""; position: absolute; left: calc(-1.6rem - 9px); top: .45rem;
  width: 15px; height: 15px; border-radius: 50%; background: var(--blanco); border: 3px solid var(--rojo);
}
.linea li:last-child::before { background: var(--rojo); }
.linea__anio { font-family: var(--f-titulo); font-weight: 800; font-size: 1.9rem; color: var(--azul); line-height: 1; }
.linea p { margin: .2rem 0 0; color: var(--gris); }

.institucional__sello { margin: clamp(3rem, 6vw, 4.5rem) auto calc(clamp(4rem, 9vw, 7rem) * -.4); width: min(100% - 2.5rem, 620px); }

/* ---------- Logo animado: el logo NC cae en la leche ----------
   Las formas de leche (charco, corona y gotas) están recortadas de la
   imagen original. Cada capa se ubica en % sobre el mismo encuadre.   */
.leche {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 1206 / 808;
  border: 7px solid #FF0A10;
  background: #D0AB7E;
}
.leche__capa { position: absolute; display: block; max-width: none; }
.leche__nc img { position: absolute; inset: 0; width: 100%; height: 100%; }
.leche__circulo { position: absolute; left: 10%; top: 13.6%; width: 80%; height: 80%; border-radius: 50%; background: #fff; }
.leche__em { overflow: hidden; }            /* La Emancipación asoma desde la leche */
.leche__em img { display: block; width: 100%; height: 100%; }

.leche__charco { transform-origin: 50% 100%; }
.leche__corona { transform-origin: 50.2% 100%; }
.leche__gotas1 { transform-origin: 49.9% 81.4%; }
.leche__gotas2 { transform-origin: 51.3% 83.8%; }

/* Estado inicial: solo el charco de leche */
.leche:not(.terminado) .leche__nc { transform: translateY(-125%); }
.leche:not(.terminado) .leche__corona { transform: scale(.7, 0); }
.leche:not(.terminado) .leche__gotas1,
.leche:not(.terminado) .leche__gotas2 { opacity: 0; }
.leche:not(.terminado) .leche__em img { transform: translateY(110%); }

/* Reproducción */
.leche.play .leche__nc      { animation: nc-cae 1.15s .25s both; }
.leche.play .leche__charco  { animation: charco 1s .78s ease-out both; }
.leche.play .leche__corona  { animation: corona-sube 1.1s .8s cubic-bezier(.15,.9,.3,1.12) both; }
.leche.play .leche__gotas1  { animation: gotas-salen 1s .84s cubic-bezier(.1,.8,.3,1.08) both; }
.leche.play .leche__gotas2  { animation: gotas-salen 1.25s .88s cubic-bezier(.1,.8,.3,1.05) both; }
.leche.play .leche__em img  { animation: em-asoma .9s 1.9s cubic-bezier(.2,1.25,.4,1) both; }

/* Quieto después: la leche respira y las gotas flotan */
.leche.terminado .leche__corona { animation: corona-respira 4.5s ease-in-out infinite; }
.leche.terminado .leche__gotas1 { animation: gotas-flotan 5s ease-in-out infinite; }
.leche.terminado .leche__gotas2 { animation: gotas-flotan 6s -2s ease-in-out infinite reverse; }
.leche.terminado .leche__nc     { animation: nc-flota 4.5s ease-in-out infinite; }

@keyframes nc-cae {
  0%   { transform: translateY(-125%); animation-timing-function: cubic-bezier(.55,0,.9,.5); }
  45%  { transform: translateY(4%) scale(1.03, .94); animation-timing-function: cubic-bezier(.2,.7,.4,1); }
  70%  { transform: translateY(-3%) scale(.99, 1.02); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes charco {
  0%   { transform: scaleY(1); }
  25%  { transform: scale(1.03, .82); }
  60%  { transform: scale(.99, 1.06); }
  100% { transform: scale(1); }
}
@keyframes corona-sube {
  0%   { transform: scale(.7, 0); }
  100% { transform: scale(1, 1); }
}
@keyframes gotas-salen {
  0%   { opacity: 0; transform: scale(.15); }
  15%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes em-asoma {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes corona-respira {
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(.99, 1.025); }
}
@keyframes gotas-flotan {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.2%); }
}
@keyframes nc-flota {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-.8%); }
}

@media (prefers-reduced-motion: reduce) {
  .leche .leche__capa, .leche .leche__capa img { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ========================== PRODUCTOS ========================== */
.productos__cabecera { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.productos__cabecera p { color: var(--gris); margin: 0 0 1.6rem; }

.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filtro {
  font-family: var(--f-titulo); font-weight: 600; font-size: 1.1rem;
  padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--tinta); background: var(--blanco); color: var(--tinta);
}
.filtro:hover { border-color: var(--rojo); color: var(--rojo); }
.filtro[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); color: var(--blanco); }

.grilla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.75rem 2rem; }
.grilla li[hidden] { display: none; }

.prod { all: unset; display: block; cursor: pointer; width: 100%; }
.prod__foto { display: block; position: relative; overflow: hidden; background: var(--madera); aspect-ratio: 4 / 3.4; }
.prod__foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.prod__foto::after { /* esquina roja que aparece al pasar o enfocar */
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0;
  border-top: 10px solid var(--rojo); border-left: 10px solid var(--rojo);
  transition: width .25s, height .25s;
}
.prod:hover .prod__foto img, .prod:focus-visible .prod__foto img { transform: scale(1.04); }
.prod:hover .prod__foto::after, .prod:focus-visible .prod__foto::after { width: 38%; height: 45%; }
.prod:focus-visible { outline: 3px solid var(--azul); outline-offset: 4px; }

.prod__nombre { display: flex; align-items: center; gap: .6rem; font-family: var(--f-titulo); font-weight: 800; font-size: 1.85rem; text-transform: uppercase; margin-top: .9rem; line-height: 1; }
.prod__familia { display: block; color: var(--rojo); font-weight: 600; font-size: .98rem; margin-top: .3rem; }
.prod__desc { display: block; color: var(--gris); font-size: 1rem; margin-top: .35rem; }

.etiqueta {
  display: inline-block; font-family: var(--f-titulo); font-weight: 700; font-size: .95rem; line-height: 1;
  background: var(--azul); color: var(--blanco); padding: .3rem .6rem; border-radius: 4px;
}

/* ========================== NOVEDADES ========================== */
.novedades { background: var(--madera); color: #EDE6E1; overflow: hidden; }
.novedades::before { /* franja roja diagonal arriba */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5rem;
  background: var(--rojo); clip-path: polygon(0 0, 100% 0, 100% 15%, 0 100%);
}
.novedades__bajada { max-width: 56ch; margin-bottom: 2.75rem; color: #CFC5BF; }

.novedades__grilla { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 2rem; align-items: start; }
.nov { display: flex; flex-direction: column; }
.nov--principal { grid-row: span 1; }
.nov__img { all: unset; cursor: pointer; display: block; overflow: hidden; border: 6px solid var(--blanco); }
.nov__img img { width: 100%; aspect-ratio: 2 / 2.75; object-fit: cover; object-position: center 40%; transition: transform .5s; }
.nov--principal .nov__img img { aspect-ratio: 2 / 2.6; }
.nov__img:hover img { transform: scale(1.03); }
.nov__img--video { cursor: default; background: #000; aspect-ratio: 9 / 12; }
.nov--principal .nov__img--video { aspect-ratio: 2 / 2.6; }
.nov__img--yt, .nov--principal .nov__img--yt { aspect-ratio: 16 / 9; }
.nov__img--video iframe, .nov__img--video video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.nov__img:focus-visible { outline: 3px solid var(--blanco); outline-offset: 4px; }
.nov__cuerpo { padding-top: 1.1rem; }
.nov__cuerpo .etiqueta { background: var(--rojo); }
.nov h3 { font-size: 2rem; text-transform: uppercase; color: var(--blanco); margin: .5rem 0 .4rem; }
.nov--principal h3 { font-size: 2.6rem; }
.nov p { color: #CFC5BF; font-size: 1rem; }

.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin: .8rem 0 0; }
.datos div { border-top: 2px solid var(--rojo); padding-top: .4rem; }
.datos dt { font-size: .85rem; opacity: .75; }
.datos dd { margin: 0; font-family: var(--f-titulo); font-weight: 700; font-size: 1.25rem; }

/* ========================== CONTACTO ========================== */
.contacto__grilla { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 5rem); }
.contacto__bajada { color: var(--gris); max-width: 50ch; }

.form { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.form__fila--mitad { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.opcional { font-weight: 400; color: var(--gris); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--tinta); padding: .75rem .9rem;
  border: 2px solid #D5D8DE; border-radius: 8px; background: var(--blanco);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rojo); }
.form [aria-invalid="true"] { border-color: var(--rojo); background: #FFF5F5; }
.form .btn { justify-self: start; }
.form__error { color: var(--rojo-oscuro); font-weight: 600; margin: 0; }

.contacto__datos { background: var(--rojo); color: var(--blanco); padding: 2rem; align-self: start; }
.contacto__datos h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .3rem; }
.contacto__datos h3:not(:first-child) { margin-top: 1.6rem; }
.contacto__datos p { margin: 0 0 .2rem; }
.contacto__datos a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contacto__datos a:focus-visible { outline-color: var(--blanco); }
.mapa { margin-top: 1.6rem; border: 4px solid var(--blanco); aspect-ratio: 4 / 3; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========================== FOOTER ========================== */
.footer { background: var(--tinta); color: #D9D4D5; padding-block: 2.5rem; border-top: 6px solid var(--rojo); }
.footer__grilla { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer__marca { display: flex; align-items: center; gap: 1rem; }
.footer__marca p { margin: 0; max-width: 30ch; }
.footer__sello { flex: none; background: var(--blanco); border-radius: 50%; padding: 6px; }
.footer__sello img { width: 58px; height: 58px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer nav a { font-family: var(--f-titulo); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.footer nav a:hover { color: var(--blanco); text-decoration: underline; text-decoration-color: var(--rojo); text-underline-offset: 5px; }
.footer__copy { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: #9C9697; }

/* ========================== DETALLE ========================== */
.detalle {
  width: min(100% - 2rem, 980px); max-height: calc(100svh - 2rem);
  padding: 0; border: 0; border-top: 8px solid var(--rojo); background: var(--blanco); color: var(--tinta);
  overflow: auto;
}
.detalle::backdrop { background: rgba(35, 31, 32, .78); }
.detalle__grilla { display: grid; grid-template-columns: 1.15fr .85fr; }
.detalle__foto { margin: 0; background: var(--madera); display: grid; place-items: center; }
.detalle__foto img { width: 100%; max-height: calc(100svh - 3rem); object-fit: contain; }
.detalle__info { padding: 2.5rem 2rem 2rem; }
.detalle__familia { color: var(--rojo); font-weight: 600; margin: 0 0 .3rem; }
.detalle h3 { font-size: clamp(2.2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: .6rem; }
.detalle .datos dt { opacity: 1; color: var(--gris); }
.detalle__cerrar {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rojo); color: var(--blanco); font-size: 1.8rem; line-height: 1;
}
.detalle__cerrar:hover { background: var(--rojo-oscuro); }
@media (prefers-reduced-motion: no-preference) {
  .detalle[open] { animation: sube .3s cubic-bezier(.2,.7,.2,1); }
}

/* ========================== RESPONSIVE ========================== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__foto { width: min(100%, 440px); }
  .institucional__grilla, .contacto__grilla { grid-template-columns: 1fr; }
  .novedades__grilla { grid-template-columns: 1fr 1fr; }
  .nov--principal { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
  .detalle__grilla { grid-template-columns: 1fr; }
  .detalle__foto img { max-height: 60svh; }
}

@media (max-width: 760px) {
  :root { --header: 72px; --marco: 10px; }
  .header__logo img { width: 56px; height: 56px; }
  .header__toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--rojo); cursor: pointer;
  }
  .header__toggle span { display: block; width: 22px; height: 3px; background: var(--blanco); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blanco); border-bottom: 4px solid var(--rojo);
    display: none;
  }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .95rem 1rem; font-size: 1.4rem; }
  .nav .nav__cta { text-align: center; margin: .8rem 0 0; }
  .nav--peluche a::before { inset: .15rem 0; }

  .novedades__grilla { grid-template-columns: 1fr; }
  .nov--principal { display: flex; }
  .form__fila--mitad { grid-template-columns: 1fr; }
  .footer__grilla { grid-template-columns: 1fr; }
}
