/* ==========================================================================
   EAGLE SCAPES & HOME SERVICES — DESIGN SYSTEM
   Brand: Olive #7B7D4B / Cream #EAE6E1 / Brown #583B1F / Sage #A8A289
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Brand Palette — Earthy British Racing Green */
  --olive: #2F4F35;
  --olive-dark: #1A2E1D;
  --olive-light: #4F6E4F;
  --cream: #EAE6E1;
  --cream-dark: #D9D3CA;
  --brown: #4A3220;
  --brown-dark: #2F1F12;
  --sage: #A8A289;
  --sage-light: #C5BFA9;
  --white: #FFFFFF;
  --charcoal: #1F1F18;
  --soft-black: #141410;

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

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 4rem;
  --s-xl: 6rem;
  --s-xxl: 10rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 920px;
  --radius: 4px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(58, 38, 19, 0.08);
  --shadow: 0 8px 30px rgba(58, 38, 19, 0.12);
  --shadow-lg: 0 20px 60px rgba(58, 38, 19, 0.18);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t: 0.4s;
  --t-slow: 0.7s;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ============ TYPE ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: #555; line-height: 1.7; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  display: inline-block;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--olive);
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { padding: var(--s-xl) 0; }
.section-tight { padding: var(--s-lg) 0; }

/* ============ HEADER / NAV ============
   Initial state (over hero):  solid cream with hard bottom cut-off — bold.
   Scrolled state:             soft fade-out gradient into content below.
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding-bottom: 0;
  background: rgba(234, 230, 225, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: none;
          mask-image: none;
  z-index: 100;
  border: none;
  border-bottom: 0;
  box-shadow: none;
  outline: none;
  transition: background 0.5s var(--ease),
              padding-bottom 0.5s var(--ease),
              mask-image 0.5s var(--ease),
              -webkit-mask-image 0.5s var(--ease);
}

.header.scrolled {
  padding-bottom: 20px;
  background: linear-gradient(to bottom,
    rgba(234, 230, 225, 0.97) 0,
    rgba(234, 230, 225, 0.97) 108px,
    rgba(234, 230, 225, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 112px, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 112px, transparent 100%);
  border: none;
  border-bottom: 0;
  box-shadow: none;
}

/* Re-enable clicks on the nav itself when scrolled (the faded zone otherwise blocks them) */
.header.scrolled { pointer-events: none; }
.header.scrolled > .container,
.header.scrolled .nav,
.header.scrolled a,
.header.scrolled button { pointer-events: auto; }
/* Header runs edge-to-edge with generous side padding */
.header > .container {
  max-width: none;
  padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-right: clamp(1.5rem, 3.5vw, 3.5rem);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.25rem 0;
  gap: 2rem;
}
.nav .nav-links { justify-self: center; }
.nav .nav-cta-group { justify-self: end; }
.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform var(--t-fast) var(--ease);
  justify-self: start;
}
.logo:hover { transform: translateX(2px); }
.logo-img {
  width: 78px; height: 78px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  /* Crop the outer cream sticker ring built into the logo image */
  transform: scale(1.22);
  transform-origin: center;
  transition: transform var(--t) var(--ease-bounce);
  background: var(--olive-dark);
}
.logo:hover .logo-img { transform: scale(1.22) rotate(-8deg) translateZ(0); }
.logo-text {
  letter-spacing: -0.01em;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 0.55rem;
  margin-left: 0.12em; /* visually compensate for the letter-spacing trailing edge */
  line-height: 1;
  text-align: center;
}
.footer-brand .logo-sub { color: var(--olive-light); opacity: 0.85; }
.footer-brand .logo-img { width: 64px; height: 64px; }
.footer-brand .logo { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--olive); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--olive); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta-group { display: flex; align-items: center; gap: 1rem; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brown-dark);
  font-size: 0.95rem;
}
.phone-link svg { width: 18px; height: 18px; }
.phone-link:hover { color: var(--olive); }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 32px; height: 24px;
  position: relative;
  z-index: 102;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brown-dark);
  transition: all var(--t) var(--ease);
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary {
  background: var(--olive);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 125, 75, 0.4);
}
.btn-secondary {
  background: var(--brown);
  color: var(--cream);
}
.btn-secondary:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(88, 59, 31, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
}
.btn-outline:hover {
  background: var(--brown-dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--brown);
  padding: 0.5rem 0;
}
.btn-ghost svg { transition: transform var(--t) var(--ease); }
.btn-ghost:hover { color: var(--olive); }
.btn-ghost:hover svg { transform: translateX(6px); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1rem; }
.btn-ghost { border-radius: 0; padding-left: 0; padding-right: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1A2E1D 0%, #2F4F35 50%, #243421 100%);
}
/* Hero content pushed to left edge with proper breathing room */
.hero > .container {
  max-width: none;
  padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-right: clamp(1.5rem, 3.5vw, 3.5rem);
}
.hero-bg, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(26, 46, 29, 0.72) 0%,
      rgba(26, 46, 29, 0.55) 25%,
      rgba(26, 46, 29, 0.22) 55%,
      rgba(26, 46, 29, 0) 80%),
    linear-gradient(180deg, rgba(26, 46, 29, 0.15) 0%, rgba(26, 46, 29, 0.35) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  padding: 1rem 0;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.75rem; line-height: 1.05; }
