/* ==========================================================================
   Elite Landscapes - Main Stylesheet
   Clean rebuild from scratch - no Squarespace dependencies
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-green: #28763C;
  --color-green-dark: #1e5a2d;
  --color-green-light: #3a9450;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-cream: #f0efe9;
  --color-dark: #1a1a1a;
  --color-gray: #666666;
  --color-gray-light: #e0e0e0;

  /* Typography */
  --font-family: 'Work Sans', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-lg: 1.125rem;
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(2rem, 4vw, 2.75rem);
  --fs-h3: clamp(1.5rem, 3vw, 1.75rem);
  --fs-h4: 1.25rem;

  /* Spacing */
  --max-width: 1200px;
  --section-padding: clamp(60px, 8vw, 120px);
  --gap: 2rem;
  --gap-sm: 1rem;
  --gap-lg: 3rem;

  /* Header */
  --header-height: 140px;
  --header-height-mobile: 70px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

/* --------------------------------------------------------------------------
   2. Reset / Normalize
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-green { color: var(--color-green); }

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section--white {
  background-color: var(--color-white);
  color: var(--color-black);
}

.section--cream {
  background-color: var(--color-cream);
  color: var(--color-black);
}

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

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

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.header-logo {
  flex-shrink: 0;
  margin-right: 2rem;
}

.header-logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* Right-side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.header-phone svg {
  color: var(--color-green);
}

.header-phone:hover {
  color: var(--color-green);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: var(--color-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.header-cta:hover {
  background: #1e5c2e;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav-bar {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

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

/* Dropdown arrow */
.nav-link--dropdown::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: middle;
  margin-top: -3px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link--dropdown::after {
  transform: rotate(-135deg);
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-top: 2px solid var(--color-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  font-weight: var(--fw-regular);
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background-color: var(--color-cream);
  color: var(--color-green);
}

/* --------------------------------------------------------------------------
   7. Mobile Navigation
   -------------------------------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1050;
  overflow-y: auto;
  padding: calc(var(--header-height-mobile) + 1rem) 1.5rem 2rem;
}

.mobile-overlay.active {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  display: block;
  padding: 1rem 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--color-gray-light);
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--color-gray-light);
  cursor: pointer;
}

.mobile-dropdown-toggle::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: var(--fw-regular);
  line-height: 1;
  transition: transform var(--transition);
}

.mobile-dropdown-toggle.active::after {
  content: '−';
}

.mobile-dropdown {
  display: none;
  padding-left: 1rem;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown a {
  font-size: var(--fs-body);
  padding: 0.75rem 0;
  color: var(--color-gray);
}

.mobile-cta {
  display: block;
  text-align: center;
  padding: 1rem;
  margin-top: 1.5rem;
  background: var(--color-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border-bottom: none !important;
}

.mobile-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-light);
}

.mobile-contact > a {
  font-size: 1rem;
  font-weight: 500;
  border-bottom: none !important;
  padding: 0 !important;
}

.mobile-social {
  display: flex;
  gap: 0.75rem;
}

.mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-dark);
  border-radius: 50%;
  padding: 0 !important;
}

.mobile-social svg {
  width: 16px;
  height: 16px;
  fill: var(--color-dark);
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background-color: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

.btn--primary:hover {
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

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

.btn--outline:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-green);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   9. Hero Sections
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--full {
  min-height: 80vh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 2rem 1.5rem;
  color: var(--color-white);
}

.hero__content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  font-size: var(--fs-lg);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   9b. Homepage Hero (Editorial Split)
   -------------------------------------------------------------------------- */
.hero-home {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-home__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.6) 100%);
}

/* Frosted content panel - anchored bottom-left */
.hero-home__panel {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 0 0 clamp(1.5rem, 5vw, 6rem);
  padding: 2.5rem 3rem 3rem;
  margin-bottom: clamp(2rem, 5vh, 4rem);
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-green);
}

.hero-home__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.hero-home__accent {
  width: 40px;
  height: 2px;
  background: var(--color-green);
  margin-bottom: 1.25rem;
}

