/* ============================================
   NAKHOMBE CONSULTANTS — Common Design System
   Brand Colors: Emerald Green + Earth Brown
   Shared across all pages
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Palette — derived from logo */
  --green-50: #ecfdf5;
  --green-100: #d1fae5;
  --green-200: #a7f3d0;
  --green-300: #6ee7b7;
  --green-400: #34d399;
  --green-500: #16a34a;
  /* Primary — logo green */
  --green-600: #15803d;
  --green-700: #166534;
  --green-800: #14532d;
  --green-900: #052e16;

  --brown-50: #fdf8f6;
  --brown-100: #f2e8e5;
  --brown-200: #e8d8d0;
  --brown-300: #d4b9a9;
  --brown-400: #b08968;
  --brown-500: #8b6f47;
  --brown-600: #6d5535;
  /* Secondary — logo brown */
  --brown-700: #5c4629;
  --brown-800: #422a19;
  /* Dark accent from old site */
  --brown-900: #2c1a0e;

  /* Neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--green-900) 0%, var(--brown-800) 50%, var(--green-800) 100%);
  --gradient-green: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
  --gradient-dark: linear-gradient(135deg, var(--brown-900) 0%, var(--slate-900) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, var(--green-400) 0%, var(--green-600) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-green: 0 4px 14px rgba(22, 163, 74, 0.3);
  --shadow-glow: 0 0 30px rgba(22, 163, 74, 0.15);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Sizing */
  --nav-height: 72px;
  --max-width: 1240px;
  --section-padding: clamp(60px, 8vw, 120px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-800);
  background-color: var(--slate-50);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul {
  list-style: none;
}

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

/* ---------- Utility Classes ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 34px;
  height: 10px;
  background:
    var(--gradient-green) center center / 100% 2px no-repeat,
    var(--gradient-green) left center / 2px 10px no-repeat;
}

.section-label::after {
  background:
    var(--gradient-green) center center / 100% 2px no-repeat,
    var(--gradient-green) right center / 2px 10px no-repeat;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 600px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

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

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

.btn-white {
  background: white;
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Large button variant */
.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  transition: color 0.4s var(--ease-out);
}

.navbar.scrolled .nav-brand-name {
  color: var(--brown-800);
}

.nav-brand-tagline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.4s var(--ease-out);
}

.navbar.scrolled .nav-brand-tagline {
  color: var(--slate-400);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links>li>a {
  color: var(--slate-600);
}

.navbar.scrolled .nav-links>li>a:hover,
.navbar.scrolled .nav-links>li>a.active {
  color: var(--green-600);
  background: var(--green-50);
}

/* Dropdown arrow */
.nav-links>li>a .dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.nav-links>li:hover>a .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--slate-100);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 3px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid var(--slate-100);
  border-left: 1px solid var(--slate-100);
}

.nav-links>li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
}

.nav-dropdown a:hover {
  background: var(--green-50);
  color: var(--green-600);
  padding-left: 20px;
}

/* Nav CTA */
.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-green) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-green);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
  background: var(--gradient-green) !important;
}

.navbar.scrolled .nav-cta {
  color: white !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .nav-toggle span {
  background: var(--slate-800);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   NAVBAR SOLID VARIANT (Inner Pages)
   ============================================ */
.navbar--solid {
  background: var(--gradient-hero);
}

.navbar--solid.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   FOOTER NEXUS — Architectural Footer
   ============================================ */
.footer-nexus {
  background: linear-gradient(180deg, var(--brown-900) 0%, var(--slate-900) 40%, #080d16 100%);
  color: white;
  position: relative;
  padding-top: 0;
}

/* Animated Wave Separator */
.footer-wave-separator {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: linear-gradient(180deg, var(--brown-900) 0%, var(--slate-900) 100%);
  margin-top: -1px;
}

.footer-wave-separator svg {
  display: block;
  width: 100%;
  height: 80px;
  color: #1a0f08;
}

/* Footer Main Grid */
.footer-nexus-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand Column — alias for inner pages that use .footer-brand-col */
.footer-nexus-brand,
.footer-brand-col {
  /* Same styling scope — both hold the brand block */
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.fcc-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: opacity 0.3s var(--ease-out);
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-link img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid rgba(22, 163, 74, 0.3);
}

.footer-logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.footer-logo-tag {
  font-size: 0.7rem;
  color: var(--green-400);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-brand-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 24px;
}

/* Achievement Badges */
.footer-achievements {
  display: flex;
  gap: 16px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.footer-badge:hover {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.2);
}

.footer-badge svg {
  color: var(--green-400);
  flex-shrink: 0;
}

.badge-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  line-height: 1.2;
}

.badge-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

/* Link Columns */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient-green);
  border-radius: 2px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: 14px;
}

