/* ================================================
   VEDIKA RENEWABLES — STYLE.CSS
   Design system from Horizons reference
   ================================================ */

/* --- Variables --- */
:root {
  /* Colors */
  --navy:        #0f2540;
  --navy-90:     rgba(15,37,64,0.9);
  --navy-70:     rgba(15,37,64,0.7);
  --forest:      #0c3320;
  --forest-lt:   #1a5c38;
  --primary:     #0a3325;
  --accent:      #c9900a;        /* gold/amber */
  --accent-lt:   #f0b429;
  --bg:          #f8faf7;
  --secondary:   #eef3ec;
  --white:       #ffffff;
  --border:      #dce7d9;
  --text:        #1c2b20;
  --muted:       #607060;
  --danger:      #b91c1c;

  /* Typography */
  --font-head:   'Sora', 'Inter', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Spacing */
  --nav-h:       76px;
  --r:           0.375rem;   /* base border-radius */

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(10,51,37,0.06);
  --shadow-md: 0 4px 20px rgba(10,51,37,0.10);
  --shadow-lg: 0 8px 40px rgba(10,51,37,0.14);

  /* Transition */
  --ease: all 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; transition: var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent-lt); color: #000; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 760px;
}

/* --- Section --- */
.section { padding: 96px 0; }
.bg-secondary { background: var(--secondary); }
.bg-navy      { background: var(--navy); }
.text-white   { color: var(--white); }

/* --- Eyebrow / Labels --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-lt);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--gold { color: var(--accent-lt); }
.eyebrow--gold::before { background: var(--accent-lt); }

/* --- Section headings --- */
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--primary);
}
.section-h2.text-white { color: var(--white); }

.section-intro {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-intro--white .section-h2 { color: var(--white); }

.section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}

.section-cta { text-align: center; margin-top: 48px; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r);
  background: var(--forest-lt);
  color: var(--white);
  transition: var(--ease);
}
.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,92,56,0.3);
  color: var(--white);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  transition: var(--ease);
}
.btn-ghost:hover {
  border-color: var(--accent-lt);
  color: var(--accent-lt);
}

.btn-cta {
  display: none;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r);
  background: var(--primary);
  color: var(--white);
  transition: var(--ease);
  white-space: nowrap;
}
.btn-cta:hover { background: var(--forest-lt); color: var(--white); transform: translateY(-1px); }
@media (min-width: 768px) { .btn-cta { display: inline-flex; } }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--r);
  background: var(--primary);
  color: var(--white);
  transition: var(--ease);
  min-height: 52px;
}
.btn-submit:hover:not(:disabled) { background: var(--forest-lt); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }


/* ================================================
   NAVIGATION
================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(248,250,247,0.97);
  backdrop-filter: blur(14px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  height: var(--nav-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--ease);
}
.nav-logo:hover img { transform: translateY(-1px); }

.nav-menu {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1024px) { .nav-menu { display: flex; } }

.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--r);
  transition: var(--ease);
}
.site-header.scrolled .nav-link { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-lt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--accent-lt); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active { color: var(--primary); }
.site-header.scrolled .nav-link:hover::after,
.site-header.scrolled .nav-link.active::after { background: var(--forest-lt); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.25);
}
.site-header.scrolled .nav-toggle { border-color: var(--border); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(248,250,247,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 899;
  padding: 12px 28px 24px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .nav-link {
  display: block;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.mobile-drawer .nav-link::after { display: none; }
.mobile-drawer .nav-link:hover { color: var(--primary); }
.mobile-drawer .btn-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 14px;
  width: 100%;
}


/* ================================================
   HERO
================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ── Hero Slideshow ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide.active img {
  animation: heroKenBurns 7s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero-slide-caption {
  position: absolute;
  bottom: 80px; right: 32px;
  background: rgba(15,37,64,0.72);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.8s;
}
.hero-slide.active .hero-slide-caption { opacity: 1; }

/* ── Hero Dots ── */
.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.active {
  background: var(--accent-lt);
  transform: scale(1.35);
}
@media (max-width: 640px) {
  .hero-slide-caption { display: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--navy) 0%,
    rgba(15,37,64,0.90) 45%,
    rgba(15,37,64,0.55) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 28px 60px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 820px;
}