.hero-home__title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-home__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 380px;
}

.hero-home__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  padding: 14px 28px;
  background: var(--color-green);
  border: none;
  transition: background-color var(--transition), gap var(--transition);
}

.hero-home__cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.hero-home__cta:hover {
  background: var(--color-green-dark);
  gap: 1rem;
}

.hero-home__cta:hover svg {
  transform: translateX(3px);
}

/* Small "Est. 2013" badge - bottom right */
.hero-home__badge {
  position: absolute;
  bottom: clamp(2rem, 5vh, 4rem);
  right: clamp(1.5rem, 5vw, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}

.hero-home__badge span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.hero-home__badge strong {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   9c. Showcase Banner (stats over image)
   -------------------------------------------------------------------------- */
.showcase-banner {
  position: relative;
  height: clamp(280px, 40vh, 420px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.showcase-banner__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@supports not (background-attachment: fixed) {
  .showcase-banner__image {
    background-attachment: scroll;
  }
}

.showcase-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.5) 70%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.showcase-banner__stats {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 2.5rem 1.5rem;
}

.showcase-banner__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
}

.showcase-banner__stat strong {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-green-light);
}

.showcase-banner__stat span {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.showcase-banner__divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Background image section (parallax-like) */
.bg-image-section {
  position: relative;
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

@supports not (background-attachment: fixed) {
  .bg-image-section {
    background-attachment: scroll;
  }
}

/* Short divider image section */
.divider-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   10. Service Cards / Grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.service-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.25rem;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: 1.6;
}

/* Section with bg image overlay for cards */
.services-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
}

.services-overlay > .container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   11. Portfolio / Design-Build-Maintain
   -------------------------------------------------------------------------- */
.portfolio-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.portfolio-trio__item {
  position: relative;
  overflow: hidden;
}

.portfolio-trio__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-trio__item:hover img {
  transform: scale(1.05);
}

.portfolio-trio__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   12. Image Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

/* Portfolio gallery (larger images) */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.portfolio-gallery__item {
  overflow: hidden;
  cursor: pointer;
}

.portfolio-gallery__item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-gallery__item:hover img {
  transform: scale(1.05);
}

/* Image carousel / slideshow row */
.image-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.image-row::-webkit-scrollbar {
  display: none;
}

.image-row__item {
  flex: 0 0 auto;
  width: 350px;
  scroll-snap-align: start;
  cursor: pointer;
}

.image-row__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   13. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   14. SVG Wave Divider
   -------------------------------------------------------------------------- */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Each wave: background = section ABOVE, fill = section BELOW */
.wave-divider--green {
  background-color: var(--color-cream);
}
.wave-divider--green svg {
  fill: var(--color-green);
}

.wave-divider--white {
  background-color: var(--color-green);
}
.wave-divider--white svg {
  fill: var(--color-white);
}

.wave-divider--cream {
  background-color: var(--color-white);
}
.wave-divider--cream svg {
  fill: var(--color-cream);
}

.wave-divider--dark {
  background-color: var(--color-dark);
}
.wave-divider--dark svg {
  fill: var(--color-dark);
}

/* Footer wave (legacy - removed) */

/* --------------------------------------------------------------------------
   14b. CSS Textures for Solid-Color Sections
   -------------------------------------------------------------------------- */
.section--white,
.section--cream,
.section--green,
.section--dark {
  position: relative;
  overflow: hidden;
}

/* Ensure content sits above textures */
.section--white > *,
.section--cream > *,
.section--green > *,
.section--dark > * {
  position: relative;
  z-index: 1;
}

/* White sections: faint diagonal pinstripe */
.section--white::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.015) 10px,
    rgba(0, 0, 0, 0.015) 11px
  );
  pointer-events: none;
  z-index: 0;
}

