/* ==========================================================================
   Semillas Oñate · "Los del Baldecito Azul"
   Paleta tomada exclusivamente del logo: azules, verdes y tonos cebolla.
   ========================================================================== */

:root {
  /* Azules del logo */
  --azul-950: #011a3a;
  --azul-900: #011f45;
  --azul-800: #022d60;
  --azul-700: #003878;
  --azul-500: #004890;
  /* Verdes del logo (hojas y trazos) */
  --verde-800: #034e47;
  --verde-700: #0b6444;
  --verde-500: #5d9c63;
  --verde-400: #7ea645;
  /* Tonos de la cebolla del logo */
  --cebolla-800: #8f4718;
  --cebolla-700: #b76327;
  --cebolla-500: #c87030;
  --cebolla-300: #f4cb8d;
  --cebolla-100: #f1dbc6;
  --crema: #faf6f0;
  --blanco: #ffffff;

  /* Roles */
  --ink: var(--azul-950);
  --text: #33445e;
  --muted: #5d6c83;
  --line: rgba(2, 45, 96, .11);
  --line-strong: rgba(2, 45, 96, .22);
  --focus: var(--azul-500);
  --error: var(--cebolla-800);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(1, 26, 58, .06), 0 2px 8px rgba(1, 26, 58, .04);
  --shadow: 0 2px 6px rgba(1, 26, 58, .05), 0 18px 40px -18px rgba(1, 26, 58, .22);
  --shadow-lg: 0 30px 70px -30px rgba(1, 26, 58, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--cebolla-300); color: var(--azul-950); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--azul-800); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde-700); margin-bottom: 1.1rem;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-400), var(--verde-700));
  box-shadow: 0 0 0 4px rgba(126, 166, 69, .18);
}
.eyebrow--light { color: var(--cebolla-300); }
.eyebrow--light .eyebrow__dot { background: var(--cebolla-300); box-shadow: 0 0 0 4px rgba(244, 203, 141, .18); }

.h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem);
  font-weight: 750; font-stretch: 108%; line-height: 1.06; letter-spacing: -.015em;
  color: var(--azul-900); text-wrap: balance;
}
.h2--light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; color: var(--text); text-wrap: pretty; }
.lead--light { color: rgba(255, 255, 255, .8); }
.muted { color: var(--muted); }
.kicker {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; font-style: italic;
  color: var(--cebolla-700); margin: .9rem 0 1.1rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--azul-800); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.45em; min-height: 48px;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(1, 26, 58, .55); }
