/* ============================================
   NIYAM WASTE - PREMIUM DESIGN SYSTEM
   Design: Deep slate + industrial green + steel
   Typography: Inter (body) + Sora (display)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Brand Colors */
  --c-green-900: #0a2218;
  --c-green-800: #0f3526;
  --c-green-700: #155235;
  --c-green-600: #1a6642;
  --c-green-500: #1f7a4e;   /* Primary brand green */
  --c-green-400: #27a065;
  --c-green-300: #3dbe7e;
  --c-green-200: #7fdba8;
  --c-green-100: #d0f5e1;
  --c-green-50:  #edfaf3;

  --c-slate-900: #0c1118;
  --c-slate-800: #141c24;
  --c-slate-700: #1d2835;
  --c-slate-600: #28374a;
  --c-slate-500: #3b4f64;
  --c-slate-400: #5e7a96;
  --c-slate-300: #8da4bc;
  --c-slate-200: #c2d1de;
  --c-slate-100: #e6ecf2;
  --c-slate-50:  #f4f7fa;

  --c-gold: #d4a843;
  --c-gold-light: #f0c96a;

  --c-white: #ffffff;
  --c-text-primary: #0c1118;
  --c-text-secondary: #3b4f64;
  --c-text-muted: #8da4bc;

  /* Surfaces */
  --bg-page:    #f4f7fa;
  --bg-dark:    #0c1118;
  --bg-card:    #ffffff;
  --bg-section: #f4f7fa;

  /* Typography */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

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

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

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(12,17,24,0.08), 0 1px 2px rgba(12,17,24,0.04);
  --shadow-md:  0 4px 16px rgba(12,17,24,0.10), 0 2px 6px rgba(12,17,24,0.06);
  --shadow-lg:  0 12px 40px rgba(12,17,24,0.14), 0 4px 12px rgba(12,17,24,0.08);
  --shadow-xl:  0 24px 64px rgba(12,17,24,0.18), 0 8px 24px rgba(12,17,24,0.10);
  --shadow-green: 0 8px 32px rgba(31,122,78,0.25);

  /* Transitions */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-normal: 300ms;
  --dur-slow:   500ms;

  /* Container */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY SCALE ── */
.display-2xl { font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.display-xl  { font-family: var(--font-display); font-size: clamp(1.875rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.display-lg  { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.display-md  { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.display-sm  { font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }

.body-xl  { font-size: 1.125rem; line-height: 1.7; }
.body-lg  { font-size: 1rem; line-height: 1.65; }
.body-sm  { font-size: 0.875rem; line-height: 1.6; }
.body-xs  { font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.01em; }

.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--c-white);
}

.section--green {
  background: var(--c-green-800);
  color: var(--c-white);
}

.section--light {
  background: var(--c-white);
}

.section--muted {
  background: var(--c-slate-50);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-green-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-green-400);
  border-radius: 2px;
}

.section--dark .section-eyebrow,
.section--green .section-eyebrow {
  color: var(--c-green-300);
}

.section--dark .section-eyebrow::before,
.section--green .section-eyebrow::before {
  background: var(--c-green-300);
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-normal) var(--ease-standard),
              box-shadow var(--dur-normal) var(--ease-standard),
              padding var(--dur-normal) var(--ease-standard);
  padding: 1.25rem 0;
}

#navbar.scrolled {
  background: rgba(12,17,24,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  padding: 0.75rem 0;
}

#navbar.navbar-light {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

#navbar.navbar-light .nav-link { color: var(--c-slate-600); }
#navbar.navbar-light .nav-link:hover { color: var(--c-green-600); }
#navbar.navbar-light .nav-cta { background: var(--c-green-500); color: white; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--c-green-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#navbar.navbar-light .nav-logo-name { color: var(--c-slate-800); }
#navbar.navbar-light .nav-logo-sub  { color: var(--c-green-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-green-300);
  background: rgba(31,122,78,0.12);
}

.nav-cta {
  padding: var(--space-2) var(--space-5);
  background: var(--c-green-500);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: var(--shadow-green);
}