/* Cream sections: subtle dot grid */
.section--cream::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Green sections: light crosshatch */
.section--green::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Dark sections: layered diagonal grain */
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 4px,
      rgba(255, 255, 255, 0.01) 4px,
      rgba(255, 255, 255, 0.01) 5px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(255, 255, 255, 0.015) 6px,
      rgba(255, 255, 255, 0.015) 7px
    );
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   15. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.55) 60%,
    rgba(26, 26, 26, 0.3) 100%
  );
  z-index: 1;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 5rem var(--container-padding);
  margin: 0 auto;
}

.cta-banner__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.cta-banner__heading {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cta-banner__sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: #fff;
  color: var(--color-green);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-banner__btn:hover {
  background: var(--clr-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-banner__btn svg {
  transition: transform 0.3s;
}

.cta-banner__btn:hover svg {
  transform: translateX(4px);
}

.cta-banner__phone {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.cta-banner__phone:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .cta-banner {
    min-height: 360px;
    background-attachment: scroll;
  }
  .cta-banner__content {
    padding: 3.5rem var(--container-padding);
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  background-color: var(--color-white);
  font-size: var(--fs-body);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-green);
}

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

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group--checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--color-green);
}

.form-group--checkbox label {
  margin-bottom: 0;
  font-weight: var(--fw-regular);
}

.form-success,
.form-error {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: var(--fw-medium);
}

.form-success {
  background-color: #e8f5e9;
  color: var(--color-green-dark);
  border: 1px solid var(--color-green);
}

.form-error {
  background-color: #fde8e8;
  color: #b91c1c;
  border: 1px solid #b91c1c;
}

.form-success.visible,
.form-error.visible {
  display: block;
}

.form-consent {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.form-consent a {
  color: inherit;
  text-decoration: underline;
}
.form-consent a:hover {
  color: var(--color-green);
}

/* Success message when it replaces entire form */
form[data-contact-form] > .form-success:only-child {
  padding: 3rem 2rem;
  font-size: 1.25rem;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   16b. Contact Page
   -------------------------------------------------------------------------- */

/* -- Hero: split image + text -- */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.contact-hero__img {
  position: relative;
  overflow: hidden;
}

.contact-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  background: var(--color-cream);
}

.contact-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-green);
  margin-bottom: 1.5rem;
}

.contact-hero__heading {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: var(--fw-bold);
  line-height: 0.95;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.contact-hero__sub {
  font-size: var(--fs-lg);
  color: var(--color-gray);
  max-width: 400px;
  line-height: 1.7;
}

/* -- Main: two-column info + form -- */
.contact-main {
  padding: 6rem 2rem;
  background: var(--color-white);
}

.contact-main__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* -- Info column -- */
.contact-info__heading {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.contact-info__heading span {
  color: var(--color-green);
}

.contact-info__text {
  font-size: var(--fs-lg);
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
  color: var(--color-green);
}

.contact-info__item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  margin-bottom: 0.15rem;
}

.contact-info__item p {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: 1.5;
}

.contact-info__item a {
  color: var(--color-green);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info__item a:hover {
  color: var(--color-green-dark);
}

.contact-info__photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.contact-info__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-green);
  border-radius: 4px;
  pointer-events: none;
}

.contact-info__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -- Form column -- */
.contact-form-wrap {
  background: var(--color-cream);
  padding: 3rem;
  border-radius: 4px;
}

.contact-form-wrap__heading {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-green);
}

.contact-form {
  max-width: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form__field {
  margin-bottom: 1.25rem;
}

.contact-form__field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 2px solid var(--color-gray-light);
  background: transparent;
  font-size: var(--fs-body);
  font-family: var(--font-family);
  color: var(--color-dark);
  transition: border-color var(--transition);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #aaa;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-green);
}

.contact-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-group--checkbox {
  margin-bottom: 1.5rem;
}

.contact-form .form-group--checkbox label {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.contact-form .form-group--checkbox a {
  color: var(--color-green);
  text-decoration: underline;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--color-green);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form__submit:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
}

.contact-form__submit svg {
  transition: transform var(--transition);
}

.contact-form__submit:hover svg {
  transform: translateX(4px);
}

