/* ════════════════════════════════════════════════════
   SESCOM — Modern stylesheet (2025 refresh)
   Palette: forest green, amber, warm slate, off-white
   ════════════════════════════════════════════════════ */

:root {
  --green:        #1a7a3c;
  --green-dark:   #0f4722;
  --green-darker: #0a3217;
  --green-mid:    #2ea055;
  --green-light:  #e8f5ee;
  --green-tint:   #f1faf4;
  --amber:        #f59e0b;
  --amber-dark:   #d97706;
  --amber-light:  #fef3c7;
  --charcoal:     #0f172a;
  --ink:          #1e293b;
  --slate:        #475569;
  --muted:        #94a3b8;
  --line:         #e2e8f0;
  --line-soft:    #eef2f6;
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --shadow-xs:    0 1px 2px rgba(15,23,42,.06);
  --shadow-sm:    0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:    0 8px 24px rgba(15,23,42,.08);
  --shadow-lg:    0 20px 48px -12px rgba(15,23,42,.18);
  --shadow-xl:    0 32px 64px -16px rgba(15,23,42,.22);
  --radius-xs:    6px;
  --radius:       10px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --transition:   .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
  --font-head:    'Sora', 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', 'Open Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
h1 { font-weight: 800; letter-spacing: -0.03em; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--green); color: var(--white); }

/* ── Color utilities ── */
.text-green     { color: var(--green) !important; }
.text-green-dk  { color: var(--green-dark) !important; }
.text-amber     { color: var(--amber) !important; }
.text-slate     { color: var(--slate) !important; }
.text-ink       { color: var(--ink) !important; }
.text-muted-sm  { color: var(--muted); font-size: .82rem; }
.bg-green       { background: var(--green) !important; }
.bg-green-dark  { background: var(--green-dark) !important; }
.bg-green-light { background: var(--green-light) !important; }
.bg-green-tint  { background: var(--green-tint) !important; }
.bg-amber       { background: var(--amber) !important; }
.bg-amber-light { background: var(--amber-light) !important; }
.bg-charcoal    { background: var(--charcoal) !important; }
.bg-off-white   { background: var(--off-white) !important; }

/* ── Buttons ── */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--radius);
  padding: .65rem 1.35rem;
  transition: var(--transition);
  letter-spacing: -.005em;
  border-width: 1.5px;
}
.btn-primary {
  background: var(--green); border-color: var(--green); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-outline-primary {
  color: var(--green); border-color: var(--green); background: transparent;
}
.btn-outline-primary:hover {
  background: var(--green); color: var(--white);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-amber {
  background: var(--amber); border-color: var(--amber); color: var(--charcoal);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-amber:hover {
  background: var(--amber-dark); border-color: var(--amber-dark); color: var(--charcoal);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-outline-light {
  color: var(--white); border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: var(--white); color: var(--green-dark); border-color: var(--white);
}
.btn-ghost {
  color: var(--green); background: transparent; border: none; font-weight: 600;
  padding: .5rem 0;
}
.btn-ghost:hover { color: var(--green-dark); }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }

/* ── Topbar ── */
.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,.65);
  font-size: .8rem; padding: .42rem 0;
  letter-spacing: .01em;
}
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: var(--amber); }
.topbar i { color: var(--amber); margin-right: .35rem; }

/* ── Navbar ── */
.navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding: .85rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  padding: .65rem 0;
}
.navbar-brand {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.45rem; color: var(--green) !important;
  letter-spacing: -.025em; display: flex; align-items: center; gap: .25rem;
  padding: 0;
}
.navbar-brand span,
.navbar-brand .dot { color: var(--amber); }
.navbar-brand .brand-logo {
  height: 42px; width: auto; display: block;
  transition: var(--transition);
}
.navbar.scrolled .brand-logo { height: 36px; }
@media (max-width: 575px) {
  .navbar-brand .brand-logo { height: 36px; }
}
.nav-link {
  font-family: var(--font-head); font-weight: 500;
  font-size: .92rem; color: var(--ink) !important;
  padding: .5rem .9rem !important;
  border-radius: var(--radius-xs); transition: var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--green) !important; }
