:root {
  --green-950: #073d2b;
  --green-900: #005b38;
  --green-800: #006b3f;
  --green-700: #00804a;
  --green-100: #dbeadf;
  --cream: #f4f0e6;
  --cream-soft: #faf8f1;
  --paper: #fffef9;
  --gold: #ffb400;
  --gold-deep: #f28a00;
  --ink: #183027;
  --muted: #647069;
  --line: rgba(5, 91, 56, 0.16);
  --shadow: 0 24px 70px rgba(7, 61, 43, 0.14);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  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;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--green-950);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 128px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #d9e9dc;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

h2 {
  margin-bottom: 28px;
  color: var(--green-950);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}

h3 {
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  box-shadow: 0 14px 36px rgba(255, 180, 0, 0.24);
  color: var(--green-950);
}

.button-gold:hover {
  background: #ffc229;
  box-shadow: 0 18px 44px rgba(255, 180, 0, 0.32);
}

.button-green {
  margin-top: 28px;
  background: var(--green-800);
  box-shadow: 0 14px 32px rgba(0, 107, 63, 0.18);
  color: white;
}

.button-green:hover {
  background: var(--green-950);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.text-link-light {
  color: white;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  transition: background-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 10px 34px rgba(7, 61, 43, 0.09);
  color: var(--ink);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  z-index: 3;
  display: block;
  width: 162px;
  padding: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
}

.main-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 9px 17px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-950);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/hero-aceite-aguacate.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 44, 31, 0.96) 0%, rgba(4, 57, 39, 0.84) 35%, rgba(4, 57, 39, 0.24) 66%, rgba(4, 57, 39, 0.04) 100%),
    linear-gradient(0deg, rgba(3, 44, 31, 0.36) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 138px 0 170px;
}

.hero-lead {
  max-width: 655px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1.17rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  position: absolute;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: 0;
  left: max(24px, calc((100% - var(--container)) / 2));
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 254, 249, 0.97);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: var(--green-800);
  font-size: 1.15rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 10%, rgba(255, 180, 0, 0.12), transparent 22rem),
    var(--cream-soft);
}

.split-intro {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 86px;
  align-items: start;
}

.section-copy {
  max-width: 680px;
}

.section-copy > p:not(.lead),
.media-content > p:not(.lead),
.product-content > p:not(.lead) {
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 76px;
}

.value-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 254, 249, 0.72);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.value-card:hover {
  transform: translateY(-7px);
  background: var(--paper);
  box-shadow: 0 22px 46px rgba(7, 61, 43, 0.1);
}

.value-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(0, 128, 74, 0.32), transparent 26rem),
    var(--green-950);
  color: rgba(255, 255, 255, 0.78);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 80px;
  align-items: center;
}

.media-grid-dark h2,
.media-grid-dark h3,
.media-grid-dark .lead {
  color: white;
}

.media-card {
  position: relative;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: -18px 22px 18px -18px;
  border: 1px solid rgba(255, 180, 0, 0.48);
  border-radius: var(--radius);
}

.media-card img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.26);
  object-fit: cover;
}

.media-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(4, 57, 39, 0.9);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.media-caption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 180, 0, 0.16);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 180, 0, 0.55);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.technical-copy {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technical-copy summary {
  position: relative;
  padding: 18px 48px 18px 0;
  color: var(--green-800);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.technical-copy summary::-webkit-details-marker {
  display: none;
}

.technical-copy summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.technical-copy[open] summary::after {
  content: "−";
}

.technical-copy > div {
  padding: 0 0 20px;
  color: var(--muted);
}

.technical-copy > div p:last-child {
  margin-bottom: 0;
}

.technical-copy-dark {
  border-color: rgba(255, 255, 255, 0.17);
}

.technical-copy-dark summary {
  color: var(--gold);
}

.technical-copy-dark > div {
  color: rgba(255, 255, 255, 0.73);
}

.process-schematic {
  margin-top: 76px;
  padding: 38px 42px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.76);
}

.process-schematic-dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.74);
}

.diagram-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px 40px;
  align-items: end;
}

.diagram-heading .diagram-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--green-700);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagram-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.diagram-heading > p:last-child {
  margin-bottom: 3px;
  color: var(--muted);
}

.process-schematic-dark .diagram-heading .diagram-kicker {
  color: var(--gold);
}

.process-schematic-dark .diagram-heading h3 {
  color: white;
}

.process-schematic-dark .diagram-heading > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.production-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 0;
  margin: 46px 0 0;
  list-style: none;
}

.process-node {
  position: relative;
  min-width: 0;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  text-align: center;
}

