/* ============================================
   NELIYAH ENVIRONMENTAL SPECIALISTS — STYLES
   Palette: matched to the official logo (emerald green + gold on black)
   ============================================ */

:root {
  --green-900: #0a2e17;
  --green-800: #0f4023;
  --green-700: #1a7a4c;
  --green-600: #229660;
  --green-500: #33ac76;
  --green-400: #5cc394;
  --green-300: #91d9b7;
  --green-100: #e3f5e8;
  --green-50:  #f6faf5;

  --accent: #d9a62a;
  --accent-2: #ad8320;
  --accent-3: #7f6118;
  --accent-soft: #faf0d6;

  --slate: #56666f;

  --white: #ffffff;
  --off-white: #faf8f1;
  --ink: #12190f;
  --ink-soft: #4d5c51;
  --border: #e3e0d0;

  --shadow: 0 24px 48px -22px rgba(10, 46, 23, 0.32);
  --shadow-accent: 0 18px 40px -16px rgba(127, 97, 24, 0.4);
  --radius: 18px;

  --font-head: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

@media (pointer: fine) {
  body, a, button { cursor: none; }
}

img { max-width: 100%; display: block; background: transparent; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; font-optical-sizing: auto; color: var(--green-900); line-height: 1.12; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-3); }

section { position: relative; padding: 120px 0; }

/* ===== Custom Cursor ===== */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; will-change: transform; display: none; }
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(215,255,62,0.6);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease-out-expo), height .25s var(--ease-out-expo), border-color .25s, background .25s, opacity .25s;
}
.cursor-ring.hovering {
  width: 64px; height: 64px; background: rgba(215,255,62,0.12); border-color: var(--accent);
}
.cursor-ring.hidden, .cursor-dot.hidden { opacity: 0; }

/* ===== Grain Overlay ===== */
.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; background: var(--green-900);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.leaf-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid rgba(215,255,62,0.2); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 50px; font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.2px; font-family: var(--font-body);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; position: relative;
}
.btn-arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--green-800); color: var(--white); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--accent); color: var(--green-900); font-weight: 700; }
.btn-gold:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-outline.btn-dark { border-color: var(--border); color: var(--green-800); }
.btn-outline.btn-dark:hover { border-color: var(--green-700); background: var(--green-900); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-700); }
.btn-white:hover { background: var(--accent); color: var(--green-900); transform: translateY(-2px); }
.btn-block { width: 100%; border-radius: 8px; }
.btn-text { background: none; border: none; color: var(--white); font-weight: 500; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,0.4); padding: 4px 0; }
.btn-text:hover { text-decoration-color: var(--accent); color: var(--accent); }
.center-btn { text-align: center; margin-top: 44px; }

/* magnetic wrapper — JS applies inline transform to elements with .magnetic */
.magnetic { transition: transform .25s var(--ease-out-expo); }