.btn:active { transform: translateY(0); }
.btn .ico--move { transition: transform .35s var(--ease); }
.btn:hover .ico--move { transform: translateX(4px); }
.btn--primary:hover { --btn-bg: var(--azul-700); }
.btn--gold { --btn-bg: var(--cebolla-300); --btn-fg: var(--azul-950); }
.btn--gold:hover { --btn-bg: #f7d7a6; box-shadow: 0 16px 34px -14px rgba(244, 203, 141, .55); }
.btn--wa { --btn-bg: var(--verde-700); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: var(--verde-800); }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .04); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: rgba(255, 255, 255, .8); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--azul-800); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--azul-800); --btn-fg: #fff; --btn-bd: var(--azul-800); }
.btn--sm { padding: .62em 1.15em; min-height: 42px; font-size: .9rem; }
.btn--lg { padding: 1.05em 1.75em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header / navegación ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s;
}
/* El desenfoque va en un pseudo-elemento: si estuviera en el header,
   el menú móvil (position: fixed) quedaría atrapado dentro de él. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color .4s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(1, 26, 58, .35); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .96); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 50px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.03); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative; display: block; padding: .55rem .8rem;
  font-size: .93rem; font-weight: 600; color: var(--azul-800); text-decoration: none; border-radius: 10px;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--verde-400), var(--cebolla-300));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--azul-950); }
.nav__mobile-extra { display: none; }
.site-header__cta { flex: none; }

.burger {
  display: none; position: relative; width: 46px; height: 46px; margin-left: .25rem;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--azul-800);
  transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.scroll-progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--verde-700), var(--verde-400), var(--cebolla-300));
}

@media (max-width: 1099px) {
  .burger { display: block; }
  .site-header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(7) { transition-delay: .24s; }
  .nav__link { padding: 1.05rem .25rem; font-size: 1.35rem; font-stretch: 105%; font-weight: 650; border-radius: 0; }
  .nav__link::after { left: .25rem; right: auto; width: 2.2rem; bottom: .7rem; }
  .nav__mobile-extra { display: grid; gap: 1rem; }
  .nav__mobile-tag { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .brand img { height: 42px; }
  .site-header__inner { gap: .6rem; }
  .site-header__cta { padding: .55em .9em; font-size: .85rem; }
}
@media (max-width: 359px) {
  .site-header__cta { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 8rem;
  background: var(--azul-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { height: 100%; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 70%;
  animation: heroZoom 2.8s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 15% 10%, rgba(0, 72, 144, .35), transparent 60%),
    linear-gradient(180deg, rgba(1, 31, 69, .72) 0%, rgba(1, 31, 69, .62) 35%, rgba(1, 26, 58, .9) 80%, var(--azul-950) 100%);
}
.hero__swoosh { display: none; }
.hero__inner { position: relative; }
.hero__content { max-width: 660px; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title { color: #fff; text-transform: uppercase; line-height: .9; margin-bottom: 2rem; }
.hero__title-pre {
  display: block; font-size: clamp(.95rem, .8rem + .8vw, 1.35rem); font-weight: 600; font-stretch: 112%;
  letter-spacing: .3em; color: var(--cebolla-300); margin-bottom: .55rem;
}
.hero__title-main {
  display: block; font-size: min(9.4vw, 3.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__title-accent { position: relative; display: inline-block; white-space: nowrap; }
.hero__title-accent::after {
  content: ""; position: absolute; left: -.04em; right: -.06em; bottom: -.1em; height: .09em; border-radius: 1em;
  background: linear-gradient(90deg, var(--verde-700), var(--verde-400) 45%, var(--cebolla-300));
  transform: rotate(-1.6deg); transform-origin: left;
  animation: swooshIn 1.3s .9s var(--ease) both;
}
@keyframes swooshIn { from { transform: rotate(-1.6deg) scaleX(0); } to { transform: rotate(-1.6deg) scaleX(1); } }
.hero__lead { font-size: clamp(1.12rem, 1rem + .7vw, 1.45rem); font-weight: 600; line-height: 1.45; color: #fff; max-width: 34ch; text-wrap: balance; }
.hero__sub { margin-top: .8rem; font-size: clamp(1rem, .95rem + .25vw, 1.1rem); color: rgba(255, 255, 255, .78); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 6.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 20px;
}
.hero__scroll-line {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cebolla-300);
  animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

@media (max-width: 599px) {
  .hero { align-items: flex-end; padding-bottom: 7.5rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 9rem; }
  .hero__media { left: auto; width: 52%; }
  .hero__overlay {
    background:
      radial-gradient(70% 80% at 12% 25%, rgba(0, 72, 144, .42), transparent 65%),
      linear-gradient(90deg, transparent 0 48%, rgba(1, 31, 69, .28) 60%, rgba(1, 31, 69, .08) 100%),
      linear-gradient(0deg, rgba(1, 26, 58, .55), transparent 30%);
  }
  .hero__swoosh {
    display: block; position: absolute; top: 0; bottom: 0; left: -1px; height: 100%; width: clamp(110px, 10vw, 180px);
  }
  .hero__swoosh-fill { fill: var(--azul-900); }
  .hero__swoosh-green, .hero__swoosh-gold { fill: none; vector-effect: non-scaling-stroke; }
  .hero__swoosh-green { stroke: var(--verde-400); stroke-width: 3; }
  .hero__swoosh-gold { stroke: var(--cebolla-300); stroke-width: 1.5; opacity: .85; }
  .hero__content { max-width: min(46vw, 640px); }
  .hero__scroll { display: none; }
  .hero__title-main { font-size: clamp(2.8rem, 3.8vw, 4.3rem); }
}

/* ---------- Indicadores ---------- */
.stats { --overlap: 4.75rem; position: relative; z-index: 3; margin-top: calc(-1 * var(--overlap)); background: linear-gradient(180deg, transparent var(--overlap), var(--crema) var(--overlap)); }
.stats__card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: .5rem;
}
.stat { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.4rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat__icon {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 16px;
  background: var(--crema); color: var(--azul-800); font-size: 1.15rem;
  transition: background-color .35s, color .35s, transform .45s var(--ease);
}
.stat:hover .stat__icon { background: var(--azul-800); color: var(--cebolla-300); transform: translateY(-2px); }
.stat__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.stat__value { font-size: 1.7rem; font-weight: 800; font-stretch: 110%; color: var(--azul-900); }
.stat__value--text { font-size: 1.08rem; font-weight: 750; font-stretch: 104%; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: .2rem; }
@media (max-width: 1023px) {
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .stats { --overlap: 4rem; }
  .stat { flex-direction: column; align-items: flex-start; gap: .7rem; padding: 1.1rem 1rem; }
  .stat__icon { width: 42px; height: 42px; border-radius: 13px; }
  .stat__value { font-size: 1.45rem; }
  .stat__value--text { font-size: .98rem; }
  .stat__label { font-size: .84rem; }
}

/* ---------- Identidad ---------- */
.identidad { background: var(--crema); }
.identidad__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.identidad__quote {
  position: relative; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 700; font-stretch: 106%;
  line-height: 1.12; letter-spacing: -.015em; color: var(--azul-900); margin-bottom: 1.5rem; text-wrap: balance;
}
@media (min-width: 900px) {
  .identidad__quote::before {
    content: "“"; position: absolute; left: -.62em; top: -.18em; font-size: 2.4em; line-height: 1;
    color: var(--cebolla-300); z-index: -1; font-weight: 800;
  }
}
.identidad__text { position: relative; z-index: 0; }
.identidad__text .lead { margin-bottom: 1rem; }
.identidad__text strong { color: var(--azul-800); }
.identidad__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.identidad__media img { width: 100%; height: 100%; object-fit: cover; }

.placeholder {
  width: 100%; height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; padding: 1.5rem; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: inherit; color: var(--azul-700);
  background:
    repeating-linear-gradient(135deg, rgba(2, 45, 96, .035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #fff, var(--cebolla-100));
}
.placeholder__icon { width: 2.4rem; height: 2.4rem; stroke-width: 1.4; opacity: .7; }
.placeholder__title { font-weight: 700; color: var(--azul-800); }
.placeholder__note { font-size: .82rem; color: var(--muted); max-width: 26ch; }
.placeholder--sm { min-height: 0; padding: 1rem; }
.placeholder--sm .placeholder__icon { width: 1.8rem; height: 1.8rem; }
.placeholder--sm .placeholder__title { font-size: .92rem; }
@media (max-width: 899px) {
  .identidad__grid { grid-template-columns: 1fr; }
  .identidad__media { aspect-ratio: 16 / 11; order: 2; }
}

/* ---------- Marcos de imagen ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--azul-800); }
.frame > picture { position: absolute; inset: 0; }
.frame picture, .frame img { width: 100%; height: 100%; }
.frame img { object-fit: cover; transition: transform 1.1s var(--ease); }
.parallax img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transition: none; will-change: transform; }

/* ---------- Nosotros ---------- */
.nosotros__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.nosotros__media { position: relative; padding-bottom: 12%; }
.nosotros__img-main { width: 80%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.nosotros__img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.badge-years {
  position: absolute; right: 2%; top: 9%; display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.2rem; border-radius: 18px; background: var(--azul-800); color: #fff; box-shadow: var(--shadow-lg);
}
.badge-years__num { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; font-stretch: 112%; line-height: 1; color: var(--cebolla-300); }
.badge-years__txt { font-size: .8rem; line-height: 1.25; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.highlights { display: grid; gap: .85rem; margin-top: 2rem; }
.highlight {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.highlight:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.highlight > span:last-child { display: flex; flex-direction: column; }
.highlight strong { color: var(--azul-900); font-weight: 700; }
.highlight span span { font-size: .93rem; color: var(--muted); }
.highlight__icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(140deg, var(--verde-700), var(--verde-800)); color: #fff;
}
@media (max-width: 899px) {
  .nosotros__grid { grid-template-columns: 1fr; }
  .nosotros__media { max-width: 560px; }
}

/* Línea de tiempo */
.timeline { margin-top: clamp(4rem, 8vw, 6.5rem); padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--crema); border: 1px solid var(--line); }
.timeline__title { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--verde-700); margin-bottom: 2rem; }
.timeline__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.timeline__list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--verde-700), var(--verde-400), var(--cebolla-300));
  opacity: .5; border-radius: 2px;
}
.timeline__item { position: relative; padding-top: 2rem; }
.timeline__marker {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--verde-700);
}
.timeline__item--now .timeline__marker { background: var(--cebolla-300); border-color: var(--azul-800); box-shadow: 0 0 0 6px rgba(244, 203, 141, .35); }
.timeline__step { display: block; font-weight: 750; font-stretch: 104%; color: var(--azul-900); font-size: 1.08rem; margin-bottom: .4rem; }
.timeline__item p { font-size: .94rem; color: var(--muted); }
@media (max-width: 899px) {
  .timeline__list { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 2rem; }
  .timeline__list::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--verde-700), var(--verde-400), var(--cebolla-300)); }
  .timeline__item { padding-top: 0; }
  .timeline__marker { left: -2rem; top: 4px; }
}

