/* ================================================
   EUCA ECO CONSULTS LIMITED — Main Stylesheet
   Colors: Forest Green + Gold + White + Black
   Fonts: Cinzel (monumental serif) + Cormorant (calligraphy) + Outfit (modern)
   ================================================ */

/* Google Fonts now load from a <link> in each page head (E1b-033). */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --forest-950: #030d07;
  --forest-900: #061a0f;
  --forest-800: #0d2818;
  --forest-700: #1a4731;
  --forest-600: #2d6a4f;
  --forest-500: #40916c;
  --forest-400: #52b788;
  --forest-300: #74c69d;
  --forest-200: #95d5b2;
  --forest-100: #d8f3dc;
  --forest-50:  #f0faf3;

  --gold-950: #3d2d00;
  --gold-900: #6b4f00;
  --gold-700: #a07820;
  --gold-600: #b8902a;
  --gold-500: #c9a227;
  --gold-400: #d4b040;
  --gold-300: #e0c45a;
  --gold-200: #ecd880;
  --gold-100: #f7edba;
  --gold-50:  #fdf8e8;

  --white:      #ffffff;
  --off-white:  #f8f5ee;
  --cream:      #f2ede3;
  --black:      #0a0a0a;
  --gray-950:   #121212;
  --gray-900:   #1c1c1c;
  --gray-800:   #2a2a2a;
  --gray-700:   #3d3d3d;
  --gray-600:   #545454;
  --gray-500:   #6b6b6b;
  --gray-400:   #8a8a8a;
  --gray-300:   #b0b0b0;
  --gray-200:   #d0d0d0;
  --gray-100:   #e8e8e8;

  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-elegant: 'Cormorant', Georgia, serif;
  --font-body:    'Outfit', Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quad: cubic-bezier(0.45, 0, 0.55, 1);
  --transition-fast: 0.2s ease;
  --transition-mid:  0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.25);
  --shadow-gold: 0 8px 32px rgba(201,162,39,0.25);
  --shadow-green: 0 8px 32px rgba(64,145,108,0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  --nav-height: 80px;
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}

/* ===== HERO LOGO BADGE ===== */
.hero-logo-badge {
  position: absolute;
  top: calc(var(--nav-height) + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: fadeInDown 1s var(--ease-out-expo) 0.1s both;
}
.hero-logo-badge img {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

/* ===== 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-weight: 400;
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest-500), var(--gold-500));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.6;
}
.cursor-dot.hover { width: 14px; height: 14px; background: var(--forest-500); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--forest-400); opacity: 0.4; }

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.section-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest-800);
  letter-spacing: 0.03em;
}
/* Cinzel doesn't have italic — use Cormorant for the italic span */
.section-title span {
  color: var(--gold-500);
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.08em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section-title--light { color: var(--white); }
.section-title--light span { color: var(--gold-400); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  margin: 1.25rem 0;
  border-radius: var(--radius-full);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-mid);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--forest-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201,162,39,0.4);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 1.5px solid var(--forest-700);
  color: var(--forest-700);
}
.btn-outline-dark:hover {
  background: var(--forest-700);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: linear-gradient(135deg, var(--forest-600), var(--forest-500));
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(64,145,108,0.4);
}
.btn svg { width: 18px; height: 18px; }
.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}
.btn:hover.btn-arrow::after { transform: translateX(4px); }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.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; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-mid);
  padding: 0 var(--container-pad);
}
.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(6, 26, 15, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow var(--transition-fast), opacity var(--transition-fast);
}
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity var(--transition-fast);
}
.nav-logo:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.nav-logo:hover .nav-logo-img { opacity: 0.9; }
.nav-logo-icon { display: none; }
.nav-logo-text { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0.02em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 1.5px;
  background: var(--gold-400);
  transition: transform var(--transition-fast);
  border-radius: var(--radius-full);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--gold-400); }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--forest-900) !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}
.nav-cta:hover { box-shadow: 0 8px 24px rgba(201,162,39,0.5); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(6,26,15,0.98);
  backdrop-filter: blur(24px);
  padding: 1.5rem var(--container-pad) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-110%);
  transition: transform var(--transition-mid);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile .nav-link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.nav-mobile .nav-link:hover { background: rgba(255,255,255,0.06); }

