/* ============================================
   SPAIN ENZYMES — Design System
   ============================================ */

:root {
  /* Brand colors (official Spain Enzymes palette) */
  --green-primary: #2E5537;    /* textos y elementos clave */
  --green-accent:  #2CBE2D;    /* detalles, highlights */
  --bg-light:      #e6f5e9;    /* fondos */
  --bg-white:      #FFFFFF;

  /* Derived greens for depth */
  --green-deep:   #234A2A;     /* darker variant for gradients/depth */
  --green-mid:    #6FA07C;     /* soft mid for secondary accents */
  --green-soft:   #E5EEE3;     /* light tint for subtle bg */

  /* Dark sections use the brand green */
  --bg-dark:    #2E5537;
  --bg-darker:  #234A2A;

  /* Text */
  --text-dark:        #2E5537;
  --text-muted:       #5E7062;
  --text-light:       #F7F7F7;
  --text-light-muted: #C5D1C8;

  --border-light: rgba(46, 85, 55, 0.10);
  --border-dark:  rgba(247, 247, 247, 0.14);

  /* Type scale */
  --fs-display: clamp(3.5rem, 8vw, 8rem);
  --fs-h1: clamp(2.5rem, 5vw, 5rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 2.5vw, 2rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 6vw, 5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 800ms;
}

/* ============================================
   Reset + base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--green-accent); color: var(--text-dark); }

/* Lenis required */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================
   Typography helpers
   ============================================ */
/* Primary (Poppins) used by default for headings & body */
.font-display {
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 600;
}
/* Secondary (Fraunces italic) for editorial accents */
.font-serif {
  font-family: 'Fraunces', 'Georgia', serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  font-weight: 300;
}
.font-display-italic {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* Theme blocks */
.theme-light { background: var(--bg-light); color: var(--text-dark); }
.theme-white { background: var(--bg-white); color: var(--text-dark); }
.theme-dark  { background: var(--bg-dark);  color: var(--text-light); }
.theme-darker { background: var(--bg-darker); color: var(--text-light); }
.theme-green { background: var(--green-deep); color: var(--text-light); }

/* ============================================
   Header / nav
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              backdrop-filter var(--dur-fast) var(--ease-out);
  color: var(--text-dark);
}
.site-header .brand { justify-self: start; }
.site-header .nav { justify-self: center; }
.site-header .header-right { justify-self: end; display: flex; align-items: center; gap: 1.75rem; }
.site-header .menu-toggle { justify-self: end; }
.site-header.is-scrolled {
  background: rgba(245, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.site-header.theme-dark-header {
  color: var(--text-light);
}
.site-header.theme-dark-header.is-scrolled {
  background: rgba(10, 31, 20, 0.7);
  border-bottom: 1px solid var(--border-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  user-select: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.brand:hover .brand-logo { opacity: 0.78; }
/* Logo inverted to white on dark sections */
.site-header.theme-dark-header .brand-logo,
.site-footer .brand-logo {
  filter: brightness(0) invert(1);
}

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-list { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: opacity var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover { opacity: 0.65; }
.nav-link svg { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease-out); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  min-width: 240px;
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(10, 31, 20, 0.18), 0 4px 12px -4px rgba(10, 31, 20, 0.08);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--dur-fast) var(--ease-out);
  border: 1px solid var(--border-light);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.dropdown a:hover {
  background: var(--green-soft);
  color: var(--green-primary);
}
.dropdown a small { display: block; color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.125rem; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--text-dark);
  color: var(--bg-light);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.cta-btn:hover { transform: translateY(-2px); background: var(--green-primary); }
.cta-btn.cta-light { background: var(--green-accent); color: var(--text-dark); }
.cta-btn.cta-light:hover { background: var(--bg-light); }
.cta-btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.cta-btn:hover .arrow { transform: translateX(3px); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header .nav,
  .site-header .header-right { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
}

/* Soft-launch (only the hero + simplified header is live) */
body.is-launch-stub .site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.is-launch-stub .menu-toggle { display: none !important; }
@media (max-width: 900px) {
  body.is-launch-stub .site-header .header-right { display: flex !important; }
  /* On very small screens trim the CTA arrow + tighten the right cluster */
  body.is-launch-stub .site-header .header-right { gap: 0.75rem; }
}
@media (max-width: 480px) {
  body.is-launch-stub .site-header .cta-btn .arrow { display: none; }
  body.is-launch-stub .site-header .cta-btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
}

/* ============================================
   Mobile menu
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 6rem var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}
.mobile-menu a small { display: block; font-family: 'Inter', sans-serif; font-size: 0.875rem; color: var(--text-light-muted); margin-top: 0.25rem; }

/* ============================================
   Language switch (ES / EN)
   ============================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang-opt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.36rem 0.62rem;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.lang-opt:not(.is-active) { opacity: 0.55; }
.lang-opt:not(.is-active):hover { opacity: 1; }
.lang-opt.is-active {
  background: var(--green-accent);
  color: var(--text-dark);
  cursor: default;
}
.mobile-menu .lang-switch {
  margin-top: 2.5rem;
  align-self: flex-start;
}
.mobile-menu .lang-opt {
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
}
@media (max-width: 900px) {
  .nav .lang-switch { display: none; }
}

/* ============================================
   Outlined typography utility
   ============================================ */
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-dark);
  text-stroke: 1px var(--text-dark);
}
.text-outline-thick { -webkit-text-stroke-width: 1.5px; text-stroke-width: 1.5px; }
.text-outline-light { -webkit-text-stroke-color: var(--text-light); text-stroke-color: var(--text-light); }
.text-outline-green { -webkit-text-stroke-color: var(--green-primary); text-stroke-color: var(--green-primary); }

/* ============================================
   Hero (editorial v2)
   ============================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 7.5rem var(--gutter) 3rem;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
}
.hero-bg-blob.b1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--green-accent) 0%, transparent 70%);
  top: -20vw; right: -10vw;
}
.hero-bg-blob.b2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--green-mid) 0%, transparent 70%);
  bottom: -20vw; left: -10vw;
  opacity: 0.22;
}

/* Top row: eyebrow + meta */
.hero-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-coords { font-variant-numeric: tabular-nums; }
.hero-coords::before { content: "[ "; opacity: 0.5; }
.hero-coords::after { content: " ]"; opacity: 0.5; }

/* Center stage: only mega title now (visual is full-bleed) */
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  align-self: center;
  z-index: 3;
}