/* -- Google Places Autocomplete dropdown -- */
.pac-container {
  font-family: var(--font-family);
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  z-index: 10000;
}

.pac-item {
  padding: 10px 14px;
  cursor: pointer;
  border-top: 1px solid var(--color-gray-light);
  font-size: var(--fs-sm);
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background: var(--color-cream);
}

.pac-item-query {
  color: var(--color-green);
  font-weight: var(--fw-semibold);
}

.pac-icon {
  display: none;
}

/* -- Photo band / quote -- */
.contact-band {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.contact-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.contact-band__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-band__quote {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 650px;
  margin-bottom: 0.75rem;
}

.contact-band__attr {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -- Contact responsive -- */
@media (max-width: 1024px) {
  .contact-main__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info__photo {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-hero__img {
    height: 50vw;
    min-height: 250px;
  }

  .contact-hero__content {
    padding: 3rem 1.5rem;
  }

  .contact-hero__heading {
    font-size: 3.5rem;
  }

  .contact-main {
    padding: 3rem 1.5rem;
  }

  .contact-form-wrap {
    padding: 2rem 1.5rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-band {
    height: 300px;
  }

  .contact-band__content {
    padding: 2rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   17. Blog / Article Layout
   -------------------------------------------------------------------------- */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-padding) 1.5rem;
}

.article__header {
  margin-bottom: 2rem;
}

.article__title {
  margin-bottom: 1rem;
}

.article__meta {
  color: var(--color-gray);
  font-size: var(--fs-sm);
}

.article__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 2rem;
}

.article__content h2 {
  font-size: var(--fs-h3);
  margin: 2rem 0 1rem;
}

.article__content h3 {
  font-size: var(--fs-h4);
  margin: 1.5rem 0 0.75rem;
}

.article__content p {
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article__content ul,
.article__content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.article__content ol {
  list-style: decimal;
}

.article__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article__content img {
  width: 100%;
  margin: 1.5rem 0;
}

.article__content blockquote {
  border-left: 4px solid var(--color-green);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--color-cream);
  font-style: italic;
}

.article__content a {
  color: var(--color-green);
  text-decoration: underline;
}

.article__content a:hover {
  color: var(--color-green-dark);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 5rem 0 0;
  overflow: hidden;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.site-footer__texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
  background-size: 20px 20px;
}

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

/* Footer top: 4-column grid */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1.25rem;
}

/* Brand column */
.footer-brand__logo {
  display: block;
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand__tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 260px;
}

/* Contact column */
.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

/* Links column */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

/* Social column */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: border-color var(--transition), background var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-green);
  background: rgba(40, 118, 60, 0.15);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
  .site-footer {
    padding: 3.5rem 0 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   19. Misc Components
   -------------------------------------------------------------------------- */

/* Lazy load images */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[data-src].loaded {
  opacity: 1;
}

/* Recruitment section */
.recruitment {
  text-align: center;
}

.recruitment h2 {
  margin-bottom: 0.75rem;
}

.recruitment p {
  margin-bottom: 2rem;
  font-size: var(--fs-lg);
}

/* About hero */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(40, 118, 60, 0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(40, 118, 60, 0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(40, 118, 60, 0.06) 25%, transparent 25%),
    linear-gradient(45deg, rgba(40, 118, 60, 0.06) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  z-index: 0;
  pointer-events: none;
}

.about-hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.about-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 1.5rem;
}

.about-hero__heading {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: var(--fw-bold);
  line-height: 0.95;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.about-hero__sub {
  font-size: var(--fs-lg);
  color: var(--color-gray);
  max-width: 380px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.about-hero__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.about-hero__badge-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gray);
}

.about-hero__badge strong {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--color-green);
  letter-spacing: 0.04em;
}

.about-hero__img {
  position: relative;
  overflow: hidden;
}

.about-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero__img-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-green);
}

@media (max-width: 767px) {
  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-hero__text {
    padding: 3rem 1.5rem;
    order: 2;
  }

  .about-hero__heading {
    font-size: 3.5rem;
  }

  .about-hero__img {
    order: 1;
    height: 50vw;
    min-height: 250px;
  }
}