.hero-cta { margin-top: 0.5rem; }
.hero-eyebrow {
  color: var(--cream);
  opacity: 0.92;
}
.hero-eyebrow::before { background: var(--cream); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-light);
  font-weight: 400;
}
.hero-sub {
  color: rgba(234, 230, 225, 0.95);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--cream);
  margin: 8px auto 0;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  padding: 9rem 0 4.5rem;
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  color: var(--cream);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(168, 162, 137, 0.2), transparent 60%);
}
.page-hero h1 { color: var(--cream); margin-bottom: 1rem; }
.page-hero p { color: rgba(234, 230, 225, 0.92); font-size: 1.15rem; max-width: 640px; }
.page-hero .eyebrow { color: var(--sage-light); }
.page-hero .eyebrow::before { background: var(--sage-light); }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(234, 230, 225, 0.8);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(234, 230, 225, 0.85); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ============ SERVICE CARDS ============ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header .eyebrow { padding-left: 2.5rem; padding-right: 2.5rem; }
.section-header .eyebrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 2rem; height: 1px;
  background: var(--olive);
}
.section-header p { color: #555; font-size: 1.1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #9CA063, #7B7D4B);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 2rem 2rem 1rem;
  transition: transform var(--t) var(--ease-bounce);
  box-shadow: 0 4px 12px rgba(123, 125, 75, 0.25);
}
.service-card:hover .service-card-icon {
  transform: rotate(8deg) scale(1.08);
}
.service-card-icon svg { width: 32px; height: 32px; color: var(--cream); }
.service-card-body { padding: 0.5rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: #555; flex: 1; margin-bottom: 1.25rem; }
.service-card .btn-ghost {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============ FEATURE BLOCKS (split image/text) ============ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-split.reverse .feature-image { order: 2; }
.feature-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature-image:hover img { transform: scale(1.05); }
.feature-text h2 { margin-bottom: 1.5rem; }
.feature-text .lead { margin-bottom: 1.5rem; }
.feature-list {
  margin: 1.5rem 0 2rem;
}
.feature-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(88, 59, 31, 0.08);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem;
  background: var(--olive);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23EAE6E1'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ STATS (slim banner) ============ */
.stats-band {
  background: var(--white);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 46, 29, 0.06);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 0;
  align-items: center;
}
.stat {
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0.5rem;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(26, 46, 29, 0.1);
}
.stat-number {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 900;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--olive) 0%, #7B7D4B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brown-dark);
  font-weight: 700;
}
@media (max-width: 600px) {
  .stat:not(:last-child)::after { display: none; }
  .stats { gap: 0.5rem; }
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: var(--brown-dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123, 125, 75, 0.3), transparent 70%);
  pointer-events: none;
}
.testimonials-section h2 { color: var(--cream); }
.testimonials-section .eyebrow { color: var(--sage-light); }
.testimonials-section .eyebrow::before, .testimonials-section .eyebrow::after { background: var(--sage-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 230, 225, 0.1);
  transition: all var(--t) var(--ease);
  position: relative;
}
.testimonial:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(168, 162, 137, 0.3);
}
.testimonial-stars {
  color: #FFD166;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial p {
  font-style: italic;
  color: rgba(234, 230, 225, 0.95);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testimonial-author {
  font-weight: 600;
  color: var(--cream);
  font-size: 0.95rem;
}
.testimonial-loc {
  font-size: 0.85rem;
  color: var(--sage-light);
  margin-top: 0.25rem;
}

/* ============ SERVICE AREAS MAP ============ */
.areas-section {
  background: var(--white);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.area-card {
  background: var(--cream);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t) var(--ease);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  z-index: 0;
}
.area-card > * { position: relative; z-index: 1; transition: color var(--t) var(--ease); }
.area-card:hover { transform: translateY(-4px); border-color: var(--olive); box-shadow: var(--shadow); }
.area-card:hover::before { opacity: 1; }
.area-card:hover h4, .area-card:hover p { color: var(--cream); }
.area-card svg { width: 30px; height: 30px; color: var(--olive); margin: 0 auto 0.75rem; transition: color var(--t); }
.area-card:hover svg { color: var(--cream); }
.area-card h4 { color: var(--brown-dark); margin-bottom: 0.25rem; font-size: 1.2rem; }
.area-card p { color: #777; font-size: 0.85rem; margin: 0; }

/* ============ BLOG GRID ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sage);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.blog-card:hover .blog-card-image img { transform: scale(1.08); }
.blog-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; gap: 1rem; align-items: center;
  font-size: 0.82rem;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.blog-meta span:not(:last-child)::after {
  content: '•';
  margin-left: 1rem;
  opacity: 0.5;
}
.blog-card h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.blog-card p { color: #555; flex: 1; margin-bottom: 1rem; }

/* ============ PORTFOLIO GALLERY (flex for auto-centered last row) ============ */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
}
.portfolio-item {
  flex: 0 1 calc(33.333% - 1.2rem);
  min-width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--t) var(--ease);
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 46, 29, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--cream);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-overlay h4 { color: var(--cream); margin-bottom: 0.25rem; font-size: 1.15rem; }
.portfolio-item-overlay p { color: var(--sage-light); margin: 0; font-size: 0.9rem; }
@media (max-width: 900px) {
  .portfolio-item { flex: 0 1 calc(50% - 0.875rem); }
}
@media (max-width: 560px) {
  .portfolio-item { flex: 0 1 100%; }
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 230, 225, 0.08), transparent 70%);
}
.cta-band::before { top: -100px; left: -100px; }
.cta-band::after { bottom: -100px; right: -100px; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band p { font-size: 1.15rem; color: rgba(234, 230, 225, 0.9); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--cream); color: var(--brown-dark); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--olive-dark); }
.cta-band .btn-outline { color: var(--cream); border-color: var(--cream); }
.cta-band .btn-outline:hover { background: var(--cream); color: var(--olive-dark); }

