/* ==========================================================
   BATRECY Technologies — site styles
   ========================================================== */
:root {
  --green: #0a7a3b; /* Deep Green */
  --green-dark: #07602d;
  --lime: #6cc24a;
  --teal: #0e6e6e;
  --blue: #007acc; /* Electric Blue */
  --navy: #005a99; /* shade of Electric Blue for headings */
  --ink: #1f2937; /* Charcoal */
  --text: #374151;
  --muted: #4b5563;
  --bg-soft: #f3f4f6; /* tint of Light Gray */
  --gray: #e5e7eb; /* Light Gray */
  --dark: #1f2937;
  --dark-2: #111827;
  --radius: 6px;
  --container: 1200px;
  --header-h: 92px;
  /* BATRECY corporate typeface: Helvetica Neue, fallback Helvetica / Tahoma. One family; Bold 700, Medium 500, Regular 400 (Light 300 for secondary text only). */
  --font: "Helvetica Neue", Helvetica, Tahoma, sans-serif;
  --font-head: var(--font);
  --font-body: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* colour helpers */
.c-dark { color: var(--ink); }
.c-green { color: var(--green); }
.c-lime { color: var(--lime); }
.c-blue { color: var(--blue); }
.c-navy { color: var(--navy); }
.c-teal { color: var(--teal); }

.eyebrow { font-family: var(--font-head); font-weight: 500; font-size: .8rem; letter-spacing: .32em; color: var(--teal); margin-bottom: .6rem; }
.eyebrow.light { color: #fff; opacity: .9; }
.eyebrow.center { text-align: center; }

.dash { display: block; width: 36px; height: 3px; background: var(--lime); margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 500; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 1rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 16px; height: 16px; }
.btn-sm { padding: .7rem 1.1rem; font-size: .75rem; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 8px 20px rgba(31,138,58,.3); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline-green { border-color: var(--green); color: var(--green); padding: .75rem 1.3rem; }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--lime); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid #e5e7eb; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: 1320px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: 110px; height: auto; } /* icon + name only; the full lockup (with subtitle and tagline) is used at larger sizes, e.g. the footer */

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { white-space: nowrap; }
.main-nav a:not(.btn) { font-family: var(--font-head); font-weight: 500; font-size: .85rem; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--green); }

.pk-badge { display: flex; align-items: center; gap: 8px; font-size: .62rem; line-height: 1.3; color: var(--ink); font-weight: 500; flex-shrink: 0; }
.pk-flag { width: 30px; height: 20px; border-radius: 2px; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,30,34,.96) 0%, rgba(6,34,36,.85) 32%, rgba(6,30,34,.25) 65%, rgba(6,30,34,.35) 100%),
    url("https://images.unsplash.com/photo-1647427060118-4911c9821b82?auto=format&fit=crop&w=2000&q=75") center/cover no-repeat,
    linear-gradient(135deg, #0b2a2c, #10424a);
  transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .8fr .45fr; align-items: center; gap: 24px; min-height: 560px; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: 1.4rem; max-width: 15ch; }