/* ===== Marquee Ticker ===== */
.marquee { background: var(--green-900); overflow: hidden; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-set { display: flex; align-items: center; flex-shrink: 0; }
.marquee-set span.item {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem;
  color: rgba(255,255,255,0.75); padding: 0 28px; white-space: nowrap;
}
.marquee-set span.item .dot { color: var(--accent); margin-right: 28px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Top Utility Bar ===== */
.topbar { background: var(--green-900); padding: 9px 0; }
.topbar .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.topbar span { color: #cfe4d3; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; }
.topbar span.highlight { color: var(--accent); font-weight: 600; }
.topbar span.sep { color: rgba(207,228,211,0.3); font-weight: 400; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled { box-shadow: 0 4px 16px -12px rgba(13,59,31,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* ===== Header Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green-900);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-box {
  flex: 0 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.logo > span:last-child em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1;
}

.nav {
  display: flex; align-items: center; gap: 32px;
  border: 1px solid var(--border); border-radius: 50px;
  padding: 14px 30px;
}
.nav a { color: var(--ink); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.6px; text-transform: uppercase; position: relative; padding: 4px 0 6px; transition: color .3s; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent-2); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: var(--accent-3); }

.nav-cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 600; }
.hamburger span { width: 26px; height: 2px; background: var(--green-900); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  border: 0; outline: 0; box-shadow: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,32,17,0.6) 0%, rgba(8,32,17,0.8) 55%, rgba(8,32,17,0.95) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 900px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem;
  font-family: var(--font-mono); font-weight: 400; color: var(--accent); margin-bottom: 18px;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.light { color: var(--accent); }
.hero h1 {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 22px; line-height: 1.2; letter-spacing: -0.01em;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(30px); animation: wordUp .9s var(--ease-out-expo) forwards; animation-delay: calc(var(--i, 0) * 70ms + .15s); }
.hero h1 .accent-word { font-style: italic; color: var(--accent); }
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }
.hero-sub { font-size: 0.98rem; color: #dce9df; max-width: 520px; margin: 0 auto 34px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 20px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollDown 1.6s infinite; }
@keyframes scrollDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ===== Stats Strip ===== */
.stats-strip { background: var(--green-900); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { color: var(--white); }
.stat-num, .stat-suffix { font-family: var(--font-head); font-size: 3rem; font-weight: 500; color: var(--accent); }
.stat-item p { margin-top: 8px; color: #a9c4b0; font-size: 0.8rem; letter-spacing: 1.2px; text-transform: uppercase; font-family: var(--font-mono); }

/* ===== Section Generic ===== */
.section-title { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 18px; letter-spacing: -0.015em; }
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }
.section-sub { color: var(--ink-soft); max-width: 620px; margin: 0 auto 50px; font-size: 1.04rem; }
.section-sub.center { text-align: center; }

/* ===== About ===== */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }

/* Image frame removed — object-fit:cover fills the space, no background bars, no border, no shadow */
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  display: block;
}

/* Floating image frame removed */
.about-img-float {
  position: absolute; bottom: -40px; right: -40px; width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  display: block;
}

.about-badge {
  position: absolute; top: 20px; left: -20px; background: var(--green-900); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px;
  border-left: 4px solid var(--accent);
}
.about-badge strong { color: var(--accent); font-size: 1.1rem; }
.about-badge span { font-size: 0.8rem; color: #cfe4d3; max-width: 160px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-points { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.tick { width: 24px; height: 24px; background: var(--green-900); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }

/* ===== Services (card grid) ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.services-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr); gap: 34px 40px; max-width: 980px; margin-left: auto; margin-right: auto; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 28px; text-align: left; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 58px; height: 58px; background: var(--green-900); color: var(--accent);
  border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ===== Numbered Interactive Services List (Home) ===== */
.services-list { border-top: 1px solid var(--border); margin-top: 30px; }
.service-row {
  display: flex; align-items: center; gap: 30px; padding: 34px 10px; cursor: pointer;
  border-bottom: 1px solid var(--border); position: relative; transition: padding .35s var(--ease);
}
.service-row .row-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-soft); width: 40px; flex-shrink: 0; }
.service-row .row-title { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--green-900); transition: color .3s, transform .3s; flex-grow: 1; }
.service-row .row-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--green-900);
  transition: background .3s, border-color .3s, transform .3s, color .3s;
}
.service-row .row-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.service-row:hover { padding-left: 20px; }
.service-row:hover .row-title { color: var(--accent-3); transform: translateX(6px); }
.service-row:hover .row-arrow { background: var(--accent); border-color: var(--accent); color: var(--green-900); transform: rotate(45deg); }
.services-list-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }

/* Services side panel — frame removed */
.services-panel {
  position: sticky; top: 130px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.services-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; position: absolute; inset: 0;
  transition: opacity .5s var(--ease);
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.services-panel img.active { opacity: 1; position: relative; }

/* ===== Approach ===== */
.approach { position: relative; padding: 130px 0; }
.approach-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed;
  border: 0; outline: 0; box-shadow: none;
}
.approach-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,59,31,0.88), rgba(18,74,41,0.88)); }
.approach .container { position: relative; z-index: 2; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.approach-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 36px 28px; backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
}
.approach-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-8px); }
.approach-num { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 400; color: var(--accent); opacity: 0.9; }
.approach-card h3 { color: var(--white); margin: 10px 0 12px; }
.approach-card p { color: #dcece0; font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 0;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,59,31,0.85) 100%);
  display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity .35s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 0.95rem; }