.nav-cta:hover {
  background: var(--c-green-400);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(31,122,78,0.35);
}

/* Contact link styled as pill button — replaces separate CTA */
.nav-link.nav-contact-btn {
  background: var(--c-green-500);
  color: white !important;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-weight: 600;
  box-shadow: var(--shadow-green);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}

.nav-link.nav-contact-btn:hover,
.nav-link.nav-contact-btn.active {
  background: var(--c-green-400) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(31,122,78,0.35);
}

#navbar.navbar-light .nav-link.nav-contact-btn {
  background: var(--c-green-500);
  color: white !important;
}

#navbar.navbar-light .nav-link.nav-contact-btn:hover {
  background: var(--c-green-400) !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--dur-normal), opacity var(--dur-normal), width var(--dur-normal);
}

#navbar.navbar-light .nav-mobile-toggle span { background: var(--c-slate-700); }

.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,17,24,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal);
}

.nav-mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--c-green-400); }

.nav-mobile-cta {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-10);
  background: var(--c-green-500);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-slate-900);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,34,24,0.92) 0%,
    rgba(12,17,24,0.75) 50%,
    rgba(31,122,78,0.18) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(31,122,78,0.2);
  border: 1px solid rgba(63,190,126,0.3);
  color: var(--c-green-300);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-green-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--c-white);
  max-width: 14ch;
  margin-bottom: var(--space-6);
}

.hero-headline .accent {
  background: linear-gradient(90deg, var(--c-green-400), var(--c-green-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 50ch;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-value span {
  color: var(--c-green-400);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-scroll 2.5s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
}

@keyframes bounce-scroll {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--c-green-500);
  color: white;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--c-green-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(31,122,78,0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--c-green-600);
  border: 1.5px solid var(--c-green-500);
}

.btn-outline:hover {
  background: var(--c-green-500);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194,209,222,0.5);
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-spring),
              box-shadow var(--dur-normal) var(--ease-standard),
              border-color var(--dur-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(31,122,78,0.2);
}

.card-body { padding: var(--space-6); }

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--c-green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-600);
  margin-bottom: var(--space-5);
  transition: background var(--dur-normal), color var(--dur-normal);
}

.card:hover .card-icon {
  background: var(--c-green-500);
  color: white;
}

.card-icon svg { width: 26px; height: 26px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--space-3);
}

.card-text {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  line-height: 1.65;
}

/* Service cards */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194,209,222,0.4);
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-spring), box-shadow var(--dur-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--c-slate-100);
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-standard);
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--c-green-500);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--space-3);
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex: 1;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--c-text-secondary);
}

.service-feature-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-green-400);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── GRID SYSTEM ── */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-green-500);
  color: white;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-green);
  text-align: center;
}

.about-image-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 4px;
}

.about-content { }

.about-belief {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--c-green-600);
  border-left: 3px solid var(--c-green-400);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  line-height: 1.7;
}

/* ── STATS SECTION ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: clamp(2rem, 4vw, 3rem) var(--space-6);
  text-align: center;
  background: rgba(255,255,255,0.03);
  transition: background var(--dur-normal);
}

.stat-item:hover { background: rgba(31,122,78,0.15); }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-value .accent { color: var(--c-green-400); }

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* ── PROCESS TIMELINE ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-green-400), var(--c-green-200));
  z-index: 0;
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-3);
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--c-green-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--c-green-600);
  margin-bottom: var(--space-5);
  transition: background var(--dur-normal), color var(--dur-normal), border-color var(--dur-normal);
  letter-spacing: 0.05em;
}

.process-item:hover .process-num {
  background: var(--c-green-500);
  color: white;
  border-color: var(--c-green-500);
}

.process-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--space-2);
}

.process-desc {
  font-size: 0.8rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ── INDUSTRIES ── */
.industry-card {
  background: var(--bg-card);
  border: 1px solid rgba(194,209,222,0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-spring);
}

.industry-card:hover {
  background: var(--c-green-800);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-card:hover .industry-icon,
.industry-card:hover .industry-title,
.industry-card:hover .industry-desc {
  color: var(--c-white);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
  color: var(--c-green-600);
  transition: color var(--dur-normal);
}

.industry-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--space-3);
  transition: color var(--dur-normal);
}