/* ============ FORM ============ */
.contact-form {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--charcoal);
  transition: all var(--t-fast) var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(123, 125, 75, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; font-family: inherit; }

/* ============ FOOTER ============ */
.footer {
  background: var(--soft-black);
  color: rgba(234, 230, 225, 0.8);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 1rem; }
.footer-brand p { color: rgba(234, 230, 225, 0.65); font-size: 0.95rem; max-width: 340px; }
.footer h5 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a {
  color: rgba(234, 230, 225, 0.7);
  font-size: 0.95rem;
  transition: all var(--t-fast) var(--ease);
}
.footer ul a:hover { color: var(--olive-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: rgba(234, 230, 225, 0.85);
}
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--olive-light); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(234, 230, 225, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--olive); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(234, 230, 225, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(234, 230, 225, 0.5);
}

/* ============ FLOATING CALL BUTTON (mobile) ============ */
.floating-call {
  display: none;
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  background: var(--olive);
  border-radius: 50%;
  z-index: 99;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(123, 125, 75, 0.5);
  animation: pulse 2.5s ease-out infinite;
}
.floating-call svg { width: 26px; height: 26px; color: var(--cream); }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(123, 125, 75, 0.5), 0 0 0 0 rgba(123, 125, 75, 0.4); }
  70% { box-shadow: 0 10px 30px rgba(123, 125, 75, 0.5), 0 0 0 20px rgba(123, 125, 75, 0); }
  100% { box-shadow: 0 10px 30px rgba(123, 125, 75, 0.5), 0 0 0 0 rgba(123, 125, 75, 0); }
}

/* ============ SCROLL-REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { transform: translateX(-50px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.visible { transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* hero reveals on page load */
.hero-content > * { opacity: 0; transform: translateY(30px); animation: heroFadeUp 1s var(--ease) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-image { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .portfolio-item-wide { grid-column: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  section { padding: var(--s-lg) 0; }
  .menu-toggle { display: block; }
  .nav { grid-template-columns: 1fr auto auto; gap: 1rem; }
  .logo-img { width: 52px; height: 52px; }
  .logo { font-size: 1.35rem; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2.5rem;
    gap: 1.5rem;
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
    transition: right var(--t) var(--ease);
    z-index: 101;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-links .btn { width: 100%; margin-top: 1rem; }
  .nav-cta-group .phone-link { display: none; }
  .hero { min-height: 90vh; padding-top: 7rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .floating-call { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
}