/* ===== HERO SECTION ===== */
.hero-scroll-wrapper {
  position: relative;
  height: 550vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6,26,15,0.75) 0%,
    rgba(13,40,24,0.55) 40%,
    rgba(6,26,15,0.8) 100%
  );
}

/* Parallax forest layers */
.parallax-layer {
  position: absolute;
  inset: -10% -5%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  pointer-events: none;
}
.parallax-layer-1 {
  z-index: 1;
  background-image: url('../assets/images/forest-01.jpeg');
  opacity: 0.15;
}
.parallax-layer-2 {
  z-index: 2;
  background-image: url('../assets/images/forest-04.jpeg');
  opacity: 0.1;
  filter: blur(1px);
}

/* Floating leaf particles */
.leaf-particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.leaf {
  position: absolute;
  width: 8px;
  height: 20px;
  background: linear-gradient(180deg, var(--forest-300), var(--forest-500));
  border-radius: 50% 10% 50% 10%;
  opacity: 0;
  animation: leafFall linear infinite;
}
@keyframes leafFall {
  0%   { transform: translateY(-60px) rotate(0deg) translateX(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(60px); opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--container-pad);
  max-width: 900px;
  transition: all 0.4s ease;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s var(--ease-out-expo) 0.3s both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-400);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.5s both;
}
/* Italic/accent words use Cormorant (calligraphy) */
.hero-title .italic {
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-400);
  text-transform: none;
  font-size: 1.15em;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero-title .line-break { display: block; }

.hero-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--ease-out-expo) 0.9s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s both;
}
.hero-scroll-hint-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--gold-400));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* Hero scene 2 - stats */
.hero-scene-2 {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-scene-2.active { opacity: 1; pointer-events: all; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(16px);
  max-width: 860px;
  width: 100%;
  margin: 0 var(--container-pad);
}
.hero-stat {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero scene 3 - walk through forest text */
.hero-scene-3 {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-scene-3.active { opacity: 1; pointer-events: all; }
.hero-scene-3-inner {
  max-width: 560px;
}
.hero-scene-3-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.hero-scene-3-quote span { color: var(--gold-400); font-style: normal; }

/* Overlay gradient for depth at bottom of hero */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--forest-950) 0%, transparent 100%);
  z-index: 5;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--forest-800);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/forest-07.jpeg') center/cover;
  opacity: 0.08;
}
.stats-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-mid);
  position: relative;
  group: true;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.service-card:hover .service-card-image img { transform: scale(1.08); }
.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,40,24,0.8) 0%, transparent 60%);
}
.service-card-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: var(--gold-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon svg { width: 22px; height: 22px; stroke: var(--forest-900); fill: none; }

.service-card-body {
  padding: 1.75rem;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap var(--transition-fast);
}
.service-card-link:hover { gap: 0.625rem; color: var(--gold-600); }
.service-card-link::after { content: '→'; }

/* Services featured (large) card */
.service-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.service-card--featured .service-card-image { height: auto; min-height: 300px; }

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 580px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 70%;
  height: 80%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--forest-900);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  min-width: 110px;
  z-index: 10;
  white-space: nowrap;
}

/* Mobile: stack the about images vertically instead of overlapping */
/* --- nav overflow guard: 8 top-level links need tighter padding on small laptops --- */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-link { padding: 0.5rem 0.55rem; font-size: 0.79rem; letter-spacing: 0; }
  .nav-links { gap: 0.1rem; }
  .nav-logo-img { height: 44px; }
}