/* Full-bleed visual layer: wireframe img stacked on photo img */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity, transform, filter;
  transform-origin: center;
}
.hero-photo {
  opacity: 1;
}
.hero-wireframe {
  opacity: 0;
  transform: scale(1.04);
}

/* Caption beneath visual on first load */
.hero-visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: -2.5rem;
  text-align: center;
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}
@media (max-width: 980px) { .hero-visual-caption { display: none; } }

/* ============================================
   Mega outlined title (the showpiece)
   ============================================ */
.hero-title-stack {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

.hero-mega {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(4.5rem, 22vw, 24rem);
  line-height: 0.85;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: inline-block;
}
.hero-mega-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--green-primary);
  text-stroke: 2px var(--green-primary);
  position: relative;
  z-index: 2;
  transition: -webkit-text-stroke-color 0.3s var(--ease-out);
}
.hero-mega-fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  /* Cream fill so letters read clearly against the photo backdrop */
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--bg-light);
  pointer-events: none;
  will-change: opacity;
  /* Subtle glow halo so cream letters pop against any background tone */
  filter: drop-shadow(0 2px 24px rgba(46, 85, 55, 0.35));
}

.hero-sub-italic {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.75rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--green-primary);
  /* Anchored low in the hero — sits below the logo, near the bottom area */
  position: absolute;
  left: 50%;
  bottom: clamp(7rem, 18vh, 13rem);
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  z-index: 5;
}
@media (max-width: 900px) {
  .hero-sub-italic { bottom: clamp(6rem, 16vh, 11rem); }
}

/* Bottom row: lead + CTAs anchored to the LEFT (away from the central enzyme imagery) */
.hero-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 440px;
  width: 100%;
  margin: 0;
}
.hero-bottom .lead {
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
  /* Soft cream backdrop so the text stays readable over both wireframe and photo states */
  background: rgba(247, 247, 247, 0.62);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(247, 247, 247, 0.45);
  box-shadow: 0 8px 32px -12px rgba(46, 85, 55, 0.12);
}
.hero-bottom .hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-bottom { max-width: 100%; }
  .hero-mega { font-size: clamp(3rem, 19vw, 8rem); }
  .hero-sub-italic { font-size: clamp(1.5rem, 6vw, 3rem); }
}

/* ============================================
   Minimal hero (homepage v3): hero-photo + statement at bottom
   ============================================ */
.hero.is-minimal {
  display: block;
  padding: 0;
  min-height: 100svh;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  gap: 0;
}
/* The hero-photo inside .hero.is-minimal fills the section (no wireframe, no animation) */
.hero.is-minimal .hero-photo {
  opacity: 1;
}

/* Centered italic statement anchored low — same vibe as "applied to leather" */
.hero-statement-bottom {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--green-primary);
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 8vh, 5.5rem);
  transform: translateX(-50%);
  margin: 0;
  padding: 0 var(--gutter);
  text-align: center;
  max-width: min(92vw, 46ch);
  z-index: 5;
}
.hero-statement-bottom em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}
@media (max-width: 768px) {
  .hero.is-minimal { min-height: 80svh; }
  .hero-statement-bottom { font-size: clamp(1.25rem, 5vw, 2rem); bottom: clamp(2rem, 6vh, 4rem); }
}

/* ============================================
   Mega outlined accents (reused across page)
   ============================================ */
.mega-watermark {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(5rem, 18vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-primary);
  text-stroke: 1.5px var(--green-primary);
  margin: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.mega-watermark.is-italic {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.mega-watermark.is-light {
  -webkit-text-stroke-color: rgba(232, 240, 229, 0.55);
  text-stroke-color: rgba(232, 240, 229, 0.55);
}

/* Mega outlined fact numbers */
.fact-num-mega {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
  display: block;
  margin: 0;
}

.hero-title .word { display: inline-block; overflow: hidden; padding-bottom: 0.05em; }
.hero-title .word > span { display: inline-block; }
.js .hero-title .word > span { transform: translateY(110%); }
.js .hero-eyebrow { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .word > span { transform: none; }
  .js .hero-eyebrow { opacity: 1; transform: none; }
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: end;
}
.hero-meta .lead { max-width: 50ch; }
.hero-actions { display: flex; gap: 1rem; align-items: center; }

@media (max-width: 768px) {
  .hero-meta { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   Marquee (mega editorial)
   ============================================ */
.marquee {
  border-block: 1px solid var(--border-light);
  padding: 2.5rem 0;
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  will-change: transform;
  align-items: center;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-primary);
  text-stroke: 1.5px var(--green-primary);
}
.marquee-item.is-italic-fill {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--text-dark);
  -webkit-text-stroke: 0;
  text-transform: lowercase;
  letter-spacing: -0.015em;
}
.marquee-item .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-accent);
  flex-shrink: 0;
}

/* ============================================
   Intro: What is an enzyme
   ============================================ */
.intro-enzyme {
  padding: var(--section-y) 0;
  position: relative;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 3rem; } }

.intro-sticky { position: sticky; top: 8rem; }
.intro-h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.intro-h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}

.fact-list { display: grid; gap: 2rem; counter-reset: fact; }
.fact {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 2rem;
  align-items: start;
}
.fact:last-child { border-bottom: 1px solid var(--border-light); }
.fact-num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.85;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
  display: block;
}
.fact-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.fact-text { color: var(--text-muted); max-width: 52ch; font-size: 1.0625rem; }

/* ============================================
   Big quote / contrast section (DARK)
   ============================================ */
.contrast-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.contrast-section::before {
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 224, 99, 0.18) 0%, transparent 60%);
  top: -20vw; right: -20vw;
  filter: blur(80px);
}
.big-statement {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 18ch;
}
.big-statement em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-accent);
  text-stroke: 1px var(--green-accent);
}
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
}
@media (max-width: 900px) { .contrast-grid { grid-template-columns: 1fr; } }
.contrast-stat {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}
.contrast-stat-num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-accent);
  text-stroke: 1px var(--green-accent);
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.contrast-stat-label { color: var(--text-light-muted); font-size: 1rem; max-width: 38ch; }

/* ============================================
   Industry Shift section (sulphur → enzymes)
   ============================================ */
.shift-section {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.shift-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
@media (max-width: 900px) { .shift-header { grid-template-columns: 1fr; gap: 1.5rem; } }
.shift-header h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-top: 1rem;
}
.shift-header h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}

