/* ==========================================================
   Cítricos Las 4R — estilos
   Colores de marca: Pantone 7469 (#005E86) · Pantone 2292 (#91C717)
   ========================================================== */

:root {
  --blue: #005e86;
  --blue-dark: #00445f;
  --lime: #91c717;
  --lime-soft: #e9f4cf;
  --green: #2f6b2f;
  --green-deep: #1d3a26;
  --green-ink: #14281b;
  --cream: #f6f7f0;
  --paper: #ffffff;
  --ink: #1b2620;
  --muted: #5b6a60;
  --line: #dfe5d8;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(20, 40, 27, .28);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__lead { color: var(--muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lime); border-radius: 2px; }
.eyebrow--light { color: #e8f3d0; }

.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em;
  color: var(--green-ink); margin-bottom: 24px;
}
.h2 em, .hero__title em { font-style: italic; color: var(--green); }
.h2--light { color: #fff; }
.h2--light em { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0;
  font: 700 .95rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--green-ink); box-shadow: 0 10px 30px -10px rgba(145,199,23,.7); }
.btn--lime:hover { background: #a3d92a; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.6); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--green { background: var(--green-deep); color: #fff; }
.btn--green:hover { background: var(--blue); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 50; padding: 0 16px;
  transition: inset .35s var(--ease);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.35);
  transition: box-shadow .35s;
}
.nav.is-scrolled { inset: 10px 0 auto; }
.nav.is-scrolled .nav__inner { box-shadow: 0 12px 40px -16px rgba(20,40,27,.35); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.nav__brand img { width: 46px; height: auto; }
.nav__brandtext { font-weight: 600; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; }
.nav__brandtext strong { font-weight: 800; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink);
  padding: 10px 14px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav__links a:hover { background: var(--lime-soft); color: var(--green-ink); }
.nav__links a[aria-current="page"] { color: var(--blue); background: var(--lime-soft); }
.nav__links .nav__cta { background: var(--blue); color: #fff; margin-left: 6px; }
.nav__links .nav__cta:hover { background: var(--blue-dark); color: #fff; }
.nav__tools { display: flex; align-items: center; gap: 8px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: #eef1ea; }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; color: var(--muted);
  padding: 8px 11px; border-radius: 999px; transition: background .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-deep); cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  padding: 140px 0 clamp(80px, 12vh, 130px);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,26,16,.35) 0%, rgba(10,26,16,0) 30%),
    linear-gradient(0deg, rgba(10,26,16,.85) 0%, rgba(10,26,16,.35) 50%, rgba(10,26,16,.1) 100%),
    linear-gradient(90deg, rgba(10,26,16,.55) 0%, rgba(10,26,16,0) 70%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em;
  max-width: 14ch; margin-bottom: 26px;
}
.hero__title em { color: var(--lime); }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; color: rgba(255,255,255,.88); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; z-index: 2; right: clamp(24px, 5vw, 60px); bottom: 40px;
  width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 10px; margin-left: -2px; background: var(--lime); border-radius: 2px; animation: scrolldot 2s infinite var(--ease); }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Strip ---------- */
.strip { background: var(--green-deep); color: #fff; position: relative; z-index: 3; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__num { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 400; color: var(--lime); line-height: 1.15; }
.strip__label { font-size: .88rem; color: rgba(255,255,255,.72); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__text > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.mv { display: grid; gap: 16px; margin-top: 36px; }
.mv__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; position: relative; overflow: hidden;
}
.mv__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--lime), var(--green)); }
.mv__card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--blue); margin-bottom: 8px; }
.mv__card p { color: var(--muted); font-size: .97rem; margin: 0; }

.about__media { position: relative; aspect-ratio: 4/5; }
.about__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--a { inset: 0 18% 22% 0; }
.about__img--b { inset: 44% 0 0 38%; border: 8px solid var(--cream); }
.about__badge {
  position: absolute; left: 6%; bottom: 2%; width: 128px; height: 128px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
}
.about__badge img { width: 74%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px); } }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; }
.step__img { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--lime-soft); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.07); }
.step__n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: var(--green-ink); font-weight: 800; font-size: .85rem;
  position: absolute; top: 14px; left: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.step h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; color: var(--green-ink); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Quality (dark) ---------- */