@media (max-width: 900px) {
  .about-images {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .about-img-main,
  .about-img-secondary {
    position: static;
    width: 100%;
    height: 220px;
    border: none;
  }
  .about-img-secondary { border: 3px solid var(--white); }
  .about-badge {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    grid-column: 1 / -1;
  }
  .about-badge-num { font-size: 1.75rem; display: inline; }
  .about-badge-text { font-size: 0.7rem; margin-top: 0; }
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.about-badge-text {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.about-content {}

/* About page — responsive grids (replaces inline styles) */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-gallery-grid-item {
  height: 280px;
  overflow: hidden;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border-left: 3px solid var(--gold-500);
}
.value-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--forest-700);
  margin-bottom: 0.375rem;
}
.value-card-text {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--forest-900);
  overflow: hidden;
  position: relative;
}
.video-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(64,145,108,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.video-showcase-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.video-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  group: true;
}
.video-card--tall { aspect-ratio: 9/16; }
.video-card video, .video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.video-card:hover video, .video-card:hover img { transform: scale(1.04); }
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,26,15,0.85) 0%, rgba(6,26,15,0.2) 50%, transparent 100%);
  transition: opacity var(--transition-mid);
}
.video-card:hover .video-card-overlay { opacity: 0.6; }
.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 64px;
  height: 64px;
  background: rgba(201,162,39,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-mid);
  backdrop-filter: blur(8px);
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 8px rgba(201,162,39,0.2); }
.video-card-play svg { width: 24px; height: 24px; fill: var(--forest-900); margin-left: 3px; }
.video-card-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
}
.video-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.video-card-sub {
  font-size: 0.75rem;
  color: var(--gold-300);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.video-side-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
  backdrop-filter: blur(8px);
}
.video-lightbox.active { opacity: 1; pointer-events: all; }
.video-lightbox-inner {
  position: relative;
  width: min(90vw, 1100px);
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-mid);
}
.video-lightbox.active .video-lightbox-inner { transform: scale(1); }
.video-lightbox-inner video { width: 100%; height: 100%; object-fit: cover; }
.video-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
  z-index: 10;
  color: var(--white);
  font-size: 1.25rem;
}
.video-lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--cream);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-mid);
  border: 1px solid transparent;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}
.blog-card-image {
  height: 220px;
  overflow: hidden;
}
.blog-card--large .blog-card-image { height: 300px; }
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem; }
.blog-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-500);
  margin-bottom: 0.625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.blog-card-category::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--forest-500);
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-800);
  line-height: 1.35;
  margin-bottom: 0.625rem;
}
.blog-card--large .blog-card-title { font-size: 1.4rem; }
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}
.blog-card-meta-sep { color: var(--gold-400); }
.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-600);
  margin-top: 1rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.blog-card-read-more:hover { gap: 0.625rem; color: var(--gold-600); }
.blog-card-read-more::after { content: '→'; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--forest-800);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/forest-08.jpeg') center/cover;
  opacity: 0.15;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.cta-banner-title span { color: var(--gold-400); font-style: italic; }
.cta-banner-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.75rem;
  max-width: 480px;
}
.cta-banner-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }

/* ===== FOOTER ===== */
.footer {
  background: var(--forest-950);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand {}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  text-decoration: none;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: box-shadow var(--transition-fast), opacity var(--transition-fast);
}
/* Actual logo image in footer */
.footer-logo-img {
  height: 70px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}