.hero-title-accent { position: relative; display: inline-block; }
.hero-underline {
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-lt) 0%, rgba(240,180,41,0.15) 100%);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.80);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}


/* ================================================
   MARQUEE STRIP
================================================ */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10,51,37,0.55);
  white-space: nowrap;
}
.marquee-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}


/* ================================================
   SOLUTIONS LIST
================================================ */
.solutions-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-row {
  display: grid;
  grid-template-columns: 260px 1fr 28px;
  align-items: center;
  gap: 24px;
  padding: 28px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
  cursor: pointer;
}
.solution-row:last-child { border-bottom: none; }
.solution-row:hover { background: var(--secondary); }
.solution-row:hover .solution-arrow { transform: translateX(5px); color: var(--forest-lt); }

.solution-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.solution-icon {
  font-size: 1.3rem;
  color: var(--forest-lt);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.solution-row h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.solution-row-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.solution-arrow {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--ease);
}


/* ================================================
   BENEFITS SECTION
================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

.benefits-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  margin-top: 2px;
  font-size: 1.1rem;
  color: var(--forest-lt);
  width: 22px;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}
.benefit-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }


/* ================================================
   INDUSTRIES
================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
}

.industry-cell {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s ease;
}
.bg-secondary .industry-cell { background: var(--secondary); }
.industry-cell:hover { background: var(--bg); }

.industry-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.industry-cell h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.industry-cell p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }


/* ================================================
   PROCESS — NAVY
================================================ */
.process-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.process-step { }

.process-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 24px;
}

.process-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-lt);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}


/* ================================================
   METRICS
================================================ */
.metrics-header { margin-bottom: 48px; }
.metrics-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.metric-card {}
.metric-accent-bar {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}

.metric-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}


/* ================================================
   PROJECTS
================================================ */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: var(--white);
  transition: var(--ease);
  cursor: pointer;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: calc(var(--r) * 2);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card.hidden { display: none; }

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.05); }

.project-type-pill {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(15,37,64,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.project-body { padding: 20px; }
.project-body h4 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.project-meta-row i { color: var(--forest-lt); margin-right: 4px; }

.project-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.chip {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 100px;
}
.chip-green  { background: #dcfce7; color: #166534; }
.chip-blue   { background: #dbeafe; color: #1e40af; }
.chip-purple { background: #ede9fe; color: #5b21b6; }
.chip-gold   { background: #fef3c7; color: #92400e; }

.project-stat {
  font-size: 0.82rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.project-stat i { color: var(--forest-lt); margin-right: 5px; }


/* ================================================
   TESTIMONIALS
================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-left: 2px solid var(--accent);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 0 var(--r) var(--r) 0;
  transition: var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-card blockquote::before { content: '"'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }

.testimonial-card figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.testimonial-card figcaption span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.assurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 28px 32px;
  background: var(--secondary);
  border-radius: var(--r);
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--primary);
}
.assurance-item i { color: var(--forest-lt); font-size: 1.05rem; }


/* ================================================
   ABOUT — NAVY SECTION
================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mv-card {}
.mv-rule {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}
.mv-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.mv-card p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
}
.value-cell {
  background: rgba(255,255,255,0.05);
  padding: 32px;
  transition: background 0.2s ease;
}
.value-cell:hover { background: rgba(255,255,255,0.08); }
.value-cell h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.value-cell p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.75; }

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.approach-content {}
.approach-body { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.8; }
.approach-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.leadership-grid { margin-top: 48px; }
.leader-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 620px;
}
.leader-img {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: var(--r);
  flex-shrink: 0;
}
.leader-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.leader-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-lt);
  margin-bottom: 12px;
}
.leader-bio { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.75; }


/* ================================================
   FAQ
================================================ */
.faq-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--forest-lt); }

.faq-icon {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.9rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}
details[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding-bottom: 24px;
}
.faq-answer p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}


/* ================================================
   INSIGHTS
================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--white);
  border-radius: calc(var(--r) * 2);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.insight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.insight-img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.insight-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.insight-card:hover .insight-img-wrap img { transform: scale(1.06); }

.insight-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest-lt);
  padding: 4px 12px;
  border-radius: 100px;
}

.insight-body { padding: 22px; }
.insight-meta {
  font-size: 0.77rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.insight-meta i { margin-right: 3px; }
.insight-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.insight-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--forest-lt);
}
.insight-link:hover { gap: 10px; }


/* ================================================
   CONTACT
================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
}
.req { color: var(--accent); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,144,10,0.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(96,112,96,0.5); }
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-form > .form-field { margin-bottom: 20px; }

.form-status {
  display: none;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--r);
  margin-bottom: 16px;
}
.form-status.success {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-status.error {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

.contact-aside {
  background: var(--navy);
  border-radius: calc(var(--r) * 2);
  padding: 36px;
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.contact-aside h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-details-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
}
.contact-details-list i {
  color: var(--accent-lt);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-details-list a { color: rgba(255,255,255,0.7); }
.contact-details-list a:hover { color: var(--accent-lt); }

.aside-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-bottom: 20px;
}

.contact-social {
  display: flex;
  gap: 10px;
}
.contact-social a {
  width: 38px; height: 38px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--ease);
}
.contact-social a:hover {
  background: var(--forest-lt);
  border-color: var(--forest-lt);
  color: var(--white);
}


/* ================================================
   FOOTER — NAVY
================================================ */
.site-footer { color: var(--white); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
}

.footer-logo-link img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--r);
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 12px;
}

.footer-address {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-address i { color: var(--accent-lt); flex-shrink: 0; margin-top: 2px; }

.footer-domain {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 6px;
}

.footer-links-col h5 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 20px;
}
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--ease);
}
.footer-links-col ul a:hover { color: var(--accent-lt); }