.process-number {
  align-self: flex-start;
  margin-left: 3px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 88px;
  right: -15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 180, 0, 0.42);
  border-radius: 50%;
  background: var(--green-950);
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.process-icon {
  height: 116px;
  margin: 0 0 5px;
  color: #dcebe0;
}

.process-icon svg,
.circular-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-icon svg * {
  vector-effect: non-scaling-stroke;
}

.process-icon-oil {
  color: var(--gold);
}

.process-icon .steel-fill {
  fill: #aebdb8;
}

.process-icon .steel-light {
  fill: #e5ece9;
}

.process-icon .steel-dark {
  fill: #657970;
}

.process-icon .machine-green {
  fill: #00945a;
}

.process-icon .machine-gold,
.process-icon .avocado-pit {
  fill: var(--gold);
}

.process-icon .avocado-skin {
  fill: #075e39;
}

.process-icon .avocado-flesh,
.process-icon .leaf-fill {
  fill: #8bcf67;
}

.process-icon .glass-fill {
  fill: rgba(229, 236, 233, 0.3);
}

.process-icon .oil-fill,
.process-icon .oil-drop {
  fill: rgba(255, 180, 0, 0.78);
}

.industrial-process-panel {
  margin-top: 76px;
  padding: 38px 42px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.92);
  box-shadow: 0 30px 80px rgba(7, 61, 43, 0.08);
}

.industrial-process-dark {
  padding: 30px 32px 24px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
}

.industrial-process-dark .diagram-heading .diagram-kicker {
  color: var(--gold);
}

.industrial-process-dark .diagram-heading h3 {
  color: white;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
}

.industrial-process-dark .diagram-heading > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.industrial-process-dark .industrial-process-track {
  margin-top: 28px;
}

.industrial-process-track {
  overflow: hidden;
  margin-top: 34px;
  border-radius: 18px 18px 12px 12px;
}

.industrial-process-inner {
  width: 100%;
}

.industrial-process-visual {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(7, 61, 43, 0.12);
  border-radius: 18px 18px 8px 8px;
  background: #eef1f2;
}

.industrial-process-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.industrial-process-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.industrial-process-track .industrial-process-visual {
  margin-top: 0;
}

.industrial-stage-list {
  display: grid;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(7, 61, 43, 0.12);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #f8faf9;
  color: var(--green-950);
  list-style: none;
}

.industrial-stage-list-six {
  grid-template-columns: 16.55fr 17.2fr 19fr 19.25fr 16.85fr 11.15fr;
}

.industrial-stage-list li {
  position: relative;
  min-width: 0;
  padding: 17px 12px 16px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.industrial-stage-list li:not(:last-child) {
  border-right: 1px solid rgba(7, 61, 43, 0.12);
}

.industrial-stage-list li::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 1px;
  height: 13px;
  background: rgba(7, 61, 43, 0.32);
}

.industrial-stage-list li > span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-deep);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.industrial-stage-list-six strong,
.industrial-stage-list-six small {
  display: block;
}

.industrial-stage-list-six strong {
  color: var(--green-950);
  font-size: 0.82rem;
  line-height: 1.2;
}

.industrial-stage-list-six small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
}

.industrial-process-panel > figcaption {
  margin: 16px 4px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.industrial-process-dark > figcaption {
  color: rgba(255, 255, 255, 0.58);
}

.product-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(219, 234, 223, 0.7) 0 39%, transparent 39%),
    var(--paper);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 110px;
  align-items: center;
}

.product-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  padding: 20px;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0 38px 34px 0;
  border: 1px solid rgba(0, 107, 63, 0.24);
  border-radius: var(--radius);
}

.product-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 620px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.product-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 44px;
  bottom: 46px;
  left: 44px;
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(7, 61, 43, 0.88);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.product-visual figcaption span {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-content {
  max-width: 660px;
}

.product-facts {
  display: grid;
  gap: 0;
  margin: 34px 0 16px;
  border-top: 1px solid var(--line);
}

.product-facts > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts span {
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 900;
}

.product-facts p {
  margin: 0;
  color: var(--muted);
}

.product-facts strong {
  display: block;
  color: var(--ink);
}

.circular-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 2% 100%, rgba(255, 180, 0, 0.13), transparent 28rem),
    var(--cream);
}

.circular-heading {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.circular-heading h2,
.circular-heading .lead {
  margin-bottom: 0;
}

.circular-media {
  position: relative;
}

.circular-media img {
  width: 100%;
  aspect-ratio: 16 / 6.2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center 62%;
}

.zero-badge {
  position: absolute;
  right: 32px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--cream);
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: 0 18px 42px rgba(7, 61, 43, 0.18);
  color: white;
}