.shift-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 768px) { .shift-compare { grid-template-columns: 1fr; gap: 1rem; } }
.shift-col {
  padding: 3rem 2.5rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.shift-col.is-old {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}
.shift-col.is-new {
  background: var(--green-primary);
  color: var(--text-light);
}
.shift-col-tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.shift-col-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.shift-col.is-new .shift-col-tag { color: var(--green-accent); }

.shift-col-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.shift-col.is-old .shift-col-title {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-muted);
  text-stroke: 1.5px var(--text-muted);
}
.shift-col.is-new .shift-col-title {
  color: var(--text-light);
}

.shift-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.shift-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 0;
  border-top: 1px solid currentColor;
  border-color: var(--border-light);
}
.shift-col.is-new .shift-list li { border-color: var(--border-dark); }
.shift-list li:first-child { border-top: 0; padding-top: 0; }

.shift-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.shift-col.is-old .shift-icon {
  background: rgba(46, 85, 55, 0.08);
  color: var(--text-muted);
}
.shift-col.is-new .shift-icon {
  background: var(--green-accent);
  color: var(--green-primary);
}

.shift-closing {
  margin-top: 4rem;
  text-align: center;
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--green-primary);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Bio Soluciones grid (cards entering from sides)
   ============================================ */
.solutions {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.solutions-watermark {
  position: absolute;
  top: 4rem;
  left: -2vw;
  right: -2vw;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.solutions-watermark .mega-watermark {
  font-size: clamp(6rem, 22vw, 24rem);
  -webkit-text-stroke-color: rgba(10, 31, 20, 0.08);
  text-stroke-color: rgba(10, 31, 20, 0.08);
}
.solutions > .container { position: relative; z-index: 1; }
.solutions-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
@media (max-width: 768px) { .solutions-header { grid-template-columns: 1fr; gap: 1.5rem; } }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.solution-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(10, 31, 20, 0.15);
}
.solution-card.feat-large { grid-column: span 7; min-height: 520px; }
.solution-card.feat-tall  { grid-column: span 5; min-height: 520px; background: var(--green-deep); color: var(--text-light); border-color: transparent; }
.solution-card.feat-wide  { grid-column: span 12; min-height: 360px; }
.solution-card.feat-half  { grid-column: span 6; }
.solution-card.feat-third { grid-column: span 4; }

@media (max-width: 900px) {
  .solution-card.feat-large,
  .solution-card.feat-tall,
  .solution-card.feat-wide,
  .solution-card.feat-half,
  .solution-card.feat-third { grid-column: span 12; min-height: 380px; }
}

.solution-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  transition: transform 1.2s var(--ease-out), opacity var(--dur-med) var(--ease-out);
}
.solution-card:hover .solution-media { transform: scale(1.05); opacity: 1; }
.solution-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 31, 20, 0.85) 100%);
}

.solution-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  margin-top: auto;
  color: var(--text-light);
}
.solution-card.feat-tall .solution-content { color: var(--text-light); }
.solution-tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}
.solution-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.solution-desc { font-size: 0.9375rem; opacity: 0.85; max-width: 40ch; }

/* No-image card variant (tall) */
.solution-card.feat-tall { padding: 2.5rem; justify-content: space-between; }
.solution-card.feat-tall .solution-content { padding: 0; margin-top: auto; }
.solution-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green-accent);
  display: grid;
  place-items: center;
  color: var(--green-deep);
}

/* ============================================
   "LOS SEIS PROCESOS" mega divider (in solutions section)
   ============================================ */
.processes-divider {
  margin: 4rem 0 2.5rem;
  text-align: center;
  position: relative;
}
.processes-divider .eyebrow {
  margin-bottom: 1.5rem;
  justify-content: center;
}
.processes-divider .eyebrow::before { display: none; }
.processes-divider h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3.5rem, 13vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-primary);
  margin: 0;
}
.processes-divider h3 em {
  font-style: normal;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: -0.055em;
}
.processes-divider p {
  max-width: 50ch;
  margin: 2rem auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.processes-divider-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-primary);
  font-weight: 500;
}
.processes-divider-hint svg {
  width: 14px;
  height: 14px;
  animation: hint-bob 2s ease-in-out infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Process cards as buttons */
.solution-card.is-clickable {
  cursor: pointer;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  background: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
}
.solution-card.is-clickable::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 24px;
  transition: border-color 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 3;
}
.solution-card.is-clickable:hover::after,
.solution-card.is-clickable:focus-visible::after {
  border-color: var(--green-accent);
}
.solution-card-open-hint {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(247, 247, 247, 0.18);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: var(--text-light);
  z-index: 4;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.solution-card.is-clickable:hover .solution-card-open-hint {
  background: var(--green-accent);
  color: var(--green-primary);
  transform: scale(1.08);
}

/* ============================================
   Side panel (lateral view for each process)
   ============================================ */
.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(46, 85, 55, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.panel-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(720px, 92vw);
  background: var(--bg-light);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -40px 0 80px -20px rgba(46, 85, 55, 0.25);
}
.side-panel.is-open {
  transform: translateX(0);
}
.side-panel:focus { outline: none; }

.side-panel-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--green-primary);
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 4px 12px -4px rgba(46, 85, 55, 0.2);
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
  border: 1px solid var(--border-light);
}
.side-panel-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--green-accent);
}
.side-panel-close svg { width: 16px; height: 16px; }

.panel-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 85, 55, 0.1) 0%, rgba(46, 85, 55, 0.55) 100%);
}
.panel-step-mega {
  position: absolute;
  bottom: -0.15em;
  left: 2.5rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(8rem, 22vw, 16rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-accent);
  text-stroke: 1.5px var(--green-accent);
  z-index: 2;
  pointer-events: none;
}

.panel-body {
  padding: 3rem 3rem 4rem;
  flex: 1;
}
@media (max-width: 600px) {
  .panel-body { padding: 2rem 1.5rem 3rem; }
  .panel-step-mega { left: 1.5rem; font-size: clamp(6rem, 28vw, 10rem); }
  .side-panel-close { top: 1rem; right: 1rem; }
}

.panel-eyebrow {
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 1rem;
  display: inline-block;
}
.panel-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--green-primary);
}
.panel-title em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--green-primary);
  letter-spacing: -0.015em;
}
.panel-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
}
.panel-description p + p { margin-top: 1rem; }
.panel-description strong { color: var(--green-primary); font-weight: 600; }

.panel-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.panel-section-label {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.panel-tag {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-primary);
  font-weight: 500;
}

.panel-cta {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: var(--green-primary);
  color: var(--bg-light);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.panel-cta:hover { transform: translateY(-2px); background: var(--green-accent); color: var(--green-primary); }

/* ============================================
   Process scroll sequencer (leather page)
   ============================================ */
.process-intro {
  padding: var(--section-y) 0 4rem;
  background: var(--bg-light);
  text-align: center;
}
.process-intro h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 400;
  max-width: 14ch;
  margin: 0 auto 1.5rem;
}
.process-intro p { max-width: 56ch; margin: 0 auto; }

