/* ============================================
   LP PRODUCE — design tokens
   Base: Vulpes layout. Palette taken from the
   LP Produce logo (navy + lime/field greens).
   Signature: the customs-stamp badge (rotated,
   dashed ring, mono type) recurring through the site.
   ============================================ */
:root {
  --ink: #0B2D52;
  --ink-soft: rgba(11, 45, 82, 0.68);
  --paper: #FFFFFF;
  --paper-raised: #FFFFFF;
  --line: #E1E6EC;
  --accent: #4A9A0E;
  --lime: #57A80E;
  --green: #C3E29A;
  --green-deep: #0A6122;
  --max: 1120px;

  --display: "Exo 2", "Trebuchet MS", sans-serif;
  --body: "Exo 2", "Trebuchet MS", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Exo 2", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Skip link / focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand img { height: 58px; width: auto; }
.brand { display: flex; align-items: center; }

nav.main-nav { display: flex; align-items: center; gap: 6px; }
nav.main-nav a {
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 3px;
  transition: color .15s ease, background .15s ease;
}
nav.main-nav a:hover { color: var(--ink); background: rgba(87,168,14,0.16); }
nav.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--green);
}

.header-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 4px;
  cursor: pointer;
  display: flex; gap: 2px;
}
.lang-toggle span {
  padding: 3px 9px;
  border-radius: 999px;
}
.lang-toggle span[data-active="true"] { background: var(--ink); color: var(--paper); }



.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--ink); border-radius: 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 8px 12px; cursor: pointer; color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 3px;
  border: 1px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--green-deep);
  display: inline-block;
}
h1.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.03;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
h1.headline em { font-style: normal; color: var(--accent); }
.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stamp badge (signature element) ---------- */
.stamp {
  width: 232px; height: 232px;
  border: 2px dashed var(--ink);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
  margin: 0 auto;
  font-family: var(--mono);
  color: var(--ink);
  background: var(--paper-raised);
  position: relative;
}
.stamp::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.stamp .stamp-line1 { font-size: 11px; letter-spacing: 0.12em; color: var(--green-deep); margin-bottom: 4px; }
.stamp .stamp-city { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.stamp .stamp-arrow { font-size: 20px; color: var(--accent); margin: 6px 0; }
.stamp .stamp-foot { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-border-top { border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 12px;
  line-height: 1.08;
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 17px; }

/* ---------- Steps (real sequence: field -> export prep -> delivery) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 30px 26px 30px 0;
  border-right: 1px dashed var(--line);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}
.step h3 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 10px;
}
.step p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* ---------- Product teaser / cards ---------- */
.product-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px;
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.veg-block {
  aspect-ratio: 4/3;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(11,45,82,0.06) 18px 19px),
    linear-gradient(160deg, var(--green) 0%, #F4F4F4 60%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px;
}
.veg-block span {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 10px;
  border-radius: 3px;
}

/* ---------- Footer CTA ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
}
.cta-band .section-head h2 { color: var(--paper); }
.cta-band .section-head p { color: rgba(255,255,255,0.6); }
.cta-band .btn-primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.cta-band .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.35); }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
footer.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
footer.site-footer img { height: 40px; }
.footer-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------- Table (spec sheets) ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  background: #EEF6E3;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:last-child { font-family: var(--mono); }

/* ---------- Cards (about/team, values, locations) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  box-shadow: 0 1px 3px rgba(11,45,82,0.06);
}
.card h3 { font-family: var(--display); font-size: 19px; margin: 0 0 6px; }
.card .role { font-family: var(--mono); font-size: 12px; color: var(--green-deep); letter-spacing: 0.03em; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.avatar-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px dashed var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px;
}

.value-item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-mark { font-family: var(--mono); color: var(--accent); font-size: 15px; }
.value-item h3 { font-family: var(--display); font-size: 20px; margin: 0 0 6px; }
.value-item p { margin: 0; color: var(--ink-soft); }

/* ---------- Location cards (contact) ---------- */
.loc-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(11,45,82,0.06);
}
.loc-card .stamp-mini {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed var(--accent);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.loc-card h3 { font-family: var(--display); font-size: 24px; margin: 0 0 4px; }
.loc-card .city { color: var(--ink-soft); margin: 0 0 18px; }
.loc-card a.email {
  display: inline-block;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 2px;
}
.loc-card a.email:hover { border-color: var(--accent); }
.pending {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  display: block;
  margin-top: 6px;
}

.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  min-height: 460px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--green) 0%, #F2F2F2 55%, #E2E2E2 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo .placeholder-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1.5px dashed var(--ink-soft);
  border-radius: 4px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.55);
}
.hero-photo-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px;
  background: linear-gradient(0deg, rgba(11,45,82,0.82) 0%, rgba(11,45,82,0) 100%);
  color: #fff;
}
.hero-photo-overlay .eyebrow { color: var(--green); }
.hero-photo-overlay .eyebrow::before { background: var(--green); }
.hero-photo-overlay h1.headline { color: #fff; font-size: clamp(32px, 4.6vw, 54px); }
.hero-photo-overlay .lede { color: rgba(255,255,255,0.75); }
.hero-stamp-float {
  position: absolute; top: 26px; right: 26px;
  transform: scale(0.72);
  transform-origin: top right;
}

/* ---------- Mission / Vision / Values ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.mv-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(11,45,82,0.06);
}
.mv-card .eyebrow { margin-bottom: 12px; }
.mv-card p { margin: 0; font-size: 16px; color: var(--ink); }
.value-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-strip span {
  font-family: var(--display);
  font-size: 20px;
  padding: 22px 30px;
  border-right: 1px dashed var(--line);
}
.value-strip span:last-child { border-right: none; }

/* ---------- Product photo placeholder ---------- */
.product-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--green) 0%, #F2F2F2 70%);
  display: flex; align-items: center; justify-content: center;
}
.product-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.product-photo .placeholder-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1.5px dashed var(--ink-soft);
  border-radius: 4px;
  padding: 7px 11px;
  background: rgba(255,255,255,0.6);
  text-align: center;
}

