/* ==========================================================================
   KIK Energy — Stylesheet
   ========================================================================== */

:root {
  --dark: #0a1a14;
  --dark-2: #0f2419;
  --green: #1c7c4c;
  --green-light: #2fae6f;
  --green-pale: #e8f5ee;
  --amber: #e8a13a;
  --bg: #f7f8f6;
  --white: #ffffff;
  --ink: #10201a;
  --gray: #5b6b64;
  --gray-light: #93a39c;
  --border: #e4e9e5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(10, 26, 20, 0.08);
  --shadow-lg: 0 25px 60px rgba(10, 26, 20, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}

p.section-lead {
  color: var(--gray);
  font-size: 1.08rem;
  max-width: 620px;
}

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--white); }

.section-header { margin-bottom: 28px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center p.section-lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before { content: none; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(28, 124, 76, 0.28);
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 124, 76, 0.34); }

.btn-light {
  background: var(--white);
  color: var(--dark);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-3px); }
.btn-phone svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline-dark:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* ---------------------------- Navbar ---------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(10, 26, 20, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--white);
}
.brand .brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand .brand-mark svg { width: 38px; height: 38px; display: block; }
.brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand span.sub { display:block; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.brand .brand-kik, .brand .brand-e1 { display: inline; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a.nav-links-call {
  display: none;
}
.nav-links a.nav-links-call svg {
  width: 17px;
  height: 17px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: #fff; font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; opacity: 0.92; }
.nav-phone svg { width: 16px; height: 16px; }

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-switch a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 5px 5px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.65);
  transition: background 0.3s, color 0.3s;
}
.lang-switch a img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}
.lang-switch a.active {
  background: var(--green);
  color: #fff;
}
.lang-switch a:hover:not(.active) { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
  padding-bottom: 24px;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,16,12,0.75) 0%, rgba(8,20,15,0.62) 45%, rgba(6,16,12,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 4px rgba(47,174,111,0.25); }