.process-sequencer {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 900px) {
  .process-sticky { grid-template-columns: 1fr; height: auto; min-height: 100vh; padding: 6rem 0 4rem; }
}
.process-visual {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
@media (max-width: 900px) { .process-visual { height: 50vh; } }
.process-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.process-frame.is-active { opacity: 1; }
.process-frame-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 1.5s var(--ease-out);
}
.process-frame.is-active .process-frame-bg { transform: scale(1); }
.process-frame-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 31, 20, 0.4), rgba(10, 31, 20, 0.7));
}
.process-frame-num {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: 1;
  color: var(--green-accent);
  font-weight: 400;
  letter-spacing: -0.04em;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

.process-text-col {
  padding: 4rem var(--gutter);
  position: relative;
}
.process-step {
  opacity: 0;
  transform: translateY(40px);
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  padding: 0 var(--gutter);
  transform-origin: left center;
  pointer-events: none;
}
.process-step.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.process-step:not(.is-active) { transform: translateY(calc(-50% + 40px)); }
.process-step-num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--green-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}
.process-step-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.process-step-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-light-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.process-step-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.process-tag {
  font-size: 0.8125rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
}

@media (max-width: 900px) {
  .process-text-col { padding: 2rem var(--gutter) 4rem; }
  .process-step { position: relative; opacity: 1; transform: none; padding: 0; margin-bottom: 4rem; top: auto; }
  .process-step:not(.is-active) { transform: none; }
}

/* Step indicator (vertical) */
.process-progress {
  position: fixed;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-med);
}
.process-progress.is-visible { opacity: 1; }
.progress-tick {
  width: 2px;
  height: 24px;
  background: rgba(232, 240, 229, 0.2);
  border-radius: 2px;
  transition: background var(--dur-fast), height var(--dur-fast);
}
.progress-tick.is-active { background: var(--green-accent); height: 36px; }

@media (max-width: 900px) { .process-progress { display: none; } }

/* ============================================
   About / Stats / CTA / Footer
   ============================================ */
.about-hero {
  padding: 12rem var(--gutter) var(--section-y);
  background: var(--bg-light);
}
.about-hero h1 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 18ch;
}
.about-grid {
  padding: var(--section-y) 0;
  background: var(--bg-white);
}
.about-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
@media (max-width: 900px) { .about-grid-inner { grid-template-columns: 1fr; gap: 3rem; } }

.values { display: grid; gap: 3rem; }
.value-item { padding: 2rem 0; border-top: 1px solid var(--border-light); }
.value-item:last-child { border-bottom: 1px solid var(--border-light); }
.value-label {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 1rem;
}
.value-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-weight: 400;
}

.cta-section {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.6);
  background: var(--green-deep);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Pull the footer up so there's no visible seam */
  margin-bottom: 0;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 1200px; max-height: 1200px;
  background: radial-gradient(circle, rgba(44, 190, 45, 0.12) 0%, transparent 55%);
  border-radius: 50%;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 16ch;
  margin: 0 auto 2rem;
  position: relative;
  text-transform: none;
}
.cta-section h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-accent);
  text-stroke: 1px var(--green-accent);
}
.cta-section .lead { color: var(--text-light-muted); margin: 0 auto 2.5rem; }

/* Footer (blended seamlessly with the CTA section above) */
.site-footer {
  background: var(--green-deep);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
  margin-top: 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(50%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(247, 247, 247, 0.12) 50%, transparent 100%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.footer-brand p { color: var(--text-light-muted); max-width: 36ch; margin-top: 1rem; font-size: 0.9375rem; }
.footer-col h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 0.75rem; }
.footer-col a { font-size: 0.9375rem; opacity: 0.85; transition: opacity var(--dur-fast); }
.footer-col a:hover { opacity: 1; color: var(--green-accent); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 0.5rem; } }

/* ============================================
   Forms (contact)
   ============================================ */
.contact-section {
  padding: 12rem var(--gutter) var(--section-y);
  background: var(--bg-light);
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-section h1 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.contact-info { display: grid; gap: 2rem; margin-top: 3rem; }
.contact-info-item small {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-primary);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-info-item p { font-size: 1.0625rem; }

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-size: var(--fs-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.875rem 1rem;
  font: inherit;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  color: var(--text-dark);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--bg-white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.contact-form button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--text-dark);
  color: var(--bg-light);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: transform var(--dur-fast), background var(--dur-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.contact-form button[type="submit"]:hover { transform: translateY(-2px); background: var(--green-primary); }

/* ============================================
   Animation utilities
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

[data-reveal-left] { opacity: 0; transform: translateX(-28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal-left].is-revealed { opacity: 1; transform: translateX(0); }
[data-reveal-right] { opacity: 0; transform: translateX(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal-right].is-revealed { opacity: 1; transform: translateX(0); }

.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.line-mask.is-revealed > span { transform: translateY(0); }

/* ============================================
   Process carousel (Línea Leather)
   ============================================ */
.process-carousel {
  position: relative;
  background: var(--green-deep);
  color: var(--text-light);
  padding: 6rem var(--gutter);            /* equal air top and bottom */
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;                 /* center the stage vertically */
}
.process-carousel::before {
  /* Soft accent glow backdrop */
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 1200px; max-height: 1200px;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(44, 190, 45, 0.10) 0%, transparent 60%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.carousel-stage {
  position: relative;
  display: grid;                            /* stack slides in same cell */
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* All slides occupy the same grid cell; the cell sizes to the TALLEST slide */
.process-slide {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), visibility 0s linear 0.55s;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: stretch;                   /* image stretches to match text height */
}
.process-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.7s var(--ease-out), visibility 0s linear 0s;
}
@media (max-width: 900px) {
  .process-slide { grid-template-columns: 1fr; gap: 2rem; }
}

.slide-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.slide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 74, 42, 0.05) 0%, rgba(35, 74, 42, 0.55) 100%);
}
.slide-step-mega {
  position: absolute;
  bottom: -0.1em;
  left: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--green-accent);
  text-stroke: 2px var(--green-accent);
  z-index: 2;
  pointer-events: none;
}

.slide-content {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}
.slide-eyebrow {
  font-size: var(--fs-caption);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.slide-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-transform: uppercase;
}
.slide-title em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--bg-light);
}
.slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.slide-body p {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-light);
  max-width: 65ch;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.slide-body p strong {
  color: var(--green-accent);
  font-weight: 600;
}
.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.slide-tag {
  font-size: 0.8125rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
}