/* ---------- Product accordion ---------- */
.product-accordion {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(11,45,82,0.06);
}
.product-accordion summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
}
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion .p-thumb {
  width: 64px; height: 64px;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--green) 0%, #F2F2F2 70%);
  position: relative;
}
.product-accordion .p-thumb img { width:100%; height:100%; object-fit:cover; }
.product-accordion .p-name { font-family: var(--display); font-size: 20px; }
.product-accordion .p-season {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-deep);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.product-accordion .p-chevron {
  font-family: var(--mono);
  color: var(--ink-soft);
  transition: transform .18s ease;
}
.product-accordion[open] .p-chevron { transform: rotate(180deg); }
.product-accordion .accordion-body {
  padding: 4px 22px 26px;
  border-top: 1px solid var(--line);
}
.product-accordion .accordion-body-inner { padding-top: 20px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; }
.pending-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 4px;
  padding: 10px 14px;
  display: inline-block;
}

/* ---------- i18n helper ---------- */
[data-i18n] { }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stamp { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px dashed var(--line); }
  .product-teaser { grid-template-columns: 1fr; padding: 26px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
    gap: 2px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 8px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  h1.headline { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- LP Produce: markets row ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.market-grid .mv-card h3 { font-family: var(--display); font-size: 22px; margin: 0 0 8px; }
.market-grid .mv-card p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 880px) { .market-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile fixes (hero, cards) ---------- */
@media (max-width: 880px) {
  .mv-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: auto; min-height: 600px; align-items: flex-end; }
  .hero-stamp-float { transform: scale(0.5); top: 16px; right: 16px; }
  .hero-photo-overlay { padding: 28px 24px; background: linear-gradient(0deg, rgba(11,45,82,0.9) 0%, rgba(11,45,82,0.75) 55%, rgba(11,45,82,0) 100%); }
  .product-accordion .accordion-body-inner { grid-template-columns: 1fr; }
  .product-accordion summary { grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 14px; }
  .product-accordion .p-thumb { width: 52px; height: 52px; }
  .product-accordion .p-season { grid-column: 2; grid-row: 2; }
  .product-accordion .p-chevron { grid-column: 3; grid-row: 1 / span 2; }
  .value-strip span { padding: 16px 18px; font-size: 18px; }
  .spec-table th, .spec-table td { padding: 12px 12px; }
}
@media (max-width: 560px) {
  .hero-photo-overlay h1.headline { font-size: 34px; }
  .hero-photo-overlay .lede { font-size: 16.5px; }
  .brand img { height: 44px; }
}

/* ---------- Hero slideshow (crossfade) ---------- */
.hero-photo img.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-photo img.hero-slide.is-active { opacity: 1; }

/* ---------- Product photos: full image, larger ---------- */
.product-accordion .accordion-body-inner { grid-template-columns: 1.15fr 1fr; align-items: start; }
.product-photo {
  aspect-ratio: 4/3;
  background: #FFFFFF;
  border: 1px solid var(--line);
}
.product-photo img { object-fit: contain; }
.product-photo .placeholder-note { display: none; }
.product-accordion summary { grid-template-columns: 104px 1fr auto auto; }
.product-accordion .p-thumb { width: 88px; height: 66px; background: #FFFFFF; border: 1px solid var(--line); }
.product-accordion .p-thumb img { object-fit: contain; }
@media (max-width: 880px) {
  .product-accordion .accordion-body-inner { grid-template-columns: 1fr; }
  .product-accordion summary { grid-template-columns: 72px 1fr auto; }
  .product-accordion .p-thumb { width: 64px; height: 48px; }
}

/* ---------- Season calendar (LP symbol marks available months) ---------- */
.season-cal {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px 18px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #F6FAF0 0%, #FFFFFF 100%);
}
.season-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.season-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep);
}
.season-legend { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.season-legend img { width: 16px; height: 16px; }
.season-months {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px;
}
.season-months li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 0 10px; border-radius: 6px; position: relative;
}
.season-months li span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase;
}
.season-months li.on span { color: var(--ink); font-weight: 500; }
.season-months li.off span { color: rgba(11,45,82,0.38); }
.season-months li b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }
.season-months li.on b img { width: 28px; height: 28px; transition: transform .2s ease; }
.season-months li.on:hover b img { transform: scale(1.15) rotate(-8deg); }
.season-months li.off b i { width: 6px; height: 6px; border-radius: 50%; background: #D5DCE3; display: block; }
/* consecutive available months read as one band */
.season-months li.on { background: rgba(87,168,14,0.10); }
.season-months li.is-now { outline: 1.5px dashed var(--ink); outline-offset: -1px; }
.season-months li.is-now::after {
  content: attr(data-now); position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 1px 5px; border-radius: 3px; white-space: nowrap;
}
@media (max-width: 560px) {
  .season-cal { padding: 14px 10px 16px; }
  .season-months { gap: 2px; }
  .season-months li { padding: 6px 0 8px; gap: 6px; }
  .season-months li span { font-size: 9.5px; }
  .season-months li b { width: 22px; height: 22px; }
  .season-months li.on b img { width: 20px; height: 20px; }
}

/* ============================================
   STORY — "Del campo a tu andén" (scroll-built scene)
   ============================================ */
.story { border-top: 1px solid var(--line); padding-bottom: 40px; }
.story-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 48px; align-items: start; }
.story-stage-wrap { position: sticky; top: max(108px, calc(50vh - 250px)); }
.story-stage {
  position: relative;
  border: 1px solid var(--line); border-radius: 10px;
  background: linear-gradient(180deg, #F3F8EC 0%, #FFFFFF 70%);
  padding: 76px 18px 10px;
  overflow: hidden;
}
.story-stage svg { width: 100%; height: auto; display: block; }

/* HUD */
.story-hud {
  position: absolute; top: 14px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hud-thermo { width: 10px; height: 46px; border-radius: 6px; background: #E6ECF1; position: relative; overflow: hidden; border: 1px solid #D5DCE3; }
.hud-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: var(--accent); transition: height .8s ease, background .8s ease; }
.hud-read { display: flex; flex-direction: column; line-height: 1.15; }
.hud-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.hud-temp { font-family: var(--display); font-size: 24px; color: var(--ink); }
.hud-temp b { font-weight: 700; }
.hud-status { font-family: var(--mono); font-size: 11px; color: var(--green-deep); }
.hud-step { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; }
.hud-step b { color: var(--ink); font-size: 18px; }
.story-stage.s1:not(.s2) .hud-fill { height: 78%; background: #E0852B; }
.story-stage.s2 .hud-fill { height: 18%; background: var(--lime); }

/* Route + labels */
.route-progress { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s ease; }
.story-stage.s1 .route-progress { stroke-dashoffset: 92.8; }
.story-stage.s2 .route-progress { stroke-dashoffset: 69.7; }
.story-stage.s3 .route-progress { stroke-dashoffset: 42.3; }
.story-stage.s4 .route-progress { stroke-dashoffset: 21.8; }
.story-stage.s5 .route-progress { stroke-dashoffset: 5.8; }
.node { fill: #fff; stroke: #C9D2DC; stroke-width: 3; transition: fill .4s ease, stroke .4s ease; }
.labels text { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; text-anchor: middle; fill: #AAB5C1; transition: fill .4s ease; }
.story-stage.s1 .n1, .story-stage.s2 .n2, .story-stage.s3 .n3, .story-stage.s4 .n4, .story-stage.s5 .n5 { fill: var(--ink); }
.story-stage.s1 circle.n1, .story-stage.s2 circle.n2, .story-stage.s3 circle.n3, .story-stage.s4 circle.n4, .story-stage.s5 circle.n5 { fill: var(--lime); stroke: var(--ink); }

/* Layers: hidden until their step, then they stay (the scene builds up) */
.layer { opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; }
.story-stage.s1 .l1, .story-stage.s2 .l2, .story-stage.s3 .l3, .story-stage.s4 .l4, .story-stage.s5 .l5 { opacity: 1; }

/* 1 · field: furrows grow from the left, sprout pops */
.furrow { transform-box: fill-box; transform-origin: left bottom; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.f2 { transition-delay: .12s; } .f3 { transition-delay: .24s; }
.story-stage.s1 .furrow { transform: scaleX(1); }
.sprout { transform-box: fill-box; transform-origin: 20% 100%; transform: scale(0); transition: transform .7s cubic-bezier(.3,1.6,.5,1) .35s; }
.story-stage.s1 .sprout { transform: scale(1); }
.sun { transform-box: fill-box; transform-origin: center; animation: sunspin 24s linear infinite; }
@keyframes sunspin { to { transform: rotate(360deg); } }

/* 2 · boxes drop onto the pallet */
.box { transform: translateY(-60px); opacity: 0; transition: transform .55s cubic-bezier(.3,1.4,.5,1), opacity .3s ease; }
.b2 { transition-delay: .12s; } .b3 { transition-delay: .24s; } .b4 { transition-delay: .36s; }
.story-stage.s2 .box { transform: translateY(0); opacity: 1; }

/* 3 · truck drives in */
.truck { transform: translateX(-160px); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.story-stage.s3 .truck { transform: translateX(0); }
.speed { opacity: 0; transition: opacity .3s ease .6s; }
.story-stage.s3:not(.s4) .speed { opacity: 1; }

/* 4 · barrier lifts, document gets stamped */
.barrier { transform-box: fill-box; transform-origin: 2% 50%; transition: transform .7s ease .5s; }
.story-stage.s4 .barrier { transform: rotate(-70deg); }
.doc { transform: translateY(-20px); transition: transform .6s ease; }
.story-stage.s4 .doc { transform: translateY(0); }
.doc-stamp { transform-box: fill-box; transform-origin: center; transform: scale(2.2); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1) .45s, opacity .2s ease .45s; }
.story-stage.s4 .doc-stamp { transform: scale(1); opacity: 1; }

/* 5 · final stamp thumps down */
.final-stamp { transform-box: fill-box; transform-origin: center; transform: scale(1.8) rotate(8deg); opacity: 0; transition: transform .45s cubic-bezier(.3,1.5,.5,1) .5s, opacity .25s ease .5s; }
.story-stage.s5 .final-stamp { transform: scale(1) rotate(-8deg); opacity: 1; }
.stamp-big { font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-anchor: middle; fill: var(--ink); }
.stamp-small { font-family: var(--mono); font-size: 8.8px; letter-spacing: .03em; text-anchor: middle; fill: var(--green-deep); }

/* Chapters */
.story-steps { padding: 4vh 0 22vh; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s ease; }
.story-step.is-active { opacity: 1; }
.story-step .step-num { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.story-step h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; margin: 0 0 16px; text-transform: uppercase; letter-spacing: -0.005em; }
.story-step p { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 38ch; }

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage-wrap { top: 76px; z-index: 5; background: var(--paper); padding: 10px 0 8px; }
  .story-stage { padding: 64px 8px 4px; }
  .hud-temp { font-size: 20px; }
  .hud-thermo { height: 38px; }
  .story-steps { padding: 0 0 30vh; }
  .story-step { min-height: 64vh; justify-content: center; }
  .story-step h3 { font-size: 28px; }
  .story-step p { font-size: 16.5px; }
}

/* No-motion: show the finished scene, all chapters readable */
@media (prefers-reduced-motion: reduce) {
  .story-stage .layer, .story-stage .box, .story-stage .final-stamp, .story-stage .doc-stamp { opacity: 1 !important; transform: none !important; }
  .story-stage .furrow, .story-stage .sprout, .story-stage .truck { transform: none !important; }
  .route-progress { stroke-dashoffset: 0 !important; }
  .story-step { opacity: 1; }
}

/* story buildings: signs, belt, fans */
.bldg-sign { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-anchor: middle; fill: var(--ink); }
.bldg-sign.light { fill: #fff; }
.belt { animation: belt 2.4s linear infinite; }
@keyframes belt { 0% { transform: translateX(-6px); opacity: .0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(22px); opacity: 0; } }
.fan { transform-box: fill-box; transform-origin: center; animation: sunspin 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .belt, .fan, .sun { animation: none !important; } }

/* ---------- Finale: the LP logo draws itself; the leaf completes its crossing ---------- */
.final-logo .ring { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s cubic-bezier(.5,0,.3,1) .3s; }
.final-logo .r2 { transition-delay: .45s; }
.story-stage.s5 .final-logo .ring { stroke-dashoffset: 0; }
.final-logo .cross-reveal { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.45,0,.25,1) 1.05s; }
.story-stage.s5 .final-logo .cross-reveal { stroke-dashoffset: 0; }
/* the leaf starts at the bottom-left of the crossing and travels to the top-right */
.final-logo .lf-leaf {
  transform-box: fill-box; transform-origin: 10% 90%;
  transform: translate(-640px, 420px) scale(.35) rotate(-25deg);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.45,0,.25,1) 1.05s, opacity .2s ease 1.05s;
}
.story-stage.s5 .final-logo .lf-leaf { transform: none; opacity: 1; animation: leafpop .5s ease 2.25s 1; }
@keyframes leafpop { 0% { transform: scale(1); } 45% { transform: scale(1.18) rotate(6deg); } 100% { transform: scale(1); } }
.final-logo .lf { transform-box: fill-box; transform-origin: left bottom; transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.8,.2,1) 2.2s; }
.final-logo .f2 { transition-delay: 2.32s; } .final-logo .f3 { transition-delay: 2.44s; }
.story-stage.s5 .final-logo .lf { transform: scaleX(1); }
.final-tagline { font-family: var(--display); font-weight: 700; font-size: 12.5px; text-anchor: middle; fill: var(--ink); opacity: 0; transition: opacity .6s ease 2.7s; }
.story-stage.s5 .final-tagline { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .final-logo .ring, .final-logo .cross-reveal { stroke-dashoffset: 0 !important; }
  .final-logo .lf-leaf, .final-logo .lf { transform: none !important; opacity: 1 !important; animation: none !important; }
  .final-tagline { opacity: 1 !important; }
}

/* ---------- Product sheet (homogenized) ---------- */
.product-accordion .accordion-body-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
.p-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.p-col .season-cal { margin-bottom: 0; }
.p-fun {
  margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.35; color: var(--ink);
  padding-left: 16px; border-left: 3px solid var(--lime);
}
.tech-table th { background: var(--ink); color: #fff; }
.tech-table td:first-child { width: 48%; }
.spec-table td.tbc { color: var(--ink-soft); font-style: italic; }
.p-price { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin: -4px 0 0; }
@media (max-width: 880px) {
  .product-accordion .accordion-body-inner { grid-template-columns: 1fr; }
  .p-fun { font-size: 18px; }
}

/* story: give the scene more room */
.story-grid { grid-template-columns: 1.6fr 0.55fr; gap: 44px; }
.p-col .tech-table { margin-top: 0; }
@media (min-width: 881px) { .accordion-body-inner > .p-col:first-child { position: sticky; top: 96px; align-self: start; } }

/* ---------- Exo 2 tuning (single family replaces slab + mono) ---------- */
h1.headline, .section-head h2, .story-step h3 { font-weight: 800; letter-spacing: -0.01em; }
.eyebrow, nav.main-nav a, .btn, .lang-toggle, .nav-toggle, .step-num, .season-title, .spec-table th { font-weight: 600; }
.spec-table td:last-child { font-family: var(--body); font-weight: 500; }
.p-fun { font-style: italic; font-weight: 500; }

/* ============================================
   CATALOG — cards, filters, drawer, master table
   ============================================ */
.catalog { padding-top: 40px; }
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.now-toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 44px; }
.now-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.now-switch { width: 44px; height: 24px; border-radius: 999px; background: #D5DCE3; position: relative; transition: background .2s ease; flex-shrink: 0; }
.now-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 2px rgba(11,45,82,.25); }
.now-toggle input:checked + .now-switch { background: var(--lime); }
.now-toggle input:checked + .now-switch::after { transform: translateX(20px); }
.now-toggle input:focus-visible + .now-switch { outline: 3px solid var(--accent); outline-offset: 2px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card[hidden] { display: none; }
.pc-open {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pc-open:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(11,45,82,.45); border-color: #C9D2DC; }
.pc-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pc-photo { display: block; aspect-ratio: 4/3; background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.pc-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.pc-open:hover .pc-photo img { transform: scale(1.05); }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pc-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; color: var(--ink); }
.pc-season { font-size: 13px; font-weight: 600; color: var(--green-deep); letter-spacing: .02em; }
.pc-mini { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.pc-mini i { height: 6px; border-radius: 3px; background: #E3E8ED; }
.pc-mini i.on { background: var(--lime); }
.pc-mini i.is-now { outline: 1.5px solid var(--ink); outline-offset: 1px; }
.pc-fun { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-cta { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .02em; }
.grid-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Master season table */
.master-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.master-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.master-table th, .master-table td { border-bottom: 1px solid var(--line); text-align: center; padding: 8px 4px; }
.master-table thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: #F6FAF0; padding: 12px 4px; }
.master-table thead th:first-child, .master-table tbody th { text-align: left; padding-left: 18px; }
.master-table tbody th { width: 250px; }
.master-table tbody tr:last-child > * { border-bottom: none; }
.master-table tbody tr:hover { background: #FAFCF7; }
.master-table td.on { background: rgba(87,168,14,0.08); }
.master-table td img { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.master-table td i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #D5DCE3; vertical-align: middle; }
.master-table .is-now { box-shadow: inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink); }
.master-table thead th.is-now { color: var(--ink); }
.mt-link { all: unset; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.mt-link:hover { color: var(--accent); text-decoration: underline; }
.mt-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11,45,82,.45); z-index: 300; opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: 310;
  background: #fff; box-shadow: -20px 0 40px -20px rgba(11,45,82,.35);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 18px; cursor: pointer;
}
.drawer-close:hover { background: var(--ink); color: #fff; }
.drawer-body { padding: 0 28px 36px; }
.sheet { display: flex; flex-direction: column; gap: 18px; }
.sheet-photo { aspect-ratio: 4/3; margin: 0 -28px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.sheet-photo img { width: 100%; height: 100%; object-fit: contain; }
.sheet-photo .placeholder-note { display: none; font-size: 12px; color: var(--ink-soft); border: 1.5px dashed var(--ink-soft); border-radius: 4px; padding: 7px 11px; }
.sheet-name { font-family: var(--display); font-weight: 800; font-size: 32px; margin: 4px 0 0; line-height: 1.05; }
.sheet .season-cal { margin-bottom: 0; }
.sheet .spec-table { font-size: 15px; }
.sheet .tech-table td:first-child { width: 50%; }
.sheet-cta { align-self: flex-start; }
body.drawer-lock { overflow: hidden; }

@media (max-width: 880px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pc-body { padding: 14px; }
  .pc-name { font-size: 17px; }
  .pc-fun { display: none; }
}
@media (max-width: 560px) {
  .drawer-body { padding: 0 18px 28px; }
  .sheet-photo { margin: 0 -18px; }
  .sheet-name { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-overlay, .pc-open, .pc-photo img { transition: none !important; } }
.sheet[hidden], .grid-empty[hidden] { display: none; }
.pc-photo { background: #fff url("simbolo-mini.png") center / 56px no-repeat; }
.mt-prod { display: inline-flex; align-items: center; gap: 12px; }
.mt-thumb { width: 44px; height: 33px; flex-shrink: 0; border-radius: 6px; border: 1px solid var(--line); background: #fff url("simbolo-mini.png") center / 20px no-repeat; overflow: hidden; display: inline-flex; }
.mt-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.master-table tbody th { width: 290px; padding-top: 6px; padding-bottom: 6px; }
.mt-prod { display: inline-flex; align-items: center; gap: 12px; }
.mt-thumb { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff url("simbolo-mini.png") center / 20px no-repeat; overflow: hidden; flex-shrink: 0; display: inline-block; }
.mt-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.master-table tbody th { width: 290px; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Header: bigger logo, nav pushed right ---------- */
.site-header .wrap { height: 88px; }
.brand img { height: 72px; }
@media (min-width: 881px) {
  nav.main-nav { margin-left: auto; margin-right: 22px; gap: 4px; }
}
@media (max-width: 880px) {
  .site-header .wrap { height: 76px; }
  nav.main-nav { top: 76px; }
  .brand img { height: 52px; }
  .nav-toggle { margin-left: auto; margin-right: 12px; }
}

/* Drawer top bar with prev / next */
.drawer-bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.drawer-bar .drawer-close { position: static; float: none; margin: 0 0 0 auto; }
.drawer-nav {
  font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--ink);
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 0 16px; height: 44px; cursor: pointer;
}
.drawer-nav:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.drawer-nav:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }
.drawer-count { font-size: 13px; font-weight: 600; color: var(--ink-soft); min-width: 44px; text-align: center; }
.drawer-body { padding-top: 0; }
@media (max-width: 560px) {
  .drawer-nav { padding: 0 12px; }
  .drawer-nav span[data-es] { display: none; }
  .drawer-nav { width: 44px; padding: 0; }
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-side h2 { font-family: var(--display); font-weight: 800; font-size: 32px; margin: 0 0 12px; line-height: 1.1; }
.contact-intro { color: var(--ink-soft); font-size: 17px; margin: 0 0 24px; }
.contact-tip-title { font-weight: 700; margin: 0 0 10px; }
.contact-tips { margin: 0 0 28px; padding: 0; list-style: none; }
.contact-tips li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.contact-tips li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.contact-where { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-where img { width: 28px; height: 28px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 14px; color: var(--ink); }
.field legend { margin-bottom: 8px; padding: 0; }
.field b { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #CBD3DB; border-radius: 8px; padding: 11px 13px; min-height: 46px; width: 100%; box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(87,168,14,.25); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #C0392B; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; cursor: pointer; }
.fchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fchip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: all .15s ease; }
.fchip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip input:checked + span::before { content: "✓"; margin-right: 6px; color: var(--lime); font-weight: 700; }
.fchip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-weight: 600; font-size: 15px; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #C0392B; }
.contact-form.is-sent .field, .contact-form.is-sent .form-row, .contact-form.is-sent fieldset { opacity: .5; pointer-events: none; }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}
.hero-photo-overlay .eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(11,45,82,.6); }
.hero-photo-overlay .eyebrow::before { background: var(--lime); }

/* ---------- Products hero: sourcing map ---------- */
.products-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sourcing-map { margin: 0; }
.sourcing-map svg { width: 100%; height: auto; display: block; }
.sourcing-map .st { fill: #E6EBF0; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .2s ease; }
.sourcing-map .st.src { fill: #CFE8B0; }
.sourcing-map .st:hover { fill: #D5DDE5; }
.sourcing-map .st.src:hover { fill: #B8DC8A; }
.sourcing-map .mk { cursor: default; }
.sourcing-map .mk image { animation: mk-blink 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .64s); }
.sourcing-map .mk-ring { fill: none; stroke: var(--lime); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; animation: mk-ring 3.2s ease-out infinite; animation-delay: calc(var(--i) * .64s); }
@keyframes mk-blink { 0%, 100% { opacity: .25; } 20%, 55% { opacity: 1; } }
@keyframes mk-ring { 0% { transform: scale(.6); opacity: .9; } 55% { transform: scale(2.2); opacity: 0; } 100% { opacity: 0; } }
.sourcing-map figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.map-title { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.map-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.map-legend img { width: 16px; height: 16px; }
@media (max-width: 880px) { .products-hero { grid-template-columns: 1fr; gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .sourcing-map .mk image, .sourcing-map .mk-ring { animation: none; opacity: 1; } .sourcing-map .mk-ring { opacity: 0; } }

/* eyebrows inside section heads look the same as hero eyebrows */
.section-head p.eyebrow { font-size: 13px; color: var(--green-deep); margin: 0 0 18px; }
/* "Cómo lo hacemos" heading matches "Quiénes somos" heading */
#story-title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; color: var(--ink); margin-bottom: 14px; }
.sourcing-map .mk-bg { fill: #fff; opacity: .9; }
.story .section-head { max-width: none; }
.story .section-head p:not(.eyebrow) { max-width: 60ch; }

/* ---------- Markets illustrations ---------- */
.mk-illo { width: 100%; max-width: 240px; height: auto; display: block; margin: 0 0 18px; }
.mk-illo .plane { animation: planefly 6s ease-in-out infinite; }
@keyframes planefly { 0%,100% { transform: translate(160px, 2px) scale(.8); } 50% { transform: translate(152px, -2px) scale(.8); } }

/* ---------- Mission / vision icons ---------- */
.mv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mv-head .eyebrow { margin: 0; }
.mv-icon { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------- Certifications ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 20px; }
.cert-badge {
  width: 170px; height: 170px; border-radius: 50%; border: 2px dashed var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: #fff; box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 10px var(--lime);
}
.cert-badge img { max-width: 120px; max-height: 90px; }
.cert-name { font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--ink); }
.cert-sub { font-size: 12.5px; font-weight: 600; color: var(--green-deep); max-width: 120px; line-height: 1.25; }

/* ---------- Contact hero animated logo ---------- */
.contact-hero { align-items: center; }
.contact-logo { display: flex; align-items: center; justify-content: center; }
.logo-anim { width: 150px; height: auto; cursor: pointer; }
.logo-anim .ring { stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-anim .cross-reveal { stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-anim .lf-leaf { transform-box: fill-box; transform-origin: 10% 90%; transform: translate(-640px, 420px) scale(.35) rotate(-25deg); opacity: 0; }
.logo-anim .lf { transform-box: fill-box; transform-origin: left bottom; transform: scaleX(0); }
.logo-anim.play .ring { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.5,0,.3,1) .2s; }
.logo-anim.play .r2 { transition-delay: .35s; }
.logo-anim.play .cross-reveal { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.45,0,.25,1) .95s; }
.logo-anim.play .lf-leaf { transform: none; opacity: 1; transition: transform 1.2s cubic-bezier(.45,0,.25,1) .95s, opacity .2s ease .95s; }
.logo-anim.play .lf { transform: scaleX(1); transition: transform .6s cubic-bezier(.2,.8,.2,1) 2.1s; }
.logo-anim.play .f2 { transition-delay: 2.22s; } .logo-anim.play .f3 { transition-delay: 2.34s; }
@media (prefers-reduced-motion: reduce) {
  .logo-anim .ring, .logo-anim .cross-reveal { stroke-dashoffset: 0; }
  .logo-anim .lf-leaf, .logo-anim .lf { transform: none; opacity: 1; }
}
@media (max-width: 880px) { .logo-anim { width: 110px; } .contact-logo { justify-content: flex-start; } }

/* ---------- Certifications (logos) ---------- */
.certs .section-head { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }
.certs .section-head p { max-width: none; }
.cert-row { justify-content: center; align-items: center; gap: 28px; }
.cert-logo { width: 240px; height: 140px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 22px; box-sizing: border-box; }
.cert-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Story: give the slides more room, text column sits further right ---------- */
@media (min-width: 1100px) {
  .story-grid { grid-template-columns: 1.85fr 0.6fr; gap: 56px; margin-right: min(0px, calc((var(--max) - 100vw) / 2 + 24px)); }
}

/* ---------- Values head ---------- */
.values-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 36px 0 14px; }
.values-head .eyebrow { margin: 0; }
.values-icon { width: 54px; height: 54px; }
.values-icon .orbits { transform-origin: 32px 32px; animation: sunspin 18s linear infinite; }
@media (prefers-reduced-motion: reduce) { .values-icon .orbits { animation: none; } }

/* ---------- Market illustrations in motion ---------- */
.illo-truck .road { animation: roadmove .6s linear infinite; }
@keyframes roadmove { to { stroke-dashoffset: 24; } }
.illo-truck .trk-body { animation: trkbounce .45s ease-in-out infinite alternate; }
@keyframes trkbounce { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
.illo-truck .wheel { animation: sunspin .5s linear infinite; }
.illo-truck .speedlines line { animation: speed .8s linear infinite; }
.illo-truck .speedlines line:nth-child(2) { animation-delay: .2s; } .illo-truck .speedlines line:nth-child(3) { animation-delay: .4s; }
@keyframes speed { 0% { transform: translateX(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-10px); opacity: 0; } }
.illo-ship .ship-body { transform-box: fill-box; transform-origin: 50% 90%; animation: shipbob 3.2s ease-in-out infinite; }
@keyframes shipbob { 0%,100% { transform: translateY(0) rotate(-.8deg); } 50% { transform: translateY(2.5px) rotate(.8deg); } }
.illo-ship .waves { animation: wavemove 2.4s linear infinite; }
@keyframes wavemove { from { transform: translateX(0); } to { transform: translateX(28px); } }
.illo-basket .drop { opacity: 0; animation: dropin 4.2s cubic-bezier(.3,1.4,.5,1) infinite; }
.illo-basket .d2 { animation-delay: .35s; } .illo-basket .d3 { animation-delay: .7s; }
@keyframes dropin {
  0% { transform: translateY(-70px); opacity: 0; }
  8% { opacity: 1; }
  24% { transform: translateY(0); opacity: 1; }
  82% { transform: translateY(0); opacity: 1; }
  92%, 100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .illo-truck *, .illo-ship *, .illo-basket * { animation: none !important; }
  .illo-basket .drop { opacity: 1; }
}

/* hero slides: keep the horizon in frame for portrait photos */
.hero-photo img.hero-slide { object-position: 50% 40%; }

/* CTA heading on one line */
.cta-band .section-head { max-width: none; }

/* certifications heading aligned like the other section titles */
.certs .section-head { text-align: left; margin-left: 0; margin-right: 0; }
@media (min-width: 881px) {
  .hero-photo-overlay { top: 0; display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(90deg, rgba(11,45,82,.78) 0%, rgba(11,45,82,.5) 45%, rgba(11,45,82,0) 75%), linear-gradient(0deg, rgba(11,45,82,.55) 0%, rgba(11,45,82,0) 60%); }
  .hero-photo-overlay .lede { color: rgba(255,255,255,.92); }
}
.illo-truck .wheel { transform-box: fill-box; transform-origin: center; }
@media (max-width: 700px) {
  .story-stage { padding: 62px 0 0; }
  .story-stage svg { aspect-ratio: 560 / 520; }
}
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr !important; gap: 0 !important; margin-right: 0 !important; }
}
