/* EcoRoad Africa — Modern Design System */
:root {
  --green-950: #052e1f;
  --green-900: #0a3d2a;
  --green-800: #0f5c3a;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-300: #86efac;
  --sand-100: #f5f0e8;
  --sand-200: #e8dcc8;
  --sand-300: #d4c4a8;
  --dark: #0a0f0d;
  --dark-80: rgba(10, 15, 13, 0.8);
  --white: #ffffff;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--sand-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
  background: color-mix(in srgb, var(--header-bg) 82%, transparent);
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.header.header-solid {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.header.header-solid.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-image {
  height: var(--logo-height, 40px);
  width: auto;
  max-width: var(--logo-max-width, 200px);
  object-fit: contain;
}
.footer .logo-image {
  height: var(--logo-height-footer, 34px);
  max-width: calc(var(--logo-max-width, 200px) * 0.9);
}
.logo-mark {
  width: var(--logo-height, 40px);
  height: var(--logo-height, 40px);
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
  color: var(--white);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.logo-accent { color: var(--green-400); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--header-text);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-400);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--header-text-hover); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active { color: var(--header-text-hover); }
.nav-links a.is-active::after { width: 100%; }
.nav-cta {
  background: var(--green-600) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 999px;
}
.nav-cta.is-active { color: var(--white) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-500) !important; }

/* Dropdown nav */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: 0.35rem;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  list-style: none;
  z-index: 200;
  max-height: 70vh;
  overflow-y: auto;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.5rem 1.25rem;
  font-size: 0.85rem; white-space: nowrap;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  background: color-mix(in srgb, var(--green-500) 12%, transparent);
  color: var(--header-text-hover);
}
.dropdown-divider {
  margin: 0.35rem 0 0.25rem;
  padding: 0.5rem 1.25rem 0.25rem;
  border-top: 1px solid var(--header-border);
  list-style: none;
}
.dropdown-divider span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--header-text); position: absolute;
  transition: 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
  filter: brightness(var(--hero-brightness, 1.15)) saturate(1.05);
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute; inset: 0;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 8rem 0 4rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--green-400);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--green-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  max-width: 540px; margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-subheadline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
  max-width: 640px;
}
.hero-title.hero-text-light,
.hero-title.hero-text-light .line {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-title.hero-text-dark,
.hero-title.hero-text-dark .line {
  background: none;
  -webkit-text-fill-color: #111827;
  color: #111827;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.75);
}
.hero-subheadline.hero-text-light {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero-subheadline.hero-text-dark {
  color: #1f2937;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}
.hero-desc.hero-text-light {
  color: #f5f0e8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-desc.hero-text-dark {
  color: #1f2937;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gray-400);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--green-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border-radius: 999px; border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(34,197,94,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,0.4);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--green-400);
  background: rgba(34,197,94,0.1);
}
.btn-full { width: 100%; justify-content: center; }

/* Stats */
.stats-bar {
  background: var(--green-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* Sections */
.section { padding: 5rem 0; position: relative; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--green-400);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--sand-100);
}
.section-subtitle { color: var(--gray-400); font-size: 1.1rem; max-width: 600px; }
.section-body { color: var(--sand-300); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.section-header { margin-bottom: 2.5rem; }

.page-header {
  padding: 7rem 0 2.5rem;
  background: var(--green-950);
  border-bottom: 1px solid var(--surface-border);
}
.page-header .section-title { margin-bottom: 0.5rem; }
.page-header .section-subtitle { margin-bottom: 0; max-width: 720px; }
.page-content { padding-top: 0; }

/* About */
.about { background: var(--green-950); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-img-wrap img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 0.6s;
}
.about-img-wrap:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--green-600);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.product-img { position: relative; overflow: hidden; }
.product-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,46,31,0.8), transparent);
}
.product-body { padding: 1.75rem; }
.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 0.75rem;
}
.product-body p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.6; }

/* Product detail blocks */
.product-detail {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.product-detail-grid.reverse .product-detail-img { order: 2; }
.product-detail-grid.reverse .product-detail-content { order: 1; }
.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-detail-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.product-subtitle {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--green-400);
  margin-bottom: 0.75rem;
}
.product-detail-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800;
  margin-bottom: 1rem;
}
.product-detail-content > p {
  color: var(--sand-300); line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.feature-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--gray-400); font-size: 0.92rem; line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* Benefits */
