:root{
  --green: #1F7A3F;
  --green-2: #155c30;
  --offwhite: #F1F1F1;
  --white: #ffffff;
  --text: #0f1a13;
  --muted: rgba(15, 26, 19, .70);
  --border: rgba(15, 26, 19, .10);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,.10);
  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--offwhite);
  color: var(--text);
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.w-full{ width: 100%; }

/* ===== Reveal on scroll ===== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.header{
  z-index: 50;
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__logo{
  height: 72px; /* bigger logo */
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.20));
}

/* overlay header on hero */
.header--overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}
.header--overlay .nav a{
  color: rgba(255,255,255,.92);
  opacity: 1;
}
.header--overlay .nav a:hover{ color: #fff; }
.header--overlay .btn--ghost{
  color: #fff;
  border-color: rgba(255,255,255,.30);
}
.header--overlay .btn--ghost:hover{
  background: rgba(255,255,255,.12);
}

/* solid header (for other pages) */
.header--solid{
  position: sticky;
  top: 0;
  background: rgba(241,241,241,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Nav */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a{
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
  opacity: .90;
}
.nav a.is-active{ opacity: 1; color: var(--green-2); }

/* Actions */
.header__actions{ display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger{
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px 10px;
}
.burger span{
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  border-radius: 999px;
}

/* Solid header burger */
.header--solid .burger{
  border-color: var(--border);
  background: rgba(255,255,255,.75);
}
.header--solid .burger span{ background: var(--text); }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(31,122,63,.20);
}
.btn--primary:hover{ background: var(--green-2); }

.btn--light{
  background: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
  color: var(--text);
}
.btn--light:hover{ background: rgba(255,255,255,.95); }

.btn--ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(255,255,255,.55); }

/* ===== HERO video ===== */
.hero{
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/anasco-new.webp") center/cover no-repeat; /* poster fallback */
}
.hero__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 20%, rgba(0,0,0,.18), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.60));
}
.hero.no-video .hero__video{ display: none; }