/* ── Energy Calculator ── */
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
.calc-form {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.calc-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
.calc-hint {
  font-weight: 400;
  color: var(--muted);
}
.calc-field select,
.calc-field input[type="number"] {
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.calc-field input[type="number"] {
  background-image: none;
  padding-right: 14px;
}
.calc-field select:focus,
.calc-field input:focus { border-color: var(--primary); }
.calc-btn {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px;
}
.calc-results {
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
}
.calc-results-inner {
  background: var(--navy);
  padding: 36px 32px;
  height: 100%;
}
.calc-results-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 24px;
}
.calc-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.calc-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc-metric-icon {
  font-size: 1rem;
  color: var(--accent-lt);
  margin-bottom: 2px;
}
.calc-metric-val {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.calc-metric-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.calc-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-bottom: 20px;
}
.calc-results-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 12px 22px;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-results { order: -1; }
}
@media (max-width: 640px) {
  .calc-row { grid-template-columns: 1fr; }
  .calc-metrics-grid { grid-template-columns: 1fr 1fr; }
  .calc-form, .calc-results-inner { padding: 24px 20px; }
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact i { color: var(--accent-lt); margin-top: 2px; font-size: 0.82rem; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--accent-lt); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: var(--ease);
}
.footer-social a:hover { color: var(--accent-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: var(--ease); }
.footer-legal a:hover { color: var(--accent-lt); }


/* ================================================
   SCROLL TO TOP
================================================ */
.scroll-top {
  position: fixed;
  bottom: 100px; right: 26px;
  z-index: 800;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10,51,37,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--ease);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--forest-lt); transform: translateY(-2px); }

/* ── Chat Widget ── */
.chat-widget {
  position: fixed;
  bottom: 30px; right: 26px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 18px 12px 14px;
  border-radius: 28px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(15,37,64,0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,37,64,0.45); }
