/* Green Ways S.r.l. — Premium Redesign
   Design: Institutional infrastructure company — Enel/Terna quality
   Palette: Deep forest green + alternating dark/light sections
   Typography: DM Sans (headings/body) + Inter (body alt) via Google Fonts
   ================================================================ */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: #2D3B2D;
  background-color: #F5F7F5;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(27, 107, 58, 0.2);
  color: #0C1810;
}

:focus-visible {
  outline: 2px solid #1B6B3A;
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors */
  --gw-green: #1B6B3A;
  --gw-green-dark: #145A2F;
  --gw-green-light: #2A8A4E;
  --gw-dark: #0C1810;
  --gw-dark-surface: #111D15;
  --gw-light: #F5F7F5;
  --gw-light-alt: #EBF0EB;
  --gw-cyan: #33E7EF;
  --gw-text-light: #D1D9D1;
  --gw-text-dark: #2D3B2D;
  --gw-text-muted-light: #96A696;
  --gw-text-muted-dark: #5A6B5A;
  --gw-border-light: #D0DCD0;
  --gw-border-dark: #1E2E22;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.5vw, 4.5rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(12, 24, 16, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 24, 16, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 24, 16, 0.12);
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
[data-lang="en"] .lang-it { display: none !important; }
[data-lang="it"] .lang-en { display: none !important; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

a {
  color: var(--gw-green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gw-green-dark); }

/* ============================================
   SECTIONS — Alternating rhythm
   ============================================ */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}
.section--light {
  background: var(--gw-light);
  color: var(--gw-text-dark);
}
.section--dark {
  background: var(--gw-dark);
  color: var(--gw-text-light);
}
.section--dark a { color: var(--gw-cyan); }
.section--dark a:hover { color: #fff; }
.section--dark .eyebrow { color: var(--gw-cyan); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--gw-text-light); }
.section--dark .section-header__desc { color: var(--gw-text-muted-light); }

/* Section headers */
.section-header { max-width: 700px; margin-bottom: var(--space-12); }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-green);
  margin-bottom: var(--space-3);
}

.section-header h2, .split-grid h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gw-text-dark);
  margin-bottom: var(--space-4);
  line-height: 1.12;
}
.section--dark .section-header h2,
.section--dark .split-grid h2 { color: #fff; }

.section-header__desc {
  font-size: var(--text-base);
  color: var(--gw-text-muted-dark);
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 247, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.header--scrolled {
  border-bottom-color: var(--gw-border-light);
  box-shadow: var(--shadow-sm);
}
.header--dark {
  background: rgba(12, 24, 16, 0.92);
}
.header--dark .header__logo-text,
.header--dark .header__nav-links a { color: var(--gw-text-light); }
.header--dark .header__nav-links a:hover { color: #fff; }
.header--dark .btn-lang { color: var(--gw-text-muted-light); border-color: var(--gw-border-dark); }
.header--dark .btn-lang:hover { color: var(--gw-cyan); border-color: var(--gw-cyan); }
.header--dark .header__hamburger span { background: var(--gw-text-light); }

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--gw-text-dark);
}
.header__logo-icon { width: 36px; height: 32px; }
.header__logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.header__logo-text span { color: var(--gw-green); }

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.header__nav-links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}
.header__nav-links a {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.header__nav-links a:hover { color: var(--gw-text-dark); }

.header__controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-lang {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-full);
  color: var(--gw-text-muted-dark);
  cursor: pointer;
  background: transparent;
  transition: all var(--transition);
}
.btn-lang:hover {
  border-color: var(--gw-green);
  color: var(--gw-green);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}
.header__hamburger span {
  display: block;
  height: 2px;
  background: var(--gw-text-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gw-dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.active { display: flex; opacity: 1; }
.mobile-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xl);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .header__nav-links { display: none; }
  .header__hamburger { display: flex; }
}

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
  background: var(--gw-green);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  z-index: 90;
  margin-top: 60px;
}
.news-ticker__label {
  display: flex;
  align-items: center;
  padding: 0 var(--space-5);
  background: var(--gw-green-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.news-ticker__label::after {
  content: '';
  position: absolute;
  right: -8px; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(to right, var(--gw-green-dark), transparent);
  z-index: 3;
}
.news-ticker__track {
  display: flex;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}
.news-ticker__content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 90s linear infinite;
  padding: var(--space-3) 0;
  flex-shrink: 0;
}
.news-ticker:hover .news-ticker__content { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  padding: 0 var(--space-3);
}
.news-ticker__item a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.news-ticker__item a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-ticker__item--highlight { color: #fff; font-weight: 500; }
.news-ticker__item--highlight a { color: var(--gw-cyan); font-weight: 700; }
.news-ticker__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gw-cyan);
  flex-shrink: 0;
  opacity: 0.7;
}
.news-ticker__item--highlight .news-ticker__dot {
  background: var(--gw-cyan);
  opacity: 1;
  width: 6px; height: 6px;
}
.news-ticker__separator {
  color: rgba(255,255,255,0.25);
  font-size: var(--text-sm);
  padding: 0 var(--space-2);
  flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 24, 16, 0.88) 0%,
    rgba(12, 24, 16, 0.72) 40%,
    rgba(12, 24, 16, 0.6) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-32) var(--space-6) var(--space-20);
  color: #fff;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-8);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
}