/* About page - Story */
.about-story {
  padding: 7rem 2rem;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-story__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.about-story__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.about-story__text p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Two-photo collage */
.about-story__photos {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 4fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.about-story__photo {
  overflow: hidden;
}

.about-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}

.about-story__photo--main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.about-story__photo--accent {
  grid-column: 2 / 3;
  aspect-ratio: 3 / 4;
  margin-top: -3rem;
  box-shadow: -8px 8px 0 var(--color-green);
}

/* About page - Services list */
.about-services {
  padding: 6rem 2rem;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.about-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.about-services__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-services__header {
  margin-bottom: 3rem;
}

.about-services__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.about-services__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: #fff;
}

.about-services__list {
  display: flex;
  flex-direction: column;
}

.about-services__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: padding-left var(--transition);
}

.about-services__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-services__item:hover {
  padding-left: 1rem;
}

.about-services__num {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: var(--color-green);
  letter-spacing: 0.06em;
  min-width: 28px;
}

.about-services__name {
  flex: 1;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.about-services__item:hover .about-services__name {
  color: #fff;
}

.about-services__item svg {
  color: var(--color-green);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.about-services__item:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* About page - Photo break */
.about-photo-break {
  height: 400px;
  overflow: hidden;
}

.about-photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About page - Why us */
.about-why {
  padding: 6rem 2rem;
  background: var(--color-white);
}

.about-why__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-why__header {
  margin-bottom: 3.5rem;
}

.about-why__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.about-why__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-dark);
}

.about-why__heading span {
  color: var(--color-green);
}

.about-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.about-why__card {
  padding: 2rem 1.5rem;
  background: var(--color-cream);
  border-radius: 4px;
  border-top: 3px solid var(--color-green);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.about-why__card-num {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  color: var(--color-green);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.about-why__card h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.about-why__card p {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: 1.7;
}

/* About page responsive */
@media (max-width: 1024px) {
  .about-story__inner {
    gap: 3rem;
  }

  .about-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .about-story {
    padding: 3rem 1.5rem;
  }

  .about-story__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story__photos {
    padding: 1rem;
  }

  .about-story__photo--accent {
    margin-top: -1.5rem;
    box-shadow: -5px 5px 0 var(--color-green);
  }

  .about-services {
    padding: 3rem 1.5rem;
  }

  .about-photo-break {
    height: 250px;
  }

  .about-why {
    padding: 3rem 1.5rem;
  }

  .about-why__grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy about-content (unused, kept for safety) */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.about-content img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Service page layout */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail h2 {
  margin: 2rem 0 1rem;
}

.service-detail p {
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Project cards */
.project-card {
  overflow: hidden;
  margin-bottom: var(--gap-lg);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.project-card__content {
  padding: 1.5rem 0;
}

.project-card h3 {
  margin-bottom: 0.75rem;
}

/* Instagram follow link */
/* Instagram Feed Section */
.ig-feed {
  padding: 5rem 0 4rem;
  background: var(--color-cream);
}

.ig-feed__header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.ig-feed__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-green);
  margin-bottom: 0.75rem;
}

.ig-feed__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.1;
}

.ig-feed__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
}

.ig-feed__item {
  overflow: hidden;
  position: relative;
}

.ig-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ig-feed__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 118, 60, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.ig-feed__grid:hover .ig-feed__item img {
  filter: brightness(0.85);
}

.ig-feed__grid:hover .ig-feed__item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

.ig-feed__grid:hover .ig-feed__item:hover::after {
  background: rgba(40, 118, 60, 0.08);
}

/* Make 2nd and 5th items span two rows */
.ig-feed__item--tall {
  grid-row: span 2;
}

.ig-feed__cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 0 2rem;
}

.ig-feed__follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-green);
  text-decoration: none;
  transition: gap var(--transition);
}