.zero-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.9rem;
  font-weight: 500;
  line-height: 0.8;
}

.zero-badge span {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.circular-industrial-panel {
  margin-top: 84px;
}

.circular-industrial-panel .diagram-heading {
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
}

.circular-process-visual img {
  aspect-ratio: 3 / 1;
}

.circular-flow-visual {
  isolation: isolate;
}

.circular-flow-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.flow-line-green {
  stroke: var(--green-700);
}

#arrow-green path {
  fill: var(--green-700);
}

.flow-callout {
  position: absolute;
  z-index: 2;
  min-width: 118px;
  padding: 8px 11px 9px;
  border: 1px solid rgba(7, 61, 43, 0.2);
  border-left: 3px solid var(--green-700);
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 0 8px 22px rgba(7, 61, 43, 0.11);
  color: var(--green-950);
  line-height: 1.12;
  transform: translate(-50%, -50%);
}

.flow-callout span,
.flow-callout strong {
  display: block;
}

.flow-callout span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-callout strong {
  font-size: 0.72rem;
  letter-spacing: -0.01em;
}

.flow-callout-water {
  border-left-color: #2b84a6;
}

.flow-callout-bagasse {
  border-left-color: #87633b;
}

.flow-callout-gas,
.flow-callout-digestate {
  border-left-color: var(--green-700);
}

.callout-tricanter {
  top: 72%;
  left: 16%;
}

.callout-water {
  top: 43%;
  left: 35%;
}

.callout-bagasse {
  top: 61%;
  left: 35%;
}

.callout-digester {
  top: 58%;
  left: 70%;
}

.callout-biogas {
  top: 8%;
  left: 62%;
}

.callout-digestate {
  top: 72%;
  left: 92%;
  min-width: 0;
  padding: 7px 10px;
}

.circular-flow-summary {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1.05fr;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(7, 61, 43, 0.12);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #f8faf9;
  color: var(--green-950);
  list-style: none;
}

.circular-flow-summary li {
  min-width: 0;
  padding: 15px 12px;
  text-align: center;
}

.circular-flow-summary li:not(:last-child) {
  border-right: 1px solid rgba(7, 61, 43, 0.12);
}

.circular-flow-summary span,
.circular-flow-summary strong,
.circular-flow-summary small {
  display: block;
}

.circular-flow-summary span {
  margin-bottom: 3px;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.circular-flow-summary strong {
  font-size: 0.8rem;
  line-height: 1.2;
}

.circular-flow-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
}

.circular-stage-list {
  grid-template-columns: 35.5fr 29fr 35.5fr;
}

.circular-stage-list li {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
}

.circular-stage-list strong,
.circular-stage-list small {
  display: block;
}

.circular-stage-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.circular-stage-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.circular-stage-list .stage-digester {
  background: rgba(255, 180, 0, 0.08);
}

.circular-stage-list em {
  display: block;
  margin-top: 5px;
  color: var(--green-700);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.circular-details {
  max-width: 880px;
  margin: 46px auto 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 128, 74, 0.42), transparent 25rem),
    var(--green-950);
  color: rgba(255, 255, 255, 0.78);
}