/* Floating arrows on left/right edges (no halo, low-opacity arrow blended with bg) */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: 0;
  padding: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  display: grid;
  place-items: center;
  font: inherit;
  opacity: 0.35;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.carousel-arrow.is-prev { left: 1.5rem; }
.carousel-arrow.is-next { right: 1.5rem; }
.carousel-arrow svg {
  width: 64px;
  height: 64px;
}
.carousel-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  color: var(--green-accent);
}
.carousel-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid var(--green-accent);
  outline-offset: 8px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .carousel-arrow.is-prev { left: 0.5rem; padding: 1rem; }
  .carousel-arrow.is-next { right: 0.5rem; padding: 1rem; }
  .carousel-arrow svg { width: 44px; height: 44px; }
  .slide-visual { min-height: 280px; }
  .slide-body p { text-align: left; }
}

/* ============================================
   Gradient blurry section (for A medida steps and similar)
   ============================================ */
.gradient-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(44, 190, 45, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 75%, rgba(46, 85, 55, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(111, 160, 124, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-light) 0%, #EDF1EA 100%);
  overflow: hidden;
  isolation: isolate;
}
.gradient-section::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url('../assets/hero-wireframe.png');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: blur(6px) saturate(0.4);
  pointer-events: none;
  z-index: -1;
}
.gradient-section::after {
  /* Soft floating blob */
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(44, 190, 45, 0.06) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.gradient-section > .container { position: relative; z-index: 1; }

/* Aligned step cards (tag, title, body at same Y across all cards) */
.step-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(46, 85, 55, 0.08);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  position: relative;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(46, 85, 55, 0.18);
  background: rgba(255, 255, 255, 0.92);
}
.step-card .step-tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-primary);
  display: block;
  height: 1.2em;            /* fixed height across all cards */
  margin-bottom: 1.25rem;
}
.step-card .step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--green-primary);
  min-height: 3em;          /* fixed: ~2 lines reserved across all cards */
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}
.step-card .step-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;                  /* fills remaining space */
}

/* ============================================
   Bio Soluciones — cinematic hero + featured + stats + quote
   ============================================ */

/* Cinematic hero with full-bleed image */
.bio-hero {
  position: relative;
  min-height: 82svh;
  padding: 10rem var(--gutter) 5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.bio-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  will-change: transform;
  transform: scale(1.08);
}
.bio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 85, 55, 0.18) 0%, rgba(46, 85, 55, 0.45) 55%, rgba(35, 74, 42, 0.88) 100%);
  z-index: -1;
}
.bio-hero-content {
  max-width: 760px;
  color: var(--text-light);
  position: relative;
}
.bio-hero-eyebrow {
  color: var(--green-accent);
  margin-bottom: 1.5rem;
}
.bio-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.75rem, 6.5vw, 6rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-transform: uppercase;
  /* Glass cream backdrop behind the title for legibility on busy images */
  position: relative;
  isolation: isolate;
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 1.5rem 2rem;
}
.bio-hero-content h1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 247, 0.10);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(247, 247, 247, 0.14);
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}
/* Italic accent: solid cream so it reads clearly on busy backgrounds */
.bio-hero-content h1 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--bg-light);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
.bio-hero-content .lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-light-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.bio-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Big featured cards (image-bg, content overlay) */
.bio-featured {
  padding: var(--section-y) 0;
  background: var(--bg-light);
}
.bio-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 900px) { .bio-featured-grid { grid-template-columns: 1fr; } }
.bio-feat-card {
  position: relative;
  min-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-light);
  isolation: isolate;
  text-decoration: none;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.bio-feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 50px 100px -30px rgba(46, 85, 55, 0.4);
}
.bio-feat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;                            /* image fades so text dominates */
  transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
.bio-feat-card:hover img {
  transform: scale(1.06);
  opacity: 0.75;                            /* image reveals more on hover */
}
.bio-feat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Stronger dark gradient: text always has high-contrast backdrop */
  background: linear-gradient(180deg, rgba(35, 74, 42, 0.55) 0%, rgba(35, 74, 42, 0.7) 45%, rgba(35, 74, 42, 0.97) 100%);
  z-index: -1;
}
.bio-feat-content { padding: 3rem; position: relative; }
.bio-feat-tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  min-height: 2.4em;            /* reserves 2 lines so all tags align at the top */
  font-weight: 600;
  line-height: 1.2;
}
.bio-feat-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--text-light);
  min-height: 4.4em;             /* reserves 4 lines + buffer so titles align exactly across cards */
}
.bio-feat-card h3 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--green-accent);
}
.bio-feat-card p {
  font-size: 1rem;
  max-width: 50ch;
  margin-bottom: 1.5rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  min-height: 12.5em;            /* reserves ~8 lines so bodies align across cards */
}
.bio-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--dur-fast) var(--ease-out);
}
.bio-feat-card:hover .bio-feat-link { gap: 0.85rem; }

/* Stat callout (4 mega outlined numbers) */
.stat-callout {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.stat-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46, 85, 55, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.7;
}
.stat-callout-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}
.stat-callout-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--green-primary);
}
.stat-callout-header h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
  position: relative;
}
.stat-item:last-child { border-right: 0; }
@media (max-width: 900px) {
  .stat-item:nth-child(2n) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border-light); }
}
@media (max-width: 540px) {
  .stat-item { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .stat-item:last-child { border-bottom: 0; }
}
.stat-mega {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--green-primary);
  text-stroke: 2px var(--green-primary);
  display: block;
  margin-bottom: 0.75rem;
  transition: -webkit-text-stroke-width var(--dur-med) var(--ease-out);
}
.stat-mega.is-accent {
  -webkit-text-stroke-color: var(--green-accent);
  text-stroke-color: var(--green-accent);
}
.stat-item:hover .stat-mega {
  -webkit-text-stroke-width: 2.5px;
}
.stat-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.stat-detail {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 22ch;
  margin: 0 auto;
}

/* Quote centerpiece */
.quote-feature {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--bg-light);
  overflow: hidden;
  text-align: center;
}
.quote-backdrop {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.08;
  filter: blur(3px) saturate(0.6);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}
.quote-feature > .container-narrow { position: relative; z-index: 1; }
.quote-mark {
  display: block;
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.5;
  color: var(--green-accent);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.quote-feature blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4.8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--green-primary);
  max-width: 22ch;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}