.gallery-grid-preview { grid-auto-rows: 240px; }
.gallery-grid-preview .gallery-item:nth-child(1),
.gallery-grid-preview .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }

/* ===== Page Banner (interior pages) ===== */
.page-banner { position: relative; min-height: 320px; display: flex; align-items: center; overflow: hidden; }
.page-banner-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  border: 0; outline: 0; box-shadow: none;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,32,17,0.68) 0%, rgba(8,32,17,0.85) 100%);
}
.page-banner-content { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.2rem); margin-top: 8px; }
.breadcrumb { color: #dfeee1; font-size: 0.9rem; letter-spacing: 0.5px; font-family: var(--font-mono); }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.7; }

/* ===== Process Steps ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
.process-step { text-align: center; padding: 30px 22px; background: var(--off-white); border-radius: var(--radius); border: 1px solid var(--border); }
.process-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--green-900); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.15rem; margin: 0 auto 16px;
  font-family: var(--font-mono);
}
.process-step h4 { color: var(--green-800); margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: var(--ink-soft); font-size: 0.9rem; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,20,14,0.96); z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lightbox p { color: var(--green-100); margin-top: 18px; font-size: 1rem; }
.lightbox-close {
  position: absolute; top: 26px; right: 34px; background: none; border: none; color: var(--white);
  font-size: 2.4rem; cursor: pointer; line-height: 1; transition: color .3s, transform .3s;
}
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

/* ===== CTA Banner ===== */
.cta-banner { background: var(--green-900); padding: 70px 0; position: relative; overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 560px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info h2 { margin: 10px 0 18px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 30px; }
.info-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; background: var(--green-900);
  color: var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-item strong { display: block; color: var(--green-800); margin-bottom: 3px; }
.info-item p { color: var(--ink-soft); font-size: 0.94rem; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
  transition: background .3s, color .3s, transform .3s;
}
.social-row a:hover { background: var(--accent); color: var(--green-900); transform: translateY(-4px); }

.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; position: relative; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--green-800); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(215,255,62,0.22);
}
.form-group.invalid input, .form-group.invalid textarea { border-color: #d32f2f; }
.error-msg { display: none; color: #d32f2f; font-size: 0.78rem; margin-top: 6px; }
.form-group.invalid .error-msg { display: block; }
.form-success {
  display: none; margin-top: 16px; text-align: center; color: var(--green-700);
  background: var(--accent-soft); padding: 12px; border-radius: 10px; font-size: 0.92rem; font-weight: 500;
}
.form-success.show { display: block; }

/* ===== Hero Badges (legacy) ===== */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; justify-content: center; }
.hero-badges span {
  background: rgba(215,255,62,0.1); border: 1px solid rgba(215,255,62,0.4); color: var(--accent);
  padding: 8px 18px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3px;
}

/* ===== Vision / Mission ===== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.vm-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.vm-card:hover { transform: translateY(-4px); }
.vm-card h3 { font-size: 1.35rem; margin-bottom: 14px; color: var(--green-700); }
.vm-card p { color: var(--ink-soft); margin-bottom: 10px; }
.vm-card p:last-child { margin-bottom: 0; }

/* ===== Full-width Image Band ===== */
.image-band { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.image-band-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed;
  border: 0; outline: 0; box-shadow: none;
}
.image-band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,17,0.78), rgba(8,32,17,0.88)); }
.image-band .container { position: relative; z-index: 2; text-align: center; }
.image-band p.quote { color: var(--white); font-size: clamp(1.3rem, 2.8vw, 2rem); font-family: var(--font-head); font-weight: 500; font-style: italic; max-width: 780px; margin: 0 auto; line-height: 1.45; }

/* ===== Sector / Client Strip ===== */
.sector-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.sector-chip { background: rgba(215,255,62,0.08); border: 1px solid rgba(215,255,62,0.3); color: var(--accent); padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.86rem; transition: background .3s, transform .3s; }
.sector-chip:hover { background: rgba(215,255,62,0.18); transform: translateY(-2px); }