.hero .lead { font-size: 1.15rem; max-width: 34ch; opacity: .95; }
.hero .tri { font-family: var(--font-head); font-weight: 500; letter-spacing: .32em; font-size: .85rem; margin: 1.6rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-loop { position: relative; width: min(100%, 250px); aspect-ratio: 1; justify-self: center; }
.loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.loop-svg .spin { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-loop p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-loop small { font-size: .72rem; font-weight: 500; }

.hero-side { align-self: start; font-family: var(--font-head); font-weight: 500; letter-spacing: .18em; font-size: .95rem; line-height: 1.6; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

/* ---------- Features strip ---------- */
.features { background: var(--bg-soft); border-bottom: 1px solid #e5e7eb; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.feature { display: flex; align-items: center; gap: 18px; }
.feature h3 { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.feature p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.4; }

.icon-circle { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; }
.icon-circle svg { width: 28px; height: 28px; }
.icon-circle.lg { width: 76px; height: 76px; }
.icon-circle.lg svg { width: 34px; height: 34px; }
.bg-green { background: linear-gradient(135deg, #1f9d57, #0a7a3b); }
.bg-teal { background: linear-gradient(135deg, #16857f, #0b5d63); }
.bg-blue { background: linear-gradient(135deg, #2a96e0, #005a99); }
.bg-dark { background: linear-gradient(135deg, #3a444f, #1f252c); }
.bg-lime { background: linear-gradient(135deg, #7bcf3f, #1f9a44); }

/* ---------- Opportunity ---------- */
.opportunity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); min-height: 440px; background: #fff; }
.container-left { padding: 56px 40px 56px max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
.opp-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy); margin-bottom: 1.4rem; }
.opp-copy p { font-size: .97rem; max-width: 44ch; }
.opp-copy .btn { margin-top: .6rem; }
.opp-media { position: relative; display: flex; align-items: center; padding-left: 48px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 12%, rgba(0,0,0,.35) 22%, rgba(0,0,0,0) 60%),
    url("https://images.unsplash.com/photo-1671785253964-bdb43087ed99?auto=format&fit=crop&w=1600&q=75") center/cover no-repeat,
    linear-gradient(135deg, #cfe3d5, #6f9c80); }
.opp-caption { margin: 0; color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: .22em; font-size: 1.15rem; line-height: 1.55; text-shadow: 0 2px 12px rgba(0,0,0,.55); padding-left: 6vw; }

/* ---------- Approach ---------- */
.approach { background: #fff; padding: 56px 0; border-top: 1px solid #e5e7eb; }
.approach-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; max-width: 1320px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -18px; width: 26px; height: 12px; transform: translateY(-50%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 6h22M18 1l5 5-5 5' fill='none' stroke='%23586470' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.step .icon-circle { margin: 0 auto 14px; transition: transform .25s, box-shadow .25s; }
.step:hover .icon-circle { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.step h3 { font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.step p { font-size: .8rem; color: var(--muted); line-height: 1.4; margin: 0; }

.tomorrow { background: var(--bg-soft); border-radius: 10px; padding: 28px 20px; }
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; text-align: center; }
.impact svg { width: 34px; height: 34px; margin: 0 auto 10px; display: block; }
.impact span { font-family: var(--font-head); font-weight: 500; font-size: .62rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); line-height: 1.35; }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; overflow: hidden; background: #0b2a1c; }
.cta-bg { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,28,22,.92) 0%, rgba(4,28,22,.7) 40%, rgba(4,28,22,.2) 65%, rgba(4,28,22,.55) 100%),
    url("https://images.unsplash.com/photo-1620998258282-bc3bd5fee9e9?auto=format&fit=crop&w=2000&q=75") center 60%/cover no-repeat,
    linear-gradient(135deg, #0c3a22, #1f5a2d); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 56px; min-height: 280px; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: .02em; margin-bottom: 1rem; }
.cta h2 .thin { font-weight: 500; letter-spacing: .06em; }
.cta p { max-width: 52ch; opacity: .95; }
.cta .btn { margin-top: .6rem; }
.cta-side { margin: 0; font-family: var(--font-head); font-weight: 500; letter-spacing: .18em; font-size: 1.1rem; line-height: 1.55; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c9d3d6; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { padding-right: 24px; }
.footer-logo { width: 190px; height: auto; } /* clearspace X = 53px */
.site-footer h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.links li { margin-bottom: 6px; font-size: .88rem; }
.links a:hover, .contact a:hover, .footer-bottom a:hover { color: var(--lime); }
.contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .88rem; }
.contact svg { width: 18px; height: 18px; color: #fff; flex-shrink: 0; }
.footer-slogan { font-size: 1rem; line-height: 1.5; color: #fff; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 18px; font-size: .8rem; color: #9fb0b5; }
.footer-bottom p { margin: 0; }
.footer-bottom span { margin: 0 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .loop-svg .spin { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) { .pk-badge { display: none; } }
@media (max-width: 1240px) {
  .pk-badge { display: none; }
  .main-nav { gap: 18px; }
  .approach-grid { grid-template-columns: 1fr; }
  .tomorrow { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 24px 24px; box-shadow: 0 16px 30px rgba(0,0,0,.12); transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; justify-content: center; }

  .hero-inner { grid-template-columns: 1fr auto; }
  .hero-side { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .brand-logo { width: 84px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .hero-bg { background:
      linear-gradient(180deg, rgba(6,30,34,.9) 0%, rgba(6,30,34,.75) 60%, rgba(6,30,34,.6) 100%),
      url("https://images.unsplash.com/photo-1647427060118-4911c9821b82?auto=format&fit=crop&w=1200&q=70") center/cover no-repeat,
      #0b2a2c; }
  .hero-loop { width: 200px; justify-self: start; }

  .opportunity { grid-template-columns: 1fr; }
  .container-left { padding: 48px 24px; }
  .opp-media { min-height: 300px; padding-left: 24px;
    background:
      linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 70%),
      url("https://images.unsplash.com/photo-1671785253964-bdb43087ed99?auto=format&fit=crop&w=1200&q=70") center/cover no-repeat,
      #6f9c80; }
  .opp-caption { font-size: 1rem; padding-left: 0; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step::after { display: none; }
  .step:last-child { grid-column: 1 / -1; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-side { display: none; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .impact { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================
   Inner pages
   ========================================================== */
.text-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 22px; font-family: var(--font-head); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.text-link .ic { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover .ic, .card-link:hover .text-link .ic { transform: translateX(4px); }
.text-link.center { display: flex; justify-content: center; }
.text-link.light { color: var(--lime); }

/* Page hero */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.page-hero-bg { position: absolute; inset: 0; background-color: #0b2a2c; background-position: center; background-size: cover; }
.page-hero--about .page-hero-bg { background-image: linear-gradient(90deg, rgba(6,30,34,.95) 0%, rgba(6,30,34,.8) 45%, rgba(6,30,34,.35) 100%), url("https://images.unsplash.com/photo-1619641805634-b867f535071c?auto=format&fit=crop&w=2000&q=75"); }
.page-hero--tech .page-hero-bg { background-image: linear-gradient(90deg, rgba(6,30,34,.95) 0%, rgba(6,30,34,.8) 45%, rgba(6,30,34,.3) 100%), url("https://images.unsplash.com/photo-1647427060118-4911c9821b82?auto=format&fit=crop&w=2000&q=75"); }
.page-hero--green .page-hero-bg { background-image: linear-gradient(90deg, rgba(4,28,22,.93) 0%, rgba(4,28,22,.75) 45%, rgba(4,28,22,.3) 100%), url("https://images.unsplash.com/photo-1620998258282-bc3bd5fee9e9?auto=format&fit=crop&w=2000&q=75"); background-position: center 60%; }
.page-hero--contact .page-hero-bg { background-image: linear-gradient(90deg, rgba(6,30,34,.95) 0%, rgba(6,30,34,.8) 45%, rgba(6,30,34,.35) 100%), url("https://images.unsplash.com/photo-1671785253964-bdb43087ed99?auto=format&fit=crop&w=2000&q=75"); }
.page-hero-inner { position: relative; padding-top: 64px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; max-width: 18ch; margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.08rem; max-width: 56ch; opacity: .95; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: .8rem; margin-bottom: 26px; color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span:last-child { color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #c9d3d6; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; color: var(--navy); margin-bottom: 1.1rem; }
.section-title.sm { font-size: 1.5rem; margin-bottom: .4rem; }
.section-title.light { color: #fff; }
.section-intro { max-width: 60ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.align-start { align-items: start; }
.split p { max-width: 58ch; }
.split-media { min-height: 420px; border-radius: 12px; background-color: #6f9c80; background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(11,29,36,.15); }
.media-ev { background-image: url("https://images.unsplash.com/photo-1671785253964-bdb43087ed99?auto=format&fit=crop&w=1200&q=75"); }
.media-forest { background-image: url("https://images.unsplash.com/photo-1620998258282-bc3bd5fee9e9?auto=format&fit=crop&w=1200&q=75"); }

/* Cards */
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.partners { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card h3 { font-size: 1.02rem; font-weight: 700; margin: 18px 0 8px; }
.card p { font-size: .92rem; color: var(--muted); margin: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11,29,36,.09); border-color: transparent; }
.card-plain .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--lime); line-height: 1; }
.card-link { display: flex; flex-direction: column; }
.card-link .text-link { margin-top: auto; padding-top: 18px; }
.card-ic { width: 36px; height: 36px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: 12px; padding: 36px; border-left: 4px solid var(--green); box-shadow: 0 10px 30px rgba(11,29,36,.06); }
.mv-card:nth-child(2) { border-left-color: var(--blue); }
.mv-card h3 { font-size: 1.35rem; font-weight: 700; margin: 20px 0 10px; }
.mv-card p { margin: 0; font-size: 1.02rem; }

/* Process (technology) */
.process { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.process-step { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 28px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 30px; }
.process-step:not(:last-child)::after { content: ""; position: absolute; left: 67px; top: 106px; bottom: -21px; width: 2px; background: repeating-linear-gradient(to bottom, #c9d6d0 0 6px, transparent 6px 12px); }
.step-num { font-family: var(--font-head); font-weight: 500; font-size: .72rem; letter-spacing: .25em; color: var(--muted); margin: 0 0 4px; }
.process-step h3 { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.process-step p { margin-bottom: 12px; }

.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.ticks svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.process-step .ticks { grid-template-columns: 1fr 1fr; }
.ticks.lg li { font-size: 1rem; }

.elements { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.element { text-align: center; padding: 28px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.element:hover { border-color: var(--lime); background: rgba(108,194,74,.08); }
.element .sym { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); }
.element h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.element p { font-size: .85rem; margin: 0; }

.type-list { display: grid; gap: 18px; margin-top: 26px; }
.type-list li { display: flex; gap: 16px; align-items: flex-start; }
.type-list > li > svg { width: 42px; height: 42px; padding: 9px; border-radius: 10px; background: #e8f4ec; color: var(--green); flex-shrink: 0; }
.type-list h3 { font-size: 1rem; margin-bottom: 2px; }
.type-list p { margin: 0; font-size: .9rem; color: var(--muted); }
.card.safety { padding: 36px; background: var(--bg-soft); border: 0; }
.card.safety h3 { font-size: 1.25rem; margin: 18px 0; }
.card.safety:hover { transform: none; box-shadow: none; }

/* Sustainability */
.impact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.impact-card { padding: 32px 26px; border-radius: 12px; background: var(--bg-soft); border-top: 4px solid var(--green); }
.impact-card:nth-child(3) { border-top-color: var(--blue); }
.impact-card svg { width: 44px; height: 44px; }
.impact-card h3 { font-size: 1.1rem; font-weight: 700; margin: 16px 0 10px; }
.impact-card p { font-size: .92rem; margin: 0; color: var(--muted); }

.hierarchy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hierarchy li { position: relative; background: #fff; border-radius: 12px; padding: 30px 24px; box-shadow: 0 10px 30px rgba(11,29,36,.06); }
.section:not(.section-soft) .hierarchy li { background: var(--bg-soft); box-shadow: none; }
.hierarchy li:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #9aa8a2; border-right: 2px solid #9aa8a2; transform: translateY(-50%) rotate(45deg); }
.h-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--lime), var(--green)); }
.hierarchy li:nth-child(3) .h-num, .hierarchy li:nth-child(4) .h-num { background: linear-gradient(135deg, #2a96e0, var(--navy)); }
.hierarchy h3 { font-size: 1.1rem; font-weight: 700; margin: 16px 0 8px; }
.hierarchy p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 40px; box-shadow: 0 20px 50px rgba(11,29,36,.07); }
.muted { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.req { color: #c0392b; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .82rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; color: var(--ink); width: 100%; padding: .8rem .95rem; border: 1.5px solid #d3dcd8; border-radius: 8px; background: #fbfcfc; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: #fbfcfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235b6672' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .8rem center/18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aebdb6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(31,138,58,.14); }
.field [aria-invalid="true"] { border-color: #c0392b; background-color: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192,57,43,.14); }
.field-error { margin: 0; font-size: .8rem; color: #c0392b; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-status { font-size: .92rem; border-radius: 8px; }
.form-status:empty { display: none; }
.form-status.success, .form-status.error { padding: 14px 16px; }
.form-status.success { background: #e8f4ec; color: #145a28; border: 1px solid #bfe0c9; }
.form-status.error { background: #fdecea; color: #8e2a20; border: 1px solid #f3c2bc; }
.form-status a { text-decoration: underline; font-weight: 500; }

.contact-aside { display: grid; gap: 24px; }
.info-card { background: var(--bg-soft); border-radius: 14px; padding: 32px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 20px; }
.info-card.dark { background: linear-gradient(135deg, var(--dark), #103a2c); color: #d8e2e4; }
.info-card.dark p { font-size: .95rem; }
.info-card.dark .text-link { margin-top: 4px; }
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-list div { display: flex; flex-direction: column; font-size: .92rem; }
.info-list strong { font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-list a:hover { color: var(--green); }
.icon-circle.sm { width: 44px; height: 44px; }
.icon-circle.sm svg { width: 20px; height: 20px; }

/* Inner pages: responsive */
@media (max-width: 1080px) {
  .card-grid.four, .card-grid.partners, .impact-cards { grid-template-columns: repeat(2, 1fr); }
  .elements { grid-template-columns: repeat(3, 1fr); }
  .hierarchy { grid-template-columns: repeat(2, 1fr); }
  .hierarchy li::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .split, .mv-grid, .card-grid.three { grid-template-columns: 1fr; gap: 32px; }
  .split-media { min-height: 260px; order: -1; }
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .process-step::after { display: none; }
  .process-step .ticks { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero-inner { padding-top: 44px; padding-bottom: 52px; }
}
@media (max-width: 560px) {
  .card-grid.four, .card-grid.partners, .impact-cards, .hierarchy { grid-template-columns: 1fr; }
  .elements { grid-template-columns: repeat(2, 1fr); }
  .contact-form .btn { justify-self: stretch; justify-content: center; }
}

/* 404 page */
.notfound .page-hero-inner { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.notfound .hero-actions { margin-top: 2rem; }

/* ---------- Project status ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; max-width: 1000px; margin: 0 auto; }
.stages::before { content: ""; position: absolute; top: 23px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(to right, #c2cfc9 0 8px, transparent 8px 14px); }
.stage { position: relative; text-align: center; }
.stage-dot { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; color: #7b8a84; background: #fff; border: 2px solid #c2cfc9; position: relative; z-index: 1; }
.stage h3 { font-size: .95rem; font-weight: 700; color: var(--muted); }
.stage.active .stage-dot { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--lime), var(--green)); box-shadow: 0 6px 18px rgba(31,138,58,.35); }
.stage.active h3 { color: var(--ink); }
.stage-note { margin: 6px 0 0; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }

/* ---------- Chemistries ---------- */
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.card.chem { padding: 32px; }
.card.chem h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.chem-tag { display: inline-block; padding: .4rem .9rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: #fff; }
.chem-tag.lfp { background: linear-gradient(135deg, #1f9d57, #0a7a3b); }
.chem-tag.nmc { background: linear-gradient(135deg, #2a96e0, #005a99); }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2rem 0 .6rem; }
.legal p, .legal li { font-size: .98rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--green); text-decoration: underline; }

@media (max-width: 820px) {
  .stages { grid-template-columns: 1fr; gap: 22px; max-width: 360px; }
  .stages::before { top: 23px; bottom: 23px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, #c2cfc9 0 8px, transparent 8px 14px); }
  .stage { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center; text-align: left; }
  .stage-dot { margin: 0; grid-row: span 2; }
  .stage-note { margin: 0; }
  .card-grid.two { grid-template-columns: 1fr; }
}

/* Accessibility and reduced-motion support */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1 !important; transform: none !important; } }