.chat-toggle-close { display: none; }
.chat-widget.open .chat-toggle-icon { display: none; }
.chat-widget.open .chat-toggle-close { display: block; }
.chat-widget.open .chat-toggle-label { display: none; }
.chat-unread {
  position: absolute;
  top: -6px; right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.chat-unread.hidden { opacity: 0; pointer-events: none; }

/* Panel */
.chat-panel {
  width: 340px;
  max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom right;
}
.chat-widget.open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.chat-header {
  background: var(--navy);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--accent-lt);
}
.chat-header strong {
  display: block;
  font-size: 0.85rem;
  font-family: var(--ff-head);
  color: #fff;
  font-weight: 600;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
}
.chat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: chatPulse 2s ease infinite;
}
@keyframes chatPulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
.chat-header-close {
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem; line-height: 1;
  cursor: pointer; padding: 4px;
}
.chat-header-close:hover { color: #fff; }

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  animation: msgSlide 0.25s ease;
}
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: #f1f5f9;
  color: #1e293b;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.chat-msg.user {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.chat-msg a {
  color: var(--primary);
  text-decoration: underline;
}
.chat-msg.bot a { color: var(--forest-lt); }
.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 12px 14px;
  background: #f1f5f9;
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  width: 48px;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingBounce 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30%         { transform: translateY(-5px); }
}

/* Quick replies */
.chat-quick-replies {
  padding: 6px 12px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.chat-qr {
  background: #f0f4ff;
  border: 1px solid #c7d4f0;
  color: var(--navy);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--ff-body);
}
.chat-qr:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat-qr.whatsapp-qr {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.chat-qr.whatsapp-qr:hover { background: #25d366; color: #fff; border-color: #25d366; }

/* Input */
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--primary); }
#chat-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
#chat-send:hover { background: var(--forest-lt); }

@media (max-width: 400px) {
  .chat-panel { width: calc(100vw - 32px); }
  .chat-widget { right: 16px; bottom: 16px; }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px; left: 26px;
  z-index: 800;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}
.whatsapp-float .fa-whatsapp { line-height: 1; }
.wa-tooltip {
  position: absolute;
  left: 64px; bottom: 50%;
  transform: translateY(50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.78rem;
  font-family: var(--ff-body);
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wa-tooltip::before {
  content: '';
  position: absolute;
  right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #1a1a1a;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ── Engagement Popup ── */
.popup-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(10,20,35,0.65);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff;
  border-radius: 16px;
  max-width: 460px; width: 100%;
  padding: 44px 40px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.popup-overlay.active .popup-box { transform: translateY(0); }
.popup-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: #888; cursor: pointer;
  padding: 4px 8px;
}
.popup-close:hover { color: #222; }
.popup-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.popup-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-lt);
  margin-bottom: 10px;
}
.popup-box h3 {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.popup-sub {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}
.popup-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 14px;
}
.popup-dismiss {
  display: block;
  background: none; border: none;
  font-size: 0.78rem;
  color: #aaa;
  cursor: pointer;
  text-decoration: underline;
  margin: 0 auto;
}
.popup-dismiss:hover { color: #666; }
@media (max-width: 480px) {
  .popup-box { padding: 36px 24px 28px; }
}

/* sr-only */
.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;
}

/* ================================================
   RESPONSIVE – TABLET (≤1024px)
================================================ */
@media (max-width: 1024px) {
  .benefits-grid   { grid-template-columns: 1fr; gap: 40px; }
  .process-grid    { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid    { grid-template-columns: repeat(2, 1fr); }
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .approach-grid   { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid         { grid-template-columns: 1fr; }
  .contact-layout  { grid-template-columns: 1fr; gap: 48px; }
  .contact-aside   { position: static; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: span 2; }

  .solution-row {
    grid-template-columns: 1fr 28px;
  }
  .solution-row-desc { display: none; }
}

/* ================================================
   RESPONSIVE – MOBILE (≤640px)
================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-btns  { flex-direction: column; }

  .solution-row { grid-template-columns: 1fr 22px; gap: 12px; padding: 20px 12px; }
  .solution-row h3 { font-size: 0.95rem; }

  .industries-grid { grid-template-columns: 1fr 1fr; }
  .process-grid    { grid-template-columns: 1fr; }
  .metrics-grid    { grid-template-columns: 1fr 1fr; }
  .projects-grid   { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .insights-grid   { grid-template-columns: 1fr; }
  .form-row-2      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-brand    { grid-column: span 1; }

  .assurance-strip { flex-direction: column; gap: 16px; }
  .hero-stats-wrap { display: none; }
}

@media (max-width: 400px) {
  .industries-grid { grid-template-columns: 1fr; }
  .metrics-grid    { grid-template-columns: 1fr; }
}
