/* ================================
   Xeroplast Solutions LLP
   Eco-green theme
   ================================ */

:root {
  /* Eco-green palette */
  --green-900: #1f3a1a;
  --green-800: #2e5d24;
  --green-700: #3f7a30;
  --green-600: #5a8a3a;
  --green-500: #7caa55;
  --green-300: #c5dbac;
  --green-100: #eaf6e0;
  --green-50:  #f4faee;

  --cream:     #faf7f0;
  --sand:      #efe9d8;
  --ink:       #16241a;
  --ink-soft:  #44524a;
  --muted:     #6b7a6f;
  --border:    #dbe6cf;
  --white:     #ffffff;

  --shadow-sm: 0 1px 2px rgba(31,58,26,0.06), 0 1px 3px rgba(31,58,26,0.08);
  --shadow-md: 0 6px 16px rgba(31,58,26,0.08), 0 2px 6px rgba(31,58,26,0.06);
  --shadow-lg: 0 18px 40px rgba(31,58,26,0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-800); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-600); }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--green-900);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* Trademark superscript — smaller, snug against the word */
sup {
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  margin-left: 0;
  margin-right: 0;
  letter-spacing: 0;
  position: relative;
  top: -0.1em;
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-300);
}
.btn-ghost:hover {
  background: var(--green-100);
  border-color: var(--green-600);
  color: var(--green-900);
}
.btn-arrow::after {
  content: "→";
  margin-left: .5rem;
  transition: transform .25s ease;
  display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Tags / chips */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--green-600);
  border-radius: 50%;
  display: inline-block;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .8rem;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.nav-brand img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.nav-brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--green-900);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .nav-brand-name { display: none; }
}
.nav-brand-text {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--green-900);
  font-size: 1rem;
  line-height: 1.1;
}
.nav-brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  padding: .55rem .85rem;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.nav-links a:hover { color: var(--green-900); background: var(--green-100); }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: var(--white); background: var(--green-800); }
.nav-links a.nav-cta:hover { background: var(--green-700); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--green-900);
  position: relative;
  transition: transform .2s ease, top .2s ease, bottom .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { bottom: -6px; top: auto; }

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% 10%, rgba(124,170,85,0.18), transparent 60%),
    radial-gradient(900px 460px at 5% 100%, rgba(46,93,36,0.10), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--green-50) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  margin-top: 18px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-700);
  font-weight: 500;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 720px;
}
.hero-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.hero-stat .sublabel {
  font-size: 0.7rem;
  color: var(--green-700);
  margin-top: 2px;
  font-style: italic;
  letter-spacing: 0.01em;
}
/* Variant for tiles whose .num is a short word (not a number) — shrinks
   the type so it doesn't overflow the tile or force a line break */
.hero-stat--text .num {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  padding: 1rem;
}
.hero-visual .hero-logo {
  width: 100%;
  max-width: 152px;
  height: auto;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 30px 60px rgba(46,93,36,0.18);
  object-fit: contain;
}
.hero-visual .hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--green-800);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* ================================
   SECTION wrapper
   ================================ */
.section {
  padding: 92px 0;
}
.section.alt { background: var(--white); }
.section.sand { background: var(--sand); }
.section h2 { max-width: 760px; }
.section-intro {
  max-width: 720px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

/* ================================
   ABOUT
   ================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.about-card h3 { margin-bottom: 8px; }
.about-card p:last-child { margin-bottom: 0; }
.about-points {
  display: grid;
  gap: 20px;
}
.about-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-point .icon-box {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid; place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  border: 1px solid var(--green-300);
}
.about-point h4 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--green-900);
  font-weight: 700;
}
.about-point p { margin: 0; font-size: 0.95rem; }

/* ================================
   PRODUCT / FEATURES grid
   ================================ */
.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
}
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  margin-bottom: 18px;
  border: 1px solid var(--green-300);
}
.feature h3 { margin-bottom: 6px; font-size: 1.12rem; }
.feature p { margin: 0; font-size: 0.96rem; }

/* ================================
   RANGE (4-up + range-wide)
   ================================ */
