/* ==========================================================
   La Mishquina — estilos de la web pública
   ========================================================== */
:root {
  --selva: #183a29;
  --selva-2: #234d37;
  --hoja: #3f8f3a;
  --hoja-claro: #e5f0dc;
  --achiote: #e0631d;
  --achiote-2: #c4510f;
  --aguaje: #f2a33a;
  --crema: #fbf6ec;
  --papel: #ffffff;
  --tinta: #1d2420;
  --tinta-2: #55605a;
  --linea: #e7dfcf;
  --radio: 18px;
  --sombra: 0 10px 30px rgba(24, 58, 41, .10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--crema); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
.contenedor { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: var(--achiote); color: #fff; box-shadow: 0 8px 20px rgba(224, 99, 29, .3); }
.btn-primario:hover { background: var(--achiote-2); }
.btn-borde { border-color: currentColor; color: var(--selva); background: transparent; }
.btn-claro { background: #fff; color: var(--selva); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.cabecera.sombra { border-color: var(--linea); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { height: 48px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; font-weight: 500; color: var(--tinta-2); font-size: .95rem; }
.menu a:hover { color: var(--selva); }
.menu .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--selva); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--crema); border-bottom: 1px solid var(--linea); padding: 8px 16px 16px; display: none; }
  .menu.abierto { display: flex; }
  .menu a { padding: 12px 4px; border-bottom: 1px solid var(--linea); }
  .menu .btn { margin-top: 12px; border: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(circle, rgba(63,143,58,.18), transparent 65%); pointer-events: none; }
.hero .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; background: var(--hoja-claro); color: var(--selva); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin: 18px 0 18px; color: var(--selva); }
.hero h1 em { font-style: italic; color: var(--achiote); font-weight: 500; }
.hero p.lead { font-size: 1.15rem; color: var(--tinta-2); max-width: 34em; margin: 0 0 30px; }
.hero .acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; color: var(--tinta-2); font-size: .9rem; }
.hero-datos strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--selva); }
.hero-logo { display: block; width: min(440px, 100%); height: auto; margin: 0 0 14px -8px; filter: drop-shadow(0 6px 14px rgba(24,58,41,.12)); }
.hero .acciones { margin-bottom: 4px; }
.hero .acciones svg.i { width: 18px; height: 18px; }

/* Arco con el video de la chef */
.hero-foto { position: relative; }
/* contorno desplazado detras del arco: da profundidad */
.hero-foto::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--hoja); border-radius: 999px 999px var(--radio) var(--radio); transform: translate(18px, -18px); opacity: .45; pointer-events: none; }
.arco { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px var(--radio) var(--radio); overflow: hidden; background: var(--selva);
  box-shadow: 0 30px 60px -20px rgba(24,58,41,.45), var(--sombra); isolation: isolate; animation: arco-entra 1.1s cubic-bezier(.2,.8,.2,1) both; }
.arco-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* velo inferior para que la firma se lea sobre el plato */
.arco::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(to top, rgba(16,36,26,.85), rgba(16,36,26,.35) 55%, transparent); pointer-events: none; z-index: 1; }
.arco-pie { position: absolute; z-index: 2; right: 7%; bottom: 15%; display: grid; justify-items: end; color: #fff; pointer-events: none; }
.arco-pie .hero-firma { width: min(210px, 52vw); height: auto; transform: rotate(-4deg); filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.arco-pie span { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--aguaje); margin-top: -6px; }
.video-control { position: absolute; z-index: 3; right: 18px; top: 50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(16,36,26,.35); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; }
.video-control svg.i { width: 18px; height: 18px; }
.video-control .ico-play, .video-control.pausado .ico-pausa { display: none; }
.video-control.pausado .ico-play { display: block; }
.arco:hover .video-control, .video-control:focus-visible, .video-control.pausado { opacity: 1; }
.video-control:hover { background: var(--achiote); border-color: var(--achiote); }
@media (hover: none) { .video-control { opacity: 1; } }

/* Medallon: plato en video con texto que gira alrededor */
.medallon { position: absolute; z-index: 4; left: -56px; top: 14%; width: 156px; height: 156px; border-radius: 50%; background: var(--crema);
  box-shadow: var(--sombra); display: grid; place-items: center; animation: flota 6s ease-in-out infinite; }
.medallon-texto { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 22s linear infinite; }
.medallon-texto text { font-family: var(--sans); font-size: 15.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; fill: var(--selva); }
.medallon video { width: 98px; height: 98px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--crema), 0 0 0 5.5px var(--achiote); }