.quote-feature blockquote em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}
.quote-feature cite {
  font-style: normal;
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Contrast section variant with image backdrop */
.contrast-section.has-backdrop {
  overflow: hidden;
  position: relative;
}
.contrast-section.has-backdrop .contrast-bg-img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.05;
  filter: blur(6px) saturate(0.2) brightness(1.6);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}
.contrast-section.has-backdrop > .container { position: relative; z-index: 1; }

/* ============================================
   Calm utilities (trust bands, simple feature cards, etc.)
   ============================================ */
.calm-page { background: var(--bg-light); }
.calm-hero {
  padding: 9rem var(--gutter) 5rem;
  background: var(--bg-light);
}
.calm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) { .calm-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.calm-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--green-primary);
}
.calm-hero h1 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--green-primary);
}
.calm-hero .lead {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  max-width: 52ch;
}
.calm-hero-image {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -25px rgba(46, 85, 55, 0.25);
}
.calm-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.calm-section {
  padding: 5rem var(--gutter);
}
.calm-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.calm-section.is-tint { background: var(--bg-white); }
.calm-section.is-dark { background: var(--green-primary); color: var(--text-light); }
.calm-section.is-dark h2 { color: var(--text-light); }
.calm-section.is-dark .calm-card { background: rgba(247, 247, 247, 0.06); border-color: rgba(247, 247, 247, 0.1); }
.calm-section.is-dark .calm-card h3 { color: var(--text-light); }
.calm-section.is-dark .calm-card p { color: var(--text-light-muted); }
.calm-section.is-dark .calm-card-num { color: var(--green-accent); }

.calm-section-header {
  margin-bottom: 3rem;
  max-width: 700px;
}
.calm-section-header .eyebrow { margin-bottom: 1rem; }
.calm-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-primary);
  margin-bottom: 1rem;
}
.calm-section h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.calm-section p.lead, .calm-section p.intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.6;
}

