@font-face { font-family: 'Anton'; src: url('assets/fonts/Anton-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('assets/fonts/IBMPlexSans-Regular.ttf') format('truetype'); font-display: swap; }
:root { --ink: var(--color-verde-hierba); --paper: var(--color-blanco-cascaron); --soft: var(--color-amarillo-mantequilla); --accent: var(--color-verde-fresco); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--fuente-interfaz), system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-header { position: sticky; top: .5rem; z-index: 20; display: grid; width: min(94.6rem, calc(100% - 3.4rem)); height: 3.6rem; min-height: 3.6rem; grid-template-columns: 16rem minmax(0, 1fr) 16rem; align-items: center; margin: .7rem auto .65rem; padding: 0 .65rem; border: 1px solid var(--ink); border-radius: 1rem; background: var(--paper); }
.brand { display: inline-flex; width: 100%; min-height: 2.75rem; align-items: center; justify-content: center; }
.brand-logo { display: block; width: 7.5rem; min-width: 7rem; aspect-ratio: 1080 / 709; background: var(--accent); -webkit-mask: url('assets/brand/wordmark-verde.svg') center / contain no-repeat; mask: url('assets/brand/wordmark-verde.svg') center / contain no-repeat; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.45rem, 1vw, .8rem); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a { display: inline-flex; min-height: 3rem; align-items: center; }
.desktop-nav a[aria-current='page'] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45rem; }
.nav-separator { color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .3rem; }
.header-icon-link { position: relative; display: inline-flex; width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; border-radius: 999px; }
.header-icon-link svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.count { position: absolute; right: .08rem; top: .18rem; display: grid; width: 1rem; height: 1rem; place-items: center; border-radius: 50%; background: var(--soft); font-size: .58rem; font-weight: 700; }
.more-menu { position: relative; display: none; justify-self: end; }
.more-menu summary { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border-radius: 50%; background: var(--ink); color: var(--soft); cursor: pointer; list-style: none; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu-icon { position: relative; display: block; width: 1.1rem; height: 1.1rem; transition: transform 180ms ease-out; }
.more-menu-icon::before, .more-menu-icon::after { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 2px; background: currentColor; content: ''; transform: translate(-50%, -50%); }
.more-menu-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.more-menu[open] .more-menu-icon { transform: rotate(45deg); }
.more-menu-panel { position: absolute; right: 0; top: calc(100% + .6rem); isolation: isolate; display: grid; width: min(20rem, calc(100vw - 2rem)); max-height: calc(100svh - 8rem); padding: .65rem; overflow: auto; border-radius: 1.25rem; background: transparent; box-shadow: 0 .75rem 2rem -.8rem var(--ink); -webkit-backdrop-filter: blur(22px) saturate(135%); backdrop-filter: blur(22px) saturate(135%); }
.more-menu-panel::before { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--paper); content: ''; opacity: .92; }
.more-menu-panel a, .more-menu-social { display: flex; min-height: 2.9rem; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: .65rem .75rem; border-radius: .8rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.more-menu-panel a:hover { background: var(--soft); }
.more-menu-social { margin-top: .25rem; background: var(--ink); color: var(--paper); }
.more-menu-social small { font-size: .62rem; font-weight: 600; letter-spacing: .08em; opacity: .78; }
.mobile-nav { display: none; }
main { width: min(76rem, calc(100% - 2rem)); margin: 1rem auto 4rem; }
.hero { display: grid; min-height: 34rem; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--ink); border-radius: 1.5rem; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); background: var(--soft); }
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { font-family: var(--fuente-encabezado), sans-serif; font-weight: 400; line-height: .9; text-transform: uppercase; }
h1 { margin: .8rem 0 1.5rem; font-size: clamp(3.5rem, 8vw, 7rem); }
.copy p { max-width: 34rem; font-size: 1.1rem; }
.house-story { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.house-story article { min-height: 18rem; padding: clamp(2rem, 4vw, 3.5rem); border-radius: 1.5rem; background: var(--ink); color: var(--paper); }
.house-story article:last-child { background: var(--soft); color: var(--ink); }
.house-story h2 { max-width: 12ch; margin: 1rem 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.house-story p:last-child { max-width: 32rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1rem; gap: 1px; overflow: hidden; border: 1px solid var(--ink); border-radius: 1.5rem; background: var(--ink); }
.principles article { min-height: 15rem; padding: 2rem; background: var(--paper); }
.principles strong { display: block; margin-bottom: 3rem; font-size: 2rem; }
.principles h2 { font-size: 2rem; }
.donde { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; align-items: end; margin-top: 1rem; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--ink); border-radius: 1.5rem; }
.donde h2 { margin: 1rem 0 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.donde address { font-style: normal; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.donde p:last-child { max-width: 32rem; margin-bottom: 0; }
.source-note { max-width: 52rem; margin: 2rem 0 0; padding: 1.25rem; border: 2px dashed var(--accent); }
/* Nuestros aliados (Ana, 8-OCT-2026): las tres fotos en carrusel EN LUGAR de la foto de la portada
   («Las tres fotos en carrusel van en lugar de esta»), una por pantalla, en escritorio y en teléfono
   por igual. La pista se desplaza con el dedo (scroll-snap); flechas y puntos los pone carrusel.js.
   Sin pies de foto. */
.hero .carrusel { position: relative; min-height: 100%; overflow: hidden; background: var(--ink); }
.hero .carrusel-pista, .hero .carrusel-pista li { height: 100%; }
.carrusel-pista { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista li { flex: 0 0 100%; scroll-snap-align: start; }
.carrusel-pista img { display: block; width: 100%; height: 100%; min-height: 34rem; object-fit: cover; }
.carrusel-flecha { position: absolute; top: 50%; display: grid; width: 3rem; height: 3rem; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.25rem; cursor: pointer; transform: translateY(-50%); }
.carrusel-anterior { left: 1rem; }
.carrusel-siguiente { right: 1rem; }
.carrusel-flecha[disabled] { opacity: .35; cursor: default; }
.carrusel-flecha:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.carrusel-puntos { position: absolute; right: 0; bottom: 1rem; left: 0; display: flex; justify-content: center; gap: .5rem; }
.carrusel-punto { width: .75rem; height: .75rem; padding: 0; border: 1px solid var(--paper); border-radius: 50%; background: transparent; cursor: pointer; }
.carrusel-punto[aria-current="true"] { background: var(--paper); }
.ingredientes .eyebrow { margin: 0 0 1rem; }
.ingredientes h2 { margin: 0 0 1rem; }
.productor { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; align-items: center; margin-top: 1rem; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--ink); border-radius: 1.5rem; background: var(--paper); }
.productor h2 { margin: 1rem 0 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.productor p { max-width: 32rem; font-size: 1.1rem; }
.productor .button { display: inline-block; padding: .9rem 1.5rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.productor .button:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .carrusel-pista img { min-height: 0; aspect-ratio: 3 / 4; } .productor { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand { justify-content: start; }
  .desktop-nav, .header-actions { display: none; }
  .more-menu { display: block; }
  .mobile-nav { position: fixed; right: max(.75rem, env(safe-area-inset-right, 0px)); bottom: max(.75rem, env(safe-area-inset-bottom, 0px)); left: max(.75rem, env(safe-area-inset-left, 0px)); z-index: 40; isolation: isolate; display: grid; width: min(32rem, calc(100% - 1.5rem)); min-height: 4.65rem; grid-template-columns: repeat(4, 1fr); margin-inline: auto; padding: .38rem; overflow: hidden; border-radius: 1.4rem; background: transparent; color: var(--paper); box-shadow: 0 .35rem .85rem -.45rem var(--ink); -webkit-backdrop-filter: blur(18px) saturate(135%); backdrop-filter: blur(18px) saturate(135%); }
  .mobile-nav::before { position: absolute; inset: 0; z-index: -1; background: var(--ink); content: ''; opacity: .72; }
  .mobile-nav a { position: relative; display: flex; min-width: 0; min-height: 3.85rem; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; border-radius: 1.05rem; font-size: .72rem; line-height: 1; }
  .mobile-nav svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
}
@media (max-width: 800px) { .site-header { width: calc(100% - 2rem); } }
@media (max-width: 760px) { .hero, .house-story, .principles, .donde { grid-template-columns: 1fr; }.hero img { min-height: 24rem; }.hero .copy { grid-row: 1; } }
/* Nosotros (Ana, 8-OCT-2026): misma hoja que aliados. El cierre es sólo el botón al menú. */
.copy p + p { margin-top: 0; }
.copy .nace { margin: 1rem 0; font-family: var(--fuente-encabezado), sans-serif; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: .95; text-transform: uppercase; }
.house-story .bio { max-width: 34rem; font-size: 1.1rem; }
.cierre { display: flex; justify-content: center; margin-top: 1rem; padding: clamp(2rem, 4vw, 3.5rem) 0; }
.cierre .button { display: inline-block; padding: .9rem 1.8rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.cierre .button:hover { background: var(--paper); color: var(--ink); }
.hero > picture { display: block; }
.hero > picture img { height: 100%; min-height: 34rem; }
@media (max-width: 760px) { .hero > picture img { min-height: 20rem; } }
/* Aliados (Ana, 9-OCT-2026: «no me gustó el recorte»): las fotos de la chinampa son VERTICALES (3:4); en un marco
   ancho se cortaban arriba y abajo. En escritorio el marco es vertical y la foto sale entera; el texto amarillo
   ocupa el resto. En teléfono ya era 3:4 (arriba, `.carrusel-pista img`). */
.hero-vertical { grid-template-columns: 25.5rem minmax(0, 1fr); }
@media (max-width: 760px) { .hero-vertical { grid-template-columns: 1fr; } }