.range-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.range-card {
  display: flex;
  flex-direction: column;
}
.range-card p { flex: 1; }
.spec-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec-links-label {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.spec-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.spec-links a::before {
  content: "↓";
  font-size: 0.85rem;
}
.spec-links a:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.range-wide {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.range-wide-head { margin-bottom: 18px; }
.range-wide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.range-wide-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.range-wide-item .ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-300);
  display: grid; place-items: center;
}
.range-wide-item h4 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--green-900);
  font-weight: 700;
}
.range-wide-item p { margin: 0; font-size: 0.95rem; }

@media (max-width: 1080px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .range-wide-grid { grid-template-columns: 1fr; }
  .range-wide { padding: 22px; }
}
@media (max-width: 560px) {
  .range-grid { grid-template-columns: 1fr; }
}

/* ================================
   WHY split
   ================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-subhead {
  font-size: 0.9922rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 1.6rem 0 .6rem;
}
.why-subhead:first-of-type {
  margin-top: 1.2rem;
}
.why-visual {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 26px;
}
.why-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}
.why-stat {
  position: relative;
  color: var(--white);
}
.why-stat .big {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
}
.why-stat .big--text {
  font-size: clamp(1.61rem, 3.22vw, 2.3rem);
  letter-spacing: -0.01em;
}
.why-stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 8px;
}
.why-stat--banner {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 14px 0;
}

/* ================================
   APPLICATIONS chips
   ================================ */
.apps-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.app-chip {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--green-900);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .25s ease;
}
.app-chip:hover {
  background: var(--green-100);
  border-color: var(--green-600);
  transform: translateY(-2px);
}
.app-chip .bullet {
  width: 10px; height: 10px;
  background: var(--green-600);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================
   CERTIFICATIONS strip
   ================================ */
.cert-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 18px;
  row-gap: 36px;
  position: relative;
}
.cert-grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--green-300) 8%,
    var(--green-600) 50%,
    var(--green-300) 92%,
    transparent 100%
  );
  pointer-events: none;
}
.cert {
  background: var(--green-50);
  border: 1.5px solid var(--green-300);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cert-grid .cert {
  background: transparent;
  border: none;
  padding: 8px 6px;
  gap: 14px;
}
.cert .badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  color: var(--green-800);
  border: 2px solid var(--green-600);
  font-weight: 700;
}
.cert .name { font-weight: 700; color: var(--green-900); font-size: 0.95rem; }
.cert .meta { color: var(--muted); font-size: 0.8rem; }

.cert-logo {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}
.cert-logo svg,
.cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Smaller logo variant — used when a logo's intrinsic margin is tight and
   it would otherwise overlap the caption below */
.cert-logo--sm {
  padding: 22px;
}
/* Circle-clipped logo variant — for square logos that should appear round */
.cert-logo--circle {
  background: var(--white);
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--green-300);
}
.cert-logo--circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* FDA logo — 10% larger, 20% darker */
.cert-logo--fda img {
  transform: scale(1.10);
  filter: brightness(0.80);
  transform-origin: center center;
}
/* Generic per-logo scale modifiers — applied on top of .cert-logo's
   100% width/height image. Used to fine-tune individual badge sizes. */
.cert-logo--scale-90 img  { transform: scale(0.90); transform-origin: center center; }
.cert-logo--scale-115 img { transform: scale(1.15); transform-origin: center center; }
.cert-name {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.92rem;
  line-height: 1.35;
}