/* ---------- Semillas ---------- */
.semillas { background: #fff; }
.semillas__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto; gap: clamp(.75rem, 1.6vw, 1.25rem); }
.mosaic__item { aspect-ratio: 3 / 4; }
.mosaic__item--tall { aspect-ratio: auto; grid-row: span 1; }
.mosaic__item figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .85rem; border-radius: 999px;
  font-size: .8rem; font-weight: 650; letter-spacing: .04em; color: #fff; white-space: nowrap; max-width: calc(100% - 2rem); overflow: hidden; text-overflow: ellipsis;
  background: rgba(1, 26, 58, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
}
.mosaic__item:hover img { transform: scale(1.05); }
@media (max-width: 899px) {
  .semillas__head { grid-template-columns: 1fr; align-items: start; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__item--tall { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.card {
  position: relative; overflow: hidden; padding: 1.75rem 1.5rem 1.6rem;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--verde-700), var(--verde-400), var(--cebolla-300));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 1.25rem;
  background: var(--crema); color: var(--azul-800); font-size: 1.2rem; transition: background-color .35s, color .35s;
}
.card:hover .card__icon { background: var(--azul-800); color: var(--cebolla-300); }
.card__title { font-size: 1.2rem; font-weight: 750; font-stretch: 104%; color: var(--azul-900); margin-bottom: .45rem; }
.card p { font-size: .95rem; color: var(--muted); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) {
  .cards { gap: .75rem; }
  .card { padding: 1.25rem 1.1rem; }
  .card__icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: .9rem; }
  .card__title { font-size: 1.05rem; }
  .card p { font-size: .88rem; }
  .mosaic__item figcaption { left: .6rem; bottom: .6rem; font-size: .72rem; padding: .35rem .65rem; }
}
@media (max-width: 339px) { .cards { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg); background: var(--azul-800); color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 220%;
  border-radius: 50%; border: 2px solid rgba(126, 166, 69, .5); box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .03);
}
.cta-band__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); font-weight: 750; font-stretch: 106%; line-height: 1.2; }
.cta-band__text { color: rgba(255, 255, 255, .75); margin-top: .25rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.cta-band .btn--outline:hover { --btn-bg: #fff; --btn-fg: var(--azul-800); --btn-bd: #fff; }
@media (max-width: 599px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ---------- Establecimiento ---------- */
.establecimiento {
  --focus: var(--cebolla-300);
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(0, 72, 144, .45), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(11, 100, 68, .28), transparent 70%),
    var(--azul-900);
  color: #fff;
}
.establecimiento__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.establecimiento__text .lead { margin-top: 1.25rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.25rem; }
.check {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s, border-color .3s;
}
.check:hover { background: rgba(255, 255, 255, .08); border-color: rgba(244, 203, 141, .35); }
.check > span:last-child { display: flex; flex-direction: column; font-size: .9rem; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.check strong { color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.check__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(244, 203, 141, .14); color: var(--cebolla-300); }
.establecimiento__media { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.est__big { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.est__a, .est__b { aspect-ratio: auto; min-height: 0; }
.establecimiento .frame { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.establecimiento .frame:hover img { transform: scale(1.05); }
@media (max-width: 1023px) {
  .establecimiento__grid { grid-template-columns: 1fr; }
  .establecimiento__media { order: -1; }
}
@media (max-width: 599px) {
  .checks { grid-template-columns: 1fr; }
  .est__big { aspect-ratio: 3 / 4.4; }
}

/* ---------- Calidad ---------- */
.calidad { background: var(--crema); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar {
  position: relative; overflow: hidden; padding: 2rem 1.6rem 1.9rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-align: left;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__num {
  position: absolute; right: 1.2rem; top: .6rem; font-size: 3.4rem; font-weight: 800; font-stretch: 115%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(2, 45, 96, .12);
}
.pillar__icon {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 1.4rem;
  color: var(--verde-700); font-size: 1.3rem; border: 1.5px solid rgba(11, 100, 68, .25);
  transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease);
}
.pillar:hover .pillar__icon { background: var(--verde-700); color: #fff; border-color: var(--verde-700); transform: rotate(-8deg) scale(1.05); }
.pillar__title { font-size: 1.15rem; font-weight: 750; font-stretch: 104%; color: var(--azul-900); margin-bottom: .45rem; line-height: 1.25; }
.pillar p { font-size: .95rem; color: var(--muted); }
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Envíos ---------- */
.envios {
  --focus: var(--cebolla-300);
  overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 70% at 78% 50%, rgba(0, 72, 144, .5), transparent 70%),
    linear-gradient(180deg, var(--azul-950), var(--azul-900));
}
.envios__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.envios__text .lead { margin-top: 1.25rem; }
.envios__badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.75rem; padding: .7rem 1.1rem;
  border-radius: 999px; border: 1px solid rgba(244, 203, 141, .4); background: rgba(244, 203, 141, .08);
  font-weight: 700; color: var(--cebolla-300);
}
.flag-ar { width: 1.6em; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.steps { display: grid; gap: .9rem; margin: 2rem 0 2.25rem; counter-reset: s; }
.steps li { display: flex; gap: 1rem; align-items: center; color: rgba(255, 255, 255, .82); }
.steps__n {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(126, 166, 69, .7); color: var(--verde-400); font-weight: 700; font-size: .9rem;
}
.envios__map { position: relative; display: flex; justify-content: center; }
.envios__map::before {
  content: ""; position: absolute; inset: 10% 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 166, 69, .16), transparent 65%); filter: blur(10px);
}
.mapa-ar { position: relative; width: min(100%, 380px); height: auto; overflow: visible; }
.mapa-ar__silueta { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.mapa-ar__puntos circle { fill: rgba(255, 255, 255, .26); }
.mapa-ar__pulsos .pulse-core { fill: var(--cebolla-300); }
.mapa-ar__pulsos .pulse {
  fill: none; stroke: var(--cebolla-300); stroke-width: 2; transform-box: fill-box; transform-origin: center;
  animation: pulse 3.2s var(--ease) infinite;
}
.mapa-ar__pulsos .pulse:nth-of-type(4n+2) { animation-delay: .8s; }
.mapa-ar__pulsos .pulse:nth-of-type(4n+3) { animation-delay: 1.6s; }
.mapa-ar__pulsos .pulse:nth-of-type(4n) { animation-delay: 2.4s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@media (max-width: 899px) {
  .envios__grid { grid-template-columns: 1fr; }
  .mapa-ar { width: min(78%, 320px); }
}
@media (max-width: 599px) { .envios__text .btn { width: 100%; } }

/* ---------- Galería ---------- */
.galeria { background: #fff; }
.filters {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem;
}
.filter {
  padding: .6rem 1.1rem; min-height: 42px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--azul-800); font-size: .9rem; font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.filter:hover { border-color: var(--azul-800); transform: translateY(-1px); }
.filter.is-active { background: var(--azul-800); color: #fff; border-color: var(--azul-800); }
@media (max-width: 699px) {
  .filters {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; }
}
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery__item { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--crema); }
.gallery__item.is-entering { animation: galIn .55s var(--ease) both; }
@keyframes galIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: inherit; overflow: hidden; }
.gallery__btn picture, .gallery__btn img { width: 100%; height: 100%; }
.gallery__btn img { object-fit: cover; transition: transform .9s var(--ease); }
.gallery__btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(1, 26, 58, .7));
  opacity: 0; transition: opacity .45s var(--ease);
}
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.07); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { opacity: 1; }
.gallery__tag {
  position: absolute; z-index: 1; left: .8rem; bottom: .8rem; font-size: .76rem; font-weight: 650; letter-spacing: .04em; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.gallery__zoom {
  position: absolute; z-index: 1; right: .7rem; top: .7rem; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--azul-800);
  opacity: 0; transform: scale(.85); transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.gallery__btn:hover .gallery__tag, .gallery__btn:focus-visible .gallery__tag,
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery__btn::after { opacity: .85; background: linear-gradient(180deg, transparent 65%, rgba(1, 26, 58, .65)); }
  .gallery__tag { opacity: 1; transform: none; }
}
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(1, 20, 45, .93); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4.5rem 4.5rem 3.5rem; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: .9rem; max-width: 100%; max-height: 100%; }
.lightbox__figure img {
  max-width: min(100%, 900px); max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem);
  width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  transition: opacity .3s;
}
.lightbox__figure img.is-loading { opacity: .25; }
.lightbox__caption { display: flex; gap: 1rem; font-size: .92rem; color: rgba(255, 255, 255, .85); text-align: center; }
.lightbox__count { color: var(--cebolla-300); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.2rem;
  transition: background-color .25s, transform .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; margin-top: -25px; }
.lightbox__next { right: 1rem; top: 50%; margin-top: -25px; }
.lightbox__prev:hover { transform: translateX(-3px); }
.lightbox__next:hover { transform: translateX(3px); }
.lightbox :focus-visible { outline-color: var(--cebolla-300); }
@media (max-width: 639px) {
  .lightbox__inner { padding: 4.5rem .75rem 6rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; margin: 0; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
}

/* ---------- Contacto ---------- */
.contacto { --focus: var(--cebolla-300); position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--azul-950); }
.contacto__bg { position: absolute; inset: 0; z-index: -2; }
.contacto__bg picture, .contacto__bg-img { width: 100%; height: 100%; }
.contacto__bg-img { object-fit: cover; object-position: center 60%; }
.contacto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(1, 26, 58, .95) 0%, rgba(1, 31, 69, .86) 45%, rgba(1, 31, 69, .7) 100%);
}
.contacto__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contacto__text .lead { margin-top: 1.25rem; }
.channels { display: grid; gap: .8rem; margin-top: 2.25rem; max-width: 460px; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
a.channel:hover { background: rgba(255, 255, 255, .11); border-color: rgba(244, 203, 141, .45); transform: translateX(4px); }
.channel__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--cebolla-300); font-size: 1.15rem; }
.channel--wa .channel__icon { background: var(--verde-700); color: #fff; }
.channel__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.channel__body strong { font-weight: 700; }
.channel__body span { font-size: .9rem; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.channel__arrow { margin-left: auto; color: rgba(255, 255, 255, .55); transition: transform .35s var(--ease), color .3s; }
a.channel:hover .channel__arrow { transform: translateX(3px); color: var(--cebolla-300); }

.form-card {
  --focus: var(--azul-500);
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.form-card__title { font-size: 1.45rem; font-weight: 750; font-stretch: 106%; color: var(--azul-900); }
.form-card__text { color: var(--muted); margin: .3rem 0 1.5rem; font-size: .96rem; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 650; color: var(--azul-900); }
.field label span { color: var(--cebolla-700); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; padding: .85rem 1rem; min-height: 50px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a97aa; }
.field input:hover, .field textarea:hover { border-color: rgba(2, 45, 96, .38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul-500); box-shadow: 0 0 0 4px rgba(0, 72, 144, .14); }
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 4px rgba(183, 99, 39, .14) !important; }
.field__error { font-size: .84rem; color: var(--error); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .7rem; }
.field--check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--azul-800); }
.field--check label { font-weight: 500; color: var(--text); font-size: .9rem; }
.field--check a { color: var(--azul-700); font-weight: 650; }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form__submit { margin-top: .4rem; }
.form__submit .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite;
}
.form__submit.is-loading { pointer-events: none; opacity: .85; }
.form__submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status:empty { display: none; }
.form__status { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: var(--radius-sm); font-size: .93rem; line-height: 1.5; }
.form__status .ico { margin-top: .1rem; }
.form__status.is-success { background: rgba(11, 100, 68, .09); color: var(--verde-800); border: 1px solid rgba(11, 100, 68, .25); }
.form__status.is-error { background: rgba(183, 99, 39, .09); color: var(--cebolla-800); border: 1px solid rgba(183, 99, 39, .3); }
.form__status a { color: inherit; font-weight: 700; }
@media (max-width: 1023px) { .contacto__grid { grid-template-columns: 1fr; } .channels { max-width: none; } }
@media (max-width: 539px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { --focus: var(--cebolla-300); background: var(--azul-950); color: rgba(255, 255, 255, .72); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: .7rem 1rem; margin-bottom: 1.25rem; transition: transform .4s var(--ease); }
.footer__logo:hover { transform: translateY(-2px); }
.footer__logo img { height: 56px; width: auto; }
.footer__brand p { max-width: 42ch; }
.footer__tag { margin-top: 1rem; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cebolla-300); }
.footer__title { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: rgba(255, 255, 255, .72); transition: color .25s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--cebolla-300); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem;
}
.footer__bottom a { color: rgba(255, 255, 255, .72); }
.footer__bottom a:hover { color: var(--cebolla-300); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-bottom: 5rem; } }