.calm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.calm-grid.is-2col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.calm-grid.is-3col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.calm-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  display: block;
  color: inherit;
  text-decoration: none;
}
.calm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(46, 85, 55, 0.18);
}
.calm-card-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: var(--green-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}
.calm-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--green-primary);
  line-height: 1.25;
}
.calm-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.calm-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .calm-feature-grid { grid-template-columns: 1fr; } }
.calm-feature {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.calm-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(46, 85, 55, 0.2);
}
.calm-feature-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--green-soft);
}
.calm-feature-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.calm-feature-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.calm-feature h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--green-primary);
  line-height: 1.2;
}
.calm-feature p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: auto;
}
.calm-feature-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.calm-cta {
  background: var(--green-primary);
  color: var(--text-light);
  padding: 4.5rem var(--gutter);
  text-align: center;
}
.calm-cta-inner { max-width: 700px; margin: 0 auto; }
.calm-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.calm-cta h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--green-accent);
}
.calm-cta p {
  color: var(--text-light-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.55;
}

.calm-trust-band {
  background: var(--green-primary);
  color: var(--text-light);
  padding: 1.5rem var(--gutter);
  text-align: center;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.calm-trust-band strong { color: var(--green-accent); font-weight: 600; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-left], [data-reveal-right], .line-mask > span {
    opacity: 1; transform: none;
  }
}

/* =====================================================================
   EMOJI-TILE VARIANTS (no photo background, big emoji + text)
   ===================================================================== */
:root { --green-darker: #1c3d22; }

/* Process / Bio Solutions cards on the homepage */
.solution-card.is-tile {
  background: var(--green-primary);
  color: var(--text-light);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  min-height: 260px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.solution-card.is-tile:hover { transform: translateY(-4px); background: var(--green-darker); }
.solution-card.is-tile.is-accent { background: var(--green-accent); color: var(--text-dark); }
.solution-card.is-tile.is-accent:hover { background: #25a426; }
.solution-emoji {
  width: clamp(2.25rem, 3vw, 2.75rem);
  height: clamp(2.25rem, 3vw, 2.75rem);
  display: block;
  margin-bottom: 1.25rem;
  color: var(--green-accent);
}
.solution-emoji svg { width: 100%; height: 100%; display: block; }
.solution-card.is-tile.is-accent .solution-emoji { color: var(--text-dark); }
.solution-card.is-tile .solution-content { position: static; padding: 0; }
.solution-card.is-tile .solution-tag {
  color: var(--green-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}
/* (legacy override removed — accent text rules now grouped above) */
.solution-card.is-tile .solution-title {
  color: inherit;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.solution-card.is-tile .solution-desc {
  color: var(--text-light-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}
.solution-card.is-tile.is-accent { color: #0a1f10; }
.solution-card.is-tile.is-accent .solution-title,
.solution-card.is-tile.is-accent .solution-desc { color: #0a1f10; opacity: 1; }
.solution-card.is-tile.is-accent .solution-tag { color: #0a1f10; opacity: 0.7; }

/* Six-in-a-row process card variant: smaller, big cream label, no desc */
.solutions-grid.is-six { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.solution-card.is-tile.is-six {
  min-height: 200px;
  padding: 1.5rem 1.25rem;
  grid-column: span 1;
}
.solution-card.is-tile.is-six .solution-emoji {
  width: clamp(1.5rem, 1.8vw, 1.85rem);
  height: clamp(1.5rem, 1.8vw, 1.85rem);
  margin-bottom: 0.75rem;
}
/* Big cream label replacing the small uppercase tag */
.solution-card.is-tile.is-six .solution-tag {
  color: var(--text-light);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 1;
}
.solution-card.is-tile.is-six .solution-title {
  color: var(--text-light-muted);
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  line-height: 1.25;
  margin: 0;
}
@media (max-width: 1100px) {
  .solutions-grid.is-six { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .solutions-grid.is-six { grid-template-columns: repeat(2, 1fr); }
}

/* Two large featured cards on subpages */
.bio-feat-card.is-tile {
  background: var(--green-primary);
  color: var(--text-light);
  border-radius: 24px;
  padding: 3rem;
  display: block;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.bio-feat-card.is-tile:hover { transform: translateY(-4px); }
.bio-feat-card.is-tile.is-accent { background: var(--green-accent); color: var(--text-dark); }
.bio-feat-card.is-tile .bio-feat-content { position: static; padding: 0; }
.bio-feat-emoji {
  width: clamp(2.5rem, 3.5vw, 3rem);
  height: clamp(2.5rem, 3.5vw, 3rem);
  display: block;
  margin-bottom: 1.5rem;
  color: var(--green-accent);
}
.bio-feat-emoji svg { width: 100%; height: 100%; display: block; }
.bio-feat-card.is-tile.is-accent .bio-feat-emoji { color: var(--text-dark); }
.bio-feat-card.is-tile h3 { color: inherit; }
.bio-feat-card.is-tile p { color: var(--text-light-muted); }
.bio-feat-card.is-tile .bio-feat-tag { color: var(--green-accent); }
/* Accent (lime) card — dark text for proper contrast on lime background */
.bio-feat-card.is-tile.is-accent { color: #0a1f10; }
.bio-feat-card.is-tile.is-accent h3,
.bio-feat-card.is-tile.is-accent h3 em,
.bio-feat-card.is-tile.is-accent p,
.bio-feat-card.is-tile.is-accent .bio-feat-link { color: #0a1f10; opacity: 1; }
.bio-feat-card.is-tile.is-accent .bio-feat-tag { color: #0a1f10; opacity: 0.7; }

/* Bio hero without photo background (flat green panel) */
.bio-hero.is-flat .bio-hero-bg,
.bio-hero.is-flat .bio-hero-overlay { display: none; }
.bio-hero.is-flat {
  background: linear-gradient(140deg, var(--green-primary) 0%, var(--green-darker) 100%);
}

/* Flat green hero with a decorative SVG on the right (Bio / A medida / Conócenos) */
.bio-hero.with-decor {
  padding: 10rem var(--gutter) 5rem;
  min-height: 82svh;
  display: flex;
  align-items: center;
}
.bio-hero.with-decor .bio-hero-content { max-width: 560px; }
.bio-hero.with-decor .bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.bio-hero-decor {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}
.bio-hero-decor svg,
.bio-hero-decor img {
  width: 100%;
  height: auto;
  max-width: 620px;
  display: block;
}
.bio-hero-decor svg { border-radius: 18px; }
/* PNGs are now transparent — just float naturally on the hero green */
@media (max-width: 1024px) {
  .bio-hero.with-decor .bio-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bio-hero.with-decor .bio-hero-content { max-width: 100%; }
  .bio-hero-decor svg { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .bio-hero-decor { display: none; } /* on small screens, hide decor to save vertical space */
}
.bio-hero-emoji {
  width: clamp(2rem, 2.8vw, 2.5rem);
  height: clamp(2rem, 2.8vw, 2.5rem);
  display: block;
  margin-bottom: 1.5rem;
  color: var(--green-accent);
}
.bio-hero-emoji svg { width: 100%; height: 100%; display: block; }

/* Backdrop images on quote/contrast sections — hide when emoji mode */
.quote-feature.is-flat .quote-backdrop,
.contrast-section.is-flat .contrast-bg-img { display: none; }

/* =====================================================================
   2-column hero with embedded carousel (Leather page)
   ===================================================================== */
.bio-hero.with-carousel {
  /* Same vertical scale as Bio Solutions / Custom Solutions heros */
  padding: 10rem var(--gutter) 5rem;
  min-height: 82svh;
  display: flex;
  align-items: center;
}
.bio-hero.with-carousel .bio-hero-content { max-width: 560px; }
/* Emoji + eyebrow inline at the top of the left column */
.bio-hero.with-carousel .bio-hero-header {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.bio-hero.with-carousel .bio-hero-header .bio-hero-emoji {
  margin-bottom: 0;
  flex: none;
}
.bio-hero.with-carousel .bio-hero-header .eyebrow { margin: 0; }
.bio-hero.with-carousel h1 {
  font-size: clamp(2rem, 4.6vw, 4.25rem) !important;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 1.75rem;
  white-space: normal !important;
}
.bio-hero.with-carousel .lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  margin-bottom: 2rem;
}
.bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.bio-hero-carousel {
  position: relative;
  min-height: 420px;
}
.bio-hero-carousel .carousel-stage { position: relative; display: grid; }
.bio-hero-carousel .process-slide {
  grid-template-columns: 0.36fr 0.64fr;
  gap: 1.5rem;
  align-items: stretch;
}
.bio-hero-carousel .slide-visual {
  min-height: 300px;
  border-radius: 0;
  background: transparent !important;
  display: block;
  position: relative;
  isolation: auto;
  overflow: visible;
}
.bio-hero-carousel .slide-visual::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.bio-hero-carousel .slide-emoji { display: none; }
.bio-hero-carousel .slide-step-mega {
  position: absolute;
  bottom: -0.08em;
  right: 0;
  left: auto;
  font-size: clamp(8rem, 16vw, 13rem);
  -webkit-text-stroke: 2.5px var(--green-accent);
}
.bio-hero-carousel .slide-eyebrow { margin-bottom: 1rem; color: var(--green-accent); }
.bio-hero-carousel .slide-title {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  text-transform: none;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}
.bio-hero-carousel .slide-title em { font-size: inherit; }
.bio-hero-carousel .slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.bio-hero-carousel .slide-body p {
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  line-height: 1.55;
  color: var(--text-light);
  text-align: left;
  max-width: none;
}
.bio-hero-carousel .slide-tags { gap: 0.45rem; }
.bio-hero-carousel .slide-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  color: var(--text-light);
  border-color: color-mix(in srgb, var(--text-light) 35%, transparent);
}
.bio-hero-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0;
}
.bio-hero-carousel .carousel-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.bio-hero-carousel .carousel-arrow svg { width: 26px; height: 26px; }
.bio-hero-carousel .carousel-arrow.is-prev { left: -1.5rem; }
.bio-hero-carousel .carousel-arrow.is-next { right: -1.5rem; }

@media (max-width: 1100px) {
  .bio-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bio-hero.with-carousel .bio-hero-content { max-width: 100%; }
  .bio-hero-carousel { min-height: 420px; }
  .bio-hero-carousel .carousel-arrow.is-prev { left: 0; }
  .bio-hero-carousel .carousel-arrow.is-next { right: 0; }
}
@media (max-width: 700px) {
  .bio-hero-carousel .process-slide { grid-template-columns: 1fr; gap: 1.25rem; }
  .bio-hero-carousel .slide-visual { min-height: 180px; }
}

/* Leather process-slide visual without photo */
.slide-visual.is-emoji {
  background-image: none;
  background: linear-gradient(160deg, var(--green-darker) 0%, var(--green-primary) 100%);
}
.slide-visual.is-emoji::after { display: none; }
.slide-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.25));
  z-index: 1;
}

/* Side panel: emoji-based panel-media (flat dark green, cream emoji + number) */
.panel-media.is-emoji {
  background-image: none !important;
  background: var(--green-darker);
  aspect-ratio: 16 / 7;
}
.panel-media.is-emoji::after { display: none; }
.panel-media.is-emoji .panel-step-mega {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-light);
  text-stroke: 2px var(--text-light);
}
.panel-emoji {
  position: absolute;
  top: 50%;
  left: 72%;
  transform: translate(-50%, -50%);
  width: clamp(3rem, 6vw, 4.5rem);
  height: clamp(3rem, 6vw, 4.5rem);
  color: var(--text-light);
  z-index: 1;
}
.panel-emoji svg { width: 100%; height: 100%; display: block; }

/* Visible scrollbar so users know the panel scrolls */
.side-panel { scrollbar-width: thin; scrollbar-color: var(--green-primary) transparent; }
.side-panel::-webkit-scrollbar { width: 8px; }
.side-panel::-webkit-scrollbar-track { background: transparent; }
.side-panel::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 4px; }
.side-panel::-webkit-scrollbar-thumb:hover { background: var(--green-darker); }

/* Three principle cards on About Us */
.bio-feat-card.is-principle {
  background: var(--green-primary);
  color: var(--text-light);
  border-radius: 24px;
  padding: 2.75rem;
  cursor: default;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}
.bio-feat-card.is-principle:hover { transform: translateY(-4px); }
.bio-feat-card.is-principle .bio-feat-tag { color: var(--green-accent); }
.bio-feat-card.is-principle h3 { color: var(--text-light); }
.bio-feat-card.is-principle p { color: var(--text-light-muted); }

/* =====================================================================
   Split hero (title left, lead + CTA right) — used on Leather, Bio Solutions,
   Custom Solutions and About Us. Replaces with-decor / with-carousel.
   ===================================================================== */
.bio-hero.is-split {
  padding: 7.5rem var(--gutter) 3.5rem;
  min-height: 56svh;
  display: flex;
  align-items: center;
}
.bio-hero.is-split .bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: end;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.bio-hero.is-split .bio-hero-content { max-width: 100%; }
.bio-hero.is-split .bio-hero-content h1 {
  margin: 0;
}
.bio-hero.is-split .bio-hero-text-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
  padding-bottom: 0.5rem;
}
.bio-hero.is-split .bio-hero-text-right .lead {
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0;
}
.bio-hero.is-split .bio-hero-text-right .bio-hero-actions { margin: 0; }
@media (max-width: 900px) {
  .bio-hero.is-split { min-height: auto; padding: 7rem var(--gutter) 2.5rem; }
  .bio-hero.is-split .bio-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Tighter `is-six` card variant tweaks (now without subtitle) */
.solution-card.is-tile.is-six { min-height: 150px; padding: 1.25rem 1rem; }
.solution-card.is-tile.is-six .solution-content { gap: 0; }
.solution-card.is-tile.is-six .solution-tag { margin-bottom: 0; }

/* Bio Solutions featured cards — narrower, cream text on accent */
.bio-featured-grid { gap: 1.25rem !important; }
.bio-feat-card.is-tile { padding: 2.25rem !important; }
.bio-feat-card.is-tile.is-accent,
.bio-feat-card.is-tile.is-accent .bio-feat-tag,
.bio-feat-card.is-tile.is-accent h3,
.bio-feat-card.is-tile.is-accent p {
  color: var(--text-light) !important;
}
.bio-feat-card.is-tile.is-accent h3 em {
  color: transparent !important;
  -webkit-text-stroke: 1px var(--text-light);
  text-stroke: 1px var(--text-light);
}
.bio-feat-card.is-tile.is-accent .bio-feat-link { color: var(--text-light) !important; }

/* Trim padding in the stat-callout section on Bio Solutions */
.stat-callout { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; }
.stat-callout-header { margin-bottom: 2rem !important; }
.stat-grid { gap: 1.5rem !important; }

/* =====================================================================
   Contact side panel — opened by the "Talk to an expert" button.
   The form itself is rendered by the [spain_enzymes_contacto] shortcode
   (`<div class="se-contact-section">`). These overrides make it flush
   with the panel: no double background, no centred max-width, and enough
   top padding so the close button doesn't overlap the header label.
   ===================================================================== */
.contact-panel {
  /* reuses .side-panel for the slide-in mechanics */
  background: var(--bg-light);
  padding: 0;
}
.contact-panel > .se-contact-section {
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: transparent;
  /* Top padding clears the 44 × 44 close button (top: 1.5rem) */
  padding: clamp(4.5rem, 7vh, 5.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
/* Slightly tighter form card inside the panel so the inner padding doesn't
   stack on top of the section padding */
.contact-panel > .se-contact-section .se-form { padding: 28px; }
@media (max-width: 560px) {
  .contact-panel > .se-contact-section { padding: 4.5rem 1rem 2rem; }
  .contact-panel > .se-contact-section .se-form { padding: 20px; }
}
.contact-panel-inner {
  padding: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(4rem, 6vh, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-panel-inner h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--green-primary);
  margin: 0.25rem 0 0;
}
.contact-panel-inner h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}
.contact-panel-inner .lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 540px) { .contact-form .field-row { grid-template-columns: 1fr; } }
.contact-form .field { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid rgba(46, 85, 55, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(44, 190, 45, 0.18);
}
.contact-form button[type="submit"] {
  margin-top: 0.5rem;
  background: var(--green-primary);
  color: var(--text-light);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.contact-form button[type="submit"]:hover { background: var(--green-darker); transform: translateY(-2px); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: progress; transform: none; }
.contact-form .form-status {
  font-size: 0.875rem;
  color: var(--green-primary);
  margin: 0.25rem 0 0;
}
.contact-form .form-status.is-error { color: #b32d2d; }
.contact-panel-direct {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(46, 85, 55, 0.15);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-panel-direct a { color: var(--green-primary); font-weight: 600; }

/* =====================================================================
   Sustainability section (homepage)
   ===================================================================== */
.sustainability {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  position: relative;
}
.sustainability .container { position: relative; z-index: 1; }
.sustain-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .sustain-header { grid-template-columns: 1fr; gap: 1.5rem; }
}
.sustain-header h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--green-primary);
  margin: 1rem 0 0;
  max-width: 16ch;
}
.sustain-header h2 em {
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-primary);
  text-stroke: 1px var(--green-primary);
}
.sustain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .sustain-list { grid-template-columns: 1fr; gap: 1.5rem; }
}
.sustain-list li {
  border-top: 1px solid var(--green-primary);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sustain-tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-primary);
  font-weight: 600;
}
.sustain-list h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}
.sustain-list p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* WordPress admin bar offset (logged-in users only) */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