.footer-logo:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.footer-logo:hover .footer-logo-img { opacity: 0.9; }
/* Legacy SVG fallbacks hidden */
.footer-logo-icon { display: none; }
.footer-logo-name { display: none; }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.625rem; }
.footer-social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: rgba(255,255,255,0.5);
}
.footer-social-link:hover {
  background: var(--gold-500);
  color: var(--forest-900);
  transform: translateY(-2px);
}
.footer-social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--gold-500);
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.footer-link:hover { color: var(--gold-400); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.footer-contact-icon {
  width: 34px; height: 34px;
  background: rgba(201,162,39,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 15px; height: 15px; stroke: var(--gold-400); fill: none; }
.footer-contact-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.footer-built-by {
  width: 100%;
  order: 10;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 0.25rem;
}
.footer-built-by a { color: var(--gold-400); text-decoration: none; transition: color var(--transition-fast); }
.footer-built-by a:hover { color: var(--gold-300); }
.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-copyright span { color: var(--gold-500); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
}
.footer-bottom-link:hover { color: var(--gold-400); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  height: 50vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,26,15,0.85) 0%, rgba(13,40,24,0.65) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold-400); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-hero-title span {
  color: var(--gold-400);
  font-family: var(--font-elegant);
  font-style: italic;
  text-transform: none;
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ===== ABOUT PAGE ===== */
.mission-vision-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}
.mvg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.mvg-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.mvg-card--mission { background: var(--forest-800); color: var(--white); }
.mvg-card--vision  { background: linear-gradient(135deg, var(--gold-900), var(--gold-700)); color: var(--white); }
.mvg-card--goal    { background: var(--off-white); border: 1px solid var(--gray-100); }
.mvg-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.mvg-card--mission .mvg-card-icon { background: rgba(255,255,255,0.1); }
.mvg-card--vision  .mvg-card-icon { background: rgba(255,255,255,0.15); }
.mvg-card--goal    .mvg-card-icon { background: var(--forest-100); }
.mvg-card-icon svg { width: 26px; height: 26px; }
.mvg-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  opacity: 0.6;
}
.mvg-card--goal .mvg-card-label { color: var(--forest-600); }
.mvg-card-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.mvg-card--goal .mvg-card-heading { color: var(--forest-800); }
.mvg-card-text {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.85;
}
.mvg-card--goal .mvg-card-text { color: var(--gray-600); }

.team-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-mid);
  border: 1px solid transparent;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.team-card-image {
  height: 260px;
  overflow: hidden;
}
.team-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.team-card:hover .team-card-image img { transform: scale(1.06); }
.team-card-body { padding: 1.5rem; }
.team-card-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--forest-800); }
.team-card-role { font-size: 0.8rem; color: var(--gold-600); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }
.team-card-bio { font-size: 0.83rem; color: var(--gray-500); line-height: 1.7; margin-top: 0.875rem; }

/* ===== SERVICES PAGE ===== */
.services-detail {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-mid);
}
.service-detail-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-300); transform: translateY(-4px); }
.service-detail-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--forest-600), var(--forest-500));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-detail-icon svg { width: 28px; height: 28px; stroke: var(--gold-400); fill: none; stroke-width: 1.5; }
.service-detail-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: 0.75rem;
}
.service-detail-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.service-detail-list { display: flex; flex-direction: column; gap: 0.5rem; }
.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.service-detail-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== GALLERY PAGE ===== */
.gallery-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--off-white);
}
.gallery-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-500);
  background: var(--white);
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--forest-400); color: var(--forest-600); }
.filter-btn.active { background: var(--forest-700); color: var(--white); border-color: var(--forest-700); }

.gallery-masonry {
  columns: 3;
  column-gap: 1.25rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,26,15,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-mid);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 2rem;
}
.gallery-item-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
  backdrop-filter: blur(8px);
}
.gallery-lightbox.active { opacity: 1; pointer-events: all; }
.gallery-lightbox-content {
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.gallery-lightbox-content img, .gallery-lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-xl);
}
.gallery-lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  transition: background var(--transition-fast);
  z-index: 10;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  transition: background var(--transition-fast);
  z-index: 10;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-lightbox-prev { left: 1.5rem; }
.gallery-lightbox-next { right: 1.5rem; }

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-card {
  background: var(--forest-800);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/forest-13.jpeg') center/cover;
  opacity: 0.1;
}
.contact-info-card-inner { position: relative; z-index: 1; }
.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-info-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(201,162,39,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(201,162,39,0.25);
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--gold-400); fill: none; stroke-width: 1.5; }
.contact-detail-label {
  font-size: 0.7rem;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-detail-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.contact-detail-value a { color: rgba(255,255,255,0.85); }
.contact-detail-value a:hover { color: var(--gold-400); }

.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: 0.375rem;
}
.contact-form-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest-700);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }

.map-section {
  margin-top: 4rem;
}
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--gray-100);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== BLOG POST PAGE ===== */
.blog-post-layout {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--white);
}
.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
/* Grid children default to min-width:auto, so one wide table widened the whole article
   on phones and body{overflow-x:hidden} cut the text off (E1a-021). */