/* ---------- Botones flotantes (Ubicación, Instagram, WhatsApp) ---------- */
.floating {
  position: fixed; z-index: 90; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
}
.floating { transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s; }
.floating.is-hidden { opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; }
.fab {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--verde-700); color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(3, 78, 71, .7), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
  animation: waIn .7s 1.2s var(--ease) both;
}
.fab .ico { width: 26px; height: 26px; }
.fab--wa:hover, .fab--wa:focus-visible { background: var(--verde-800); transform: translateY(-2px); }
.fab--sm {
  width: 46px; height: 46px; background: #fff; color: var(--azul-800);
  box-shadow: 0 10px 24px -12px rgba(1, 26, 58, .55), 0 0 0 1px var(--line);
}
.fab--sm .ico { width: 21px; height: 21px; }
.fab--sm:nth-child(1) { animation-delay: 1.5s; }
.fab--sm:nth-child(2) { animation-delay: 1.35s; }
.fab--sm:hover, .fab--sm:focus-visible { background: var(--azul-800); color: var(--cebolla-300); transform: translateY(-2px); }
.fab__label {
  position: absolute; right: calc(100% + .7rem); top: 50%; transform: translate(6px, -50%);
  padding: .45rem .8rem; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: var(--azul-900); color: #fff; font-size: .82rem; font-weight: 650;
  box-shadow: var(--shadow); opacity: 0; transition: opacity .3s, transform .35s var(--ease);
}
@media (hover: hover) {
  .fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
}
@media (max-width: 479px) {
  .fab { width: 52px; height: 52px; }
  .fab--sm { width: 42px; height: 42px; }
  .floating { gap: .55rem; }
}
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Entrada del hero (solo CSS: no espera al JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-anim { animation: heroIn 1s var(--ease) both; }
  .hero-anim--2 { animation-delay: .08s; }
  .hero-anim--3 { animation-delay: .16s; }
  .hero-anim--4 { animation-delay: .28s; }
  .hero-anim--5 { animation-delay: .38s; }
  .hero-anim--6 { animation-delay: .48s; }
}
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Animaciones de aparición (solo si main.js se ejecuta) ---------- */
/* Solo se ocultan si main.js efectivamente se ejecutó (agrega .js-reveal al <html>) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .parallax img { transform: scale(1.0); }
}

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--header-h) + 3.5rem) 0 5rem; background: var(--crema); min-height: 70vh; }
.legal__card { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 5vw, 3.5rem); box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); font-weight: 750; font-stretch: 106%; color: var(--azul-900); line-height: 1.1; margin-bottom: .5rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--azul-900); margin: 2rem 0 .6rem; }
.legal p, .legal li { margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal .pending { background: var(--cebolla-100); color: var(--cebolla-800); padding: .05em .4em; border-radius: 5px; font-weight: 600; }
.legal__back { display: inline-flex; margin-top: 2rem; }
.site-header--simple .site-header__inner { justify-content: space-between; }

/* ---------- Contactos con nombre (WhatsApp + llamada) ---------- */
.channel--person { padding: 0; gap: 0; }
.channel__main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem;
  color: inherit; text-decoration: none; border-radius: 16px 0 0 16px; transition: background-color .3s;
}
.channel__call {
  flex: none; align-self: stretch; display: grid; place-items: center; width: 58px; color: var(--cebolla-300);
  border-left: 1px solid rgba(255, 255, 255, .14); border-radius: 0 16px 16px 0; transition: background-color .3s;
}
.channel--person:hover { border-color: rgba(244, 203, 141, .45); }
.channel__main:hover { background: rgba(255, 255, 255, .06); }
.channel__call:hover { background: rgba(244, 203, 141, .12); }