.hero h1 {
  font-size: clamp(1.1rem, 2.7vw, 2.1rem);
  color: #fff;
  margin-bottom: 30px;
}
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-actions .btn { flex: 1 1 0; white-space: nowrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(135deg, rgba(47,174,111,0.2), rgba(10,26,20,0.6));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 26px 16px;
  gap: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(47,174,111,0.12);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  animation: hero-glow-pulse 5s ease-in-out infinite;
}
.hero-stats:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.32), 0 0 0 1px rgba(47,174,111,0.3);
}
.hero-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(47,174,111,0.3), transparent 45%), radial-gradient(circle at 85% 85%, rgba(232,161,58,0.18), transparent 45%);
  pointer-events: none;
}
.hero-stats::after {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg);
  animation: hero-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-shimmer {
  0% { left: -60%; }
  40% { left: 130%; }
  100% { left: 130%; }
}
@keyframes hero-glow-pulse {
  0%, 100% { box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(47,174,111,0.12); }
  50% { box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 26px 2px rgba(47,174,111,0.26); }
}
.hero-stat { position: relative; z-index: 1; text-align: center; padding: 4px 12px; }
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute; top: 6px; bottom: 6px; right: 0;
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.hero-stat .num { font-family: 'Manrope', sans-serif; font-size: 1.85rem; font-weight: 800; color: #fff; display: flex; align-items: baseline; justify-content: center; gap: 3px; letter-spacing: -0.01em; }
.hero-stat .num .suffix { font-size: 1.05rem; color: var(--green-light); font-weight: 700; }
.hero-stat .label { font-size: 0.76rem; color: rgba(255,255,255,0.68); margin-top: 5px; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Inner page hero (shorter) */
.page-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
  padding-bottom: 38px;
}
.page-hero .hero-content { padding-top: 120px; max-width: 720px; }
.page-hero .breadcrumb { display:flex; gap:8px; align-items:center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); color:#fff; margin-bottom: 22px; }
.page-hero .hero-badge { margin-bottom: 0; }
.page-hero p.lead { margin-top: 16px; }

/* ---------------------------- Intro strip ---------------------------- */
.intro-strip { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.intro-strip .tag-line { font-size: 1.5rem; font-weight: 600; color: var(--dark); line-height: 1.4; }
.intro-strip .tag-line strong { color: var(--green); }
.intro-strip .body-col p { color: var(--gray); margin-bottom: 16px; }
.intro-strip .body-col p:last-child { margin-bottom: 0; }

/* ---------------------------- Service cards ---------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.4s, transform 0.4s;
}
.service-card .icon svg { width: 28px; height: 28px; stroke: var(--green); }
.service-card:hover .icon { background: var(--green); transform: rotate(-6deg) scale(1.05); }
.service-card:hover .icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }
.service-card .num { position: absolute; top: 26px; right: 28px; font-family:'Manrope',sans-serif; font-weight: 800; font-size: 0.85rem; color: var(--border); }

/* ---------------------------- Stats band ---------------------------- */
.stats-band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(47,174,111,0.28), transparent 45%), radial-gradient(circle at 85% 80%, rgba(232,161,58,0.18), transparent 45%);
}
.stat-block { position: relative; z-index: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-block:last-child { border-right: none; }
.stat-block .num { font-family:'Manrope',sans-serif; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; color: #fff; }
.stat-block .num .suffix { color: var(--green-light); }
.stat-block .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ---------------------------- Project cards ---------------------------- */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card .thumb { position: relative; height: 220px; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .thumb img { transform: scale(1.08); }
.project-card .thumb .cap-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(10,26,20,0.75); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 7px 14px; border-radius: 100px;
}
.project-card .thumb .year-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--amber); color: var(--dark);
  font-size: 0.78rem; font-weight: 800;
  padding: 7px 14px; border-radius: 100px;
}
.project-card .body { padding: 24px; }
.project-card .loc { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.project-card .loc svg { width: 14px; height: 14px; }
.project-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.project-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 14px; }
.project-card .meta { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; font-size: 0.82rem; color: var(--gray); }
.project-card .meta strong { color: var(--dark); display:block; font-size: 0.95rem; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--white); font-weight: 600; font-size: 0.86rem; color: var(--gray);
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ---------------------------- Why us ---------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-media img { height: 520px; object-fit: cover; }
.why-media .badge-float {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-radius: var(--radius-sm); padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
}
.why-media .badge-float .n { font-family:'Manrope',sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--green); }
.why-media .badge-float .t { font-size: 0.85rem; color: var(--gray); font-weight: 600; }

.why-list { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.why-item { display: flex; gap: 18px; }
.why-item .icon-sm {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
}
.why-item .icon-sm svg { width: 22px; height: 22px; stroke: var(--green); }
.why-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { color: var(--gray); font-size: 0.92rem; }

/* ---------------------------- EU project section ---------------------------- */
.eu-project-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.eu-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.eu-project-text { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.eu-project-text .spec-grid { margin: 14px 0 16px; }
.eu-project-text .eu-fund-line { color: var(--gray); font-size: 0.92rem; margin-bottom: 10px; }
.eu-project-text .eu-fund-line strong { color: var(--dark); }
.eu-disclaimer { font-size: 0.76rem; color: var(--gray-light); line-height: 1.5; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 2px; }
.eu-photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 3px; height: 100%; min-height: 320px; cursor: zoom-in; }
.eu-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s var(--ease); }
.eu-photo-grid img:hover { opacity: 0.88; }
@media (max-width: 860px) {
  .eu-project-grid { grid-template-columns: 1fr; }
  .eu-project-text { padding: 26px; }
  .eu-photo-grid { min-height: 220px; }
}

/* ---------------------------- Funding acknowledgement strip ---------------------------- */
.funding-strip {
  max-width: 92%;
  margin: 30px auto 0;
  background: transparent;
  text-align: center;
}
.funding-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  margin-bottom: 10px;
  white-space: nowrap;
}
.funding-logo-crop {
  width: 480px;
  max-width: 100%;
  height: 190px;
  overflow: hidden;
  margin: 0 auto;
}
.funding-logos-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}
@media (max-width: 860px) {
  .funding-logo-crop { width: 380px; height: 150px; }
}
@media (max-width: 640px) {
  .funding-logo-crop { width: 260px; height: 105px; }
  .funding-kicker { white-space: normal; }
}