.cert-detail {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.cert-detail h3 { margin-bottom: 16px; }
.biodeg-layout {
  margin-top: 8px;
}
.biodeg-stages {
  margin-bottom: 32px;
}
.biodeg-strip {
  display: block;
  width: 100%;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.biodeg-video-wrap {
  text-align: center;
}
.biodeg-video {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #000;
}
.biodeg-caption {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.cert-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.cert-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.cert-list li::before {
  content: "✓";
  color: var(--green-700);
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================
   COMPARISON TABLE
   ================================ */
.compare-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.compare-table thead th {
  background: var(--green-800);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 18px 18px;
  text-align: left;
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--green-900);
}
.compare-table thead th.compare-feature {
  background: var(--green-900);
}
.compare-table thead th.compare-hero {
  background: var(--green-700);
  position: relative;
}
.compare-table thead th.compare-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 3px;
  background: var(--green-500);
}
.compare-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--green-900);
  background: var(--green-50);
  padding: 14px 18px;
  font-size: 0.9rem;
  width: 22%;
  border-bottom: 1px solid var(--border);
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.45;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody td:last-child {
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 500;
  border-left: 1px solid var(--green-300);
}
.compare-table tbody tr:hover td {
  background: var(--cream);
}
.compare-table tbody tr:hover td:last-child {
  background: var(--green-100);
}
.mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.78rem;
  margin-right: 8px;
  vertical-align: -2px;
  flex-shrink: 0;
}
.mark-ok   { background: var(--green-700); color: var(--white); }
.mark-warn { background: #e8a93a; color: var(--white); }
.mark-x    { background: #c44b3a; color: var(--white); }
.compare-footnote {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}
sup.fn {
  font-size: 0.65em;
  font-weight: 700;
  color: var(--green-700);
  margin-left: 2px;
  vertical-align: super;
  line-height: 0;
}
.compare-footnotes {
  margin: 28px 0 6px;
  padding: 24px 28px;
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-md);
  list-style: decimal outside;
  list-style-position: outside;
  counter-reset: cmp-fn;
  display: grid;
  gap: 12px;
  padding-left: 48px;
}
.compare-footnotes li {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 4px;
}
.compare-footnotes li strong {
  color: var(--green-900);
}
.compare-footnotes li em {
  font-style: italic;
}

/* ================================
   RESOURCES
   ================================ */
.resource-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .25s ease;
}
.resource-card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.resource-card h3 { margin: 0; }
.resource-card p { margin: 0; flex: 1; }
.resource-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-800);
  font-weight: 600;
}
.resource-card .link::after { content: "→"; transition: transform .2s ease; }
.resource-card:hover .link::after { transform: translateX(4px); }

/* Video block (Delipac intro video inside Resources section) */
.video-block {
  margin-top: 16px;
  margin-bottom: 32px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.video-block h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  color: var(--green-900);
}
.video-block .video-intro {
  margin: 0 0 20px;
  color: var(--green-800);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--green-800);
  text-align: center;
}
.video-caption a {
  color: var(--green-800);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--green-300);
}
.video-caption a:hover { color: var(--green-900); }

/* Adverts block (embedded thumbnails inside Resources section) */
.adverts-block {
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.adverts-block h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  color: var(--green-900);
}
.adverts-block .adverts-intro {
  margin: 0 0 24px;
  color: var(--green-800);
}
.adverts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.advert-thumb {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--green-900);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.advert-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--border);
}
.advert-thumb .caption {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}
.advert-thumb:hover {
  transform: translateY(-3px);
}
.advert-thumb:hover img {
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}
@media (max-width: 960px) {
  .adverts-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .adverts-strip { grid-template-columns: repeat(2, 1fr); }
  .advert-thumb img { height: 150px; }
}

/* ================================
   GALLERY
   ================================ */
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-50);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(31,58,26,0.85) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ================================
   CONTACT
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info dt {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-info dd {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-800);
}
.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.form-actions .note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--green-900);
  color: #c9d8c0;
  padding: 70px 0 28px;
}
.footer a { color: #dfe9d3; }
.footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--cream);
  border: 2px solid rgba(255,255,255,0.15);
}
.footer-brand p {
  color: #b3c4a6;
  font-size: 0.95rem;
  max-width: 320px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul li {
  margin-bottom: 8px;
  font-size: 0.93rem;
}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #98a890;
}

/* ================================
   ANIMATIONS
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { margin: 0 auto; max-width: 380px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .cert-grid::before { display: none; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-list { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 60px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .feature-grid,
  .apps-grid,
  .cert-strip,
  .footer-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-card, .cert-detail, .contact-form { padding: 24px; }
}