.quality { position: relative; background: var(--green-ink); color: rgba(255,255,255,.82); overflow: hidden; }
.quality__bg { position: absolute; inset: 0; }
.quality__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.quality__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--green-ink) 30%, rgba(20,40,27,.6) 100%); }
.quality__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quality__text > p:not(.eyebrow) { font-size: 1.08rem; max-width: 580px; }
.qlist { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.qlist li {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  transition: background .3s, transform .3s var(--ease);
}
.qlist li:hover { background: rgba(255,255,255,.09); transform: translateX(4px); }
.qlist__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(145,199,23,.15); display: grid; place-items: center; }
.qlist__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qlist strong { display: block; color: #fff; font-size: 1.05rem; }
.qlist span { font-size: .93rem; }

.cert {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 40px 34px;
  text-align: center; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.cert__seal { width: 110px; margin: 0 auto 18px; }
.cert__seal svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cert__seal circle:nth-child(1) { stroke: var(--lime); stroke-width: 3; stroke-dasharray: 4 6; animation: spin 40s linear infinite; transform-origin: center; }
.cert__seal circle:nth-child(2) { stroke: var(--blue); stroke-width: 3; }
.cert__seal path { stroke: var(--blue); stroke-width: 6; }
@keyframes spin { to { transform: rotate(360deg); } }
.cert__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cert__name { font-family: var(--font-display); font-size: 2.2rem; color: var(--blue); margin-bottom: 14px; }
.cert p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Band ---------- */
.band { position: relative; height: clamp(360px, 62vh, 620px); overflow: hidden; }
.band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,26,16,.75), rgba(10,26,16,.1) 70%); }
.band__caption { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 56px; }
.band__caption p { font-family: var(--font-display); color: #fff; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.25; max-width: 26ch; margin: 0; }
.band__caption em { color: var(--lime); }

/* ---------- Values ---------- */
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value__n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; color: var(--lime); line-height: 1; display: block; margin-bottom: 18px; }
.value h3 { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.25; color: var(--green-ink); margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
.value--img { padding: 0; overflow: hidden; margin: 0; min-height: 260px; position: relative; }
.value--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* ---------- Markets ---------- */
.markets { background: var(--paper); }
.markets__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.markets__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.markets__media img { width: 100%; height: 100%; object-fit: cover; }
.markets__grid p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.markets__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.markets__list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.markets__list li:last-child { border-bottom: 0; }
.markets__tag {
  flex: none; min-width: 62px; height: 62px; padding: 0 10px; border-radius: 16px;
  display: grid; place-items: center; background: var(--lime-soft); color: var(--green);
  font-weight: 800; letter-spacing: .04em;
}
.markets__list strong { display: block; color: var(--green-ink); font-size: 1.08rem; }
.markets__list span { color: var(--muted); font-size: .93rem; }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
  grid-template-areas:
    "a a b c"
    "d e b f"
    "d g g f"
    "i i h l"
    "k k j l";
}
.g { padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--lime-soft); position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,40,27,.35), transparent 50%); opacity: 0; transition: opacity .4s; }
.g:hover img { transform: scale(1.06); }
.g:hover::after { opacity: 1; }
.g1 { grid-area: a; } .g2 { grid-area: b; } .g3 { grid-area: c; } .g4 { grid-area: d; } .g5 { grid-area: e; }
.g6 { grid-area: f; } .g7 { grid-area: g; } .g8 { grid-area: h; } .g9 { grid-area: i; } .g10 { grid-area: j; } .g11 { grid-area: k; } .g12 { grid-area: l; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,18,12,.94);
  display: flex; align-items: center; justify-content: center; padding: 40px 70px;
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; width: 50px; height: 50px; font-size: 1.8rem; line-height: 1; transition: background .25s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.clist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px; }
.clist li { display: flex; gap: 18px; }
.clist__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; }
.clist__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.clist__k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.clist a { color: var(--blue); font-weight: 600; text-decoration: none; }
.clist a:hover { text-decoration: underline; }
.clist address { font-style: normal; }
.link-arrow { display: inline-block; margin-top: 6px; font-size: .92rem; }

