/* =============================================================
   SEMILLA GROUP — Main Stylesheet
   Design System: Industrial-precision meets natural energy
   Primary: #8DC63F | Charcoal: #1A1E23 | Neutral: #F4F4F0
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --green:       #8DC63F;
  --green-dark:  #6FA32E;
  --green-light: #A8D85A;
  --charcoal:    #1A1E23;
  --charcoal-2:  #252B33;
  --charcoal-3:  #2F3740;
  --slate:       #4A5568;
  --silver:      #9AA5B4;
  --light:       #F4F4F0;
  --white:       #FFFFFF;

  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.15);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.25);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.35);

  --nav-h: 80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.1; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: 0.03em;
}
.label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Utility ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.green        { color: var(--green); }
.bg-charcoal  { background: var(--charcoal); }
.bg-light     { background: var(--light); }
.text-white   { color: var(--white); }
.text-silver  { color: var(--silver); }

.section-pad  { padding: clamp(4rem, 8vw, 8rem) 0; }
.section-pad-sm { padding: clamp(2.5rem, 5vw, 5rem) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.btn-primary {
  background: var(--green);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(141,198,63,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--charcoal); transform: translateY(-2px); }

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

.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }

/* ── Arrow decoration ── */
.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}
.btn:hover .arrow-icon { transform: translateX(4px); }

/* ╔══════════════════════════════════╗
   ║  NAVIGATION                      ║
   ╚══════════════════════════════════╝ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(26,30,35,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}
.nav-logo-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* removed background/border-radius — real logo is transparent */
}
.nav-logo-mark img,
.nav-logo-mark svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.nav-logo-text {
  font-family: var(--font-condensed);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}
.nav-logo-sub {
  display: block;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile .nav-link {
  font-size: 1.5rem;
  color: var(--white);
}

/* ╔══════════════════════════════════╗
   ║  HERO CAROUSEL                   ║
   ╚══════════════════════════════════╝ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--charcoal);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity;
}
.slide.active { opacity: 1; z-index: 2; }
.slide.prev   { opacity: 0; z-index: 1; }

/* Slide backgrounds via SVG/gradient placeholders */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s linear;
  transform: scale(1.06);
}
.slide.active .slide-bg { transform: scale(1); }

/* Geometric overlays */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,30,35,0.92) 0%,
    rgba(26,30,35,0.75) 50%,
    rgba(26,30,35,0.35) 100%
  );
  z-index: 1;
}
.slide-overlay::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--charcoal), transparent);
}

/* Green accent bar */
.slide-accent {
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: var(--green);
  z-index: 3;
}

.slide-content {
  position: relative;
  z-index: 4;
  max-width: 780px;
  padding-top: var(--nav-h);
  padding-bottom: 8rem; /* clearance above centred carousel controls */
}

.slide-label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.50rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.3s;
}
.slide.active .slide-label { opacity: 1; transform: none; }
.slide-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--green);
  display: block;
}

.slide-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-top: 1.8rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}
.slide.active .slide-headline { opacity: 1; transform: none; }

.slide-headline em {
  font-style: normal;
  color: var(--green);
  display: block;
}

.slide-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.7s;
}
.slide.active .slide-text { opacity: 1; transform: none; }

.slide-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.9s;
}
.slide.active .slide-btns { opacity: 1; transform: none; }

/* Slide backgrounds — oil & gas construction site illustrations */
.slide-1 .slide-bg { background: url("../images/slide-1.webp") center center / cover no-repeat; }
.slide-2 .slide-bg { background: url("../images/slide-2.webp") center center / cover no-repeat; }
.slide-3 .slide-bg { background: url("../images/slide-3.webp") center center / cover no-repeat; }

/* SVG industrial graphics on slides */
.slide-graphic {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  opacity: 0.08;
  pointer-events: none;
}