.blog-post-grid > * { min-width: 0; }
.blog-post-content {}
.blog-post-header { margin-bottom: 2.5rem; }
.blog-post-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-500);
  margin-bottom: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.blog-post-category::before { content: ''; width: 20px; height: 1.5px; background: var(--forest-500); }
.blog-post-title {
  font-family: var(--font-elegant);
  font-size: clamp(1.75rem, 3.5vw, 2.9rem);
  font-weight: 600;
  color: var(--forest-900);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.blog-post-meta-item { display: flex; align-items: center; gap: 0.375rem; }
.blog-post-meta-item svg { width: 14px; height: 14px; stroke: var(--gold-500); fill: none; }
.blog-post-featured-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  height: auto;
  aspect-ratio: 16 / 9;
}
.blog-post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-700);
}
.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-800);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.blog-post-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-700);
  margin: 2rem 0 0.875rem;
}
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body ul, .blog-post-body ol {
  margin: 1.25rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.blog-post-body li { margin-bottom: 0.5rem; }
.blog-post-body blockquote {
  border-left: 4px solid var(--gold-500);
  padding: 1.25rem 1.5rem;
  background: var(--gold-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--forest-700);
}
.blog-post-body strong { color: var(--forest-800); font-weight: 700; }
.blog-post-body a { color: var(--forest-600); text-decoration: underline; }

.blog-sidebar {}
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-800);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-300);
}
.sidebar-cta {
  background: var(--forest-800);
}
.sidebar-cta .sidebar-widget-title { color: var(--white); border-color: var(--gold-500); }
.sidebar-cta-text { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.25rem; }

/* ===== BLOG INDEX PAGE ===== */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--forest-950);
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(64,145,108,0.1) 0%, transparent 70%);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3.5rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-700), var(--gold-500), var(--gold-700), transparent);
}
.process-step { text-align: center; }
.process-step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--forest-600), var(--forest-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-400);
  border: 2px solid var(--forest-700);
  position: relative;
  z-index: 1;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}
.process-step-text {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-mid);
  border: 1px solid transparent;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-200); transform: translateY(-4px); }
.testimonial-quote-icon {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-200);
  line-height: 0.7;
  margin-bottom: 1rem;
  display: block;
}
.testimonial-text {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-author-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--forest-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-author-img svg { width: 24px; height: 24px; fill: var(--forest-600); }
.testimonial-author-name { font-size: 0.9rem; font-weight: 700; color: var(--forest-800); }
.testimonial-author-role { font-size: 0.75rem; color: var(--gray-400); }
.testimonial-stars { display: flex; gap: 2px; margin-top: 0.25rem; }
.testimonial-star { color: var(--gold-500); font-size: 0.8rem; }

/* ===== PARTNERS/CLIENTS ===== */
.partners-section {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.partners-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.partner-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-300);
  transition: color var(--transition-fast);
  text-align: center;
}
.partner-logo:hover { color: var(--forest-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-strip-inner { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-height: 68px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { padding: 4px 8px; }
  .nav-logo-img { height: 46px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid-item { height: 200px; }
  .mvg-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--large .blog-card-image { height: 240px; }
  .blog-post-grid { grid-template-columns: 1fr; }
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .video-grid { grid-template-columns: 1fr; }
  .video-side-grid { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .services-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 1.75rem 1rem; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-column: span 1; display: block; }
  .service-card--featured .service-card-image { height: 220px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .blog-index-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-copyright, .footer-bottom-links { width: 100%; justify-content: center; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-grid-item { height: 160px; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 420px) {
  .about-values-grid { grid-template-columns: 1fr; }
  .about-gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-grid-item { height: 130px; }
  .about-images { height: 280px; }
  .mvg-card { padding: 1.75rem 1.5rem; }
  .page-hero { min-height: 320px; }
}

/* ===== MISC / ANIMATIONS ===== */
.gold-line {
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: var(--radius-full);
  margin: 1rem 0;
}
.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--forest-100);
  color: var(--forest-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-pill--gold {
  background: var(--gold-100);
  color: var(--gold-700);
}
.text-gold { color: var(--gold-500); }
.text-green { color: var(--forest-600); }
.bg-forest-dark { background: var(--forest-900); }

/* Floating badge animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* Number counter animation */
.counter { transition: all 0.5s ease; }

/* Image hover zoom */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.6s var(--ease-out-expo); }
.img-zoom:hover img { transform: scale(1.06); }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* WhatsApp button */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  z-index: 900;
  transition: all var(--transition-mid);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.whatsapp-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  width: 44px; height: 44px;
  background: var(--forest-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-mid);
  color: var(--white);
  font-size: 1.25rem;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold-600); transform: translateY(-3px); }

/* ── Cookie Consent Banner ───────────────────────────────────── */
#cookie-consent-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 340px;
  background: var(--forest-900);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}
.cc-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
}
.cc-text strong {
  display: block;
  color: var(--gold-400);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.cc-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0 0 0.25rem;
}
.cc-policy-link {
  color: var(--gold-300);
  font-size: 0.7rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}
.cc-policy-link:hover { opacity: 1; text-decoration: underline; }
.cc-actions {
  display: flex;
  gap: 0.5rem;
}
.cc-btn {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 2px solid transparent;
  text-align: center;
}
.cc-btn--primary {
  background: var(--gold-400);
  color: var(--forest-900);
  border-color: var(--gold-400);
}
.cc-btn--primary:hover { background: var(--gold-500); border-color: var(--gold-500); }
.cc-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.25);
}
.cc-btn--outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
@media (max-width: 400px) {
  #cookie-consent-banner { left: 0.75rem; right: 0.75rem; max-width: none; }
}

