/* ==========================================================================
   ONTARIO SOIL INC. — PRECISION INDUSTRIAL LUXURY
   A $50K custom aesthetic: Aesop meets architecture firm meets engineering
   ========================================================================== */

/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* ---- Brand Palette ---- */
  --green:          #1B6B3A;
  --green-dark:     #12522B;
  --green-deeper:   #0D3D20;
  --green-glow:     rgba(27, 107, 58, 0.35);
  --gold:           #C5972C;
  --gold-dark:      #A67D1F;
  --gold-light:     #D4AB4A;
  --gold-glow:      rgba(197, 151, 44, 0.4);
  --gold-subtle:    rgba(197, 151, 44, 0.08);
  --charcoal:       #1A1A1A;
  --charcoal-light: #242424;
  --off-white:      #F5F3EF;
  --warm-white:     #FAF9F6;
  --white:          #FFFFFF;

  /* Neutrals */
  --gray-50:  #FAFAF8;
  --gray-100: #F0EEEA;
  --gray-200: #D9D7D2;
  --gray-300: #B8B5AE;
  --gray-400: #8A8780;
  --gray-500: #5C5A55;
  --gray-600: #3D3B38;
  --gray-700: #2A2926;

  /* ---- Typography ---- */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  /* ---- Spacing ---- */
  --section-pad:     clamp(60px, 8vw, 110px);
  --section-pad-sm:  clamp(40px, 5vw, 60px);
  --container-max:   1220px;
  --gap:             28px;

  /* ---- Curves ---- */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* ---- Shadows (layered for depth) ---- */
  --shadow-sm:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 6px rgba(0,0,0,0.06);
  --shadow-md:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:
    0 4px 8px rgba(0,0,0,0.04),
    0 16px 48px rgba(0,0,0,0.10);
  --shadow-xl:
    0 8px 16px rgba(0,0,0,0.06),
    0 32px 64px rgba(0,0,0,0.14);
  --shadow-gold:
    0 4px 20px rgba(197, 151, 44, 0.25),
    0 8px 40px rgba(197, 151, 44, 0.15);
  --shadow-card-hover:
    0 8px 16px rgba(0,0,0,0.06),
    0 24px 48px rgba(0,0,0,0.12);

  /* ---- Motion ---- */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   180ms;
  --dur-base:   320ms;
  --dur-slow:   550ms;
  --dur-slower: 800ms;

  /* ---- Noise texture overlay (SVG data URI) ---- */
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. RESET & FOUNDATIONS
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--gold); }

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--gold);
  color: var(--charcoal);
}

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

/* ==========================================================================
   3. TOP BAR
   ========================================================================== */

.top-bar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.82rem;
  padding: 7px 0;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1100;
}

.top-bar .container,
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar__contact a {
  color: rgba(255,255,255,0.88);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--dur-fast);
  font-weight: 500;
}
.top-bar__contact a:hover { color: var(--gold-light); }

.top-bar__contact svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

.top-bar__hours {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

/* ==========================================================================
   4. SITE HEADER — Glassmorphism on scroll
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  padding: 16px 0;
  transition:
    padding var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    backdrop-filter var(--dur-base);
}

.site-header.scrolled {
  padding: 8px 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 4px 20px rgba(0,0,0,0.06);
}

.site-header__inner,
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header__logo img {
  height: 56px;
  width: auto;
  transition: height var(--dur-base) var(--ease-out);
}

.site-header.scrolled .site-header__logo img {
  height: 42px;
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__list li a,
.site-nav__list > a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.015em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition:
    color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

.site-nav__list li a:hover,
.site-nav__list > a:hover {
  color: var(--green);
  background: var(--gold-subtle);
}

/* Active nav link — gold underline accent */
.site-nav__list li a.active,
.site-nav__list > a.active {
  color: var(--green);
}
.site-nav__list li a.active::after,
.site-nav__list > a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* CTA nav button */
.site-nav__cta {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  padding: 10px 26px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition:
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) !important;
}
.site-nav__cta::after { display: none !important; }
.site-nav__cta:hover {
  background: var(--gold-dark) !important;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. HAMBURGER — Morphing three-line → X
   ========================================================================== */

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-fast),
    width var(--dur-base) var(--ease-out);
}