.industry-desc {
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  line-height: 1.65;
  transition: color var(--dur-normal);
}

/* ── CERTIFICATIONS ── */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(63,190,126,0.2);
  color: var(--c-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--dur-fast);
}

.cert-badge:hover {
  background: rgba(31,122,78,0.25);
  border-color: rgba(63,190,126,0.4);
}

.cert-check {
  width: 20px;
  height: 20px;
  background: var(--c-green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: white;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(194,209,222,0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  position: relative;
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-green-100);
  position: absolute;
  top: -8px;
  left: var(--space-5);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--c-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
  padding-top: var(--space-6);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-star { color: var(--c-gold); font-size: 0.9rem; }

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

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  background: var(--c-green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-green-600);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-text-primary);
}

.testimonial-author-company {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* ── CLIENT LOGOS ── */
.clients-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
}

.client-logo {
  flex-shrink: 0;
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter var(--dur-normal), opacity var(--dur-normal);
}

.client-logo:hover { filter: grayscale(0%); opacity: 1; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-standard);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,34,24,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(194,209,222,0.4);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--c-green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-600);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-primary);
  line-height: 1.4;
}

.contact-info-value a:hover { color: var(--c-green-600); }

/* ── FORM ── */
.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(194,209,222,0.5);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.form-label .required { color: var(--c-green-500); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--c-slate-50);
  border: 1.5px solid rgba(194,209,222,0.6);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--c-text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  outline: none;
}

.form-control::placeholder { color: var(--c-text-muted); }

.form-control:focus {
  border-color: var(--c-green-400);
  background: white;
  box-shadow: 0 0 0 3px rgba(31,122,78,0.12);
}

.form-control.error { border-color: #e53e3e; }
.form-control.success { border-color: var(--c-green-400); }

textarea.form-control { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-error-msg {
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: var(--space-1);
  display: none;
}

.form-error-msg.visible { display: block; }

.form-submit-btn {
  width: 100%;
  padding: var(--space-4);
  background: var(--c-green-500);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--dur-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-green);
  position: relative;
  overflow: hidden;
}

.form-submit-btn:hover {
  background: var(--c-green-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(31,122,78,0.4);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn-spinner.visible { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-success-msg {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form-success-msg.visible { display: block; }

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--c-green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--c-green-600);
  font-size: 1.75rem;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-green-800) 0%, var(--c-green-600) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--c-slate-900);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: var(--space-4) 0 var(--space-6);
  color: rgba(255,255,255,0.55);
  max-width: 36ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-5);
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color var(--dur-fast);
}

.footer-link:hover { color: var(--c-green-300); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-3);
}

.footer-contact-icon {
  color: var(--c-green-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast);
}

.footer-legal a:hover { color: var(--c-green-400); }

/* ── HERO IMAGE FALLBACK ── */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero/hero-main.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 140px;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--c-slate-900) 0%, var(--c-green-900) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-page));
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.breadcrumb-item { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.breadcrumb-item a { color: var(--c-green-400); }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ── VALUES GRID ── */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

.value-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid rgba(194,209,222,0.4);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-normal), box-shadow var(--dur-normal);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--c-green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-600);
  flex-shrink: 0;
  font-size: 1.25rem;
}

.value-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--space-2); }
.value-desc { font-size: 0.875rem; color: var(--c-text-secondary); line-height: 1.65; }

/* ── BACK TO TOP ── */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--c-green-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-normal), transform var(--dur-normal);
  z-index: 800;
  border: none;
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-top:hover { background: var(--c-green-400); transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ── ICON EMOJI SHORTCUTS ── */
.icon-green { color: var(--c-green-500); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-badge { right: 0; bottom: -15px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-grid { flex-direction: column; text-align: center; }
  .hero-stats { gap: var(--space-5); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cert-grid { flex-direction: column; align-items: center; }
}

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

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-white { color: var(--c-white); }
.text-green { color: var(--c-green-500); }
.text-muted { color: var(--c-text-muted); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