/* Carousel controls */
.carousel-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 2px;
  padding: 0;
}
.carousel-dot.active, .carousel-dot:hover {
  background: var(--green);
  width: 48px;
}
.carousel-dot:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.carousel-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover { border-color: var(--green); background: var(--green); color: var(--charcoal); }
.carousel-arrow:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.carousel-arrow svg { width: 18px; height: 18px; }

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--green);
  animation: progress 5.5s linear infinite;
  z-index: 10;
}
@keyframes progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* Slide counter */
.slide-counter {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.slide-num {
  font-family: var(--font-condensed);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.slide-total {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}
.slide-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}

/* ╔══════════════════════════════════╗
   ║  STATS BAR                       ║
   ╚══════════════════════════════════╝ */
.stats-bar {
  background: var(--charcoal-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(141,198,63,0.04); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ╔══════════════════════════════════╗
   ║  SECTION HEADERS                 ║
   ╚══════════════════════════════════╝ */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-header.centered { text-align: center; }

.section-tag {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1;
}
.section-title.light { color: var(--white); }
.section-title.dark  { color: var(--charcoal); }

.section-desc {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--slate);
  max-width: 540px;
}
.section-desc.light { color: var(--silver); }

/* ╔══════════════════════════════════╗
   ║  SERVICES GRID (Home preview)    ║
   ╚══════════════════════════════════╝ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.06);
}
.service-card {
  background: var(--charcoal-2);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  group: true;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--charcoal-3); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(141,198,63,0.12);
  border: 1px solid rgba(141,198,63,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--green);
  border-color: var(--green);
}
.service-icon svg { width: 26px; height: 26px; color: var(--green); transition: var(--transition); }
.service-card:hover .service-icon svg { color: var(--charcoal); }

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(141,198,63,0.06); }

.service-title {
  font-family: var(--font-condensed);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--silver);
  font-weight: 300;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 0.75rem; }

/* ╔══════════════════════════════════╗
   ║  ABOUT SPLIT                     ║
   ╚══════════════════════════════════╝ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.about-visual {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}
.about-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2a0a 0%, #2a3d15 50%, #1a1e23 100%);
}
.about-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141,198,63,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,198,63,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 140px;
  height: 140px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--charcoal);
  line-height: 1;
}
.about-badge-label {
  font-family: var(--font-condensed);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.3;
}
.about-content {
  background: var(--light);
  padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ╔══════════════════════════════════╗
   ║  PROJECTS GRID                   ║
   ╚══════════════════════════════════╝ */
.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 4px;
}
.project-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-cell:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.project-cell-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.project-cell:hover .project-cell-bg { transform: scale(1.05); }
.project-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,30,35,0.95) 0%, rgba(26,30,35,0.2) 60%, transparent 100%);
  transition: opacity var(--transition);
}
.project-cell:hover .project-cell-overlay { opacity: 0.85; }

.project-cell-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.project-cell:hover .project-cell-content { transform: none; }