.footer-link-list li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.3s var(--ease-out);
  position: relative;
  padding-left: 0;
}

.footer-link-list li a::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--green-400);
  transition: width 0.3s var(--ease-out);
}

.footer-link-list li a:hover {
  color: var(--green-400);
  padding-left: 20px;
}

.footer-link-list li a:hover::before {
  width: 12px;
}

/* Contact Cards */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
}

.footer-contact-card:hover {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.15);
  transform: translateX(4px);
}

.fcc-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-sm);
  color: var(--green-400);
  transition: all 0.3s var(--ease-out);
}

.footer-contact-card:hover .fcc-icon {
  background: var(--gradient-green);
  color: white;
}

.fcc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.fcc-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.footer-contact-card:hover .fcc-value {
  color: white;
}

/* Social + Bottom Row */
.footer-nexus-bottom {
  padding: 32px 0;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s var(--ease-out);
}

.footer-social-link:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s var(--ease-out);
}

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

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.footer-location {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 900;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5);
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(5, 46, 22, 0.92) 0%,
      rgba(66, 42, 25, 0.82) 50%,
      rgba(15, 23, 42, 0.88) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  max-width: 680px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

.page-hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--green-300) 0%, var(--green-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 540px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 16px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list li a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease-out);
}

.breadcrumb-list li a:hover {
  color: var(--green-300);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--green-300);
  font-weight: 600;
}

/* ============================================
   FOOTER — Standard (inner pages)
   ============================================ */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(176, 137, 104, 0.4) 50%,
      transparent 100%);
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
}

/* Brand Column */
.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s var(--ease-out);
}

.footer-brand-logo:hover img {
  border-color: var(--green-400);
}

.footer-brand-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.3px;
}

.footer-brand>p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.35s var(--ease-out);
}

.footer-social a:hover {
  background: rgba(22, 163, 74, 0.15);
  border-color: rgba(22, 163, 74, 0.3);
  color: var(--green-300);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.15);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* Footer Columns */
.footer-column h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-green);
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-column ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.footer-column ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--green-400);
  transition: width 0.3s var(--ease-out);
  position: absolute;
  bottom: 2px;
  left: 0;
}

.footer-column ul li a:hover {
  color: var(--green-300);
  transform: translateX(4px);
}

.footer-column ul li a:hover::before {
  width: 100%;
}

/* Contact Items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--green-400);
  margin-top: 2px;
  opacity: 0.8;
}

.footer-contact-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-contact-item p a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease-out);
}

.footer-contact-item p a:hover {
  color: var(--green-300);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p {
  margin: 0;
}

/* ============================================
   RESPONSIVE — COMMON (TABLET)
   ============================================ */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-nexus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE — COMMON (MOBILE)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    gap: 0;
    box-shadow: var(--shadow-2xl);
    transition: right 0.4s var(--ease-out);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links>li>a {
    color: var(--slate-700);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-links>li>a:hover {
    background: var(--green-50);
    color: var(--green-600);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    padding: 0 0 0 16px;
    display: none;
    min-width: 0;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-links>li.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Page Hero — Mobile */
  .page-hero {
    min-height: 340px;
    padding-bottom: 40px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-nexus-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-achievements {
    flex-wrap: wrap;
  }
}

/* ============================================
   SMALL MOBILE — COMMON
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }
}