.hero__title {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 50ch;
  margin-bottom: var(--space-8);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--gw-green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--gw-green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 107, 58, 0.3);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--white {
  background: #fff;
  color: var(--gw-green);
  border: none;
}
.btn--white:hover {
  background: var(--gw-light);
  color: var(--gw-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero stats */
.hero__stats {
  display: flex;
  gap: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gw-cyan);
  letter-spacing: -0.01em;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .hero__title { font-size: var(--text-2xl); }
  .hero__stats { flex-direction: column; gap: var(--space-4); }
  .hero__content { padding-top: 10rem; }
}

/* ============================================
   SPLIT GRID (About, Safety, Highway)
   ============================================ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split-grid--reverse .split-grid__media { order: -1; }

.split-grid__content p {
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.split-grid__content .eyebrow { margin-bottom: var(--space-3); }

.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 107, 58, 0.1);
  pointer-events: none;
}
.media-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.adamant-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(27, 107, 58, 0.08);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gw-green);
  margin-top: var(--space-4);
  text-decoration: none;
  transition: all var(--transition);
}
.adamant-badge:hover {
  background: var(--gw-green);
  color: #fff;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.6;
  padding-left: var(--space-6);
  position: relative;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--gw-green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.section--dark .check-list li { color: var(--gw-text-light); }

@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .split-grid--reverse .split-grid__media { order: 0; }
  .media-frame img { height: 280px; }
}

/* ============================================
   STATS GRID (Key Metrics)
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border: 1px solid var(--gw-border-dark);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03);
  transition: transform var(--transition), border-color var(--transition);
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--gw-green);
}
.stat-card__value {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gw-cyan);
  line-height: 1;
}
.stat-card__unit {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-light);
  margin-top: var(--space-1);
}
.stat-card__label {
  font-size: var(--text-xs);
  color: var(--gw-text-muted-light);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-container {
  max-width: 56rem;
  margin: var(--space-12) auto 0;
}
.video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gw-dark);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: opacity 0.4s ease, background 0.4s ease;
  z-index: 2;
  color: #fff;
}
.video-play-btn svg {
  width: 80px; height: 80px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}
.video-play-btn:hover { background: rgba(0,0,0,0.35); }
.video-play-btn:hover svg { transform: scale(1.1); }
.video-play-btn.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 768px) {
  .video-play-btn svg { width: 60px; height: 60px; }
}

/* ============================================
   IDEA SECTION
   ============================================ */
.idea-body {
  max-width: 860px;
  margin: 0 auto;
}
.idea-body .lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.idea-body p {
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

/* ============================================
   FEATURES GRID (9 Advantages)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gw-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card__number {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gw-green);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}
.feature-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--gw-text-dark);
}
.feature-card__desc {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
  line-height: 1.65;
}

/* Feature card videos */
.feature-card__video {
  margin-top: auto;
  padding-top: var(--space-5);
}
.feature-card__video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.feature-card__video-player {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.feature-card__video-play:hover { background: rgba(0,0,0,0.4); }
.feature-card__video-play svg {
  width: 48px; height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.2s ease;
}
.feature-card__video-play:hover svg { transform: scale(1.08); }
.feature-card__video-play.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card__video-play svg { width: 40px; height: 40px; }
}

/* ============================================
   TECHNOLOGY CARDS
   ============================================ */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.tech-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gw-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.tech-card:hover {
  transform: translateY(-2px);
  border-color: var(--gw-green);
}
.tech-card__accent {
  width: 40px;
  height: 3px;
  background: var(--gw-green);
  border-radius: 2px;
  margin-bottom: var(--space-5);
}
.tech-card__name {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}
.tech-card__desc {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-light);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .tech-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tech-cards { grid-template-columns: 1fr; }
}

/* ============================================
   MARKET SECTION
   ============================================ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.market-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--gw-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.market-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.market-card--highlight {
  border-color: var(--gw-green);
  background: rgba(27, 107, 58, 0.05);
}
.market-card__label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-text-muted-dark);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.market-card__value {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  font-weight: 700;
  color: var(--gw-text-dark);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.market-card--highlight .market-card__value { color: var(--gw-green); }
.market-card__unit {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
}

@media (max-width: 900px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* Energy mix bar */
.energy-mix { margin-top: var(--space-12); }
.energy-mix__header {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gw-text-muted-dark);
  margin-bottom: var(--space-4);
}
.energy-mix__bar {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 72px;
  gap: 2px;
}
.energy-mix__segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  gap: var(--space-1);
  min-width: 48px;
}
.energy-mix__segment--nonrenew { background: #5c6358; }
.energy-mix__segment--renew { background: var(--gw-green); }
.energy-mix__segment--import { background: var(--gw-cyan); color: var(--gw-dark); }
.energy-mix__pct {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
}
.energy-mix__label {
  font-size: var(--text-xs);
  font-weight: 400;
  opacity: 0.85;
}
.energy-mix__legend {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
  flex-wrap: wrap;
}
.legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: var(--space-2);
  vertical-align: middle;
}
.legend-dot--nonrenew { background: #5c6358; }
.legend-dot--renew { background: var(--gw-green); }
.legend-dot--import { background: var(--gw-cyan); }

/* ============================================
   HIGHWAY STATS
   ============================================ */
.highway-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.highway-stat {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gw-border-dark);
}
.highway-stat__value {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gw-cyan);
}
.highway-stat__label {
  font-size: var(--text-xs);
  color: var(--gw-text-muted-light);
  margin-top: var(--space-1);
}