.hamburger span + span { margin-top: 6px; }

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   7. MOBILE NAV — Full-screen elegant overlay
   ========================================================================== */

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  transition: opacity var(--dur-base);
}
.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   8. HERO SECTIONS — Cinematic, dramatic
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--charcoal);
  overflow: hidden;
}

/* Noise grain overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.03;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Dark gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(13, 61, 32, 0.80) 0%,
    rgba(26, 26, 26, 0.65) 40%,
    rgba(26, 26, 26, 0.80) 100%
  );
  z-index: 1;
}

/* Placeholder gradient background */
.hero--placeholder {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(27,107,58,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(197,151,44,0.15) 0%, transparent 50%),
    linear-gradient(160deg, var(--charcoal) 0%, var(--green-deeper) 40%, var(--charcoal) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 0 24px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inner page heroes — shorter + angled bottom */
.hero--inner {
  min-height: 45vh;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero--inner .hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Breadcrumb inside hero */
.hero__breadcrumb {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.hero__breadcrumb a {
  color: rgba(255,255,255,0.72);
  transition: color var(--dur-fast);
}
.hero__breadcrumb a:hover { color: var(--gold); }
.hero__breadcrumb span { margin: 0 8px; opacity: 0.4; }

/* Breadcrumb using ol/li structure */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
}
.breadcrumb ol li + li::before {
  content: '/';
  margin-right: 8px;
  opacity: 0.4;
}
.breadcrumb a {
  color: rgba(255,255,255,0.72);
}
.breadcrumb a:hover { color: var(--gold); }

/* ==========================================================================
   9. BUTTONS — Premium with sweep fill animation
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition:
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

/* Sweep fill pseudo-element */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: width var(--dur-slow) var(--ease-out);
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* --- Primary (Gold) --- */
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn--primary::before {
  background: var(--gold-dark);
}
.btn--primary:hover {
  color: var(--charcoal);
  box-shadow: var(--shadow-gold);
}

/* --- Outline (Ghost) --- */
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline::before {
  background: var(--gold);
}
.btn--outline:hover {
  color: var(--charcoal);
  border-color: var(--gold);
}

/* --- Dark --- */
.btn--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn--dark::before {
  background: var(--green-dark);
}
.btn--dark:hover {
  color: var(--white);
  border-color: var(--green-dark);
}

/* --- Green --- */
.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green::before { background: var(--green-dark); }
.btn--green:hover {
  color: var(--white);
  border-color: var(--green-dark);
}

/* Sizes */
.btn--sm { padding: 10px 22px; font-size: 0.84rem; }
.btn--lg { padding: 18px 44px; font-size: 0.95rem; }

/* ==========================================================================
   10. TRUST BAR — Dark strip with gold accents
   ========================================================================== */

.trust-bar {
  background: var(--charcoal);
  padding: 40px 0;
  position: relative;
}

/* Grain */
.trust-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.025;
  pointer-events: none;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  padding: 12px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-bar__item:last-child { border-right: none; }

.trust-bar__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-bar__icon svg {
  width: 32px;
  height: 32px;
}

.trust-bar__number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.trust-bar__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   11. SECTIONS — Generous spacing, artistic headers
   ========================================================================== */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.section--dark {
  background: var(--charcoal);
  color: var(--white);
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.025;
  pointer-events: none;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--green {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(197,151,44,0.08) 0%, transparent 50%),
    linear-gradient(165deg, var(--green) 0%, var(--green-dark) 50%, var(--green-deeper) 100%);
  color: var(--white);
  position: relative;
}
.section--green::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.03;
  pointer-events: none;
}
.section--green h2,
.section--green h3,
.section--green h4 { color: var(--white); }

/* --- Section Header with artistic gold accent --- */
.section__header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

/* Gold line under section title — asymmetric */
.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px auto 0;
  border-radius: 2px;
}

.section__subtitle {
  color: var(--gray-400);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 8px;
}

.section--dark .section__subtitle,
.section--green .section__subtitle {
  color: rgba(255,255,255,0.62);
}

/* ==========================================================================
   12. ABOUT SNAPSHOT — Asymmetric two-column + decorative border
   ========================================================================== */

.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-snapshot--reverse {
  direction: rtl;
}
.about-snapshot--reverse > * {
  direction: ltr;
}

.about-snapshot__image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

/* Decorative gold border offset */
.about-snapshot__image::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.4;
  transition: opacity var(--dur-base);
}
.about-snapshot:hover .about-snapshot__image::after {
  opacity: 0.7;
}