/* ---------------------------- Image lightbox ---------------------------- */
.img-lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 26, 20, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.img-lightbox.open { display: flex; }
.img-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.img-lightbox .lightbox-close {
  position: absolute; top: 22px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background 0.25s var(--ease);
}
.img-lightbox .lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------------------------- Timeline (About) ---------------------------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content:''; position:absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -40px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green);
}
.timeline-item .year { font-family:'Manrope',sans-serif; font-weight: 800; color: var(--green); font-size: 1rem; margin-bottom: 6px; }
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { color: var(--gray); font-size: 0.92rem; max-width: 560px; }

/* ---------------------------- CTA banner ---------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--dark), var(--dark-2));
  border-radius: var(--radius);
  padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
  color: #fff;
}
.cta-banner::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 90% 10%, rgba(47,174,111,0.35), transparent 50%); }
.cta-banner .txt { position: relative; z-index: 1; max-width: 560px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.75); }
.cta-banner .actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------- Contact ---------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 50px; max-width: 820px; margin: 0 auto; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.contact-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.contact-card-grid .contact-col + .contact-col { border-left: 1px solid var(--border); padding-left: 40px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon-sm { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; background: var(--green-pale); display:flex; align-items:center; justify-content:center; }
.contact-info-item .icon-sm svg { width: 20px; height: 20px; stroke: var(--green); }
.contact-info-item .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-light); font-weight: 700; margin-bottom: 4px; }
.contact-info-item .val { font-weight: 600; color: var(--dark); }
.contact-info-item .val a:hover { color: var(--green); }

@media (max-width: 720px) {
  .contact-card-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-card-grid .contact-col + .contact-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 4px; }
}

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--bg); transition: border-color 0.3s, background 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 10px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 36px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.15); }

/* ---------------------------- Gallery ---------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; display:block; height:100%; }
.gallery-grid img { width:100%; height:100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .tall { grid-row: span 2; }

/* ---------------------------- Footer ---------------------------- */
footer.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.55); max-width: 300px; }
footer h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-links a:hover { color: var(--green-light); }
.footer-contact li { display:flex; gap:10px; margin-bottom: 16px; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.footer-contact svg { width: 17px; height: 17px; min-width:17px; stroke: var(--green-light); margin-top: 2px; }
.footer-contact a { transition: color 0.3s; }
.footer-contact a:hover { color: var(--green-light); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.82rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------- Reveal animation ---------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------------------------- Misc ---------------------------- */
.divider-note { display:flex; align-items:center; gap: 14px; color: var(--gray-light); font-size: 0.85rem; margin: 30px 0; }
.divider-note::before, .divider-note::after { content:''; flex:1; height:1px; background: var(--border); }

.legal-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; font-size: 0.88rem; color: var(--gray); }
.legal-box h4 { color: var(--dark); font-size: 0.98rem; margin: 22px 0 8px; }
.legal-box h4:first-child { margin-top: 0; }
.legal-box a { color: var(--green); font-weight: 600; }
.legal-box a:hover { text-decoration: underline; }
.doc-list { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 10px; }
.doc-chip { display:inline-flex; align-items:center; gap:8px; padding: 8px 16px; border:1px solid var(--border); border-radius: 100px; font-size: 0.82rem; font-weight:600; color: var(--dark); }
.doc-chip:hover { border-color: var(--green); color: var(--green); }

.brands-row { display:flex; flex-wrap:wrap; gap: 14px; align-items:center; }
.brand-chip { padding: 12px 22px; border:1px solid var(--border); border-radius: var(--radius-sm); font-weight: 700; color: var(--gray); font-size: 0.92rem; background: var(--white); }

/* ---------------------------- Partners grid ---------------------------- */
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.partner-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

@media (max-width: 1080px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } .partner-card { height: 100px; padding: 16px; } }