.benefits { background: var(--green-950); }
.products-cta {
  margin-top: 2rem;
  text-align: center;
}
.benefits-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.benefits-block:first-of-type {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: none;
}
.benefits-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--sand-100);
  margin-bottom: 1rem;
}
.benefits-intro {
  font-size: 1.05rem;
  color: var(--sand-300);
  line-height: 1.7;
  max-width: 52rem;
  margin-bottom: 1.5rem;
}
.benefits-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--sand-300);
  line-height: 1.55;
}
.benefits-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.benefits-groups {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.benefits-group {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefits-group summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sand-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}
.benefits-group summary::-webkit-details-marker { display: none; }
.benefits-group summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--green-600);
  flex-shrink: 0;
}
.benefits-group[open] summary::after { content: '−'; }
.benefits-group summary:hover { background: rgba(34,197,94,0.04); }
.benefits-group ul {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem 1rem 2.5rem;
}
.benefits-group li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  font-size: 0.9rem;
  color: var(--sand-300);
  line-height: 1.5;
}
.benefits-group li::before {
  content: '✓';
  position: absolute;
  left: -0.25rem;
  color: var(--green-600);
  font-size: 0.8rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.benefit-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}
.benefit-card:hover {
  border-color: rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.04);
}
.benefit-icon {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 800;
  color: var(--green-600);
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.benefit-card p {
  font-size: 0.9rem; color: var(--sand-300); line-height: 1.5;
}

/* Accordion industries */
.accordion { display: flex; flex-direction: column; gap: 0.5rem; }
.accordion-item {
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.accordion-item.active {
  border-color: color-mix(in srgb, var(--green-500) 35%, var(--surface-border));
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none; border: none;
  color: var(--sand-100); font-family: var(--font-body);
  font-size: 1rem; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--surface-hover); }
.accordion-num {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 800;
  color: var(--green-600);
}
.accordion-title { flex: 1; font-family: var(--font-display); font-weight: 700; }
.accordion-chevron {
  transition: transform 0.3s;
  color: var(--gray-400);
}
.accordion-item.active .accordion-chevron { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body {
  padding: 0 1.5rem 1.5rem 3.5rem;
  color: var(--gray-400); line-height: 1.7; font-size: 0.95rem;
}
.accordion-lead {
  color: var(--sand-300) !important;
  font-weight: 500; margin-bottom: 1rem;
}
.accordion-img {
  width: 100%; max-width: 400px;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  aspect-ratio: 16/10; object-fit: cover;
}

/* Infrastructure */
.infrastructure { background: linear-gradient(180deg, var(--dark), var(--green-950)); }
.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.infra-points { display: flex; flex-direction: column; gap: 1rem; }
.infra-point {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--green-600);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.infra-point h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--green-400);
}
.infra-point p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.6; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(5,46,31,0.9), transparent);
  font-size: 0.8rem; font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover figcaption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 10, 0.92);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
}
.lightbox-caption {
  font-size: 0.95rem;
  color: var(--sand-200);
}
.lightbox-counter {
  font-size: 0.8rem;
  color: var(--gray-400);
  white-space: nowrap;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(10, 61, 42, 0.85);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--green-800);
  transform: scale(1.05);
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
body.lightbox-open { overflow: hidden; }

/* Projects */
.projects-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.project-card:hover img { transform: scale(1.08); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}
.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}
.project-info p { font-size: 0.85rem; color: var(--green-400); }

/* Offers & Services */
.services-section {
  padding-top: 0;
  border-top: none;
}
.services-section .section-header {
  margin-top: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--surface-border);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  color: var(--sand-200);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--green-400); }
