/* ==========================================================================
   Ecoverra — Circular Manufacturing Solutions
   Layout: floating "framed" cards on a leafy backdrop (hero / sheet / footer)
   ========================================================================== */

:root {
  /* Brand (sampled from logo + current site) */
  --forest: #0d3b1f;      /* logo green */
  --pine: #1e453e;        /* site primary */
  --pine-deep: #122d28;
  --pine-ink: #0b1f1b;
  --leaf: #009e47;
  --leaf-dark: #006838;
  --mint: #cce1d7;
  --mint-soft: #e6f0eb;
  --gold: #c68535;
  --gold-soft: #f3e6d4;
  --bark: #43280f;

  /* Surfaces & text */
  --frame: #f3f4f0;
  --sheet: #f7f8f4;
  --card: #ffffff;
  --ink: #15211e;
  --ink-2: #3c4a46;
  --muted: #5d6b67;
  --line: #dde4df;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.82);

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Radius / spacing / motion */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shell-pad: clamp(8px, 1.6vw, 22px);
  --frame-pad: clamp(6px, 0.9vw, 12px);
  --gutter: clamp(18px, 4vw, 56px);
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(11, 31, 27, 0.06), 0 2px 8px rgba(11, 31, 27, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(11, 31, 27, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.55);

  --z-nav: 100;
  --z-mnav: 90;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pine-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: #1b1206; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Leafy backdrop behind the floating cards ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(11, 31, 27, 0.25), rgba(11, 31, 27, 0.85)),
    url("https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=1600&q=60") center / cover no-repeat;
  filter: saturate(0.9);
}

.shell { max-width: 1440px; margin: 0 auto; padding: var(--shell-pad); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--pine); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 12px;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--primary { --bg: var(--pine); }
.btn--primary:hover { --bg: var(--forest); }
.btn--gold { --bg: var(--gold); --fg: #1d1206; }
.btn--gold:hover { --bg: #d6954a; }
.btn--ghost { --bg: rgba(255, 255, 255, 0.06); --fg: #fff; --bd: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: #fff; --fg: var(--pine); }
.btn--outline { --bg: transparent; --fg: var(--pine); --bd: var(--pine); }
.btn--outline:hover { --bg: var(--pine); --fg: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--pine); text-decoration: none; padding: 6px 0;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Navigation (fixed glass bar, aligned to the hero) ---------- */
.nav {
  position: fixed; z-index: var(--z-nav);
  top: calc(var(--shell-pad) + var(--frame-pad) + clamp(8px, 1.2vw, 16px));
  left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 2 * (var(--shell-pad) + var(--frame-pad) + clamp(8px, 2.4vw, 40px))));
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.35);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), top .3s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, 0.45); top: 10px; }

/* Logo is a white-background PNG: crop to artwork and multiply away the white */
.logo { position: relative; display: block; overflow: hidden; aspect-ratio: 580 / 304; height: 42px; }
.logo img { position: absolute; width: 137.76%; height: auto; max-width: none; left: -18.79%; top: -7.24%; mix-blend-mode: multiply; }
.logo--full { aspect-ratio: 580 / 339; }
.logo--full img { top: -6.49%; }
.nav__brand { display: flex; align-items: center; flex: none; border-radius: 8px; }
.nav__logo { height: 46px; width: auto; }