/* ============================================
   TIMELINE / ROADMAP
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gw-border-light);
}
.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
  padding-left: var(--space-8);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 1px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gw-green);
  border: 3px solid var(--gw-light);
  z-index: 1;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__date {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gw-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.timeline__content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gw-text-dark);
  margin-bottom: var(--space-2);
}
.timeline__content p {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
  line-height: 1.65;
}

/* ============================================
   PARTNERSHIPS
   ============================================ */
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
}
.partner-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gw-text-muted-light);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--gw-border-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
a.partner-logo:hover {
  border-color: var(--gw-cyan);
  color: #fff;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.team-card {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: #fff;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gw-green);
}
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: var(--radius-full);
  background: rgba(27, 107, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gw-green);
}
.team-card__name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--gw-text-dark);
  margin-bottom: var(--space-1);
}
.team-card__role {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
}
.team-card__org {
  font-size: var(--text-xs);
  color: var(--gw-green);
  font-weight: 600;
  margin-top: var(--space-1);
}
.team-card__org a {
  color: var(--gw-green);
  text-decoration: none;
}
.team-card__org a:hover { text-decoration: underline; }
.team-card__bio {
  font-size: var(--text-xs);
  color: var(--gw-text-muted-dark);
  line-height: 1.6;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gw-border-light);
  text-align: left;
}

/* ============================================
   DOWNLOAD FORM
   ============================================ */
.download-form {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: flex-end;
  max-width: 700px;
  margin: 0 auto;
}
.download-form__field {
  flex: 1;
  min-width: 160px;
}
.download-form__field label {
  display: block;
  font-size: var(--text-xs);
  color: var(--gw-text-muted-dark);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.download-form__field input {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-md);
  color: var(--gw-text-dark);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition);
}
.download-form__field input:focus {
  border-color: var(--gw-green);
}
.download-form__submit {
  white-space: nowrap;
}

.download-msg {
  max-width: 700px;
  margin: var(--space-4) auto 0;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-align: center;
}
.download-msg--success {
  background: rgba(27, 107, 58, 0.08);
  color: var(--gw-green);
}
.download-msg--error {
  color: #DC2626;
}

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta-section {
  background: var(--gw-green);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}
.cta-section p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gw-dark);
  border-top: 1px solid var(--gw-border-dark);
  padding: var(--space-16) var(--space-6) var(--space-8);
  color: var(--gw-text-muted-light);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.footer__brand .header__logo-text { color: var(--gw-text-light); }
.footer__brand p {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-light);
  margin-top: var(--space-3);
  line-height: 1.6;
  max-width: 32ch;
}
.footer__brand p a {
  color: var(--gw-cyan);
  text-decoration: none;
  font-weight: 500;
}
.footer__brand p a:hover { text-decoration: underline; }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-text-light);
  margin-bottom: var(--space-4);
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: var(--space-2); font-size: var(--text-sm); }
.footer__col ul a {
  color: var(--gw-text-muted-light);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: #fff; }

.footer__bottom {
  max-width: 1200px;
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--gw-border-dark);
  display: flex;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--gw-text-muted-light);
}
.footer__bottom a {
  color: var(--gw-text-muted-light);
  text-decoration: none;
}
.footer__bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { text-align: center; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: show content immediately if JS is slow or disabled */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Stagger children in grids */
.features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.stats-grid .reveal .stat-card:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .reveal .stat-card:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .reveal .stat-card:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover img { transform: scale(1.03); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 24, 16, 0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
}
.project-card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-cyan);
  margin-bottom: var(--space-2);
}
.project-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}
.project-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  max-width: 42ch;
  line-height: 1.55;
}
.project-card--featured {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--featured { aspect-ratio: 16 / 10; }
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 150;
  font-family: 'DM Sans', sans-serif;
}