/* ================================================
   SEO / AEO CONTENT COMPONENTS
   Answer boxes, key takeaways, data tables, FAQ,
   inline CTAs and the mobile sticky action bar.
   ================================================ */

/* --- Answer-first box (the direct answer Google & AI engines lift) --- */
.answer-box {
  background: linear-gradient(135deg, var(--forest-50) 0%, var(--gold-50) 100%);
  border: 1px solid var(--forest-200);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem;
}
.answer-box-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.6rem;
}
.answer-box p { font-size: 1.05rem; line-height: 1.75; color: var(--forest-800); margin-bottom: 0.75rem; }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box strong { color: var(--forest-800); }

/* --- Key takeaways --- */
.key-takeaways {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.key-takeaways h2,
.key-takeaways h3 {
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--forest-800);
  margin: 0 0 0.875rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.key-takeaways ul { margin: 0 0 0 1.25rem; }
.key-takeaways li { font-size: 0.92rem; margin-bottom: 0.5rem; }

/* --- Data tables --- */
.table-wrap { overflow-x: auto; margin: 1.75rem 0; -webkit-overflow-scrolling: touch; max-width: 100%; }
.blog-post-body table,
.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.blog-post-body table thead,
.data-table thead { background: var(--forest-800); }
.blog-post-body table th,
.data-table th {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.blog-post-body table td,
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: top;
}
.blog-post-body table tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) { background: var(--forest-50); }
.blog-post-body table tbody tr:last-child td,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--forest-800); }

/* --- FAQ block --- */
.faq-block { margin: 2.5rem 0; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--forest-800);
  position: relative;
  transition: background var(--transition-fast);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-600);
  transition: transform var(--transition-fast);
}
.faq-item[open] > summary { background: var(--forest-50); }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary:hover { background: var(--forest-50); }
.faq-answer { padding: 0 1.25rem 1.25rem; font-size: 0.93rem; line-height: 1.8; color: var(--gray-700); }
.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- Inline / mid-article CTA --- */
.inline-cta {
  background: var(--forest-900);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.inline-cta-eyebrow {
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.inline-cta h3 {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  margin: 0 0 0.75rem !important;
  line-height: 1.35;
}
.inline-cta p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 1.4rem; }
.inline-cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Compact variant that sits between sections */
.inline-cta--slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(120deg, var(--forest-800), var(--forest-600));
}
.inline-cta--slim p { margin-bottom: 0; color: rgba(255,255,255,0.8); }
.inline-cta--slim .inline-cta-actions { justify-content: flex-end; flex-shrink: 0; }