.nav__links { display: flex; align-items: center; margin-left: auto; }
.nav__links li { display: flex; align-items: center; }
.nav__links li + li::before { content: ""; width: 1px; height: 14px; background: rgba(30, 69, 62, 0.28); }
.nav__links a {
  position: relative; display: block; padding: 10px 13px; font-size: 14.5px; font-weight: 500;
  color: var(--pine); text-decoration: none; border-radius: 8px; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { font-weight: 650; color: var(--forest); }
.nav__cta { min-height: 44px; padding: 10px 18px; margin-left: 6px; font-size: 14.5px; }

.nav__toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; background: var(--pine); color: #fff; cursor: pointer;
}
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.mnav {
  position: fixed; z-index: var(--z-mnav);
  left: 50%; transform: translateX(-50%) translateY(-8px);
  top: calc(var(--shell-pad) + var(--frame-pad) + 84px);
  width: calc(100% - 2 * (var(--shell-pad) + var(--frame-pad) + 8px));
  padding: 10px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.mnav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--pine); text-decoration: none; border-radius: 12px;
}
.mnav a:not(.btn):hover, .mnav a[aria-current="page"] { background: var(--mint-soft); }
.mnav a .icon { width: 18px; height: 18px; color: var(--gold); }
.mnav .btn { width: 100%; margin-top: 8px; }

/* ---------- Framed hero ---------- */
.frame { background: var(--frame); border-radius: var(--r-xl); padding: var(--frame-pad); box-shadow: var(--shadow-lg); }

.hero__inner {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg);
  display: grid; grid-template-rows: auto 1fr auto;
  min-height: clamp(600px, 92vh, 880px);
  color: var(--on-dark);
  padding: 0 clamp(16px, 3vw, 40px) clamp(16px, 2.6vw, 36px);
}
.hero--page .hero__inner { min-height: clamp(420px, 60vh, 560px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
.hero__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 28, 24, 0.55) 0%, rgba(9, 28, 24, 0.18) 34%, rgba(9, 28, 24, 0.28) 62%, rgba(9, 28, 24, 0.78) 100%);
}
.hero__spacer { height: clamp(96px, 11vw, 120px); }

.hero__content { align-self: center; text-align: center; max-width: 860px; margin: 0 auto; padding: 24px 0 32px; }
.hero--page .hero__content { padding-bottom: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow .icon { width: 15px; height: 15px; color: #e8c08a; }
.hero h1 {
  margin-top: 20px; font-size: clamp(2.15rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.03em;
  text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero--page h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 em { font-style: normal; color: #f0c88f; }
.hero__lead { margin: 20px auto 0; max-width: 640px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--on-dark-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.crumbs { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Floating glass badges (template's stat cards, kept factual) */
.hero__badges { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.glass {
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: var(--r-md); color: #fff;
}
.badge-card { position: relative; width: 230px; padding: 14px 16px; text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.badge-card:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-3px); }
.badge-card__top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 12px; line-height: 1.35; color: var(--on-dark-2); }
.badge-card__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--pine); }
.badge-card__arrow .icon { width: 16px; height: 16px; }
.badge-card strong { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.badge-card__bar { height: 4px; margin: 10px 0; border-radius: 4px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.badge-card__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--leaf), #f0c88f); transform-origin: left; animation: grow 1.6s 0.6s var(--ease) both; }
.badge-card p { font-size: 12.5px; line-height: 1.45; color: var(--on-dark-2); }

.badge-pill { text-decoration: none; transition: background-color .3s; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; }
.badge-pill__icons { display: flex; }
.badge-pill__icons span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--frame); color: var(--pine); border: 2px solid rgba(255, 255, 255, 0.9);
}
.badge-pill__icons span + span { margin-left: -10px; }
.badge-pill__icons .icon { width: 17px; height: 17px; }
.badge-pill strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.2; }
.badge-pill small { display: block; font-size: 12px; color: var(--on-dark-2); }

/* ---------- Sheet (main content panel) ---------- */
.sheet { margin-top: var(--shell-pad); background: var(--sheet); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }
.section--tint { background: var(--mint-soft); padding-top: var(--section-y) !important; }
.section--tint + .section { padding-top: var(--section-y); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--leaf-dark);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.h2 { margin-top: 14px; font-size: clamp(1.85rem, 3.6vw, 2.85rem); font-weight: 700; color: var(--pine-deep); text-wrap: balance; }
.lead { margin-top: 18px; font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.head > div { max-width: 680px; }
.head--center { justify-content: center; text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); }

/* Split media/text */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split__media--wide > img { aspect-ratio: 4 / 3; }
.float-card {
  position: absolute; right: clamp(-12px, -1.5vw, -24px); bottom: 28px; max-width: 250px;
  padding: 16px 18px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: flex-start;
}
.float-card .ico { flex: none; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--pine-deep); font-size: 15.5px; line-height: 1.3; }
.float-card strong + span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }
.points { margin-top: 26px; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.points .icon { width: 22px; height: 22px; color: var(--leaf); margin-top: 2px; }
.split .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Icon tile */
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--mint-soft); color: var(--pine);
}
.ico .icon { width: 24px; height: 24px; }
.ico--gold { background: var(--gold-soft); color: var(--bark); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--pine-deep); }
.card p { color: var(--muted); font-size: 15px; }
.card .link-arrow { margin-top: auto; font-size: 15px; }
.card__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--gold); letter-spacing: 0.04em; }