.hero__content{
  position: relative;
  z-index: 1;
  padding: clamp(70px, 10vw, 120px) 0;
  text-align: center;
  color: #fff;
}
.hero__eyebrow{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  font-weight: 900;
  letter-spacing: .02em;
  margin: 0 0 18px;
}
.hero__title{
  margin: 0;
  font-weight: 900;
  font-size: clamp(38px, 6.2vw, 92px);
  line-height: .95;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.hero__titleAccent{ color: #d8ffe6; }
.hero__sub{
  margin: 18px auto 0;
  width: min(780px, 100%);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.55;
  opacity: .92;
}
.hero__cta{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero__badges{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.badge{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px;
}
.badge__num{ display:block; font-weight:900; font-size:16px; }
.badge__txt{ display:block; opacity:.9; font-size:13px; margin-top:4px; }

.hero__scroll{
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  font-weight: 900;
}
.hero__scroll:hover{ color:#fff; }

/* Sections */
.section{ padding: clamp(46px, 7vw, 80px) 0; }
.section--alt{
  background: rgba(255,255,255,.70);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head{ display:grid; gap:8px; margin-bottom:22px; }
.section__title{ margin:0; font-size: clamp(24px, 3vw, 34px); letter-spacing:-0.03em; }
.section__desc{ margin:0; color: var(--muted); line-height:1.6; }
/* Split section (editorial / less "AI") */
.splitHero{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}

.splitHero--editorial .splitHero__left{
  padding-top: 4px;
}

.aboutKicker{
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(15,26,19,.62);
}

.bigTitle{
  margin: 0;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--green-2);
}

/* Right column: clean block, no card look */
.splitHero--editorial .splitHero__right{
  padding-top: 2px;
}

.splitHero__right p{
  margin: 0 0 14px;
  color: rgba(15,26,19,.86);
  line-height: 1.8;
  font-weight: 600;
}

/* Subtle rule */
.aboutRule{
  height: 1px;
  background: rgba(15,26,19,.12);
  margin: 18px 0 14px;
}

/* Facts row (looks designed, not “badge-y”) */
.aboutFacts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fact{
  padding-top: 8px;
}

.fact__num{
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(18px, 2.2vw, 26px);
  color: rgba(15,26,19,.92);
}

.fact__lbl{
  margin-top: 4px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,26,19,.58);
}

/* Keep your link style, but make it feel a bit more premium */
.linkArrow{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  color: var(--green-2);
  text-decoration: none;
  margin-top: 16px;
}
.linkArrow:hover{ text-decoration: underline; }

/* Mobile */
@media (max-width: 980px){
  .splitHero{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .aboutFacts{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Cards */
.grid{ display:grid; gap:14px; }
.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{ margin:0 0 10px; letter-spacing:-0.02em; }
.card p{ margin:0 0 10px; color: var(--muted); line-height:1.6; }

.ticks{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,26,19,.85);
  font-weight: 700;
}
.ticks li{ margin: 8px 0; }

/* CTA strip */
.ctaStrip{
  margin-top: 18px;
  background: rgba(31,122,63,.10);
  border: 1px solid rgba(31,122,63,.18);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ctaStrip h3{ margin: 0 0 6px; letter-spacing: -0.02em; }
.ctaStrip p{ margin: 0; color: var(--muted); font-weight: 700; }

/* Impact section */
.impact{
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.impact__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/background1.jpg") center/cover no-repeat;
}
.impact__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.05);
}
.impact__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.66));
}
.impact.no-video .impact__video{ display: none; }

.impact__content{
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 70px 0;
}
.impact__top h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.03em;
}
.impact__note{
  margin: 0;
  opacity: .9;
  max-width: 680px;
  line-height: 1.6;
  font-weight: 700;
}
.impact__stats{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}
.stat{
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 16px;
}
.stat__num{
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.05em;
}
.stat__txt{
  margin-top: 6px;
  opacity: .92;
  font-weight: 800;
}

/* Quotes */
.quote{
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0;
}
.quote blockquote{
  margin: 0;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.quote figcaption{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* Services (Operations style like PNG) */
.opsHead{
  text-align: center;
  margin-bottom: 26px;
}
.opsTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 4.2vw, 44px);
}
.opsSub{
  margin: 10px auto 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}

.opsList{
  display: grid;
  gap: 22px;
}

.opsRow{
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.opsRow:first-child{
  border-top: 0;
}

.opsText{
  max-width: 520px;
}
.opsH3{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2.2vw, 26px);
}
.opsP{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

.opsBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  background: #1c1f24; /* dark pill like the PNG */
  border: 1px solid rgba(0,0,0,.12);
  transition: transform .12s ease, opacity .12s ease;
}
.opsBtn:hover{ opacity: .95; }
.opsBtn:active{ transform: translateY(1px); }

.opsMedia{
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.opsMedia img{
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: cover;
  display: block;
}

/* Optional: alternate layout (image left on even rows) */
.opsRow:nth-child(even){
  grid-template-columns: 1.25fr 1fr;
}
.opsRow:nth-child(even) .opsMedia{
  order: -1;
}

/* Mobile */
@media (max-width: 980px){
  .opsRow,
  .opsRow:nth-child(even){
    grid-template-columns: 1fr;
  }
  .opsRow:nth-child(even) .opsMedia{
    order: 0;
  }
  .opsText{
    max-width: none;
  }
  .opsMedia img{
    height: 240px;
  }
}

/* Chemicals page */
.menu{ text-align: center; }
.menuTitle{
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  letter-spacing: -0.03em;
}
.priceNote{
  margin: 10px auto 20px;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}
.menuList{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.menuItem{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform .12s ease, box-shadow .12s ease;
}
.menuItem:hover{
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}
.menuItem__img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.menuItem__body{ padding: 14px; }
.menuItem__name{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.menuItem__desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  font-weight: 700;
}


/* ===== Reviews carousel ===== */
.reviewsHead{
  text-align: center;
  margin-bottom: 18px;
}
.reviewsTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 4vw, 42px);
}
.reviewsSub{
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.reviewsWrap{
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 10px;
  align-items: center;
}

.reviewsViewport{
  overflow: hidden;
  padding: 10px 4px; /* room for shadows */
}

.reviewsTrack{
  display: flex;
  gap: 14px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 14px;
}
.reviewsTrack::-webkit-scrollbar{ height: 10px; }
.reviewsTrack::-webkit-scrollbar-thumb{
  background: rgba(15,26,19,.14);
  border-radius: 999px;
}
.reviewsTrack::-webkit-scrollbar-track{
  background: transparent;
}

.revCard{
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 28vw, 360px);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.revTop{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.revAvatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(31,122,63,.14);
  border: 1px solid rgba(31,122,63,.22);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--green-2);
  overflow: hidden;
}
.revAvatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.revMeta{ min-width: 0; }
.revName{
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.revSource{
  margin-top: 2px;
  font-size: 12px;
  color: rgba(15,26,19,.62);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.revPlatform{
  color: rgba(15,26,19,.72);
  font-weight: 900;
}
.revDot{ opacity: .55; }

.revStars{
  letter-spacing: 1px;
  font-size: 16px;
  color: #f2b01e; /* star gold */
  margin: 6px 0 10px;
}

.revText{
  margin: 0;
  color: rgba(15,26,19,.82);
  line-height: 1.7;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 3);
}

.revMore{
  display: inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: var(--green-2);
  text-decoration: none;
}
.revMore:hover{ text-decoration: underline; }

/* arrows */
.revArrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transition: transform .12s ease, background .12s ease;
}
.revArrow:hover{ background: rgba(255,255,255,.95); }
.revArrow:active{ transform: translateY(1px); }

/* dots */
.revDots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.revDotBtn{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(15,26,19,.25);
}
.revDotBtn.is-active{
  width: 18px;
  background: rgba(15,26,19,.70);
}

/* Responsive */
@media (max-width: 820px){
  .reviewsWrap{
    grid-template-columns: 1fr; /* hide arrows into overlay */
  }
  .revArrow{
    display: none;
  }
  .revCard{
    flex-basis: 82%;
  }
}
/* styles.css (ADD these at the bottom, they won't break your theme) */

/* Contact page layout (Apeel-style) */
.contactPage{
  background: var(--offwhite);
}

.contactSplit{
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-top: 1px solid var(--border);
}

/* Left panel */
.contactSplit__left{
  position: relative;
  overflow: hidden;
  background: rgba(31,122,63,.10);
  border-right: 1px solid var(--border);
}

.contactSplit__left::before{
  content:"";
  position:absolute;
  inset:-30% -10% auto -30%;
  width: 110%;
  height: 160%;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(31,122,63,.18), transparent 70%),
    radial-gradient(closest-side at 70% 70%, rgba(31,122,63,.10), transparent 70%);
  transform: rotate(-8deg);
}