/* --- Service landing page bits --- */
.service-hero-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.service-point {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
}
.service-point-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-600);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.service-point-label { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.checklist { list-style: none !important; margin-left: 0 !important; }
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.65rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--forest-100);
  box-shadow: inset 0 0 0 2px var(--forest-400);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.72em;
  width: 0.42rem;
  height: 0.22rem;
  border-left: 2px solid var(--forest-600);
  border-bottom: 2px solid var(--forest-600);
  transform: rotate(-45deg);
}

/* --- Related-links strip --- */
.related-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
}
.related-strip a {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--forest-700) !important;
  text-decoration: none !important;
  line-height: 1.5;
  transition: all var(--transition-fast);
}
.related-strip a:hover { background: var(--forest-50); transform: translateX(3px); }

/* --- Mobile sticky action bar (call / WhatsApp / quote) --- */
.sticky-cta-bar { display: none; }
@media (max-width: 768px) {
  .sticky-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    background: var(--forest-900);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sticky-cta-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.65rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
  }
  .sticky-cta-bar a svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-400); stroke-width: 2; }
  .sticky-cta-bar a.is-primary { background: var(--gold-500); color: var(--forest-950); }
  .sticky-cta-bar a.is-primary svg { stroke: var(--forest-950); }
  body { padding-bottom: 58px; }
  .whatsapp-fab { bottom: 76px; }
  .back-to-top { bottom: 76px; }
  .inline-cta--slim { flex-direction: column; align-items: flex-start; text-align: left; }
  .inline-cta--slim .inline-cta-actions { justify-content: flex-start; }
}



/* --- Inline tool card: surfaces the calculator above the fold --- */
.tool-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, var(--forest-800), var(--forest-600));
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tool-card-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.tool-card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-300); stroke-width: 1.8; stroke-linecap: round; }
.tool-card-body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1 1 auto; }
.tool-card-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-300);
}
.tool-card-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}
.tool-card-text { font-size: 0.83rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.tool-card-go { flex: 0 0 auto; color: var(--gold-300); font-size: 1.3rem; }
@media (max-width: 560px) {
  .tool-card { flex-wrap: wrap; }
  .tool-card-go { display: none; }
}


/* --- In-article video (carries VideoObject schema for SERP thumbnails) --- */
.post-video { margin: 2rem 0; }
.post-video video {
  /* Some source footage is vertical phone video - cap the height so a portrait
     clip does not take over the article, and centre whatever shape it is. */
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 60vh;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--forest-950);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .post-video video { max-height: 70vh; }
}
.post-video figcaption {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.6rem;
  line-height: 1.5;
}


/* ============================================================
   EMBED MODE  (tools/*.html?embed=1)
   Renders a calculator alone so other sites can iframe it.
   ============================================================ */
.euca-embed-hide { display: none !important; }
body.is-embed #cookie-consent-banner,
body.is-embed .whatsapp-fab,
body.is-embed .back-to-top,
body.is-embed .sticky-cta-bar,
body.is-embed .scroll-progress-bar,
body.is-embed .cursor-dot,
body.is-embed .cursor-ring { display: none !important; }

body.is-embed {
  background: var(--white);
  overflow-x: hidden;
}
body.is-embed .euca-embed-path {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: transparent !important;
  min-height: 0 !important;
}
body.is-embed #calc {
  padding: 1rem !important;
  margin: 0 !important;
  gap: 1.25rem;
}
.euca-embed-credit {
  padding: 0.65rem 1rem 1rem;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: right;
  font-family: var(--font-body);
}
.euca-embed-credit a {
  color: var(--forest-600);
  font-weight: 600;
  text-decoration: none;
}
.euca-embed-credit a:hover { text-decoration: underline; }