.chat-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--gw-green);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 107, 58, 0.35), var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(27, 107, 58, 0.45), var(--shadow-lg);
  background: var(--gw-green-dark);
}
.chat-fab__icon {
  width: 24px; height: 24px;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-fab__icon--chat { opacity: 1; transform: scale(1); }
.chat-fab__icon--close { opacity: 0; transform: scale(0.6); }
.chat-widget.open .chat-fab__icon--chat { opacity: 0; transform: scale(0.6); }
.chat-widget.open .chat-fab__icon--close { opacity: 1; transform: scale(1); }

.chat-panel {
  position: absolute;
  bottom: calc(56px + var(--space-4));
  right: 0;
  width: 400px;
  max-height: 540px;
  background: var(--gw-light);
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease);
}
.chat-widget.open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, #0C1810 0%, var(--gw-green) 100%);
  color: #fff;
  flex-shrink: 0;
}
.chat-panel__header-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.chat-panel__header-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4aaf86;
  box-shadow: 0 0 0 3px rgba(74, 175, 134, 0.25);
  animation: chat-pulse 2s ease-in-out infinite;
}
@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 175, 134, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(74, 175, 134, 0.1); }
}
.chat-panel__header-title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.chat-panel__header-subtitle {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 400;
}

.chat-panel__close {
  width: 28px; height: 28px;
  border: none;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.chat-panel__close:hover { background: rgba(255,255,255,0.22); }
.chat-panel__close svg { width: 14px; height: 14px; }

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 200px;
  max-height: 360px;
  scroll-behavior: smooth;
}
.chat-panel__messages::-webkit-scrollbar { width: 4px; }
.chat-panel__messages::-webkit-scrollbar-track { background: transparent; }
.chat-panel__messages::-webkit-scrollbar-thumb { background: var(--gw-border-light); border-radius: var(--radius-full); }

.chat-msg { display: flex; max-width: 88%; }
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 13.5px;
  line-height: 1.55;
  word-wrap: break-word;
}
.chat-msg--bot .chat-msg__bubble {
  background: var(--gw-light-alt);
  color: var(--gw-text-dark);
  border-bottom-left-radius: var(--radius-sm);
}
.chat-msg--user .chat-msg__bubble {
  background: var(--gw-green);
  color: #fff;
  border-bottom-right-radius: var(--radius-sm);
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--gw-light-alt);
  border-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-sm);
  align-self: flex-start;
  max-width: 88%;
}
.chat-typing__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gw-text-muted-dark);
  animation: typing-bounce 1.4s infinite;
}
.chat-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing__dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-panel__input {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--gw-border-light);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: 13.5px;
  color: var(--gw-text-dark);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-input:focus {
  border-color: var(--gw-green);
  box-shadow: 0 0 0 2px rgba(27, 107, 58, 0.12);
}
.chat-input::placeholder { color: var(--gw-text-muted-dark); }

.chat-send {
  width: 36px; height: 36px;
  border: none;
  background: var(--gw-green);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.chat-send:hover { background: var(--gw-green-dark); transform: scale(1.06); }
.chat-send svg { width: 16px; height: 16px; }

/* Chat lead capture */
.chat-lead {
  position: absolute;
  inset: 0;
  top: auto;
  background: var(--gw-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  z-index: 10;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.chat-lead__inner { width: 100%; text-align: center; }
.chat-lead__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--gw-text-dark);
}
.chat-lead__text {
  font-size: var(--text-sm);
  color: var(--gw-text-muted-dark);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}
.chat-lead__input {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--gw-border-light);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  background: #fff;
  color: var(--gw-text-dark);
  outline: none;
  transition: border-color var(--transition);
}
.chat-lead__input:focus { border-color: var(--gw-green); }
.chat-lead__btn {
  display: block;
  width: 100%;
  padding: var(--space-3);
  background: var(--gw-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-bottom: var(--space-2);
}
.chat-lead__btn:hover { background: var(--gw-green-dark); }
.chat-lead__skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--gw-text-muted-dark);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: var(--space-2);
  transition: color var(--transition);
}
.chat-lead__skip:hover { color: var(--gw-text-dark); }

@media (max-width: 480px) {
  .chat-widget { bottom: var(--space-4); right: var(--space-4); }
  .chat-panel {
    width: calc(100vw - 2 * var(--space-4));
    max-height: 70vh;
    right: 0;
    bottom: calc(56px + var(--space-3));
  }
  .chat-panel__messages { max-height: calc(70vh - 140px); }
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-modal__container {
  position: relative;
  width: 90%;
  max-width: 960px;
}
.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.video-modal__player {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .news-ticker__content { animation: none; }
}