.nav-link.active {
  color: var(--green) !important; font-weight: 600;
}
.nav-link.active::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%); width: 18px; height: 2px;
  background: var(--green); border-radius: 2px;
}
.navbar-toggler { border-color: var(--line); padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(26,122,60,.18); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a7a3c' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Section helpers ── */
.section-py    { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-py-sm { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-tag {
  font-family: var(--font-head); font-size: .73rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: .5rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.section-tag::before {
  content: ''; width: 22px; height: 2px; background: var(--amber); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem; line-height: 1.15;
}
.section-lead {
  color: var(--slate); font-size: 1.04rem; max-width: 640px;
}
.divider-green {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: 4px; margin: .5rem 0 1.4rem;
}
.text-center .divider-green { margin-left: auto; margin-right: auto; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(46,160,85,.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(245,158,11,.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--green-darker) 0%, var(--green-dark) 50%, var(--green) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: .6rem;
}
.page-hero p {
  color: rgba(255,255,255,.82);
  margin-top: .25rem;
  max-width: 620px; margin-left: auto; margin-right: auto;
  font-size: 1.02rem;
}
.breadcrumb { background: transparent; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }
.breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--white); }
.breadcrumb-item.active { color: var(--amber); }

/* ── Home hero ── */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(46,160,85,.55) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(245,158,11,.2) 0%, transparent 55%),
    linear-gradient(140deg, var(--green-darker) 0%, var(--green-dark) 45%, var(--green) 100%);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M30 0L34.5 18.5L53 22.5L34.5 26.5L30 45L25.5 26.5L7 22.5L25.5 18.5L30 0Z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  color: var(--white); font-weight: 800; line-height: 1.1;
  letter-spacing: -.035em;
}
.hero h1 .highlight,
.hero h1 span {
  background: linear-gradient(120deg, var(--amber), #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead, .hero p {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 560px; margin: 1rem 0 1.75rem;
  line-height: 1.6;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .04em;
  padding: .42rem .9rem; border-radius: 999px;
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}
.hero-badge i { color: var(--amber); }

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 50%);
  pointer-events: none;
}
.hero-stat {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat:first-child { padding-top: 0; }
.hero-stat .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(245,158,11,.18); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hero-stat strong {
  display: block; color: var(--white); font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700; line-height: 1.2;
}
.hero-stat span {
  color: rgba(255,255,255,.65); font-size: .82rem;
}

/* ── Stat bar ── */
.stat-bar {
  background: var(--charcoal);
  padding: 2.25rem 0;
  position: relative;
}
.stat-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--green));
}
.stat-number {
  font-family: var(--font-head); font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800; color: var(--amber);
  display: block; line-height: 1; letter-spacing: -.02em;
}
.stat-label {
  font-size: .78rem; color: rgba(255,255,255,.58);
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: .4rem; font-weight: 500;
}

/* ── Service cards ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card h5 { font-size: 1.1rem; margin-bottom: .55rem; }
.service-card p { font-size: .92rem; color: var(--slate); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--green); color: var(--white);
  transform: rotate(-4deg) scale(1.06);
}
.service-icon.amber { background: var(--amber-light); color: var(--amber-dark); }
.service-card:hover .service-icon.amber { background: var(--amber); color: var(--white); }

/* ── Bento pillars ── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 220px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.pillar-card:hover {
  border-color: var(--green); transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.pillar-card .ico-lg {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.1rem;
  transition: var(--transition);
}
.pillar-card:hover .ico-lg { background: var(--green); color: var(--white); }
.pillar-card h5 { margin-bottom: .35rem; font-size: 1.1rem; }
.pillar-card p { color: var(--slate); font-size: .9rem; margin-bottom: .85rem; }
.pillar-card .read-link { font-weight: 600; font-size: .88rem; color: var(--green); }
.pillar-card .read-link:hover { color: var(--green-dark); }
.pillar-card.span-2 { grid-column: span 2; }
.pillar-card.span-3 { grid-column: span 3; }
.pillar-card.span-4 { grid-column: span 4; }
.pillar-card.dark {
  background: linear-gradient(135deg, var(--green-darker), var(--green-dark));
  color: var(--white); border-color: transparent;
}
.pillar-card.dark h5 { color: var(--white); }
.pillar-card.dark p  { color: rgba(255,255,255,.78); }
.pillar-card.dark .ico-lg { background: rgba(255,255,255,.1); color: var(--amber); }
.pillar-card.dark .read-link { color: var(--amber); }
@media (max-width: 991px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-card.span-2,.pillar-card.span-3,.pillar-card.span-4 { grid-column: span 2; }
}
@media (max-width: 575px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card.span-2,.pillar-card.span-3,.pillar-card.span-4 { grid-column: span 1; }
}

/* ── Product cards ── */
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; height: 100%;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
  border-color: transparent;
}
.product-thumb {
  background: linear-gradient(135deg, var(--green-light) 0%, #d1fae5 100%);
  height: 200px; display: flex; align-items: center;
  justify-content: center; font-size: 4rem; color: var(--green);
  flex-shrink: 0; position: relative; overflow: hidden;
}
.product-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.4), transparent 60%);
}
.product-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.product-body h5 { margin-bottom: .5rem; font-size: 1.05rem; }
.product-body p  { flex: 1; color: var(--slate); font-size: .9rem; }
.product-card .badge { font-family: var(--font-head); font-weight: 600; }