/* Capability bento on home */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.bento > * { grid-column: span 2; }
.bento > .bento__wide { grid-column: span 3; }
.card--feature { color: #fff; border: 0; overflow: hidden; isolation: isolate; min-height: 280px; justify-content: flex-end; }
.card--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.card--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 28, 24, 0.45) 0%, rgba(9, 28, 24, 0.7) 45%, rgba(9, 28, 24, 0.94) 100%); }
.card--feature:hover img { transform: scale(1.05); }
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, 0.85); }
.card--feature .link-arrow { color: #f0c88f; }
.card--feature .card__num { color: #f0c88f; }

/* Values */
.value { text-align: left; }
.value h3 { font-size: 1.15rem; }

/* ---------- Dark band (vision & mission / CTA) ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 72px);
}
.band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(13, 59, 31, 0.92), rgba(18, 45, 40, 0.72) 60%, rgba(18, 45, 40, 0.55)); }
.band .kicker { color: #9fd6b6; }
.band .h2 { color: #fff; }
.band .lead { color: var(--on-dark-2); }
.vm { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(28px, 4vw, 48px); }
.vm .glass { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); }
.vm .ico { background: rgba(255, 255, 255, 0.92); }
.vm h3 { margin-top: 18px; font-size: 1.45rem; }
.vm p { margin-top: 10px; color: var(--on-dark-2); font-size: 1.04rem; }

.cta { display: grid; grid-template-columns: 1.3fr auto; gap: 28px 48px; align-items: center; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Products teaser chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--pine-deep);
}
.chip .icon { width: 17px; height: 17px; color: var(--gold); }

/* ---------- ESG ---------- */
.esg-card { overflow: hidden; padding: 0; }
.esg-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.esg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.esg-card:hover .esg-card__media img { transform: scale(1.05); }
.esg-card__letter {
  position: absolute; left: 18px; bottom: 16px; display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 16px; background: var(--pine); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 26px;
  box-shadow: var(--shadow-md); border: 3px solid #fff;
}
.esg-card__body { padding: 24px clamp(22px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.esg-card__body small { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Capability rows ---------- */
.cap-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.cap-row .split__media > img { aspect-ratio: 5 / 4; }
.cap-row__num {
  font-family: var(--font-head); font-size: clamp(3.2rem, 6vw, 4.8rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -0.04em;
}
.cap-row h2 { margin-top: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--pine-deep); text-wrap: balance; }
.cap-row p { margin-top: 16px; color: var(--ink-2); }

/* ---------- Coming soon ---------- */
.soon {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); border: 1.5px dashed #b9cbc2; background: #fff;
}
.soon h3 { font-size: 1.25rem; color: var(--pine-deep); }
.soon p { margin-top: 4px; color: var(--muted); }

/* ---------- Careers ---------- */
.roles { display: grid; gap: 12px; }
.role {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.role:hover { border-color: var(--mint); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.role h3 { font-size: 1.08rem; color: var(--pine-deep); }
.role p { font-size: 14px; color: var(--muted); }
.role .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.info { display: grid; gap: 12px; }
.info a, .info div.info__item {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, box-shadow .3s;
}
.info a:hover { border-color: var(--mint); box-shadow: var(--shadow-md); }
.info .ico { flex: none; }
.info strong { display: block; font-family: var(--font-head); color: var(--pine-deep); font-size: 15.5px; }
.info strong + span { display: block; font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
.form { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.5rem; color: var(--pine-deep); }
.form > p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--pine-deep); }
.field label .req { color: #b4442c; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--sheet); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(0, 158, 71, 0.15); }
.field .err { display: none; font-size: 13px; color: #b4442c; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4442c; }
.field.is-invalid .err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form__status { margin-top: 14px; font-size: 14px; color: var(--leaf-dark); font-weight: 600; }
.map { margin-top: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--mint-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--shell-pad); border-radius: var(--r-xl); color: var(--on-dark-2);
  background: rgba(11, 31, 27, 0.82); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer__logo { display: inline-block; padding: 10px 14px; border-radius: 14px; background: #fff; }
.footer__logo .logo { height: 76px; }
.footer__about { margin-top: 18px; font-size: 14.5px; max-width: 36ch; }
.footer__reg { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul li a, .footer ul li span { display: inline-block; padding: 5px 0; font-size: 14.5px; text-decoration: none; color: var(--on-dark-2); }
.footer ul li a:hover { color: #f0c88f; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color .25s, color .25s;
}
.socials a:hover { background: var(--gold); color: #1d1206; }
.socials .icon { width: 19px; height: 19px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.footer__bottom p { max-width: 80ch; }

/* WhatsApp floating action */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform .25s var(--ease);
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 10px 9px; font-size: 14px; }
  .nav__links a::after { left: 9px; right: 9px; }
}

@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { padding: 7px 7px 7px 14px; }
  .nav__logo { height: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento > .bento__wide { grid-column: span 3; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media > img { aspect-ratio: 16 / 11; }
  .float-card { right: 12px; bottom: 12px; }
  .vm { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .grid--3.esg { grid-template-columns: 1fr; }
  .esg-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
  .esg-card__media { aspect-ratio: auto; min-height: 100%; }
  .esg-card__letter { bottom: auto; top: 14px; left: 14px; width: 48px; height: 48px; font-size: 22px; }
  .esg-card__body { padding: 22px; }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  :root { --r-xl: 22px; --r-lg: 16px; }
  html { scroll-padding-top: 90px; }
  .hero__inner { min-height: max(620px, 100svh); padding: 0 16px 16px; }
  .hero--page .hero__inner { min-height: 440px; }
  .hero__spacer { height: 92px; }
  .hero__content { padding: 8px 0 24px; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .badge-card { width: auto; padding: 12px; }
  .badge-card strong { font-size: 21px; }
  .badge-card p { display: none; }
  .badge-card__bar { margin: 8px 0 0; }
  .badge-pill { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px; }
  .badge-pill__icons span { width: 32px; height: 32px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--4.values { grid-template-columns: 1fr 1fr; }
  .grid--4.values .card { padding: 18px; }
  .grid--4.values .card p { font-size: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento > .bento__wide { grid-column: auto; }
  .card--feature { min-height: 240px; }
  .esg-card { display: flex; }
  .esg-card__media { aspect-ratio: 16 / 9; }
  .fields { grid-template-columns: 1fr; }
  .role { grid-template-columns: auto 1fr; }
  .role .btn { grid-column: 1 / -1; width: 100%; }
  .soon { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__top > div:last-child { grid-column: 1 / -1; }
  .float-card { position: relative; right: auto; bottom: auto; max-width: none; margin: -40px 12px 0; }
  .wa-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
  .grid--4.values { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.badge-pill:hover { background: rgba(255, 255, 255, 0.22); }