.hero-foto .sello { position: absolute; z-index: 4; left: -28px; bottom: -30px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--sombra); display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.hero-foto .sello b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--selva); }
.sello .icono { width: 42px; height: 42px; border-radius: 12px; background: var(--achiote); color: #fff; display: grid; place-items: center; }

/* Entrada del hero: el arco se descubre de abajo hacia arriba y el texto sube escalonado */
.hero .contenedor > div:first-child > * { animation: sube .8s cubic-bezier(.2,.8,.2,1) both; }
.hero .contenedor > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero .contenedor > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero .contenedor > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero .contenedor > div:first-child > :nth-child(5) { animation-delay: .32s; }
.hero .contenedor > div:first-child > :nth-child(6) { animation-delay: .4s; }
.hero-foto .sello { animation: sube .8s .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arco-entra { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
@keyframes sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 860px) {
  .hero { padding-top: 24px; }
  .hero .contenedor { grid-template-columns: 1fr; gap: 36px; }
  .hero-foto { max-width: 420px; width: 100%; margin-inline: auto; }
  .hero-foto::before { transform: translate(10px, -10px); }
  .hero-foto .sello { left: 8px; }
  .medallon { left: -6px; top: 6%; width: 118px; height: 118px; }
  .medallon video { width: 72px; height: 72px; }
  .medallon-texto text { font-size: 16px; }
}

/* ---------- Desde nuestro fogon: mosaico de videos ---------- */
.cocina { padding-top: 24px; }
.cocina-cabeza { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 36px; }
.cocina-cabeza h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--selva); margin: 0; }
.cocina-cabeza h2 em { font-style: italic; color: var(--achiote); font-weight: 500; }
.cocina-cabeza p { color: var(--tinta-2); font-size: 1.05rem; margin: 0; max-width: 30em; justify-self: end; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.clip { position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; background: var(--selva); isolation: isolate; }
.clip-mesa { grid-column: span 2; grid-row: span 2; }
.clip-alto { grid-row: span 2; }
/* leve acercamiento: llena el recuadro y deja fuera la marca de agua de la esquina */
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transform-origin: 30% 30%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.clip:hover video { transform: scale(1.2); }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,36,26,.82), rgba(16,36,26,.1) 45%, transparent 70%); z-index: 1; pointer-events: none; }
.clip figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.clip figcaption b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.clip-mesa figcaption b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.clip figcaption span:not(.num) { display: block; font-size: .9rem; color: #d6e4d9; margin-top: 4px; max-width: 28em; }
.clip .num { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--aguaje); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 2px solid var(--aguaje); }
/* aparicion al hacer scroll (solo si js/inicio.js marco el mosaico con .anima) */
.bento.anima .clip { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.bento.anima .clip.visto { opacity: 1; transform: none; }
.bento.anima .clip:nth-child(2) { transition-delay: .08s; }
.bento.anima .clip:nth-child(3) { transition-delay: .16s; }
.bento.anima .clip:nth-child(4) { transition-delay: .24s; }
@media (max-width: 960px) {
  .cocina-cabeza { grid-template-columns: 1fr; }
  .cocina-cabeza p { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
  .clip-mesa { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .bento { grid-auto-rows: 170px; }
  .clip figcaption { left: 14px; right: 14px; bottom: 12px; }
  .clip figcaption b { font-size: 1.05rem; }
  .clip figcaption span:not(.num) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .arco, .hero .contenedor > div:first-child > *, .hero-foto .sello, .medallon, .medallon-texto { animation: none; }
  .bento.anima .clip { opacity: 1; transform: none; transition: none; }
  .clip video { transition: none; }
}

/* ---------- Secciones ---------- */
section { padding: 88px 0; }
.titulo-seccion { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.titulo-seccion h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--selva); }
.titulo-seccion p { color: var(--tinta-2); margin: 0; }
.sobre { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--achiote); display: block; margin-bottom: 10px; }

/* Destacados */
.destacados { background: var(--selva); color: #eaf2e6; }
.destacados .titulo-seccion h2 { color: #fff; }
.destacados .titulo-seccion p { color: #b9cfbf; }
.destacados .sobre { color: var(--aguaje); }
/* Carrusel: una sola fila con desplazamiento horizontal y flechas */
.carrusel-marco { position: relative; }
.carrusel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; outline: none; }
.carrusel::-webkit-scrollbar { height: 6px; }
.carrusel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 3px; }
.carrusel .tarjeta-destacada { flex: 0 0 clamp(240px, 23%, 280px); scroll-snap-align: start; }
.carrusel-flecha { position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--selva); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s, background .2s; }
.carrusel-flecha:hover { background: var(--aguaje); transform: scale(1.06); }
.carrusel-flecha.prev { left: -18px; }
.carrusel-flecha.next { right: -18px; }
.carrusel-flecha[hidden] { display: none; }
@media (max-width: 860px) { .carrusel-flecha { display: none; } .carrusel .tarjeta-destacada { flex-basis: 78%; } }
.tarjeta-destacada[data-zoom] { cursor: zoom-in; outline: none; }
.tarjeta-destacada[data-zoom]:focus-visible { box-shadow: 0 0 0 3px var(--aguaje); }
.tarjeta-destacada { background: var(--selva-2); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; }

/* Carta: foto del plato que se amplia con su historia */
.mini-zoom { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; flex: none; transition: transform .2s, box-shadow .2s; }
.mini-zoom:hover, .mini-zoom:focus-visible { transform: scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,.18); outline: none; }
.zoom-plato { position: fixed; z-index: 60; width: min(420px, calc(100vw - 24px)); background: var(--papel); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(24,58,41,.35); pointer-events: none; opacity: 0; transform: scale(.16); transition: transform .28s cubic-bezier(.2,.9,.3,1.1), opacity .2s; }
.zoom-plato.visible { opacity: 1; transform: scale(1); }
.zoom-plato[hidden] { display: none; }
.zoom-foto { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--hoja-claro), #f5e7cf); display: grid; place-items: center; }
.zoom-foto img { width: 100%; height: 100%; object-fit: cover; }
.zoom-foto .vacio { font-family: var(--serif); font-size: 4rem; color: var(--hoja); font-weight: 600; }
.zoom-cuerpo { padding: 16px 20px 18px; }
.zoom-cuerpo .sobre { margin-bottom: 4px; }
.zoom-cuerpo h3 { font-size: 1.4rem; color: var(--selva); margin-bottom: 6px; }
.zoom-cuerpo p { color: var(--tinta-2); font-size: .95rem; margin: 0 0 10px; line-height: 1.55; }
.zoom-cuerpo .precio { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--achiote); }
@media (prefers-reduced-motion: reduce) { .zoom-plato { transition: opacity .15s; transform: none; } }
.tarjeta-destacada .foto { aspect-ratio: 1/1; overflow: hidden; }
.tarjeta-destacada .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tarjeta-destacada:hover .foto img { transform: scale(1.05); }
.tarjeta-destacada .sin-foto { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 30% 20%, #3c6b4c, var(--selva-2) 70%); color: var(--aguaje); }
.tarjeta-destacada .sin-foto svg { width: 44px; height: 44px; opacity: .7; }
.tarjeta-destacada .sin-foto b { font-family: var(--serif); font-size: 2.6rem; color: #fff; opacity: .85; }
.tarjeta-destacada .cuerpo { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tarjeta-destacada h3 { font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.tarjeta-destacada p { color: #b9cfbf; font-size: .9rem; margin: 0 0 16px; flex: 1; }
.tarjeta-destacada .pie { display: flex; align-items: center; justify-content: space-between; }
.tarjeta-destacada .precio { font-family: var(--serif); font-size: 1.35rem; color: var(--aguaje); font-weight: 600; }

/* Carta */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tab { border: 1px solid var(--linea); background: var(--papel); color: var(--tinta-2); padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: .95rem; transition: all .2s; }
.tab:hover { border-color: var(--hoja); color: var(--selva); }
.tab.activo { background: var(--selva); color: #fff; border-color: var(--selva); }
.panel-carta { display: none; }
.panel-carta.activo { display: block; animation: aparecer .35s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-carta > p { text-align: center; color: var(--tinta-2); margin: -16px 0 28px; }
.lista-platos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.plato { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--linea); }
.plato .mini { width: 64px; height: 64px; border-radius: 14px; flex: none; object-fit: cover; }
.plato .mini.vacio { background: linear-gradient(135deg, var(--hoja-claro), #f5e7cf); display: grid; place-items: center; font-family: var(--serif); color: var(--hoja); font-weight: 600; font-size: 1.1rem; }
.plato .info { flex: 1; min-width: 0; }
.plato .linea { display: flex; align-items: baseline; gap: 8px; }
.plato h3 { font-size: 1.08rem; margin: 0; color: var(--tinta); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.plato .puntos { flex: 1; border-bottom: 2px dotted var(--linea); transform: translateY(-4px); min-width: 12px; }
.plato .precio { font-weight: 700; color: var(--achiote); white-space: nowrap; }
.plato p { margin: 2px 0 0; color: var(--tinta-2); font-size: .88rem; }
.plato .agregar { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--hoja); color: var(--hoja); background: transparent; display: grid; place-items: center; text-decoration: none; transition: all .2s; }
.plato .agregar:hover { background: var(--hoja); color: #fff; }
@media (max-width: 860px) { .lista-platos { grid-template-columns: 1fr; } }
.cta-carta { text-align: center; margin-top: 44px; }

/* Nosotros */
.nosotros { background: var(--papel); }
.nosotros .contenedor { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.nosotros .foto img { border-radius: var(--radio); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.nosotros h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--selva); }
.nosotros .texto p { color: var(--tinta-2); font-size: 1.05rem; }
.chef { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 18px; border-radius: var(--radio); background: var(--crema); }
.chef img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.chef b { font-family: var(--serif); font-size: 1.15rem; color: var(--selva); }
.chef span { display: block; font-size: .9rem; color: var(--tinta-2); }
@media (max-width: 860px) { .nosotros .contenedor { grid-template-columns: 1fr; gap: 32px; } }

/* Pasos pedido */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.paso { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; position: relative; }
.paso .num { font-family: var(--serif); font-size: 3rem; color: var(--hoja-claro); position: absolute; top: 10px; right: 20px; font-weight: 700; }
.paso .ico { width: 48px; height: 48px; border-radius: 14px; background: #fdebdc; color: var(--achiote); display: grid; place-items: center; margin-bottom: 16px; }
.paso h3 { font-size: 1.3rem; color: var(--selva); }
.paso p { color: var(--tinta-2); margin: 0; }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr; } }

/* Productos para llevar: una fila con flechas, 4 columnas */
.productos { background: var(--papel); }
.carrusel.cuatro { scrollbar-color: rgba(24,58,41,.25) transparent; }
.carrusel.cuatro::-webkit-scrollbar-thumb { background: rgba(24,58,41,.25); }
.carrusel.cuatro > * { flex: 0 0 calc((100% - 3 * 22px) / 4); scroll-snap-align: start; }
@media (max-width: 1024px) { .carrusel.cuatro > * { flex-basis: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 860px) { .carrusel.cuatro > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 560px) { .carrusel.cuatro > * { flex-basis: 78%; } }
.productos .carrusel-flecha { background: var(--selva); color: #fff; }
.productos .carrusel-flecha:hover { background: var(--achiote); }
.tarjeta-producto { background: var(--crema); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; cursor: zoom-in; outline: none; transition: box-shadow .2s, transform .2s; }
.tarjeta-producto:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.tarjeta-producto:focus-visible { box-shadow: 0 0 0 3px var(--aguaje); }
.tarjeta-producto .foto { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--hoja-claro); }
.tarjeta-producto .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tarjeta-producto:hover .foto img { transform: scale(1.05); }
.tarjeta-producto .sin-foto { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 30% 20%, #fff7e6, var(--hoja-claro) 70%); color: var(--hoja); }
.tarjeta-producto .sin-foto svg { width: 40px; height: 40px; opacity: .7; }
.tarjeta-producto .sin-foto b { font-family: var(--serif); font-size: 2.4rem; color: var(--selva); opacity: .8; }
.tarjeta-producto .llevar { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); color: var(--selva); font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tarjeta-producto .llevar svg { width: 15px; height: 15px; }
.tarjeta-producto .cuerpo { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tarjeta-producto h3 { font-size: 1.15rem; color: var(--selva); margin-bottom: 4px; }
.tarjeta-producto p { color: var(--tinta-2); font-size: .88rem; margin: 0 0 14px; flex: 1; }
.tarjeta-producto .pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.tarjeta-producto .precio { font-family: var(--serif); font-size: 1.3rem; color: var(--achiote); font-weight: 600; }
.tarjeta-producto .btn-sm { box-shadow: none; }

/* Galería: cada foto con su historia */
.galeria .grid { columns: 4 240px; column-gap: 16px; }
.foto-galeria { margin: 0 0 16px; break-inside: avoid; background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; }
.foto-galeria img { width: 100%; transition: transform .5s; }
.foto-galeria:hover img { transform: scale(1.03); }
.foto-galeria figcaption { padding: 12px 16px 14px; font-size: .9rem; color: var(--tinta-2); line-height: 1.5; border-top: 3px solid var(--aguaje); position: relative; background: var(--papel); }

/* Contacto */
.contacto .contenedor { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contacto .datos { display: grid; gap: 18px; align-content: start; }
.dato { display: flex; gap: 14px; }
.dato .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--hoja-claro); color: var(--hoja); display: grid; place-items: center; }
.dato b { display: block; color: var(--selva); }
.dato span, .dato a { color: var(--tinta-2); text-decoration: none; }
.mapa { border-radius: var(--radio); overflow: hidden; min-height: 340px; border: 1px solid var(--linea); }
.mapa iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (max-width: 860px) { .contacto .contenedor { grid-template-columns: 1fr; } }

/* Pie */
.pie-pagina { background: var(--selva); color: #b9cfbf; padding: 64px 0 28px; font-size: .92rem; }
.pie-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 40px; align-items: start; }
.pie-marca .pie-logo { width: 100%; max-width: 320px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.pie-marca p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #eaf2e6; margin: 14px 0 0; }
.pie-col { display: grid; gap: 6px; align-content: start; }
.pie-col h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: #fff; margin: 0 0 8px; }
.pie-col a { color: #b9cfbf; text-decoration: none; }
.pie-col a:hover { color: var(--aguaje); }
.pie-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .75; }
@media (max-width: 960px) { .pie-grid { grid-template-columns: 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pie-grid { grid-template-columns: 1fr; } }
.redes { display: flex; flex-wrap: wrap; gap: 10px; }
.redes a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.redes a:hover { background: var(--achiote); color: #fff; transform: translateY(-2px); }
.flotante-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