.contact__side { display: grid; gap: 20px; }
.form { background: var(--paper); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-ink); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input, .form textarea {
  font: 500 1rem var(--font-body); color: var(--ink); background: var(--cream);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .25s, background .25s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); background: #fff; }
.form .is-invalid { border-color: #c4472f; }
.form .btn { justify-self: start; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.map { margin-top: 34px; border-radius: var(--radius-lg); overflow: hidden; height: 280px; box-shadow: var(--shadow); background: var(--lime-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--green-ink); color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; margin-bottom: 18px; }
.footer__logo img { width: 72%; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer__credit { color: #fff; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: rgba(145,199,23,.6) !important; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .nav__links a { padding: 10px 10px; }
}

@media (max-width: 960px) {
  .nav__brandtext { display: none; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 84px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: 24px; padding: 12px;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 18px; font-size: 1rem; }
  .nav__links .nav__cta { margin: 6px 0 0; text-align: center; }

  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 26px 20px; border-left: 0; }
  .strip__item:first-child { padding-left: 20px; }
  .strip__item:nth-child(odd) { padding-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .strip__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }

  .about__grid, .quality__grid, .markets__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px;
    grid-template-areas: "a a" "b d" "b d" "c e" "g g" "f h" "f j" "i i" "l k" "l k"; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { inset: 10px 0 auto; padding: 0 10px; }
  .nav__links { top: 76px; left: 10px; right: 10px; }
  .hero { padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step h3 { font-size: 1.02rem; }
  .values__grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .about__badge { width: 96px; height: 96px; }
  .gallery__grid { grid-auto-rows: 140px; gap: 10px; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Páginas internas
   ========================================================== */
.phero { position: relative; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 150px 0 clamp(56px, 9vh, 96px); }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,26,16,.88) 0%, rgba(10,26,16,.35) 55%, rgba(10,26,16,.25) 100%), linear-gradient(90deg, rgba(10,26,16,.5), rgba(10,26,16,0) 70%); }
.phero__content { position: relative; z-index: 2; }
.phero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 17ch; margin-bottom: 20px; }
.phero__title em { font-style: italic; font-weight: 400; color: var(--lime); }
.phero__lead { max-width: 600px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,.88); margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: #fff; font-weight: 600; }
.crumbs a:hover { color: var(--lime); }

.lead-muted { color: var(--muted); font-size: 1.06rem; }
.link-arrow--lg { font-weight: 700; color: var(--blue); text-decoration: none; font-size: 1.02rem; }
.link-arrow--lg:hover { text-decoration: underline; }

/* Intro + tarjetas de secciones (inicio) */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: clamp(44px, 6vw, 70px); }
.intro__p { color: var(--muted); font-size: 1.1rem; }
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.xcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.xcard__img { aspect-ratio: 4/3.6; overflow: hidden; }
.xcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.xcard:hover .xcard__img img { transform: scale(1.07); }
.xcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.xcard__n { font-family: var(--font-display); color: var(--lime); font-weight: 400; font-size: 1.1rem; margin-bottom: 6px; }
.xcard h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-ink); margin-bottom: 8px; }
.xcard p { color: var(--muted); font-size: .95rem; flex: 1; }
.xcard__go { font-weight: 700; font-size: .9rem; color: var(--blue); transition: transform .3s var(--ease); display: inline-block; }
.xcard:hover .xcard__go { transform: translateX(5px); }

/* Banda CTA */
.ctaband { position: relative; overflow: hidden; background: var(--green-ink); color: #fff; padding: clamp(70px, 9vw, 110px) 0; }
.ctaband__bg { position: absolute; inset: 0; }
.ctaband__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.ctaband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-ink) 25%, rgba(20,40,27,.55)); }
.ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ctaband .h2 { margin: 0; max-width: 20ch; }
.ctaband__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Misión / visión grande */
.mvsec { background: var(--paper); }
.mvsec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mvbig { border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); background: var(--green-deep); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.mvbig::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(145,199,23,.14); }
.mvbig--blue { background: var(--blue); }
.mvbig__k { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; margin-bottom: 16px; }
.mvbig p { margin: 0; font-size: 1.04rem; line-height: 1.75; position: relative; z-index: 1; }