/* ===== Meaning / Identity ===== */
.meaning-block { max-width: 820px; margin: 0 auto; text-align: center; }
.meaning-block p { color: var(--ink-soft); margin-bottom: 16px; }
.identity-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.identity-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.identity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.identity-icon { width: 60px; height: 60px; background: var(--green-900); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.identity-icon svg { width: 30px; height: 30px; }
.identity-card h4 { color: var(--green-800); margin-bottom: 8px; }
.identity-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== Registration Badges ===== */
.reg-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.reg-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  min-height: 96px;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.reg-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.reg-badge .reg-logo {
  flex: 0 0 112px;
  width: 112px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reg-badge .reg-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.reg-badge .reg-icon {
  width: 36px; height: 36px; background: var(--green-900); color: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem; flex-shrink: 0; font-family: var(--font-mono);
}

.reg-badge > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.reg-badge strong {
  display: block;
  color: var(--green-800);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.reg-badge > div span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-quote-mark { color: var(--accent-2); font-family: var(--font-head); font-size: 3.2rem; line-height: 0.5; display: block; margin-bottom: 16px; }
.testimonial-card p.quote-text { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 20px; font-style: italic; flex-grow: 1; }
.testimonial-card .role { color: var(--green-700); font-weight: 700; font-size: 0.9rem; }
.testimonial-card .org { color: var(--ink-soft); font-size: 0.8rem; }

/* ===== Service Card List variant ===== */
.service-card p.card-lead { margin-bottom: 12px; }
.service-card ul.card-list { margin-top: 6px; }
.service-card ul.card-list li { color: var(--ink-soft); font-size: 0.88rem; padding-left: 18px; position: relative; margin-bottom: 8px; line-height: 1.4; }
.service-card ul.card-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

/* ===== Mini Image Strip — rounded frame removed ===== */
.mini-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; background: transparent; }
.mini-strip img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: none;
  display: block;
}

/* ===== Careers ===== */
.careers-team-image {
  width: 100%;
  height: clamp(320px, 38vw, 520px);
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  display: block;
}
.about-img-main,
.about-img-float,
.services-panel img,
.gallery-item img,
.mini-strip img,
.careers-team-image {
  border-radius: 12px;
  background: transparent;
}
.careers-block { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 46px; margin-bottom: 30px; }
.careers-block h2 { margin-bottom: 14px; }
.careers-block p { color: var(--ink-soft); margin-bottom: 16px; }
.opportunities-block { background: var(--accent-soft); border: 1px dashed var(--accent-2); border-radius: var(--radius) var(--radius) 0 0; padding: 40px; text-align: center; }
.opportunities-block h3 { color: var(--green-800); margin-bottom: 10px; }
.opportunities-block p { color: var(--ink-soft); }
.opportunities-block .vacancy-intro { max-width: 760px; margin: 0 auto; }
.vacancy-card { background: var(--white); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 48px; box-shadow: var(--shadow); }
.vacancy-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.vacancy-header .eyebrow { margin-bottom: 10px; }
.vacancy-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.vacancy-tag { background: var(--green-100); color: var(--green-800); border-radius: 50px; padding: 9px 16px; font-size: .75rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; }
.vacancy-details { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.vacancy-details div { display: flex; flex-direction: column; gap: 5px; }
.vacancy-details strong { color: var(--green-800); font-size: .76rem; letter-spacing: .7px; text-transform: uppercase; }
.vacancy-details span { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; }
.vacancy-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; padding: 38px 0; }
.vacancy-section h3, .vacancy-application h3 { color: var(--green-800); font-size: 1.35rem; margin-bottom: 18px; }
.vacancy-section ol, .vacancy-section ul { padding-left: 22px; }
.vacancy-section li { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; margin-bottom: 12px; padding-left: 5px; }
.vacancy-section li::marker { color: var(--accent-2); font-weight: 700; }
.vacancy-application { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--green-900); border-radius: 12px; padding: 30px; }
.vacancy-application h3 { color: var(--white); margin-bottom: 8px; }
.vacancy-application p { color: #cfe4d3; font-size: .9rem; margin-bottom: 10px; }
.vacancy-application a:not(.btn) { color: var(--accent); font-weight: 700; }
.vacancy-application .application-note { color: #a9c4b0; font-size: .78rem; margin-bottom: 0; }
.vacancy-application .btn { flex-shrink: 0; }

/* ===== Contact CTA Row & Extended Form Fields ===== */
.contact-cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 30px 0 6px; }
.form-section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-700); margin: 26px 0 12px; }
.form-section-label:first-child { margin-top: 0; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 4px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.87rem; color: var(--ink); line-height: 1.3; }
.checkbox-item input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--green-700); flex-shrink: 0; }
.form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--ink);
}
.form-group input[type="file"] {
  width: 100%; border: 1.5px dashed var(--border); padding: 18px 16px; border-radius: 10px;
  background: var(--white); font-size: 0.86rem; cursor: pointer;
}