/* ---------------------------- Partners marquee (homepage) ---------------------------- */
.partners-marquee { padding: 64px 0 74px; overflow: hidden; }
.marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.marquee-header .section-header { margin-bottom: 0; }
.marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo-box {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  padding: 14px 26px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.marquee-logo-box:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.marquee-logo-box img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 860px) {
  .marquee-logo-box { height: 58px; padding: 12px 20px; }
  .marquee-logo-box img { height: 26px; }
  .marquee-track { gap: 16px; }
}
/* Static (non-moving) variant used for the bottom-of-page partners grid */
.partners-static-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Slow-moving logo ticker anchored to the bottom of the homepage hero */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 16px 0;
  background: linear-gradient(0deg, rgba(4,12,9,0.72), rgba(4,12,9,0));
}
.hero-marquee .marquee-wrap {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-marquee .marquee-track { animation: marquee-scroll 50s linear infinite; gap: 16px; }
.hero-marquee .marquee-logo-box {
  background: rgba(255,255,255,0.95);
  height: 44px;
  padding: 8px 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.hero-marquee .marquee-logo-box img { height: 20px; max-width: 90px; }
@media (max-width: 640px) {
  .hero-marquee { padding: 10px 0; }
  .hero-marquee .marquee-logo-box { height: 36px; padding: 6px 12px; }
  .hero-marquee .marquee-logo-box img { height: 16px; max-width: 70px; }
  .hero-marquee .marquee-track { gap: 10px; }
}

@media (max-width: 640px) {
  .partners-marquee { padding: 48px 0 56px; }
  .marquee-header { justify-content: center; text-align: center; }
  .marquee-header .section-header { text-align: center; margin: 0 auto; }
  .marquee-logo-box { height: 50px; padding: 10px 16px; }
  .marquee-logo-box img { height: 22px; }
  .partners-static-grid { gap: 12px; }
}

/* ---------------------------- Hero CTA (below stats card) ---------------------------- */
/* Only shown on mobile/tablet where nav collapses into the burger menu (see 1080px media query) */
.hero-cta { display: none; margin-top: 26px; }
.hero-cta .btn {
  background: linear-gradient(135deg, rgba(47,174,111,0.35), rgba(10,26,20,0.8));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}
.hero-cta .btn:hover {
  background: linear-gradient(135deg, rgba(47,174,111,0.5), rgba(10,26,20,0.88));
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.36);
}

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num { font-family:'Manrope',sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--border); margin-bottom: 10px; }
.process-step h4 { font-size: 0.98rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--gray); }

/* ---------------------------- Project detail modal ---------------------------- */
.project-card { cursor: pointer; }
.project-card .detail-cta {
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--green);
}
.project-card .detail-cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.project-card:hover .detail-cta svg { transform: translateX(4px); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8, 16, 13, 0.72);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px; width: 100%;
  max-height: 86vh; overflow-y: auto;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.modal-close:hover { background: var(--green-pale); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--dark); }

.modal-hero { height: 220px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero .modal-badges { position: absolute; bottom: 16px; left: 24px; display: flex; gap: 10px; }
.modal-hero .cap-badge, .modal-hero .year-badge { position: static; }

.modal-body { padding: 30px 34px 36px; }
.modal-body .modal-loc { display:flex; align-items:center; gap:6px; color: var(--green); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.modal-body .modal-loc svg { width: 14px; height: 14px; }
.modal-body h2 { font-size: 1.5rem; margin-bottom: 14px; }
.modal-body .modal-intro { color: var(--gray); font-size: 0.96rem; margin-bottom: 24px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 24px; }
.spec-item { border-top: 1px solid var(--border); padding-top: 10px; }
.spec-item .k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-light); font-weight: 700; margin-bottom: 4px; }
.spec-item .v { font-size: 0.94rem; color: var(--dark); font-weight: 600; }

.modal-section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); font-weight: 700; margin: 22px 0 10px; }
.equip-list { margin: 0; padding: 0; }
.equip-list li { list-style: none; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--gray); display:flex; gap:8px; }
.equip-list li::before { content: '⚡'; font-size: 0.8rem; }
.equip-list li:last-child { border-bottom: none; }

.legal-line { font-size: 0.88rem; color: var(--gray); padding: 6px 0; border-bottom: 1px dashed var(--border); }
.legal-line:last-child { border-bottom: none; }
.legal-line strong { color: var(--dark); }