/* --- "Embed this calculator" block on the tool pages themselves --- */
.embed-offer {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem 1.35rem;
  margin: 2.5rem 0;
  background: var(--off-white);
}
.embed-offer h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-800);
  margin: 0 0 0.5rem;
}
.embed-offer p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0 0 0.9rem;
  line-height: 1.6;
}
.embed-offer textarea {
  width: 100%;
  min-height: 8.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  resize: vertical;
}
.embed-offer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.embed-copy-btn {
  border: 0;
  cursor: pointer;
  background: var(--forest-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.embed-copy-btn:hover { background: var(--forest-800); }
.embed-copy-note { font-size: 0.8rem; color: var(--gray-500); }


/* ============================================================
   TREES-PER-ACRE WIDGET (js/tpa.js) - E2-041
   ============================================================ */
.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}
.tpa{background:#fff;border:1px solid var(--gray-100);border-radius:12px;padding:.75rem;margin:.75rem 0}
.tpa-in{display:grid;grid-template-columns:1fr auto 1fr 1fr;gap:.4rem;align-items:end}
.tpa-in label{display:flex;flex-direction:column;gap:.2rem;font-size:.8rem;font-weight:600;color:var(--forest-800)}
.tpa-in > span[aria-hidden]{padding-bottom:.7rem;color:var(--gray-500)}
.tpa input{width:100%;min-height:44px;font-size:16px;padding:.4rem .55rem;border:1px solid var(--gray-200);border-radius:8px;background:#fff;color:var(--gray-900)}
.tpa-out{margin:.5rem 0 .25rem;font-size:.95rem;line-height:1.6}
.tpa-out small{display:block;color:var(--gray-500);font-size:.78rem}
.tpa > a{font-size:.85rem;font-weight:600}
@media (max-width: 420px){
  .tpa-in{grid-template-columns:1fr auto 1fr}
  .tpa-in label:last-child{grid-column:1 / -1}
}

/* ============================================================
   COOKIE BAR ON PHONES - one compact bar, equal buttons (E1b-028)
   ============================================================ */
.cc-short{display:none}
@media (max-width: 640px){
  #cookie-consent-banner{left:0;right:0;bottom:0;max-width:none;border-radius:0;border-left:0;border-right:0;border-bottom:0}
  .cc-inner{flex-direction:row;align-items:center;gap:.6rem;padding:.55rem .75rem}
  .cc-text{flex:1 1 auto;min-width:0}
  .cc-text strong,.cc-long{display:none}
  .cc-short{display:inline}
  .cc-text p{margin:0;font-size:.72rem;line-height:1.4}
  .cc-policy-link{font-size:.68rem}
  .cc-actions{flex:0 0 auto;gap:.4rem}
  .cc-btn{flex:1 1 0;min-width:4.6rem;padding:.4rem .5rem}
}
/* Phones: one line of text + privacy link, then the two buttons side by side. */
@media (max-width: 640px){
  .cc-inner{flex-direction:column;align-items:stretch;gap:.45rem}
  .cc-text p,.cc-policy-link{display:inline}
  .cc-actions{display:flex}
}
/* Pages with the sticky Call / WhatsApp / Quote bar (62px incl. border): keep the cookie bar above it. */
@media (max-width: 768px){
  body:has(.sticky-cta-bar) #cookie-consent-banner{bottom:calc(62px + env(safe-area-inset-bottom))}
}
/* Accept and Decline carry equal weight on every screen size (E1b-028). */
.cc-btn--primary,.cc-btn--outline{background:rgba(255,255,255,0.12);color:#fff;border-color:rgba(255,255,255,0.5)}
.cc-btn--primary:hover,.cc-btn--outline:hover{background:rgba(255,255,255,0.2);border-color:var(--gold-400);color:#fff}

/* ============================================================
   PHONE OVERFLOW (homepage, services) - 19 Sep 2026
   A no-wrap button and grid items that could not shrink widened the page
   to 403-409px on a 360px phone.
   ============================================================ */
.services-detail-grid > * { min-width: 0; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
  .blog-header { flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 480px) {
  .service-detail-card { padding: 1.75rem 1.5rem; }
}
.contact-form-note { margin: .6rem 0 0; font-size: .8rem; color: var(--gray-500); text-align: center; }

/* CALCULATOR RESULT TABLES - the two-column label/value tables inside #calc inherited
   .data-table { min-width: 480px } (meant for wide tables in a scroll wrapper) and pushed the
   seedling calculator to 528px on a 360px phone. */
#calc > * { min-width: 0; }
#calc .data-table { min-width: 0; width: 100%; }