.about-snapshot__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-snapshot__content {
  padding: 16px 0;
}

.about-snapshot__content h2 {
  margin-bottom: 24px;
}

/* Gold accent under about heading */
.about-snapshot__content h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
  border-radius: 2px;
}

.about-snapshot__content p {
  color: var(--gray-500);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-snapshot__content .btn {
  margin-top: 16px;
}

/* ==========================================================================
   13. SERVICES GRID — Refined cards with top gold accent on hover
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 28px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base);
}

/* Gold top accent line (hidden by default) */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border-radius: 50%;
  transition:
    background var(--dur-base),
    box-shadow var(--dur-base);
}
.service-card:hover .service-card__icon {
  background: rgba(27, 107, 58, 0.08);
  box-shadow: 0 0 0 8px rgba(27,107,58,0.04);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  fill: var(--green);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-card__description {
  font-size: 0.92rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--green);
  letter-spacing: 0.02em;
  transition:
    gap var(--dur-base) var(--ease-out),
    color var(--dur-fast);
}
.service-card__link:hover {
  color: var(--gold);
  gap: 12px;
}
.service-card__link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   14. WHY CHOOSE US — Glassmorphism cards on dark/green section
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background var(--dur-base),
    border-color var(--dur-base),
    transform var(--dur-base) var(--ease-out);
}
.value-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(197,151,44,0.3);
  transform: translateY(-6px);
}

.value-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition:
    border-color var(--dur-base),
    box-shadow var(--dur-base);
}
.value-card:hover .value-card__icon {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(197,151,44,0.2);
}

.value-card__icon svg {
  width: 30px;
  height: 30px;
}

.value-card__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--white);
}