/* ---------- Ubicación ---------- */
.ubicacion {
  display: grid; grid-template-columns: 1fr 1.3fr; margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ubicacion__info { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.ubicacion__icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 1.1rem;
  background: rgba(244, 203, 141, .14); color: var(--cebolla-300); font-size: 1.2rem;
}
.ubicacion__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; font-stretch: 106%; color: #fff; margin-bottom: .5rem; }
.ubicacion__info p { color: rgba(255, 255, 255, .78); }
.ubicacion__info strong { color: #fff; }
.ubicacion__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.ubicacion__map { position: relative; min-height: 320px; background: var(--azul-950); }
.ubicacion__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ubicacion__load {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  border: 0; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(126, 166, 69, .22), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 34px),
    var(--azul-900);
}
.ubicacion__pin {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; font-size: 1.6rem;
  background: var(--cebolla-300); color: var(--azul-950); box-shadow: 0 0 0 10px rgba(244, 203, 141, .15);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ubicacion__load:hover .ubicacion__pin { transform: translateY(-4px); box-shadow: 0 0 0 16px rgba(244, 203, 141, .12); }
.ubicacion__load-title { font-weight: 700; font-size: 1.1rem; margin-top: .6rem; }
.ubicacion__load-note { font-size: .84rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 899px) {
  .ubicacion { grid-template-columns: 1fr; }
  .ubicacion__map { min-height: 260px; }
}
@media (max-width: 599px) { .ubicacion__actions .btn { width: 100%; } }

/* ---------- Selector de WhatsApp ---------- */
.wa-picker {
  width: min(calc(100% - 2rem), 420px); max-width: none; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: transparent; overflow: visible;
}
.wa-picker::backdrop { background: rgba(1, 20, 45, .6); backdrop-filter: blur(4px); }
.wa-picker[open] { animation: pickIn .4s var(--ease); }
@keyframes pickIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-picker__card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.5rem 1.5rem; text-align: center; box-shadow: var(--shadow-lg); }
.wa-picker__close {
  position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--crema); color: var(--azul-800); transition: background-color .25s;
}
.wa-picker__close:hover { background: var(--cebolla-100); }
.wa-picker__icon {
  width: 58px; height: 58px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--verde-700); color: #fff; font-size: 1.4rem;
}
.wa-picker__title { font-size: 1.35rem; font-weight: 750; font-stretch: 106%; color: var(--azul-900); }
.wa-picker__text { color: var(--muted); font-size: .94rem; margin: .4rem auto 1.4rem; max-width: 32ch; }
.wa-picker__list { display: grid; gap: .7rem; text-align: left; }
.wa-picker__item { display: flex; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; transition: border-color .25s, box-shadow .3s; }
.wa-picker__item:hover { border-color: var(--verde-700); box-shadow: var(--shadow-sm); }
.wa-picker__option { flex: 1; min-width: 0; display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; text-decoration: none; color: var(--ink); transition: background-color .25s; }
.wa-picker__option:hover { background: rgba(11, 100, 68, .05); }
.wa-picker__avatar {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--azul-800); color: var(--cebolla-300); font-weight: 800; font-size: 1.1rem;
}
.wa-picker__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.wa-picker__body strong { color: var(--azul-900); }
.wa-picker__body span { font-size: .86rem; color: var(--muted); }
.wa-picker__go { margin-left: auto; color: var(--verde-700); width: 24px; height: 24px; }
.wa-picker__call {
  flex: none; width: 54px; display: grid; place-items: center; color: var(--azul-800);
  border-left: 1px solid var(--line); transition: background-color .25s, color .25s;
}
.wa-picker__call:hover { background: var(--azul-800); color: var(--cebolla-300); }