.contact-section::before {
  content: "ECA";
  position: absolute;
  right: -30px;
  bottom: -150px;
  color: rgba(255, 255, 255, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28rem;
  font-weight: 700;
  line-height: 1;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 110px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 680px;
  color: white;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 1.2rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.email-link span {
  font-family: Inter, Avenir, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.email-link:hover span {
  transform: translate(3px, -3px);
}

.address-card {
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.address-label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.address-card strong {
  color: white;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 34px;
  align-items: center;
}

.footer-brand {
  display: block;
}

.footer-brand img {
  width: 120px;
  height: auto;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --header-height: 74px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .nav-contact {
    padding: 8px 12px;
  }

  .split-intro,
  .media-grid,
  .product-layout,
  .circular-heading,
  .contact-layout {
    gap: 54px;
  }

  .product-layout {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }

  .process-schematic {
    padding-right: 30px;
    padding-left: 30px;
  }

  .production-flow {
    gap: 16px;
  }

  .process-node:not(:last-child)::after {
    right: -13px;
  }
}

@media (max-width: 860px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 94px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 100px max(32px, 9vw) 50px;
    background: var(--cream-soft);
    color: var(--green-950);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    font-weight: 500;
  }

  .main-nav .nav-contact {
    margin-top: 12px;
    padding: 8px 20px;
    border-color: var(--green-800);
    color: var(--green-800);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 820px;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 44, 31, 0.86), rgba(3, 44, 31, 0.2)),
      linear-gradient(0deg, rgba(3, 44, 31, 0.93) 0%, rgba(3, 44, 31, 0.64) 55%, rgba(3, 44, 31, 0.16) 100%);
  }

  .hero-content {
    padding: 138px 0 210px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div {
    padding: 18px;
  }

  .hero-proof strong {
    font-size: 0.98rem;
  }

  .hero-proof span {
    font-size: 0.78rem;
  }

  .split-intro,
  .media-grid,
  .product-layout,
  .circular-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .value-number {
    margin-bottom: 30px;
  }

  .media-card {
    max-width: 660px;
  }

  .media-card img {
    aspect-ratio: 4 / 3;
  }

  .product-section {
    background:
      linear-gradient(180deg, rgba(219, 234, 223, 0.7) 0 36rem, transparent 36rem),
      var(--paper);
  }

  .product-layout {
    gap: 74px;
  }

  .product-visual {
    min-height: 480px;
  }

  .product-visual img {
    height: 560px;
  }

  .circular-heading {
    align-items: start;
  }

  .circular-media img {
    aspect-ratio: 16 / 9;
  }

  .contact-section::before {
    font-size: 18rem;
  }

  .footer-grid {
    grid-template-columns: 120px 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .process-schematic {
    margin-top: 60px;
    padding: 28px;
  }

  .diagram-heading {
    grid-template-columns: 1fr;
  }

  .diagram-heading .diagram-kicker {
    grid-column: 1;
  }

  .production-flow {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 34px;
  }

  .process-node {
    display: grid;
    grid-template-columns: 36px 104px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 0;
    padding: 12px 16px;
    text-align: left;
  }

  .process-number {
    align-self: center;
    margin: 0;
  }

  .process-icon {
    height: 82px;
    margin: 0;
  }

  .process-node > span:last-child {
    text-align: left;
  }

  .process-node:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -25px;
  }

  .circular-branch {
    grid-template-columns: 1fr;
    grid-template-areas:
      "source"
      "source-link"
      "digester"
      "gas-link"
      "gas"
      "digestate-link"
      "digestate";
    grid-template-rows: repeat(7, auto);
    gap: 14px;
  }

  .flow-connector {
    min-height: 24px;
  }

  .source-connector span,
  .digestate-connector span {
    transform: rotate(90deg);
  }

  .gas-connector span {
    transform: rotate(180deg);
  }

  .circular-gas {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .brand {
    width: 138px;
  }

  .brand img {
    height: auto;
  }

  .hero {
    min-height: 860px;
  }

  .hero-media {
    background-position: 73% center;
  }

  .hero-content {
    padding: 126px 0 260px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-proof {
    right: 14px;
    left: 14px;
    grid-template-columns: 1fr;
    border-radius: 18px 18px 0 0;
  }

  .hero-proof div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .hero-proof span {
    text-align: right;
  }

  .split-intro,
  .media-grid,
  .product-layout,
  .circular-heading,
  .contact-layout {
    gap: 40px;
  }

  .media-card::before {
    inset: -10px 12px 10px -10px;
  }

  .media-card img {
    aspect-ratio: 1 / 1;
  }

  .product-visual {
    min-height: 420px;
    padding: 10px;
  }

  .product-visual::before {
    inset: 0 22px 20px 0;
  }

  .product-visual img {
    height: 440px;
  }

  .product-visual figcaption {
    right: 28px;
    bottom: 28px;
    left: 28px;
    font-size: 1.25rem;
  }

  .circular-media img {
    aspect-ratio: 16 / 10;
  }

  .zero-badge {
    right: 16px;
    bottom: -36px;
    width: 120px;
    height: 120px;
    border-width: 6px;
  }

  .zero-badge strong {
    font-size: 3.1rem;
  }

  .contact-section {
    padding: 82px 0;
  }

  .address-card {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .industrial-process-panel {
    margin-top: 62px;
    padding: 30px;
  }

  .circular-industrial-panel .diagram-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .industrial-process-panel {
    padding: 24px;
  }

  .industrial-process-visual {
    margin-top: 28px;
  }

  .circular-stage-list {
    grid-template-columns: 35.5fr 29fr 35.5fr;
  }

  .industrial-process-track {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: var(--gold) rgba(255, 255, 255, 0.16);
    scrollbar-width: thin;
  }

  .industrial-process-inner {
    min-width: 820px;
  }

  .circular-process-inner {
    min-width: 960px;
  }

  .industrial-stage-list li {
    min-height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .circular-stage-list li {
    min-height: 84px;
  }

  .flow-callout {
    min-width: 110px;
  }
}

@media (max-width: 560px) {
  .industrial-process-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .industrial-stage-list li {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