/* Pasos del proceso (alternados) */
.psteps { display: grid; gap: clamp(50px, 8vw, 100px); }
.pstep { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.pstep:nth-child(even) .pstep__img { order: 2; }
.pstep__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.pstep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pstep:hover .pstep__img img { transform: scale(1.05); }
.pstep__n { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; font-weight: 400; color: var(--lime); display: block; margin-bottom: 10px; }
.pstep h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--green-ink); margin-bottom: 14px; }
.pstep p { color: var(--muted); font-size: 1.06rem; margin: 0; max-width: 480px; }
.gallery { background: var(--paper); }

/* Calidad */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; font-weight: 600; color: var(--green-ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-trio figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.photo-trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-trio figure:hover img { transform: scale(1.05); }

/* Mercados */
.cov { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.cov__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.cov__k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cov__item strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--blue); font-weight: 400; }
.markets-cards { background: var(--paper); }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcard { border-radius: var(--radius-lg); padding: 36px 32px; background: var(--cream); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mcard__flag { display: block; width: 96px; aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 8px 22px -8px rgba(20,40,27,.35), 0 0 0 1px rgba(20,40,27,.08); transition: transform .4s var(--ease); }
.mcard__flag img { width: 100%; height: 100%; object-fit: cover; }
.mcard:hover .mcard__flag { transform: rotate(-3deg) scale(1.05); }
.mcard h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-ink); margin-bottom: 6px; }
.mcard p { color: var(--muted); margin: 0; }

/* Formulario: extras */
.form__intro { color: var(--muted); margin: -8px 0 4px; font-size: .95rem; }
.form select { font: 500 1rem var(--font-body); color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6a60' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form select:focus { outline: none; border-color: var(--lime); background-color: #fff; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: #c4472f; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }

@media (max-width: 1080px) {
  .explore { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .intro__grid, .mvsec__grid, .pstep, .split, .markets__grid { grid-template-columns: 1fr; }
  .pstep:nth-child(even) .pstep__img { order: 0; }
  .split__media { aspect-ratio: 4/3; }
  .mcards { grid-template-columns: 1fr; }
  .photo-trio { grid-template-columns: 1fr 1fr; }
  .photo-trio figure:last-child { display: none; }
}
@media (max-width: 640px) {
  .explore { grid-template-columns: 1fr; }
  .cov { grid-template-columns: 1fr; }
  .phero { min-height: 64svh; padding-top: 120px; }
  .ctaband__actions .btn { flex: 1 1 100%; }
}

/* Videos en pasos del proceso */
.pstep__img video { width: 100%; height: 100%; object-fit: cover; display: block; background: #1d3a26; }

/* Calibres */
.calibres { background: #fff; }
.calibres__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.calibres__head .eyebrow { justify-content: center; }
.calibres__fig { margin: 0; padding: clamp(18px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.calibres__fig img { width: 100%; height: auto; display: block; }

/* ---------- Ronda 3: historia, proximas generaciones y videos ---------- */
.about__grid { align-items: start; }
.about__media { position: sticky; top: 110px; }
.mvsec__grid { grid-template-columns: 1fr 1fr .78fr; }
.mvphoto { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 100%; }
.mvphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.mvphoto::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(10,26,16,.72), rgba(10,26,16,0)); }
.mvphoto figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.phero__media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #1d3a26; }
.pstep__img--square { aspect-ratio: 1/1; }
.split__media--video { aspect-ratio: 1/1; }
.split__media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #1d3a26; }
@media (max-width: 1100px) {
  .mvsec__grid { grid-template-columns: 1fr 1fr; }
  .mvphoto { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16/10; }
  .mvphoto img { object-position: 50% 72%; }
}
@media (max-width: 960px) {
  .about__media { position: relative; top: 0; }
  .mvsec__grid { grid-template-columns: 1fr; }
  .mvphoto { aspect-ratio: 4/5; }
  .split__media--video { aspect-ratio: 1/1; }
}

/* Valores: solo títulos */
.value h3 { font-size: 1.6rem; margin-bottom: 0; }
.value:not(.value--img) { display: flex; flex-direction: column; justify-content: center; }