/* ---------- Mapa: origen en San Juan ---------- */
.mapa-ar__pulsos .ruta {
  fill: none; stroke: var(--cebolla-300); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: .45;
  animation: rutaFlow 2.4s linear infinite;
}
@keyframes rutaFlow { to { stroke-dashoffset: -16; } }
.origen__halo { fill: rgba(126, 166, 69, .3); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.origen__punto { fill: var(--verde-400); stroke: #fff; stroke-width: 2.5; }
.origen__label {
  fill: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: .02em;
  paint-order: stroke; stroke: var(--azul-950); stroke-width: 4px;
}

/* ---------- Identidad: foto del baldecito azul ---------- */
.identidad__media.frame { box-shadow: var(--shadow-lg); }
.identidad__media img { object-position: center 30%; }
.identidad__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px; background: var(--azul-800); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow);
}
.identidad__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cebolla-300); }
@media (max-width: 899px) {
  .identidad__media { aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
}

/* ---------- Nuestro producto ---------- */
.producto {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-lg); background: var(--crema); border: 1px solid var(--line);
}
.producto__media { aspect-ratio: 4 / 3.4; border-radius: var(--radius); }
.producto__media img { object-position: center 30%; }
.producto__body { padding: clamp(.5rem, 2vw, 1.5rem) clamp(.5rem, 2vw, 1.5rem) clamp(.5rem, 2vw, 1.5rem) 0; }
.producto__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; font-stretch: 110%; color: var(--azul-900); line-height: 1; }
.producto__sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 600; font-style: italic; color: var(--cebolla-700); margin: .5rem 0 1.5rem; }
.producto__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0 0 1.75rem; }
.producto__specs div { padding: .85rem 1rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.producto__specs dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-700); }
.producto__specs dd { margin: .2rem 0 0; font-weight: 650; color: var(--azul-900); line-height: 1.35; }
@media (max-width: 899px) {
  .producto { grid-template-columns: 1fr; }
  .producto__body { padding: 0 .5rem .75rem; }
}
@media (max-width: 599px) { .producto .btn { width: 100%; } }
@media (max-width: 359px) { .producto__specs { grid-template-columns: 1fr; } }