.project-tag {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.project-name {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.project-loc {
  font-size: 0.82rem;
  color: var(--silver);
  margin-top: 0.35rem;
}

/* Gradient backgrounds for project cells */
.pc-1 .project-cell-bg { background: linear-gradient(135deg, #0f3d1f, #1a5c2a, #0a1f0f); }
.pc-2 .project-cell-bg { background: linear-gradient(135deg, #1a2832, #2a4052, #152030); }
.pc-3 .project-cell-bg { background: linear-gradient(135deg, #2a1f0a, #3d2f10, #1f1505); }
.pc-4 .project-cell-bg { background: linear-gradient(135deg, #1f2a1a, #2a3d22, #101508); }
.pc-5 .project-cell-bg { background: linear-gradient(135deg, #0a1a2a, #152535, #050d15); }

/* ╔══════════════════════════════════╗
   ║  CTA BAND                        ║
   ╚══════════════════════════════════╝ */
.cta-band {
  background: var(--green);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(26,30,35,0.75);
  font-weight: 300;
  margin-top: 0.5rem;
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* ╔══════════════════════════════════╗
   ║  CONTACT FORM                    ║
   ╚══════════════════════════════════╝ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 600px;
}
.contact-info {
  background: var(--charcoal);
  padding: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-form-wrap {
  background: var(--light);
  padding: clamp(3rem, 5vw, 5rem);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(141,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--green); }
.contact-detail-label {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.25rem;
}
.contact-detail-val {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
}

/* Form styles */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(141,198,63,0.18);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ╔══════════════════════════════════╗
   ║  FOOTER                          ║
   ╚══════════════════════════════════╝ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--silver);
  font-weight: 300;
  margin-top: 1.25rem;
  max-width: 300px;
}
.footer-col-title {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.9rem;
  color: var(--silver);
  transition: color var(--transition);
  font-weight: 300;
}
.footer-link:hover { color: var(--green); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition: var(--transition);
}
.footer-social:hover { border-color: var(--green); color: var(--green); background: rgba(141,198,63,0.08); }
.footer-social svg { width: 14px; height: 14px; }

/* ╔══════════════════════════════════╗
   ║  PAGE HERO (inner pages)         ║
   ╚══════════════════════════════════╝ */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141,198,63,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,198,63,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-tag {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--silver);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--silver); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }

/* ── Values / Features ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: rgba(0,0,0,0.08);
}
.value-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.value-card:hover {
  border-bottom-color: var(--green);
  background: var(--light);
}
.value-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(141,198,63,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-title {
  font-family: var(--font-condensed);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.value-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--slate);
  font-weight: 300;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--charcoal);
}
.team-card {
  background: var(--charcoal-2);
  overflow: hidden;
  position: relative;
}
.team-photo {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.team-photo-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo-bg { transform: scale(1.05); }
.tp-1 { background: linear-gradient(160deg, #1a3a1a, #2d5c1e, #0a1f0a); }
.tp-2 { background: linear-gradient(160deg, #1a2832, #234560, #0a1520); }
.tp-3 { background: linear-gradient(160deg, #2a2010, #403015, #1a1008); }
.team-info {
  padding: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.team-name {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.team-role {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 0.25rem;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--silver);
  margin-top: 0.75rem;
  line-height: 1.65;
  font-weight: 300;
}

/* Services page */
.services-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
}
.service-detail-card {
  background: var(--white);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.service-detail-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--green);
  transition: height 0.4s ease;
}
.service-detail-card:hover::after { height: 100%; }
.service-detail-card:hover { background: var(--light); }

/* Projects filter */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--charcoal);
}

/* Projects full grid */
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
}
.project-full-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.project-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.project-visual-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.project-full-card:hover .project-visual-bg { transform: scale(1.05); }
.pv-1 { background: linear-gradient(135deg, #0f3d1f, #1a5c2a); }
.pv-2 { background: linear-gradient(135deg, #1a2832, #2a4052); }
.pv-3 { background: linear-gradient(135deg, #2a1f0a, #3d2f10); }
.pv-4 { background: linear-gradient(135deg, #1f2a1a, #2a3d22); }
.pv-5 { background: linear-gradient(135deg, #0a1a2a, #152535); }
.pv-6 { background: linear-gradient(135deg, #1a0a2a, #2a1540); }
.project-card-body { padding: 1.75rem; }
.project-card-tag {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.project-card-title {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.project-card-meta {
  font-size: 0.82rem;
  color: var(--slate);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ╔══════════════════════════════════╗
   ║  RESPONSIVE                      ║
   ╚══════════════════════════════════╝ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .projects-mosaic  { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .projects-mosaic .project-cell:first-child { grid-column: 1 / -1; grid-row: auto; }
  .footer-grid      { grid-template-columns: repeat(2, 1fr); }
  .about-split      { grid-template-columns: 1fr; }
  .about-visual     { min-height: 320px; }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-detail  { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle          { display: flex; }

  .services-grid      { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .projects-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid        { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; gap: 2rem; }

  .slide-counter  { display: none; }
  .cta-inner      { flex-direction: column; text-align: center; }

  /* Carousel mobile fixes */
  .slide-content  { padding-bottom: 9rem; }
  .carousel-controls { bottom: 1.75rem; gap: 1rem; }
  .carousel-arrow { width: 40px; height: 40px; }
  .slide-headline { font-size: clamp(2.6rem, 10vw, 5rem); }
  .slide-text     { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .projects-full-grid { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: 1fr 1fr; }
  .projects-mosaic    { grid-template-columns: 1fr; }
  .slide-btns         { flex-direction: column; }
  .slide-btns .btn    { width: 100%; justify-content: center; }
}