.ig-feed__follow:hover {
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .ig-feed {
    padding: 3rem 0 2.5rem;
  }

  .ig-feed__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 160px 160px 160px;
  }

  .ig-feed__item--tall {
    grid-row: span 2;
  }
}

/* --------------------------------------------------------------------------
   20. Design, Build, Maintain Cards
   -------------------------------------------------------------------------- */
.dbm-section {
  background-color: var(--color-cream);
}

.dbm-eyebrow {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-green);
  margin-bottom: 0.75rem;
}

.dbm-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

.dbm-card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.dbm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.dbm-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.dbm-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dbm-card:hover .dbm-card__image img {
  transform: scale(1.08);
}

.dbm-card__body {
  padding: 1.5rem;
  flex: 1;
}

.dbm-card__number {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-green);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.dbm-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
}

.dbm-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   21. Recruitment Section Redesign
   -------------------------------------------------------------------------- */
.recruit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
  text-align: left;
}

.recruit-eyebrow {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-green-light);
  margin-bottom: 0.75rem;
}

.recruit-heading {
  font-size: var(--fs-h2);
  margin-bottom: 1rem;
}

.recruit-tagline {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.recruit-benefits {
  margin-bottom: 2rem;
}

.recruit-benefits li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.9);
}

.recruit-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
}

.recruit-form .form {
  max-width: none;
}

.recruit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.recruit-form .btn {
  margin-top: 0.5rem;
}

.recruit-images {
  position: relative;
  min-height: 400px;
}

.recruit-images__main {
  width: 80%;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
}

.recruit-images__accent {
  position: relative;
  width: 65%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 4rem;
  z-index: 1;
  box-shadow: 8px 8px 0 var(--color-green);
}

/* --------------------------------------------------------------------------
   22. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-sm);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-content {
    gap: var(--gap);
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .dbm-grid {
    gap: var(--gap-sm);
  }

  .recruit-layout {
    gap: var(--gap);
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px;
  }

  /* Header mobile */
  .header-inner {
    height: 60px;
    padding: 0 1rem;
  }

  .header-logo img {
    height: 40px;
  }

  .header-logo {
    margin-right: auto;
  }

  .header-actions {
    display: none;
  }

  .nav-bar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Grids mobile */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .portfolio-trio {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About mobile */
  .about-content {
    grid-template-columns: 1fr;
  }

  /* Hero mobile */
  .hero {
    min-height: 50vh;
  }

  .hero--full {
    min-height: 60vh;
  }

  .hero__content {
    padding: 1.5rem 1rem;
  }

  .hero__content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Image row mobile */
  .image-row__item {
    width: 280px;
  }

  .image-row__item img {
    height: 220px;
  }

  /* Divider */
  .divider-image {
    height: 120px;
  }

  /* Lightbox mobile */
  .lightbox {
    padding: 1rem;
  }

  /* Showcase banner mobile */
  .showcase-banner {
    height: auto;
    min-height: 260px;
  }

  .showcase-banner__image {
    background-attachment: scroll;
  }

  .showcase-banner__stats {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
  }

  .showcase-banner__stat {
    gap: 0.6rem;
  }

  .showcase-banner__divider {
    width: 40px;
    height: 1px;
  }

  /* Hero home mobile */
  .hero-home {
    min-height: 75vh;
    align-items: flex-end;
  }

  .hero-home__panel {
    margin: 0 1rem 1.5rem;
    padding: 1.75rem 1.5rem 2rem;
    max-width: none;
  }

  .hero-home__badge {
    display: none;
  }

  /* DBM cards mobile */
  .dbm-grid {
    grid-template-columns: 1fr;
  }

  .dbm-card:hover {
    transform: none;
  }

  /* Recruitment mobile */
  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .recruit-images {
    order: -1;
    min-height: auto;
  }

  .recruit-images__main {
    width: 100%;
  }

  .recruit-images__accent {
    display: none;
  }

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

/* Small mobile: < 480px */
@media (max-width: 479px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-row__item {
    width: 240px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  :root {
    --max-width: 1300px;
  }
}