.value-card__description {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ==========================================================================
   15. PROJECTS GRID — Elegant overlay hover
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.project-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gray-200);
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-out);
}
.project-card:hover .project-card__image img {
  transform: scale(1.06);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(13, 61, 32, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__overlay-title {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: transform var(--dur-base) var(--ease-out);
}
.project-card:hover .project-card__overlay-title {
  transform: translateY(0);
}

.project-card__body {
  padding: 24px 28px;
}

.project-card__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-card__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.project-card__description {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ==========================================================================
   16. TESTIMONIALS — Editorial, massive gold quote mark
   ========================================================================== */

.testimonials-wrapper {
  position: relative;
}

.testimonial {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  display: block;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 0;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.testimonial__attribution {
  font-size: 0.92rem;
  color: var(--gray-400);
}

/* Small gold line separator */
.testimonial__attribution::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 1px;
}

.testimonial__author {
  font-weight: 700;
  color: var(--charcoal);
  display: block;
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 0.82rem;
  color: var(--gray-300);
}

/* Dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.testimonials__dot:hover { transform: scale(1.2); }
.testimonials__dot.active {
  background: var(--gold);
  transform: scale(1.15);
}

/* ==========================================================================
   17. FAQ ACCORDION — Gold left-border on active
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  border-left: 3px solid transparent;
  transition: border-color var(--dur-base);
}
.faq-item.active {
  border-left-color: var(--gold);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px 24px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.faq-item__question:hover { color: var(--green); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  margin-left: 16px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-base) var(--ease-out);
  border-radius: 1px;
}
.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.active .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-item__answer-inner {
  padding: 0 20px 24px;
  color: var(--gray-500);
  line-height: 1.75;
  font-size: 0.95rem;
}
.faq-item.active .faq-item__answer {
  max-height: 600px;
}

/* ==========================================================================
   18. CTA STRIP — Angled edges, dramatic gradient
   ========================================================================== */

.cta-strip {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(197,151,44,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--green-deeper) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0 100%);
}

.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.03;
  pointer-events: none;
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip__title {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-strip__text {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  margin-bottom: 32px;
}

.cta-strip__phone {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-top: 24px;
  transition: opacity var(--dur-fast);
}
.cta-strip__phone:hover {
  opacity: 0.8;
  color: var(--gold);
}

/* ==========================================================================
   19. FOOTER — Rich dark with subtle texture
   ========================================================================== */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
  position: relative;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.02;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

/* Footer column: brand */
.footer-col--brand {}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition:
    background var(--dur-base),
    color var(--dur-base),
    transform var(--dur-fast);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer columns */
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition:
    color var(--dur-fast),
    padding-left var(--dur-base) var(--ease-out);
}
.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* Footer contact items */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  stroke: var(--gold);
}
.footer-contact li a {
  color: rgba(255,255,255,0.5);
}
.footer-contact li a:hover { color: var(--gold); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   20. PAGE: ABOUT
   ========================================================================== */

/* Mission / Vision Cards */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mission-vision__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 44px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.mission-vision__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.mission-vision__card h3 { margin-bottom: 18px; }
.mission-vision__card p {
  color: var(--gray-500);
  line-height: 1.75;
}
.mission-vision__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

/* About Values */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.about-values-grid__item,
.about-value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.about-value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.about-value-card__icon,
.about-values-grid__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border-radius: 50%;
}
.about-value-card__icon svg,
.about-values-grid__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--green);
}
.about-value-card h4 { margin-bottom: 10px; }
.about-value-card p {
  color: var(--gray-400);
  font-size: 0.92rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.team-grid__member,
.team-card {
  text-align: center;
}
.team-grid__photo,
.team-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: var(--gray-100);
  border: 3px solid var(--gray-200);
  transition: border-color var(--dur-base);
}
.team-grid__member:hover .team-grid__photo,
.team-card:hover .team-card__photo {
  border-color: var(--gold);
}
.team-grid__photo img,
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-grid__name,
.team-card__name { font-size: 1.1rem; margin-bottom: 4px; }
.team-grid__role,
.team-card__role { color: var(--gray-400); font-size: 0.88rem; }

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.certifications-grid__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-size: 0.95rem;
  color: var(--gray-500);
}
.certifications-grid__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--green);
}

/* Check list (services page) */
.check-list {
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-500);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--gold-subtle);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L11 5l1 1z' fill='%23C5972C'/%3E%3C/svg%3E");
  background-size: 16px;
  background-position: center;
}

/* ==========================================================================
   21. PAGE: GALLERY & LIGHTBOX
   ========================================================================== */

.gallery-grid {
  column-count: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--dur-slower) var(--ease-out);
}
.gallery-item:hover img,
.gallery-item:hover .gallery-item__placeholder {
  transform: scale(1.05);
}

.gallery-item__placeholder {
  width: 100%;
  transition: transform var(--dur-slower) var(--ease-out);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--dur-base),
    transform var(--dur-base) var(--ease-out);
}
.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-base),
    visibility var(--dur-base);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img-wrap {
  position: relative;
}
.lightbox__img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox__caption {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 12px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  color: var(--white);
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background var(--dur-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__prev,
.lightbox__next {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
  transition: background var(--dur-fast);
}
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__prev svg,
.lightbox__next svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  z-index: 2;
}

/* ==========================================================================
   22. PAGE: NEWS
   ========================================================================== */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur-base),
    transform var(--dur-base) var(--ease-out);
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card__image {
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-out);
}
.news-card:hover .news-card__image img {
  transform: scale(1.05);
}
.news-card__placeholder {
  width: 100%;
  height: 100%;
}

.news-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.news-card__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: color var(--dur-fast);
}
.news-card:hover .news-card__title { color: var(--green); }