.modal-maps-btn {
  margin-top: 24px; width: 100%;
}

@media (max-width: 640px) {
  .spec-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 24px 20px 28px; }
  .modal-hero { height: 160px; }
}

/* ---------------------------- Responsive ---------------------------- */
/* Shrink + narrow the hero stats card earlier, so tablets/small laptops (1080-1300px) don't get full desktop sizing */
@media (max-width: 1300px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
    padding: 14px 12px;
    max-width: 620px;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stat { padding: 2px 6px; }
  .hero-stat::after { display: none; }
  .hero-stat .num { font-size: 1.2rem; }
  .hero-stat .num .suffix { font-size: 0.78rem; }
  .hero-stat .label { font-size: 0.64rem; margin-top: 3px; }
  .hero-cta { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .why-grid, .intro-strip, .contact-grid { grid-template-columns: 1fr; }
  .why-media img { height: 360px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-contact li { justify-content: center; gap: 6px; }
  .footer-contact li a { text-align: left; flex: 0 1 auto; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .site-footer .brand .brand-kik, .site-footer .brand .brand-e1 { display: inline; }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: none; height: 100vh; height: 100dvh;
    background: var(--dark-2);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 130px 32px 40px;
    transition: right 0.45s var(--ease);
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; max-width: 320px; text-align: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-inner { gap: 14px; }
  .nav-cta { gap: 12px; z-index: 1100; }
  .navbar .brand { position: relative; z-index: 1100; }
  .nav-toggle, .lang-switch { flex-shrink: 0; }
  .nav-toggle { display: flex; z-index: 1100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-phone { display: none; }
  .brand .brand-kik, .brand .brand-e1 { display: block; line-height: 1.2; white-space: nowrap; }
  .brand span.sub { margin-top: 1px; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .lang-switch { padding: 2px; gap: 1px; }
  .lang-switch a { padding: 4px 9px 4px 4px; font-size: 0.7rem; gap: 4px; }
  .lang-switch a img { width: 16px; height: 16px; }
  .nav-links a.nav-links-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 18px;
    padding: 15px 0;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
  }
  .nav-links a.nav-links-call::after { display: none; }
  .nav-links a.nav-links-call svg { width: 17px; height: 17px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-scrim { position: fixed; inset:0; background: rgba(0,0,0,0.4); opacity:0; pointer-events:none; transition: opacity 0.4s; z-index: 999; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
  .navbar { padding: 14px 0; }
  .hero-content { padding-top: 100px; }
  .hero-cta { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stats-band { grid-template-columns: 1fr; padding: 40px 26px; }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; margin-bottom: 4px;}
  .cta-banner { flex-direction: column; text-align: center; padding: 46px 28px; }
  .cta-banner .txt { max-width: 100%; }
  .cta-banner .actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand { font-size: 0.98rem; gap: 6px; }
  .brand .brand-mark { width: 32px; height: 32px; }
  .navbar .container { padding: 0 16px; }
  .nav-inner { gap: 10px; }
  .nav-cta { gap: 8px; }
  .lang-switch a { padding: 3px 7px 3px 3px; font-size: 0.66rem; gap: 3px; }
  .lang-switch a img { width: 15px; height: 15px; }
  .nav-toggle { padding: 6px 4px; }
  .navbar { padding: 10px 0; }
  .hero { padding-bottom: 16px; }
  .hero-content { padding-top: 92px; }
  .hero-badge { font-size: 0.7rem; padding: 7px 12px; margin-bottom: 18px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-actions { margin-bottom: 18px; gap: 10px; }
  .hero-stats { padding: 12px 10px; gap: 4px 6px; margin-top: 14px; }
  .hero-stat { padding: 2px 4px; }
  .hero-stat:last-child { grid-column: 1 / -1; }
  .hero-stat .num { font-size: 1.05rem; }
  .hero-stat .num .suffix { font-size: 0.72rem; }
  .hero-stat .label { font-size: 0.6rem; margin-top: 2px; }
  .hero-cta .btn { width: 100%; }
  .all-projects-cta .btn { width: 100%; }
}