/* ---------- Enlace "ver más" ---------- */
.link-more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem;
  color: var(--cebolla-300); font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid rgba(244, 203, 141, .4); padding-bottom: .2rem; transition: border-color .3s;
}
.link-more:hover { border-color: var(--cebolla-300); }
.link-more:hover .ico--move { transform: translateX(4px); }
.link-more .ico--move { transition: transform .35s var(--ease); }

/* ---------- Galería: destacadas + botón GALERÍA ---------- */
.gallery--teaser .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.gallery__count {
  margin-left: .2rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .16);
  font-size: .8rem; font-weight: 600; letter-spacing: 0;
}
@media (max-width: 639px) {
  .gallery--teaser .gallery__item:first-child { grid-row: span 1; aspect-ratio: 4 / 3; }
  .gallery__more .btn { width: 100%; }
}

/* ---------- Página de galería ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(0, 72, 144, .5), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(11, 100, 68, .3), transparent 70%),
    var(--azul-900);
}
.page-hero__back {
  display: flex; width: max-content; align-items: center; gap: .35rem; margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .25s;
}
.page-hero__back:hover { color: var(--cebolla-300); }
.page-hero__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; font-stretch: 108%; line-height: 1.05; letter-spacing: -.015em; }
.page-hero__text { margin-top: 1rem; max-width: 60ch; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.galeria--full { padding-top: clamp(2rem, 5vw, 3rem); }
.galeria--full .cta-band { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ==========================================================================
   Ajustes finos para celulares (pantallas chicas, bajas y horizontales)
   ========================================================================== */

/* Selector de WhatsApp: nunca más alto que la pantalla, con scroll propio */
.wa-picker { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
.wa-picker__body span { white-space: nowrap; }
@media (max-width: 399px) {
  .wa-picker__card { padding: 1.6rem 1rem 1rem; }
  .wa-picker__icon { width: 48px; height: 48px; margin-bottom: .75rem; }
  .wa-picker__title { font-size: 1.2rem; padding: 0 1.5rem; }
  .wa-picker__text { margin-bottom: 1rem; font-size: .88rem; }
  .wa-picker__option { padding: .75rem .8rem; gap: .7rem; }
  .wa-picker__avatar { width: 38px; height: 38px; font-size: 1rem; }
  .wa-picker__go { display: none; }
  .wa-picker__call { width: 48px; }
}
@media (max-height: 520px) {
  .wa-picker__icon, .wa-picker__text { display: none; }
  .wa-picker__card { padding-top: 1.25rem; }
  .wa-picker__title { margin-bottom: 1rem; padding-right: 2.5rem; }
}

/* Botones flotantes: tamaño cómodo para el dedo (mín. 44 px) */
@media (max-width: 479px) {
  .fab { width: 54px; height: 54px; }
  .fab--sm { width: 44px; height: 44px; }
}

/* Áreas táctiles de enlaces sueltos */
.link-more { padding: .7rem 0 .45rem; }
.footer__bottom a { display: inline-block; padding: .55rem 0; }
.footer__col li a { padding: .3rem 0; }
.field--check label a { display: inline-block; padding: .2rem 0; }
.page-hero__back { padding: .5rem 0; }

/* Etiquetas pequeñas: nunca menos de 12 px */
.mosaic__item figcaption, .gallery__tag { font-size: max(.76rem, 12px); }
.producto__specs dt { font-size: max(.74rem, 12px); }

/* Hero compacto en celulares bajos (ej. iPhone SE, Android chicos) */
@media (max-width: 599px) and (max-height: 720px) {
  .hero { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 6rem; }
  .hero__eyebrow { margin-bottom: .9rem; }
  .hero__title { margin-bottom: 1.1rem; }
  .hero__sub { margin-top: .5rem; font-size: .95rem; }
  .hero__actions { margin-top: 1.4rem; gap: .65rem; }
  .hero__actions .btn--lg { padding-block: .85em; }
}
@media (max-width: 380px) {
  .hero__eyebrow { font-size: .7rem; letter-spacing: .12em; }
}

/* Celular en horizontal: menú y hero más compactos */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 6rem; align-items: flex-start; }
  .hero__scroll { display: none; }
  .nav__link { padding-block: .6rem; font-size: 1.15rem; }
  .nav__link::after { bottom: .35rem; }
}
@media (max-height: 640px) and (max-width: 1099px) {
  .nav__link { padding-block: .8rem; }
}