/* ===== Footer ===== */
.site-footer { background: var(--green-900); position: relative; overflow: hidden; }
.footer-cta { padding: 90px 0 70px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-cta p.eyebrow { justify-content: center; }
.footer-cta h2 { color: var(--white); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 500; margin-bottom: 34px; line-height: 1.1; }
.footer-cta h2 em { color: var(--accent); }
.footer-cta-btn {
  width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem;
  transition: transform .3s var(--ease-out-expo), background .3s;
}
.footer-cta-btn:hover { background: var(--white); }
.footer-bottom { padding: 46px 0 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* ===== Footer Logo ===== */
.footer-logo {
  color: var(--white);
}

.footer-logo .logo-box {
  height: 48px;
  width: auto;
  padding: 7px 12px;
  background: var(--white);
  border-radius: 10px;
}

.footer-logo .logo-box img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-logo > span:last-child em {
  color: rgba(255,255,255,0.6);
  opacity: 1;
}

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #cfe4d3; font-size: 0.92rem; transition: color .3s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { text-align: center; color: #9fbfa6; font-size: 0.84rem; margin-top: 22px; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--green-900); border: none; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-accent);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s var(--ease); z-index: 400;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--white); transform: translateY(-3px); }

/* ===== Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-float { width: 42%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .services-list-wrap { grid-template-columns: 1fr; }
  .services-panel { position: relative; top: 0; aspect-ratio: 16/9; order: -1; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .identity-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .mini-strip { grid-template-columns: repeat(3, 1fr); }
  .vacancy-details { grid-template-columns: repeat(3, 1fr); }
  .reg-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 78%;
    max-width: 320px; background: var(--white); padding: 100px 34px 40px; gap: 26px; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 550; border: none; border-radius: 0;
  }
  .nav.open a { color: var(--green-900); font-size: 1.05rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .about-img-float { position: static; width: 100%; margin-top: 20px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .careers-block { padding: 30px; }
  .vacancy-card { padding: 34px 30px; }
  .vacancy-columns { grid-template-columns: 1fr; gap: 34px; }
  .service-row { gap: 16px; padding: 24px 6px; }
  .service-row .row-title { font-size: 1.1rem; }
  .service-row .row-arrow { width: 36px; height: 36px; }

  .logo { font-size: 1.05rem; gap: 10px; }
  .logo-box { height: 44px; }
  .logo > span:last-child em { letter-spacing: 0.16em; font-size: 0.5rem; }
  .footer-logo .logo-box { height: 42px; padding: 6px 10px; }

  .reg-badges { grid-template-columns: 1fr; }
  .reg-badge { min-height: auto; padding: 16px; }
}

@media (max-width: 560px) {
  section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .hero-actions { flex-direction: column; }
  .contact-form { padding: 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .mini-strip { grid-template-columns: 1fr 1fr; }
  .mini-strip img { height: 140px; }
  .marquee-set span.item { font-size: 0.68rem; padding: 0 18px; }
  .vacancy-header, .vacancy-application { align-items: flex-start; flex-direction: column; }
  .vacancy-details { grid-template-columns: 1fr 1fr; }
  .vacancy-card { padding: 28px 22px; }
  .vacancy-application { padding: 24px; }
}