.news-card__excerpt {
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.news-card__link {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur-base) var(--ease-out);
}
.news-card__link:hover {
  gap: 12px;
  color: var(--gold);
}

/* Single article */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--gray-400);
  font-size: 0.88rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--charcoal);
}
.article-body p { margin-bottom: 1.6rem; }

/* News listing page */
.news-listing { /* wrapper */ }

/* ==========================================================================
   23. PAGE: CAREERS
   ========================================================================== */

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.career-card,
.career-listing {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition:
    box-shadow var(--dur-base),
    border-color var(--dur-base),
    transform var(--dur-base) var(--ease-out);
}
.career-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-subtle);
  transform: translateY(-3px);
}

.career-card h3,
.career-card__title {
  margin-bottom: 12px;
}

.career-card__meta {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.career-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.career-card__badge--location {
  background: rgba(27, 107, 58, 0.07);
  color: var(--green);
}
.career-card__badge--type {
  background: var(--gold-subtle);
  color: var(--gold-dark);
}

.career-card p,
.career-card__description {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ==========================================================================
   24. PAGE: CONTACT
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 52px;
  align-items: start;
}

.contact-form-wrap {}

.contact-info-card {
  background:
    radial-gradient(ellipse at 80% 100%, rgba(197,151,44,0.1) 0%, transparent 50%),
    linear-gradient(165deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 200px;
  opacity: 0.04;
  pointer-events: none;
}

.contact-info-card__inner {
  position: relative;
  z-index: 1;
}
.contact-info-card__inner h3,
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}
.contact-info-card__inner > p {
  color: rgba(255,255,255,0.62);
  margin-bottom: 36px;
  font-size: 0.92rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item__icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 3px;
  font-size: 0.9rem;
}
.contact-info-item span,
.contact-info-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.contact-info-item a:hover { color: var(--gold-light); }

/* Map embed */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; }