.contact-link svg { flex-shrink: 0; color: var(--green-500); }
.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 0.5rem; color: var(--sand-300);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white); font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--gray-600); margin-top: 1rem; text-align: center; }

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 2.5rem;
}
.footer-brand p { color: var(--gray-400); margin-top: 0.75rem; font-size: 0.9rem; }
.footer-tagline {
  font-size: 0.85rem !important;
  color: var(--green-400) !important;
  font-style: italic;
  margin-top: 0.5rem !important;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-400);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.88rem;
  color: var(--gray-400); padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.8rem; color: var(--gray-600);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--delay, 0s), transform 0.8s var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .product-detail { margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
  .about-grid, .contact-grid, .infra-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-detail-grid, .product-detail-grid.reverse { grid-template-columns: 1fr; }
  .product-detail-grid.reverse .product-detail-img,
  .product-detail-grid.reverse .product-detail-content { order: unset; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-checklist { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-track { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    border: none; background: transparent;
    padding: 0 0 0 1rem; display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .product-detail { margin-bottom: 2rem; padding-bottom: 2rem; }
  .benefits-block { margin-top: 1.5rem; padding-top: 1.25rem; }
  .benefits-block:first-of-type { margin-top: 1rem; }
  .products-cta { margin-top: 1.5rem; }
  .stats-bar { padding: 2rem 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 340px; height: 100vh;
    background: var(--header-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    transition: right 0.4s;
    border-left: 1px solid var(--header-border);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > li { border-bottom: 1px solid var(--header-border); }
  .nav-links > li > a { padding: 0.875rem 0; display: block; }
  .benefits-grid, .projects-track, .gallery-grid, .footer-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 1rem; bottom: -0.5rem; }
  .accordion-body { padding-left: 1.5rem; }
  .lightbox { padding: 1rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .lightbox-meta { flex-direction: column; align-items: flex-start; }
}

/* Section text tone: independent light/dark readability */
.section-tone-dark,
.page-header.section-tone-dark,
.stats-bar.section-tone-dark {
  --t-heading: #f5f0e8;
  --t-body: #d4c4a8;
  --t-muted: #9ca3af;
  --t-subtle: #e8dcc8;
  --t-bg: #052e1f;
  --t-bg-alt: #0a3d2a;
  --t-surface: rgba(255, 255, 255, 0.03);
  --t-surface-hover: rgba(255, 255, 255, 0.06);
  --t-border: rgba(255, 255, 255, 0.08);
  --t-accent: var(--green-400);
  --t-accent-strong: var(--green-500);
  --t-form-bg: rgba(255, 255, 255, 0.03);
  --t-form-border: rgba(255, 255, 255, 0.08);
  --t-input-bg: rgba(255, 255, 255, 0.05);
  --t-input-text: #f5f0e8;
  --t-input-border: rgba(255, 255, 255, 0.1);
  --t-input-placeholder: #6b7280;
}

.section-tone-light,
.page-header.section-tone-light,
.stats-bar.section-tone-light {
  --t-heading: #111827;
  --t-body: #374151;
  --t-muted: #6b7280;
  --t-subtle: #4b5563;
  --t-bg: #ffffff;
  --t-bg-alt: #f3f4f6;
  --t-surface: rgba(0, 0, 0, 0.03);
  --t-surface-hover: rgba(0, 0, 0, 0.05);
  --t-border: rgba(0, 0, 0, 0.1);
  --t-accent: var(--green-600);
  --t-accent-strong: var(--green-600);
  --t-form-bg: #f9fafb;
  --t-form-border: rgba(0, 0, 0, 0.08);
  --t-input-bg: #ffffff;
  --t-input-text: #111827;
  --t-input-border: rgba(0, 0, 0, 0.12);
  --t-input-placeholder: #9ca3af;
}

.page-header.section-tone-dark,
.page-header.section-tone-light,
.stats-bar.section-tone-dark,
.stats-bar.section-tone-light,
.section.about.section-tone-dark,
.section.about.section-tone-light,
.section.benefits.section-tone-dark,
.section.benefits.section-tone-light,
.section.products.section-tone-dark,
.section.products.section-tone-light,
.section.industries.section-tone-dark,
.section.industries.section-tone-light,
.section.infrastructure.section-tone-dark,
.section.infrastructure.section-tone-light,
.section.projects.section-tone-dark,
.section.projects.section-tone-light,
.section.gallery.section-tone-dark,
.section.gallery.section-tone-light,
.section.contact.section-tone-dark,
.section.contact.section-tone-light {
  background: var(--t-bg);
  color: var(--t-body);
}

.section.infrastructure.section-tone-dark {
  background: linear-gradient(180deg, var(--t-bg-alt), var(--t-bg));
}
.section.infrastructure.section-tone-light {
  background: linear-gradient(180deg, var(--t-bg), var(--t-bg-alt));
}

.section-tone-dark .section-tag,
.section-tone-light .section-tag,
.section-tone-dark .product-subtitle,
.section-tone-light .product-subtitle {
  color: var(--t-accent);
}

.section-tone-dark .section-title,
.section-tone-light .section-title,
.section-tone-dark .benefits-block-title,
.section-tone-light .benefits-block-title,
.section-tone-dark .product-detail-content h3,
.section-tone-light .product-detail-content h3,
.section-tone-dark .infra-point h4,
.section-tone-light .infra-point h4 {
  color: var(--t-heading);
}

.section-tone-dark .section-subtitle,
.section-tone-light .section-subtitle,
.section-tone-dark .section-body,
.section-tone-light .section-body,
.section-tone-dark .benefits-intro,
.section-tone-light .benefits-intro,
.section-tone-dark .product-detail-content > p,
.section-tone-light .product-detail-content > p,
.section-tone-dark .accordion-lead,
.section-tone-light .accordion-lead,
.section-tone-dark .accordion-body p,
.section-tone-light .accordion-body p,
.section-tone-dark .infra-point p,
.section-tone-light .infra-point p {
  color: var(--t-body);
}

.section-tone-dark .feature-list li,
.section-tone-light .feature-list li,
.section-tone-dark .benefits-checklist li,
.section-tone-light .benefits-checklist li,
.section-tone-dark .benefits-group li,
.section-tone-light .benefits-group li,
.section-tone-dark .benefit-card p,
.section-tone-light .benefit-card p,
.section-tone-dark .stat-label,
.section-tone-light .stat-label {
  color: var(--t-muted);
}

.section-tone-dark .stat-value,
.section-tone-light .stat-value,
.section-tone-dark .accordion-num,
.section-tone-light .accordion-num,
.section-tone-dark .benefit-icon,
.section-tone-light .benefit-icon {
  color: var(--t-accent-strong);
}

.section-tone-dark .benefits-group summary,
.section-tone-light .benefits-group summary,
.section-tone-dark .accordion-trigger,
.section-tone-light .accordion-trigger {
  color: var(--t-heading);
}

.section-tone-dark .benefits-group summary::after,
.section-tone-light .benefits-group summary::after,
.section-tone-dark .benefits-group li::before,
.section-tone-light .benefits-group li::before {
  color: var(--t-accent-strong);
}

.section-tone-dark .benefits-block,
.section-tone-light .benefits-block {
  border-top-color: var(--t-border);
}

.section-tone-dark .product-detail,
.section-tone-light .product-detail {
  border-bottom-color: var(--t-border);
}

.section-tone-dark .benefits-group,
.section-tone-light .benefits-group,
.section-tone-dark .benefit-card,
.section-tone-light .benefit-card {
  background: var(--t-surface);
  border-color: var(--t-border);
}

.section-tone-dark .benefits-group summary:hover,
.section-tone-light .benefits-group summary:hover,
.section-tone-dark .benefit-card:hover,
.section-tone-light .benefit-card:hover {
  background: var(--t-surface-hover);
}

.section-tone-dark .accordion-item,
.section-tone-light .accordion-item {
  background: var(--t-surface);
  border-color: var(--t-border);
}

.section-tone-dark .accordion-trigger:hover,
.section-tone-light .accordion-trigger:hover {
  background: var(--t-surface-hover);
}

.section-tone-dark .accordion-panel,
.section-tone-light .accordion-panel {
  color: var(--t-body);
}

.section-tone-dark .infra-point,
.section-tone-light .infra-point {
  background: var(--t-surface);
  border-color: var(--t-border);
}

.section-tone-dark .offers-intro,
.section-tone-light .offers-intro {
  color: var(--t-body);
}

.section-tone-dark .contact-link,
.section-tone-light .contact-link {
  color: var(--t-subtle);
}

.section-tone-dark .contact-link:hover,
.section-tone-light .contact-link:hover {
  color: var(--t-accent);
}

.section-tone-dark .contact-link svg,
.section-tone-light .contact-link svg {
  color: var(--t-accent-strong);
}

.section-tone-dark .contact-form,
.section-tone-light .contact-form {
  background: var(--t-form-bg);
  border-color: var(--t-form-border);
}

.section-tone-dark .form-group label,
.section-tone-light .form-group label {
  color: var(--t-body);
}

.section-tone-dark .form-group input,
.section-tone-dark .form-group textarea,
.section-tone-light .form-group input,
.section-tone-light .form-group textarea {
  background: var(--t-input-bg);
  border-color: var(--t-input-border);
  color: var(--t-input-text);
}

.section-tone-dark .form-group input::placeholder,
.section-tone-dark .form-group textarea::placeholder,
.section-tone-light .form-group input::placeholder,
.section-tone-light .form-group textarea::placeholder {
  color: var(--t-input-placeholder);
}

.section-tone-dark .gallery-item figcaption,
.section-tone-light .gallery-item figcaption {
  color: var(--t-body);
}

.stats-bar.section-tone-dark,
.stats-bar.section-tone-light {
  border-top-color: var(--t-border);
  border-bottom-color: var(--t-border);
}

.page-header.section-tone-dark,
.page-header.section-tone-light {
  border-bottom-color: var(--t-border);
}