/* ── Filter tabs ── */
.filter-tab {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .42rem 1.1rem; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; color: var(--slate); background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active {
  border-color: var(--green); background: var(--green); color: var(--white);
}

/* ── News cards ── */
.news-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; height: 100%;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.news-thumb {
  height: 170px; display: flex; align-items: center;
  justify-content: center; font-size: 3.4rem; color: var(--green-dark);
  background: linear-gradient(135deg, var(--green-light) 0%, #d1fae5 100%);
}
.news-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.news-body h5 { font-size: 1.02rem; line-height: 1.4; margin-bottom: .55rem; }
.news-body p  { font-size: .88rem; flex: 1; color: var(--slate); }
.news-meta { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }
.news-cat {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .7rem; border-radius: 999px;
  background: var(--green-light); color: var(--green); margin-bottom: .55rem;
}

/* ── Project cards ── */
.project-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; height: 100%;
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.project-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
  border-color: transparent;
}
.project-thumb {
  height: 130px; position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 2.6rem;
}
.project-thumb::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M20 0L23 14L37 17L23 20L20 34L17 20L3 17L17 14L20 0Z'/%3E%3C/g%3E%3C/svg%3E");
}
.project-thumb .label {
  position: absolute; top: .65rem; right: .65rem;
  background: var(--amber); color: var(--charcoal);
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .04em; padding: .22rem .55rem; border-radius: 4px;
  z-index: 1;
}
.project-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.project-body .yr {
  font-size: .76rem; font-weight: 600; color: var(--amber-dark);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem;
}
.project-body h5 { font-size: 1rem; line-height: 1.35; margin-bottom: .55rem; }
.project-body p { font-size: .87rem; color: var(--slate); flex: 1; }
.project-meta {
  margin-top: .85rem; padding-top: .85rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem;
}
.project-meta .funder { color: var(--slate); font-weight: 500; }
.project-meta .value { font-weight: 700; color: var(--green); font-family: var(--font-head); }

/* ── Info / spec ── */
.info-box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 1.85rem;
  box-shadow: var(--shadow-xs);
}
.info-row {
  display: flex; gap: 1rem; padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft); align-items: flex-start;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-icon {
  color: var(--green); font-size: 1.05rem; margin-top: .25rem;
  flex-shrink: 0; width: 24px;
}
.info-label {
  font-weight: 600; font-size: .76rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem;
}
.info-value { font-size: .94rem; color: var(--ink); }

/* ── Impact metric ── */
.impact-metric {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--green); border-radius: var(--radius-md);
  padding: 1.6rem 1.25rem; text-align: center;
  transition: var(--transition);
}
.impact-metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.impact-metric .mn {
  font-family: var(--font-head); font-size: 2.3rem; font-weight: 800;
  color: var(--green); line-height: 1; display: block;
  letter-spacing: -.02em;
}
.impact-metric .ml {
  font-size: .85rem; color: var(--slate);
  margin-top: .55rem; font-weight: 500;
}

/* ── Tables ── */
.reg-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.reg-table th {
  background: var(--green); color: var(--white);
  font-family: var(--font-head); font-weight: 600;
  padding: .85rem 1.1rem; text-align: left;
}
.reg-table td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.reg-table tr:nth-child(even) td { background: var(--off-white); }
.reg-table tr:hover td { background: var(--green-tint); }