/* ==========================================================================
   25. FORMS — Elegant bordered inputs with gold focus
   ========================================================================== */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 7px;
  color: var(--gray-600);
  letter-spacing: 0.01em;
}
.form-group label .required { color: #C0392B; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 151, 44, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8780' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Error states */
.form-group--error input,
.form-group--error textarea,
.form-group--error select {
  border-color: #C0392B;
}
.form-group--error input:focus,
.form-group--error textarea:focus {
  box-shadow: 0 0 0 4px rgba(192,57,43,0.1);
}

.form-error {
  color: #C0392B;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}

.form-alert {
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.form-alert--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: var(--green);
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success svg { margin: 0 auto 20px; }
.form-success h3 {
  margin-bottom: 12px;
  color: var(--green);
}
.form-success p {
  color: var(--gray-400);
  margin-bottom: 28px;
}

/* No results */
.no-results {
  text-align: center;
  padding: 64px 20px;
  color: var(--gray-400);
}
.no-results h3 {
  margin-bottom: 12px;
  color: var(--gray-500);
}

/* ==========================================================================
   26. ANIMATIONS (keyframes)
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(197,151,44,0.2); }
  50%      { box-shadow: 0 0 30px rgba(197,151,44,0.4); }
}

/* ==========================================================================
   27. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-dark   { color: var(--charcoal); }
.text-muted  { color: var(--gray-400); }

.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-dark  { background: var(--charcoal); }

.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;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

/* ==========================================================================
   28. CUSTOM SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--green) var(--gray-100);
}

/* ==========================================================================
   29. RESPONSIVE: ≤ 1199px
   ========================================================================== */

@media (max-width: 1199px) {
  .site-nav__list { gap: 2px; }
  .site-nav__list li a,
  .site-nav__list > a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
}

/* ==========================================================================
   30. RESPONSIVE: ≤ 991px (Tablet — hamburger activates)
   ========================================================================== */

@media (max-width: 991px) {
  :root {
    --section-pad: clamp(48px, 6vw, 70px);
  }

  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Full-screen mobile nav overlay */
  .site-nav {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 80%, rgba(27,107,58,0.15) 0%, transparent 50%),
      rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--dur-base) var(--ease-out),
      visibility var(--dur-base);
  }
  .site-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .site-nav__list li a,
  .site-nav__list > a {
    color: var(--white);
    display: block;
    padding: 16px 32px;
    font-size: 1.4rem;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    text-align: center;
    border-radius: 0;
    background: none;
  }
  .site-nav__list li a:hover,
  .site-nav__list > a:hover {
    color: var(--gold);
    background: none;
  }
  .site-nav__list li a.active::after,
  .site-nav__list > a.active::after {
    display: none;
  }
  .site-nav__list li a.active,
  .site-nav__list > a.active {
    color: var(--gold);
  }

  .site-nav__cta {
    margin-top: 24px !important;
    font-size: 1rem !important;
  }

  /* Grids */
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 16px 0; }
  .trust-bar__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); padding-right: 24px; }
  .trust-bar__item:nth-child(even) { padding-left: 24px; }
  .trust-bar__item:nth-last-child(-n+2) { border-bottom: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { column-count: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .about-snapshot { gap: 44px; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero__title { font-size: clamp(2rem, 5vw, 3rem); }

  .news-card { grid-template-columns: 240px 1fr; }

  .cta-strip { clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0 100%); }
}

/* ==========================================================================
   31. RESPONSIVE: ≤ 767px (Mobile)
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --section-pad: clamp(40px, 5vw, 56px);
  }

  .top-bar__hours { display: none; }
  .top-bar__contact { gap: 12px; font-size: 0.78rem; }

  .hero { min-height: 80vh; min-height: 80dvh; }
  .hero--inner { min-height: 40vh; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .hero__title { font-size: clamp(1.9rem, 6vw, 2.6rem); }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 300px; }

  /* Grids → single column */
  .trust-bar .container { grid-template-columns: 1fr; }
  .trust-bar__item { border: none !important; justify-content: center; text-align: center; padding: 12px 0 !important; }

  .services-grid,
  .values-grid,
  .projects-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-snapshot {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-snapshot--reverse { direction: ltr; }
  .about-snapshot__image::after { display: none; }

  .mission-vision { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: 1fr; }

  .gallery-grid { column-count: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .team-grid__photo,
  .team-card__photo { width: 120px; height: 120px; }

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

  .news-card { grid-template-columns: 1fr; }
  .news-card__image { aspect-ratio: 16 / 9; }

  .form-row { grid-template-columns: 1fr; }

  .btn { padding: 12px 28px; font-size: 0.88rem; }
  .btn--lg { padding: 14px 34px; }

  .cta-strip { clip-path: polygon(0 2%, 100% 0%, 100% 98%, 0 100%); padding: 64px 0; }
  .cta-strip__title { font-size: 1.6rem; }
  .cta-strip__phone { font-size: 1.3rem; }

  .career-card { padding: 28px; }
  .contact-info-card { padding: 32px; }

  .testimonial__quote { font-size: 1.15rem; }
  .testimonial::before { font-size: 5rem; }

  .section__header { margin-bottom: 40px; }

  .lightbox__prev,
  .lightbox__next { width: 40px; height: 40px; }
}

/* ==========================================================================
   32. RESPONSIVE: ≤ 479px (Small Mobile)
   ========================================================================== */

@media (max-width: 479px) {
  .container { padding: 0 16px; }

  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 1; }

  .service-card { padding: 28px 20px; }
  .value-card { padding: 28px 16px; }

  .mission-vision__card { padding: 28px; }

  .site-nav__list li a,
  .site-nav__list > a {
    font-size: 1.15rem;
    padding: 14px 24px;
  }
}

/* ==========================================================================
   33. PRINT
   ========================================================================== */

@media print {
  .top-bar,
  .site-header,
  .hero::before,
  .hero::after,
  .cta-strip,
  .hamburger,
  .mobile-nav-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    background: #f5f5f5 !important;
  }
  .hero__title { color: #000; text-shadow: none; }

  a { color: #000; text-decoration: underline; }
  .btn { border: 1px solid #000; }

  .section { padding: 30px 0; }
  .site-footer { background: #f5f5f5; color: #333; }
}