/* ---------- Etiquetas sobre fotos (Nuestra historia) ---------- */
.nosotros__img-main img { object-position: center 38%; }
.photo-tag {
  position: absolute; left: .9rem; bottom: .9rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  max-width: calc(100% - 1.8rem); padding: .5rem .9rem; border-radius: 999px;
  background: rgba(1, 26, 58, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: max(.78rem, 12px); font-weight: 650; letter-spacing: .03em; line-height: 1.25;
}
.photo-tag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cebolla-300); }
.photo-tag--sm { left: .6rem; bottom: .6rem; padding: .35rem .7rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Nuestro proceso (pasos numerados) ---------- */
.proceso { background: var(--crema); }
.fase + .fase { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.fase__head {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.fase__icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--azul-800); color: var(--cebolla-300);
}
.fase__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 750; font-stretch: 106%; color: var(--azul-900); }
.fase__range {
  padding: .3rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: max(.78rem, 12px); font-weight: 650; color: var(--verde-700);
}
.fase__hint { display: none; margin-left: auto; align-items: center; gap: .3rem; font-size: max(.8rem, 12px); font-weight: 600; color: var(--muted); }

.pasos { list-style: none; display: grid; gap: 1rem; counter-reset: none; }
.pasos--campo { grid-template-columns: repeat(6, 1fr); }
.pasos--planta { grid-template-columns: repeat(4, 1fr); }
.paso { position: relative; display: flex; flex-direction: column; }
.paso__media { aspect-ratio: 3 / 4; margin-bottom: 1.15rem; overflow: visible; box-shadow: var(--shadow-sm); }
.paso__media picture { border-radius: inherit; overflow: hidden; }
.pasos--planta .paso__media { aspect-ratio: 4 / 3.6; }
.paso:hover .paso__media img { transform: scale(1.05); }
.paso__num {
  position: absolute; left: .75rem; bottom: -1rem; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--cebolla-300); color: var(--azul-950); font-weight: 800; font-size: 1.05rem; font-stretch: 110%;
  box-shadow: 0 0 0 4px var(--crema), var(--shadow-sm);
}
.paso__title { font-size: 1.02rem; font-weight: 750; font-stretch: 104%; color: var(--azul-900); line-height: 1.25; margin: .35rem 0 .3rem; }
.paso__text { font-size: .9rem; line-height: 1.5; color: var(--muted); }

/* Tablet y celular: cada fase se desliza de costado (no carga la página) */
@media (max-width: 1023px) {
  .fase__hint { display: inline-flex; }
  .pasos--campo, .pasos--planta {
    display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .75rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  }
  .paso { flex: 0 0 clamp(200px, 34vw, 260px); scroll-snap-align: start; }
  .pasos--planta .paso__media { aspect-ratio: 3 / 4; }
}
@media (max-width: 599px) {
  .paso { flex-basis: 62vw; }
  .paso__media, .pasos--planta .paso__media { aspect-ratio: 4 / 4.6; }
  .fase__range { display: none; }
}
/* Foto "Hoy" (tractores): acercar la fila de tractores dentro de la tarjeta chica */
.nosotros__img-small img { transform: scale(1.75); transform-origin: 62% 49%; }

/* ---------- El equipo, hoy (Nuestra historia) ---------- */
.equipo {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(.9rem, 2vw, 1.25rem);
  border-radius: var(--radius-lg); background: var(--azul-900); color: #fff; box-shadow: var(--shadow-lg);
}
.equipo__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.equipo__media img { object-position: center 55%; }
.equipo__body { padding: clamp(.5rem, 2vw, 1.5rem) clamp(.5rem, 2.5vw, 2rem) clamp(.5rem, 2vw, 1.5rem) 0; }
.equipo .eyebrow { color: var(--cebolla-300); }
.equipo .eyebrow__dot { background: var(--cebolla-300); box-shadow: 0 0 0 4px rgba(244, 203, 141, .18); }
.equipo__title { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); font-weight: 750; font-stretch: 106%; line-height: 1.12; margin-bottom: 1rem; text-wrap: balance; }
.equipo__body p { color: rgba(255, 255, 255, .82); }
.equipo__note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); font-style: italic; color: var(--cebolla-300) !important; }
.equipo + .timeline, .container:has(.equipo) + .container .timeline { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 899px) {
  .equipo { grid-template-columns: 1fr; }
  .equipo__body { padding: .25rem .5rem .75rem; }
}