.spec-table { width: 100%; font-size: .88rem; }
.spec-table td { padding: .55rem .85rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table td:first-child { font-weight: 600; color: var(--slate); width: 46%; }
.spec-table tr:last-child td { border-bottom: none; }

.compare-th { background: var(--green); color: var(--white); padding: .7rem 1rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.compare-td { padding: .65rem 1rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.tick  { color: var(--green); font-weight: 700; }
.cross { color: #dc2626; }

/* ── Impact strip / dark panels ── */
.impact-strip {
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(46,160,85,.45) 0%, transparent 60%),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green-darker) 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative; overflow: hidden;
}
.impact-strip h2 { color: var(--white); }
.impact-strip p  { color: rgba(255,255,255,.78); }
.glass-tile {
  background: rgba(255,255,255,.08); border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14); padding: 1.05rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.glass-tile:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--off-white);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.7rem 1.85rem;
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: -.5rem; left: 1.25rem;
  font-family: 'Sora', serif; font-size: 4rem; color: var(--green);
  line-height: 1; opacity: .25;
}
.testimonial-card blockquote {
  font-style: italic; color: var(--slate); margin: 0 0 .85rem;
  position: relative; z-index: 1;
}
.testimonial-card cite {
  font-style: normal; font-weight: 700; font-size: .88rem;
  color: var(--ink);
}

/* ── Partners marquee ── */
.partners-marquee {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex; gap: 3.5rem;
  animation: marquee 32s linear infinite;
  width: max-content;
  align-items: center;
}
.partner-logo {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--slate);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .65rem 0; opacity: .7;
  transition: var(--transition);
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; color: var(--green); }
.partner-logo i { color: var(--green); font-size: 1.2rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Misc helpers ── */
.badge-green {
  background: var(--green-light); color: var(--green);
  font-weight: 700; font-size: .76rem;
  padding: .3rem .75rem; border-radius: 999px;
  font-family: var(--font-head);
}
.badge-amber {
  background: var(--amber-light); color: var(--amber-dark);
  font-weight: 700; font-size: .76rem;
  padding: .3rem .75rem; border-radius: 999px;
  font-family: var(--font-head);
}
.list-check { padding: 0; list-style: none; }
.list-check li {
  padding: .35rem 0 .35rem 1.85rem; position: relative; color: var(--slate);
  line-height: 1.6;
}
.list-check li::before {
  content: '\F26A';
  font-family: 'bootstrap-icons'; font-weight: 700;
  position: absolute; left: 0; top: .45rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
}
.rounded-lg { border-radius: var(--radius-md) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-md) !important; }

/* ── Forms ── */
.form-control, .form-select {
  border-color: var(--line); border-radius: var(--radius);
  font-size: .94rem; padding: .65rem 1rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(26,122,60,.14);
  outline: none;
}
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--ink); }
.purpose-btn {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .55rem 1rem; font-size: .85rem;
  font-family: var(--font-head); font-weight: 600;
  color: var(--slate); background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.purpose-btn:hover, .purpose-btn.active {
  border-color: var(--green); background: var(--green-light); color: var(--green);
}

/* ── Footer ── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,.65);
  padding: clamp(3rem, 5vw, 4rem) 0 1.5rem;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
}
footer h5 {
  color: var(--white); font-family: var(--font-head);
  font-size: .98rem; font-weight: 700;
  margin-bottom: 1rem; letter-spacing: -.01em;
}
footer a {
  color: rgba(255,255,255,.6); font-size: .89rem;
  display: block; margin-bottom: .45rem;
  transition: var(--transition);
}
footer a:hover { color: var(--amber); transform: translateX(2px); }
.footer-brand {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 800;
  color: var(--white); letter-spacing: -.025em;
}
.footer-brand span,
.footer-brand .dot { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem;
  padding-top: 1.25rem; font-size: .8rem;
  text-align: center; color: rgba(255,255,255,.4);
}
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08); border-radius: 50%;
  color: rgba(255,255,255,.7); margin-right: .4rem;
  margin-bottom: 0; transition: var(--transition); font-size: .92rem;
}
.social-links a:hover {
  background: var(--green); color: var(--white);
  transform: translateY(-2px);
}

/* ── Scroll to top ── */
#scrollTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--green); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 999;
  transition: var(--transition);
}
#scrollTop:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
#scrollTop.show { display: flex; }

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .partners-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero { text-align: center; padding-top: 3.5rem; padding-bottom: 3rem; }
  .hero p, .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-card { margin-top: 2.5rem; }
}
@media (max-width: 575px) {
  .section-py { padding: 2.75rem 0; }
  .stat-number { font-size: 1.7rem; }
  .page-hero { padding: 2.5rem 0 2rem; }
  .hero { padding-top: 3rem; padding-bottom: 2.5rem; }
  .testimonial-card { padding: 1.4rem; }
}