.contactSplit__leftInner{
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  max-width: 560px;
}

.contactKicker{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--green-2);
}

.contactTitle{
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--text);
}

.contactLead{
  margin: 16px 0 0;
  color: rgba(15,26,19,.78);
  line-height: 1.7;
  font-weight: 600;
}

.contactMini{
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.contactMini__item{
  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.contactMini__label{
  display:block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(15,26,19,.70);
  text-transform: uppercase;
}

.contactMini__value{
  display:block;
  margin-top: 6px;
  font-weight: 900;
  color: var(--green-2);
  text-decoration: none;
}

/* Right panel */
.contactSplit__right{
  background: rgba(255,255,255,.55);
  display: grid;
  align-items: start;
  padding: clamp(22px, 4vw, 52px);
}

.contactForm{
  width: min(680px, 100%);
  margin-left: auto;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.field{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field label{
  font-size: 13px;
  font-weight: 900;
  color: rgba(15,26,19,.88);
}

.field label span{
  color: var(--green-2);
}

.contactForm input,
.contactForm select,
.contactForm textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(241,241,241,.55);
  outline: none;
  font: inherit;
}

.contactForm input:focus,
.contactForm select:focus,
.contactForm textarea:focus{
  border-color: rgba(31,122,63,.45);
  box-shadow: 0 0 0 4px rgba(31,122,63,.12);
}

.row2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contactFineprint{
  margin: 10px 0 14px;
  color: rgba(15,26,19,.65);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.contactSubmit{
  padding: 12px 18px;
  border-radius: 999px;
  width: fit-content;
}

/* Mobile */
@media (max-width: 980px){
  .contactSplit{
    grid-template-columns: 1fr;
  }
  .contactSplit__left{
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .contactForm{
    margin-left: 0;
  }
}

@media (max-width: 560px){
  .row2{
    grid-template-columns: 1fr;
  }
}
/* Modal */
.modalOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 1000;
}
.modalBox{
  width: min(920px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.modalBox img{
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.modalInfo{
  padding: 18px;
  text-align: left;
}
.modalInfo h1{
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.modalInfo p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}
.modalInfo h2{
  margin: 0 0 14px;
  color: var(--green-2);
}
[hidden] { display: none !important; }
.closeBtn{
  width: 100%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
}
.closeBtn:hover{ background: var(--green-2); }
.modalX{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  cursor: pointer;
  font-weight: 900;
}

/* Simple footer (chemicals page) */
.footer{
  background: rgba(255,255,255,.70);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer__bottom{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* ===== Mega footer (reference-like) ===== */
.footerMega{
  background: #0d5b2f;
  color: rgba(255,255,255,.92);
  overflow: hidden;
}
.footerMega__social{
  background: rgba(0,0,0,.20);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footerMega__socialInner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}
.footerMega__socialText{
  font-size: clamp(20px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  opacity: .95;
  text-align: center;
  flex: 1;
}
.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: #8ef05c;
  color: #0d5b2f;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  min-width: 140px;
}
.pill:hover{ filter: brightness(0.98); }

.footerMega__body{
  position: relative;
  padding: 44px 0 22px;
}
.footerMega__bgWord{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,.10);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footerMega__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 30px;
}
.footerCol h4{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  opacity: .95;
}
.footerCol p{
  margin: 0;
  line-height: 1.8;
  font-weight: 700;
  opacity: .92;
}

.footerMega__bottom{
  position: relative;
  z-index: 1;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 800;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}
.footerMega__sep{ opacity: .6; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .grid--3{ grid-template-columns: 1fr; }
  .splitHero{ grid-template-columns: 1fr; }
  .hero__badges{ grid-template-columns: 1fr; }
  .impact__stats{ grid-template-columns: 1fr; }
  .ctaStrip{ flex-direction: column; align-items: stretch; }
  .menuList{ grid-template-columns: 1fr; }
  .modalBox{ grid-template-columns: 1fr; }
  .footerMega__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px){
  /* mobile nav panel */
  .nav{
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    background: rgba(239, 237, 237, 0.334);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 90px 20px 18px;
    display: grid;
    gap: 12px;
    transform: translateY(-110%);
    transition: transform .18s ease;
    z-index: 60;
  }
  .nav.is-open{ transform: translateY(0); }

  .nav a{
    color: var(--text) !important; /* always readable in mobile menu */
    padding: 12px 14px;
    background: rgba(255,255,255,.70);
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .burger{ display: inline-block; }

  .footerMega__socialInner{
    flex-direction: column;
    align-items: stretch;
  }
  .footerMega__socialText{
    order: -1;
  }
}

/* ===== Mobile hero header overlap fix ===== */
/* Give hero content room for the overlay header height */
@media (max-width: 820px){
  .hero__content{
    /* header + a little breathing space */
    padding-top: calc(120px + env(safe-area-inset-top));
  }

  /* optional: slightly reduce logo so it doesn't dominate */
  .brand__logo{
    height: 58px;
  }

  /* optional: tighten header spacing so it doesn't sit too tall */
  .header__inner{
    padding: 14px 0;
  }
}

/* Small phones */
@media (max-width: 420px){
  .hero__content{
    padding-top: calc(132px + env(safe-area-inset-top));
  }
}
@media (prefers-reduced-motion: reduce){
  .hero__video, .impact__video{ display: none; }
  .reveal{ opacity: 1; transform: none; }
}