/* ============================================
   A to Z Construction | shared design system
   Used by index, service pages, and blog pages
   ============================================ */
:root {
  --brand-green: #7CC242;
  --brand-green-dark: #5fa130;
  --brand-grey: #6E6E70;
  --brand-grey-dark: #3d3d3f;
  --bg: #ffffff;
  --bg-alt: #fafaf9;
  --bg-soft: #f4f4f3;
  --ink: #1f1f21;
  --ink-soft: #4a4a4d;
  --ink-mute: #6c6c6f;
  --line: #e6e6e4;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-overflow-scrolling: touch; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px; line-height: 1.65; font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: 'Cormorant', serif;
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.1; color: var(--brand-grey-dark);
}
h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 500; }
h2 { font-size: clamp(2.125rem, 4.5vw, 3.875rem); font-weight: 500; }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 600; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brand-green-dark);
  font-weight: 600; display: inline-flex; align-items: center;
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--brand-green); margin-right: 14px; }
.eyebrow .brand-cased { text-transform: none; letter-spacing: 0.18em; margin-left: 0.35em; }

p.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; line-height: 1.6; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; position: relative; }
@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  .container, .container-narrow { padding: 0 1.25rem; }

}

/* ── HAMBURGER MENU ────────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 200;
}
.hamburger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: #fff; transition: all 0.35s var(--ease);
}
.nav.scrolled .hamburger span,
.nav.always-solid .hamburger span { background: var(--brand-grey-dark); }
.nav.menu-open .hamburger span { background: var(--brand-grey-dark); }

/* Mobile menu, dropdown from below nav */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 150;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.0);
  display: flex; flex-direction: column;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.mobile-menu.open {
  pointer-events: auto;
  max-height: 700px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.mobile-menu-links {
  display: flex; flex-direction: column; padding: 0.5rem 0;
}
.mobile-menu-links a {
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 500;
  color: var(--brand-grey-dark); text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-links a:last-child { border-bottom: none; }
.mobile-menu-links a:hover { color: var(--brand-green-dark); background: rgba(124,194,66,0.05); }

.mobile-menu-footer {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu-cta {
  display: block; text-align: center;
  background: var(--brand-green); color: #fff !important;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 1.5rem; border-radius: 100px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(124,194,66,0.35);
  transition: background 0.2s;
}
.mobile-menu-cta:hover { background: var(--brand-green-dark); }
.mobile-menu-call {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500;
  color: var(--brand-grey-dark) !important; text-decoration: none;
  padding: 0.65rem; border: 1.5px solid var(--line); border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-menu-call:hover { border-color: var(--brand-green); color: var(--brand-green-dark) !important; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
}

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }


/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 160;
  padding: 1.1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled, .nav.always-solid {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem 2rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; transition: transform 0.4s var(--ease); }
.nav-logo:hover { transform: scale(1.02); }
.nav-logo img {
  height: 64px; width: auto;
  transition: filter 0.4s var(--ease), height 0.4s var(--ease);
  filter: brightness(1.5) contrast(1.05) drop-shadow(0 2px 10px rgba(0,0,0,0.55));
}
.nav.scrolled .nav-logo img, .nav.always-solid .nav-logo img { height: 52px; filter: none; }

.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a {
  color: #fff; text-decoration: none; font-size: 0.875rem;
  letter-spacing: 0.02em; font-weight: 500;
  transition: opacity 0.3s var(--ease), color 0.4s var(--ease);
}
.nav.scrolled .nav-links a, .nav.always-solid .nav-links a { color: var(--brand-grey-dark); }
.nav-links a:hover { color: var(--brand-green); opacity: 1; }
.nav-cta {
  padding: 0.65rem 1.35rem; border-radius: 100px; font-size: 0.85rem;
  background: var(--brand-green); color: #fff !important; font-weight: 600;
  transition: all 0.3s var(--ease) !important;
  box-shadow: 0 4px 14px rgba(124, 194, 66, 0.35);
}
.nav-cta:hover { background: var(--brand-green-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124, 194, 66, 0.5); }
@media (max-width: 900px) {
  .nav { padding: 0.75rem 1.25rem; }
  .nav.scrolled, .nav.always-solid { padding: 0.6rem 1.25rem; }
  .nav-logo img { height: 56px; }
  .nav.scrolled .nav-logo img, .nav.always-solid .nav-logo img { height: 48px; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.75rem; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.4s var(--ease);
  font-family: 'Inter', sans-serif; letter-spacing: 0.01em;
}
.btn-primary { background: var(--brand-green); color: #fff; box-shadow: 0 8px 24px rgba(124, 194, 66, 0.4); }
.btn-primary:hover { background: var(--brand-green-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 194, 66, 0.55); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: #fff; color: var(--brand-grey-dark); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-green-dark); border: 1.5px solid var(--brand-green); }
.btn-ghost:hover { background: var(--brand-green); color: #fff; }
.nav-phone {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em; white-space: nowrap;
  padding: 0.55rem 0.25rem;
}
.nav.scrolled .nav-phone, .nav.always-solid .nav-phone { color: var(--brand-green-dark); }
.nav-phone:hover { color: var(--brand-green); }
.btn .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* FOOTER */
footer { background: #1a1a1c; color: rgba(255,255,255,0.65); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-grid h4 { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-brand img { height: 72px; width: auto; filter: brightness(1.5); margin-bottom: 1.25rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 34ch; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.65rem; color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.footer-list a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.3s var(--ease); }
.footer-list a:hover { color: var(--brand-green); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* STICKY CALL */
.sticky-call {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  background: var(--brand-green); color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 12px 30px rgba(124, 194, 66, 0.5);
  transition: all 0.4s var(--ease);
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.sticky-call.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-call:hover { background: var(--brand-green-dark); transform: scale(1.08); }
.sticky-call svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }

::selection { background: var(--brand-green); color: #fff; }

/* HERO INDEX - PHOTO ON TOP, TEXT BELOW */
.hero { position: relative; background: #fff; padding-top: 72px; }
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease), transform 5s var(--ease-out);
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide-1 { background-image: url('/images/hero-1-exterior-mobile.webp'); }
.hero-slide-2 { background-image: url('/images/hero-2-kitchen-white-mobile.webp'); }
.hero-slide-3 { background-image: url('/images/hero-3-living-room-mobile.webp'); }
.hero-slide-4 { background-image: url('/images/hero-4-kitchen-blue-mobile.webp'); }
@media (min-width: 768px) {
  .hero-slide-1 { background-image: url('/images/hero-1-exterior.webp'); }
  .hero-slide-2 { background-image: url('/images/hero-2-kitchen-white.webp'); }
  .hero-slide-3 { background-image: url('/images/hero-3-living-room.webp'); }
  .hero-slide-4 { background-image: url('/images/hero-4-kitchen-blue.webp'); }
}

.hero-text-block {
  background: #fff;
  padding: 4rem 0 2rem;
  text-align: center;
}
.hero-text-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-text-content .eyebrow {
  margin-bottom: 1.75rem;
  justify-content: center;
}
.hero-slide-text {
  display: none;
  animation: heroFadeIn 0.55s var(--ease);
}
.hero-slide-text.active { display: block; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .hero-word {
  color: var(--brand-grey-dark);
  font-weight: 500;
  font-family: 'Cormorant', serif;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}
.hero-services {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-mute); margin: 0 auto 1.75rem; max-width: 60ch;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.hero-tagline {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--brand-grey-dark);
  font-weight: 400;
  max-width: 60ch;
  margin: 0 auto 1.25rem;
  line-height: 1.4;
}
.hero-desc {
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0 auto 2rem;
}
.hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2rem 0 2.25rem;
}
.hero-arrow {
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-grey-dark);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.hero-arrow:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  transform: scale(1.05);
}
.hero-arrow svg { width: 18px; height: 18px; }
.hero-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  font-weight: 500;
  min-width: 60px;
  text-align: center;
}
.hero-counter #heroCurrent { color: var(--brand-green-dark); font-weight: 600; }
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-slideshow { height: 50vh; min-height: 340px; }
  .hero-text-block { padding: 3rem 0 4rem; }
  .hero h1, .hero .hero-word { font-size: clamp(2.5rem, 9vw, 3.5rem); }
}
@media (max-width: 600px) {
  .hero-slideshow { height: 38vh; min-height: 250px; }
  .hero-arrow { width: 44px; height: 44px; }
  /* Put the consultation CTA inside the first viewport on phones */
  .hero-text-block { padding: 2.25rem 0 3rem; }
  .hero-text-content { display: flex; flex-direction: column; }
  .hero-text-content .eyebrow { order: 1; margin-bottom: 1.1rem; }
  .hero-slide-text { order: 2; }
  .hero-desc { margin-bottom: 1.5rem; }
  .hero-ctas { order: 3; }
  .hero-nav { order: 4; margin: 1.6rem 0 0.75rem; }
  .hero-services { order: 5; margin: 0.75rem auto 0; }
}

/* INTRO */
.intro { background: var(--bg); padding-top: 4rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 5.5rem; align-items: start; }
.intro-grid h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.intro-stat strong { display: block; font-family: 'Cormorant', serif; font-size: 2.5rem; font-weight: 500; color: var(--brand-green-dark); line-height: 1; margin-bottom: 0.4rem; }
.intro-stat span { font-size: 0.85rem; color: var(--ink-mute); letter-spacing: 0.05em; }
.intro-text { display: flex; flex-direction: column; gap: 1.4rem; }
.intro-text p { color: var(--ink-soft); font-size: 1.0625rem; }
.intro-cta { margin-top: 2rem; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* SERVICES */
.services { background: var(--bg-alt); }
.services-header { max-width: 640px; margin-bottom: 3.5rem; }
.services-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.services-header .lead { margin-top: 1.25rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--brand-grey-dark); text-decoration: none; color: inherit; display: block; transition: transform 0.5s var(--ease); }
.service-card:hover { transform: translateY(-4px); }
.service-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service-card:hover .service-card-img { transform: scale(1.08); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(31,31,33,0.92) 100%); pointer-events: none; z-index: 1; }
.service-info { position: absolute; bottom: 1.75rem; left: 1.75rem; right: 1.75rem; z-index: 2; color: #fff; }
.service-info-tag { display: none; }
.service-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4rem; font-weight: 400; }
.service-info-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-top: 0.5rem; transition: gap 0.3s var(--ease), color 0.3s var(--ease); }
.service-card:hover .service-info-arrow { gap: 0.85rem; color: var(--brand-green); }
.services-cta { text-align: center; margin-top: 3.5rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { aspect-ratio: 5/4; } }

/* DIFF */
.diff {
  position: relative;
  background: var(--bg-soft);
}
.diff-header { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; margin-bottom: 0; }
.diff-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.diff-header p { color: var(--ink-soft); }
@media (max-width: 768px) { .diff-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; } }
@media (max-width: 768px) { .diff-header { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 3rem; } }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 2rem; }
.diff-list li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }
.diff-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand-green-dark); font-weight: 700; }
.diff-list li strong { color: var(--brand-grey-dark); font-weight: 600; }
@media (max-width: 768px) { .diff-list { grid-template-columns: 1fr; gap: 0.75rem; } }
/* Compact stacked pair on top right (cards 02 + 03) */
.diff-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 1.5rem; }
.diff-stack .diff-item { padding: 1.75rem 1.5rem; min-height: 0; }
.diff-stack .diff-item .num { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.85rem; }
.diff-stack .diff-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.diff-stack .diff-item p { font-size: 0.9rem; line-height: 1.5; }
/* Feature hero card (top-left, spans 2 cols) */
.diff-item.feature { grid-column: span 2; background: var(--bg-soft); color: var(--brand-grey-dark); padding: 3.5rem 3rem; text-align: left; display: flex; flex-direction: column; justify-content: center; min-height: 340px; position: relative; overflow: hidden; }
.diff-item.feature .num { background: var(--brand-green); color: #fff; margin: 0 0 1.75rem 0; width: 60px; height: 60px; font-size: 1.5rem; position: relative; z-index: 1; box-shadow: 0 8px 24px rgba(124,194,66,0.4); }
.diff-item.feature h3 { color: var(--brand-green-dark); font-size: 2.1rem; margin-bottom: 1.1rem; max-width: 14ch; position: relative; z-index: 1; line-height: 1.15; }
.diff-item.feature p { color: var(--brand-grey); font-size: 1.05rem; line-height: 1.65; max-width: 38ch; position: relative; z-index: 1; }
.diff-item.feature:hover { transform: translateY(-6px); background: #fff; border-color: var(--brand-green); }
.diff-item.feature:hover .num { background: var(--brand-green); color: #fff; transform: scale(1.05); }
/* Bottom row cards: subtle accent on left edge */
.diff-row-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; grid-column: span 3; margin-top: 0; }
.diff-row-bottom .diff-item { text-align: left; padding: 2rem 2rem 2rem 2.25rem; border-left: 3px solid var(--brand-green); display: flex; flex-direction: column; align-items: flex-start; }
.diff-row-bottom .diff-item .num { margin: 0 0 1rem 0; width: 44px; height: 44px; font-size: 1.05rem; }
.diff-row-bottom .diff-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; text-align: left; }
.diff-row-bottom .diff-item p { font-size: 0.95rem; text-align: left; }
@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff-item.feature { grid-column: span 2; min-height: 240px; padding: 2.5rem 2rem; }
  .diff-item.feature h3 { font-size: 1.6rem; }
  .diff-item.feature::before { width: 45%; }
  .diff-stack { grid-column: span 2; grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .diff-row-bottom { grid-column: span 2; grid-template-columns: 1fr 1fr; }
  .diff-row-bottom .diff-item:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 600px) {
  .diff-grid, .diff-stack, .diff-row-bottom { grid-template-columns: 1fr; }
  .diff-item.feature { grid-column: span 1; }
  .diff-item.feature::before { display: none; }
  .diff-row-bottom .diff-item:nth-child(3) { grid-column: span 1; }
}
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-item { background: var(--bg-soft); padding: 2.5rem 2rem; border-radius: var(--radius); text-align: center; position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); border: 1px solid var(--line); }
.diff-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(31,31,33,0.18); border-color: var(--brand-green); background: #fff; }
.diff-item .num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(124, 194, 66, 0.12); color: var(--brand-green-dark); font-family: 'Cormorant', serif; font-style: italic; font-size: 1.25rem; font-weight: 500; margin: 0 auto 1.5rem; transition: all 0.4s var(--ease); }
.diff-item:hover .num { background: var(--brand-green); color: #fff; transform: scale(1.05); }
.diff-item h3 { color: var(--brand-green-dark); font-size: 1.25rem; margin-bottom: 0.85rem; font-weight: 500; font-family: 'Cormorant', serif; }
.diff-item p { color: var(--brand-grey); font-size: 0.95rem; line-height: 1.55; }

/* PROCESS */
.process {
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,31,33,0.72) 0%, rgba(31,31,33,0.82) 100%),
    url('/images/stock/photo-1613490493576-7fde63acd811.webp') center/cover no-repeat;
  background-attachment: scroll;
  color: #fff;
}
.process-header { text-align: center; margin-bottom: 4.5rem; position: relative; z-index: 1; }
.process-header .eyebrow { color: var(--brand-green); }
.process-header h2 { color: #fff; }
.process-header h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.process-header .lead { margin: 1.5rem auto 0; color: rgba(255,255,255,0.85); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; max-width: 1100px; margin: 0 auto 3.5rem; z-index: 1; }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 2.75rem 2rem; text-align: center; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.45); border-color: var(--brand-green); }
.step h3 { color: var(--brand-grey-dark); }
.step p { color: var(--brand-grey); }
.step-num { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-green); color: #fff; font-family: 'Cormorant', serif; font-size: 1.75rem; font-weight: 500; margin: 0 auto 1.75rem; transition: transform 0.4s var(--ease); box-shadow: 0 12px 30px rgba(124, 194, 66, 0.45); }
.step:hover .step-num { transform: scale(1.08) rotate(-5deg); }
.step h3 { color: var(--brand-green-dark); font-size: 1.375rem; margin-bottom: 0.85rem; font-weight: 500; font-family: 'Cormorant', serif; }
.step p { color: var(--brand-grey); font-size: 0.95rem; line-height: 1.55; max-width: 28ch; margin: 0 auto; }
.process-cta { text-align: center; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; gap: 1.25rem; } }

/* GALLERY (placeholder tiles) */
.gallery-header p { color: var(--ink-soft); max-width: 42ch; }
@media (max-width: 768px) { .gallery-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; } }
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f4f4f3 0%, #e8e8e6 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-item-placeholder small { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-grey); font-weight: 600; }
.gallery-cta { text-align: center; margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .gallery-item.wide { grid-column: span 1; } }

/* TRUST */
.trust { background: var(--bg-alt); }
.trust-header { text-align: center; margin-bottom: 4rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.trust-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.trust-header .lead { margin: 1.25rem auto 0; }
.trust-tabs { display: flex; gap: 0.5rem; background: var(--bg-soft); padding: 0.4rem; border-radius: 100px; width: fit-content; margin: 2rem auto 3rem; border: 1px solid var(--line); }
.trust-tab { padding: 0.7rem 1.5rem; border: none; background: transparent; font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500; color: var(--brand-grey); cursor: pointer; border-radius: 100px; transition: all 0.4s var(--ease); letter-spacing: 0.02em; }
.trust-tab.active { background: var(--brand-grey-dark); color: #fff; }
.trust-tab:hover:not(.active) { color: var(--brand-grey-dark); }
.trust-panel { display: none; }
.trust-panel.active { display: block; animation: fadeIn 0.5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial { padding: 2.5rem; background: #fff; border-radius: var(--radius); position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); border: 1px solid var(--line); display: block; text-decoration: none; color: inherit; }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(31,31,33,0.12); border-color: var(--brand-green); }

/* Reviews hero - big number layout */
.reviews-hero { text-align: center; max-width: 720px; margin: 0 auto; padding: 1rem 0; }
.reviews-hero-pre { font-family: 'Cormorant', serif; font-size: 1.5rem; font-style: italic; color: var(--ink-mute); margin-bottom: 0.5rem; }
.reviews-hero-number { font-family: 'Cormorant', serif; font-size: clamp(6rem, 14vw, 11rem); font-weight: 500; line-height: 1; color: var(--brand-green-dark); letter-spacing: -0.02em; display: inline-block; position: relative; }
.reviews-hero-plus { font-size: 0.5em; color: var(--brand-green); vertical-align: super; margin-left: 0.1em; font-weight: 600; }
.reviews-hero-label { font-family: 'Cormorant', serif; font-size: 1.75rem; font-style: italic; color: var(--brand-grey-dark); margin: 0.75rem 0 1.25rem; }
.reviews-hero-sub { color: var(--ink-soft); font-size: 1rem; max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.6; }
.reviews-hero .review-badges { justify-content: center; margin-bottom: 0; }

/* Review badges */
.review-badges { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.review-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; color: var(--brand-grey-dark); font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600; transition: all 0.3s var(--ease); }
.review-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(31,31,33,0.18); border-color: var(--brand-green); }
.review-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.review-badge-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.review-badge-stars { color: var(--brand-green); font-size: 0.8rem; letter-spacing: 0.1em; }
.testimonial::before { content: '"'; position: absolute; top: 0.5rem; left: 1.5rem; font-family: 'Cormorant', serif; font-size: 5rem; color: var(--brand-green); opacity: 0.3; line-height: 1; }
.testimonial-stars { color: var(--brand-green); margin-bottom: 1.25rem; font-size: 0.95rem; letter-spacing: 0.15em; }
.testimonial blockquote { font-family: 'Cormorant', serif; font-size: 1.125rem; line-height: 1.55; color: var(--brand-grey-dark); font-weight: 500; margin-bottom: 1.5rem; font-style: italic; }
.testimonial cite { font-style: normal; font-size: 0.85rem; color: var(--ink-mute); }
.testimonial cite strong { display: block; color: var(--brand-grey-dark); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 2rem; }
  .testimonial blockquote { font-size: 1.05rem; }
  .review-badges { gap: 0.6rem; margin-bottom: 2rem; }
  .review-badge { padding: 0.6rem 0.95rem; gap: 0.45rem; }
  .review-badge-name { font-size: 0.92rem; }
  .review-badge-stars { font-size: 0.7rem; letter-spacing: 0.08em; }
  .reviews-hero-pre { font-size: 1.15rem; }
  .reviews-hero-label { font-size: 1.35rem; }
  .reviews-hero-sub { font-size: 0.92rem; margin-bottom: 2rem; }
}
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 0.85rem; border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.faq-item:hover { border-color: var(--brand-green); }
.faq-item.open { box-shadow: 0 12px 32px -16px rgba(31,31,33,0.12); border-color: var(--brand-green); }
.faq-q { padding: 1.5rem 1.75rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: 'Cormorant', serif; font-size: 1.125rem; font-weight: 500; color: var(--brand-grey-dark); user-select: none; transition: color 0.3s var(--ease); }
.faq-item.open .faq-q { color: var(--brand-green-dark); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; transition: transform 0.4s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a-inner { padding: 0 1.75rem 1.5rem; color: var(--brand-grey); line-height: 1.65; font-size: 0.98rem; }
.faq-item.open .faq-a { max-height: 500px; }
.trust-cta { text-align: center; margin-top: 3rem; }

/* FINANCING */
.financing { background: var(--brand-grey-dark); color: #fff; position: relative; overflow: hidden; }
.financing::after { content: ''; position: absolute; inset: 0; background: url('images/outdoor-pool-6-spa.webp') center/cover no-repeat; opacity: 0.18; z-index: 0; }
.financing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(124, 194, 66, 0.18), transparent 50%); z-index: 1; }
.financing .container { position: relative; z-index: 2; }
.financing-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.financing-content h2 { color: #fff; font-weight: 300; }
.financing-content h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.financing-content .eyebrow { color: var(--brand-green); }
.financing-content .eyebrow::before { background: var(--brand-green); }
.financing-content > p { color: rgba(255,255,255,0.78); font-size: 1.0625rem; margin: 1.5rem 0; max-width: 50ch; line-height: 1.65; }
.financing-perks { list-style: none; margin: 1.75rem 0 2.5rem; display: grid; gap: 0.85rem; }
.financing-perks li { color: rgba(255,255,255,0.85); display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.98rem; }
.financing-perks li svg { width: 20px; height: 20px; stroke: var(--brand-green); flex-shrink: 0; margin-top: 2px; fill: none; stroke-width: 2.5; }
.financing-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2.5rem; backdrop-filter: blur(10px); text-align: center; }
.financing-card-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-green); font-weight: 600; margin-bottom: 1.25rem; }
.financing-card h3 { color: #fff; font-family: 'Cormorant', serif; font-size: 2rem; font-weight: 500; margin-bottom: 0.85rem; }
.financing-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 1.75rem; }
.financing-card .btn { width: 100%; justify-content: center; }
.financing-card-note { margin-top: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
@media (max-width: 900px) { .financing-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* BLOG INDEX */
.blog { background: var(--bg); }
.blog-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.blog-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.blog-header p { color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 768px) { .blog-header { grid-template-columns: 1fr; gap: 1.5rem; } }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); cursor: pointer; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(31,31,33,0.15); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.75rem; }
.blog-card-cat { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-green-dark); font-weight: 600; margin-bottom: 0.85rem; }
.blog-card h3 { font-size: 1.25rem; font-family: 'Cormorant', serif; font-weight: 500; color: var(--brand-grey-dark); margin-bottom: 0.85rem; line-height: 1.25; }
.blog-card p { color: var(--brand-grey); font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.25rem; }
.blog-card-arrow { font-size: 0.85rem; color: var(--brand-green-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.3s var(--ease); }
.blog-card:hover .blog-card-arrow { gap: 0.7rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--brand-grey-dark); color: #fff; padding: 8rem 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: url('/images/stock/photo-1600596542815-ffad4c1539a9.webp') center/cover; opacity: 0.18; filter: grayscale(0.5); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
.cta-content h2 { color: #fff; font-weight: 300; }
.cta-content h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.cta-content > p { color: rgba(255,255,255,0.75); margin-top: 1.5rem; font-size: 1.125rem; max-width: 42ch; }
.cta-content .eyebrow { color: var(--brand-green); }
.cta-content .eyebrow::before { background: var(--brand-green); }
.cta-direct { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cta-direct .label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; font-weight: 600; }
.cta-phone { font-family: 'Cormorant', serif; font-size: clamp(1.875rem, 3.5vw, 2.875rem); font-weight: 500; color: #fff; text-decoration: none; letter-spacing: -0.015em; display: inline-block; transition: color 0.3s var(--ease); }
.cta-phone:hover { color: var(--brand-green); }
.form { background: #fff; padding: 2.75rem; border-radius: var(--radius); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); }
.form h3 { margin-bottom: 0.4rem; font-size: 1.5rem; color: var(--brand-grey-dark); font-family: 'Cormorant', serif; }
.form-sub { color: var(--ink-mute); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ============================================
   FORM FLIP | form rotates to thank-you message
   ============================================ */
.form-flip {
  perspective: 1600px;
  position: relative;
}
.form-flip-inner {
  position: relative;
  width: 100%;
  transition: transform 1.1s cubic-bezier(0.7, 0, 0.3, 1);
  transform-style: preserve-3d;
}
.form-flip.flipped .form-flip-inner {
  transform: rotateY(180deg);
}
.form-flip-front,
.form-flip-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius);
}
.form-flip-front {
  position: relative;
  z-index: 2;
}
.form-flip.flipped .form-flip-front {
  /* once flipped, hide front so it doesn't catch clicks/cursor */
  pointer-events: none;
}
.form-flip-back {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: rotateY(180deg);
  background: #fff;
  padding: 3rem 2.75rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.form-flip-back-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 28px rgba(124, 194, 66, 0.45);
  opacity: 0;
  transform: scale(0.4);
}
.form-flip.flipped .form-flip-back-icon {
  animation: thankyouPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s forwards;
}
@keyframes thankyouPop {
  0% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}
.form-flip-back-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.form-flip-back h3 {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  color: var(--brand-grey-dark);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 22ch;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(14px);
}
.form-flip.flipped .form-flip-back h3 {
  animation: thankyouFade 0.7s var(--ease-out) 0.7s forwards;
}
.form-flip-back h3 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.form-flip-back p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 36ch;
  margin: 0 auto 0.5rem;
  opacity: 0;
  transform: translateY(14px);
}
.form-flip.flipped .form-flip-back p {
  animation: thankyouFade 0.7s var(--ease-out) 0.85s forwards;
}
.form-flip-back .small-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(14px);
}
.form-flip.flipped .form-flip-back .small-note {
  animation: thankyouFade 0.7s var(--ease-out) 1s forwards;
}
@keyframes thankyouFade {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.field { margin-bottom: 0.5rem; }
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.15rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 0.3rem 0 0.55rem; background: transparent; border: none; border-bottom: 1.5px solid var(--line); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--brand-grey-dark); transition: border-color 0.3s var(--ease); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--brand-green); }
.field textarea { resize: vertical; min-height: 60px; padding: 0.5rem 0; }

/* reCAPTCHA spacing */
.recaptcha-wrap { margin: 0.5rem 0 0; min-height: 0; }
.recaptcha-wrap:not(:empty) { margin: 1rem 0 0; min-height: 78px; }

/* Remove Chrome/Safari autofill yellow background */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--brand-grey-dark) !important;
  transition: background-color 5000s ease-in-out 0s;
}
.form .btn { width: 100%; justify-content: center; margin-top: 1rem; background: var(--brand-green); color: #fff; border: none; }
.form .btn:hover { background: var(--brand-green-dark); transform: translateY(-2px); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 3rem; } .cta { padding: 5rem 0; } .form { padding: 2rem; } }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 11rem 0 5rem;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(124, 194, 66, 0.08), transparent 50%);
}
.page-hero-inner { position: relative; }
.page-hero .breadcrumb { font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.page-hero .breadcrumb a { color: var(--brand-green-dark); text-decoration: none; transition: color 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--brand-green); }
.page-hero .breadcrumb span { color: var(--ink-mute); margin: 0 0.5rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); color: var(--brand-grey-dark); font-weight: 300; margin-bottom: 1.25rem; max-width: 22ch; }
.page-hero h1 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.page-hero .lead { color: var(--ink-soft); margin-bottom: 2rem; max-width: 60ch; }
.page-hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* SERVICE PAGE | features grid */
.service-features { background: var(--bg); }
.service-features-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.service-features-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.service-features-header .lead { margin: 1.25rem auto 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { padding: 0; text-align: left; }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--brand-green-soft, rgba(124, 194, 66, 0.12));
  background: rgba(124, 194, 66, 0.12);
  color: var(--brand-green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature-item h3 { font-size: 1.125rem; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--brand-grey-dark); margin-bottom: 0.65rem; letter-spacing: -0.01em; }
.feature-item p { color: var(--brand-grey); font-size: 0.95rem; line-height: 1.6; }

/* SERVICE PAGE | gallery (placeholder grid for client photos) */
.service-gallery { background: var(--bg-alt); }
.service-gallery-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.service-gallery-header h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.service-gallery-header .lead { margin: 1.25rem auto 0; }
.service-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .service-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-gallery-grid { grid-template-columns: 1fr; } }
.service-gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f4f4f3 0%, #e8e8e6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.service-gallery-item:hover { border-color: var(--brand-green); transform: translateY(-2px); }

/* Real photo gallery items */
.service-gallery-photo {
  cursor: pointer;
  background: var(--brand-grey-dark);
}

/* Multi-project layout | used when multiple completed projects shown on one page */
.project-block { margin-bottom: 5rem; }
.project-block:last-child { margin-bottom: 0; }
.project-block-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.project-block-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 0.75rem;
}
.project-block-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--brand-grey-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.project-block-meta {
  font-size: 0.95rem;
  color: var(--ink-mute);
  font-style: italic;
  max-width: 60ch;
  margin: 0 auto;
}
.service-gallery-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.service-gallery-photo:hover img { transform: scale(1.06); }
.service-gallery-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31,31,33,0.78) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-gallery-photo:hover::after { opacity: 1; }
.service-gallery-caption {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 2; color: #fff;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0; transform: translateY(8px);
  transition: all 0.4s var(--ease);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.service-gallery-photo:hover .service-gallery-caption {
  opacity: 1; transform: translateY(0);
}
.service-gallery-placeholder { text-align: center; color: var(--ink-mute); padding: 1.25rem; }
.service-gallery-placeholder svg { width: 32px; height: 32px; stroke: var(--brand-green); fill: none; stroke-width: 1.5; opacity: 0.7; margin: 0 auto 0.75rem; display: block; }
.service-gallery-placeholder small { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-grey); font-weight: 600; display: block; }
.service-gallery-placeholder span { font-family: 'Cormorant', serif; font-style: italic; font-size: 0.9rem; color: var(--brand-grey-dark); display: block; margin-top: 0.25rem; }

/* SERVICE PAGE | process strip */
.service-process { background: var(--bg); padding: 6rem 0; }
.service-process-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .service-process-grid { grid-template-columns: 1fr; gap: 2rem; } }
.service-process-grid h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.service-process-list { display: grid; gap: 2rem; }
.service-process-item { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.service-process-item:last-child { border-bottom: none; padding-bottom: 0; }
.service-process-item .num { font-family: 'Cormorant', serif; font-size: 2.5rem; font-weight: 500; color: var(--brand-green); line-height: 1; font-style: italic; }
.service-process-item h4 { font-family: 'Cormorant', serif; font-size: 1.375rem; font-weight: 500; color: var(--brand-grey-dark); margin-bottom: 0.4rem; }
.service-process-item p { color: var(--brand-grey); font-size: 0.98rem; line-height: 1.6; }

/* ============================================
   BLOG ARTICLE (post page)
   ============================================ */
.article { padding: 4rem 0 5rem; background: var(--bg); }
.article-eyebrow { display: flex; align-items: center; gap: 1rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--brand-green-dark); margin-bottom: 1.5rem; }
.article-eyebrow span { color: var(--ink-mute); font-weight: 500; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1.5rem; max-width: 24ch; line-height: 1.1; font-weight: 300; }
.article h1 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.article .article-lead { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 2.5rem; font-family: 'Cormorant', serif; font-weight: 500; }
.article-hero {
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 3rem; background: var(--bg-soft);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.75; }
.article-body h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); color: var(--brand-grey-dark); margin: 3.5rem 0 1.25rem; line-height: 1.2; }
.article-body h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }
.article-body h3 { font-size: 1.375rem; color: var(--brand-grey-dark); font-family: 'Cormorant', serif; font-weight: 500; margin: 2.5rem 0 0.85rem; }
.article-body p { margin-bottom: 1.4rem; }
.article-body p strong { color: var(--brand-grey-dark); font-weight: 600; }
.article-body ul { list-style: none; margin: 1.5rem 0 1.5rem; padding-left: 0; }
.article-body ul li { padding-left: 1.75rem; position: relative; margin-bottom: 0.85rem; line-height: 1.6; }
.article-body ul li::before {
  content: ''; position: absolute; left: 0; top: 0.65rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-green);
}
.article-body blockquote {
  border-left: 3px solid var(--brand-green);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--brand-grey-dark);
  font-weight: 400;
  line-height: 1.45;
}
.article-image {
  margin: 2.5rem 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}
.article-image img { width: 100%; height: auto; display: block; }
.article-image figcaption { padding: 0.85rem 1rem; font-size: 0.85rem; color: var(--ink-mute); text-align: center; font-style: italic; background: var(--bg-soft); }
.article-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.article-image-grid .article-image { margin: 0; }
@media (max-width: 600px) { .article-image-grid { grid-template-columns: 1fr; } }

.article-cta-card {
  margin: 3.5rem 0 2rem;
  padding: 2.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}
.article-cta-card h3 { font-family: 'Cormorant', serif; font-size: 1.5rem; color: var(--brand-grey-dark); font-weight: 500; margin-bottom: 0.85rem; }
.article-cta-card p { color: var(--ink-soft); margin-bottom: 1.5rem; max-width: 50ch; margin-left: auto; margin-right: auto; }

.article-back { padding: 2rem 0 0; }
.article-back a { color: var(--brand-green-dark); text-decoration: none; font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.article-back a:hover { gap: 0.85rem; }

/* Related */
.related-posts { background: var(--bg-alt); padding: 5rem 0; border-top: 1px solid var(--line); }
.related-posts h2 { text-align: center; margin-bottom: 3rem; font-size: 2rem; }
.related-posts h2 em { font-style: italic; color: var(--brand-green-dark); font-weight: 400; }

/* ============================================
   LIGHTBOX | gallery viewer
   ============================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 15, 17, 0.96);
  z-index: 10000;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.open {
  display: flex;
  opacity: 1;
  animation: lbFadeIn 0.3s var(--ease);
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem 1rem;
  position: relative;
  min-height: 0;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transition: opacity 0.25s var(--ease);
}
.lightbox-img.loading { opacity: 0; }
.lightbox-meta {
  padding: 1.25rem 5rem 2rem;
  text-align: center;
  color: rgba(255,255,255,0.92);
}
.lightbox-caption {
  font-family: 'Cormorant', serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.lightbox-counter {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Controls */
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.lightbox-close {
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
}
.lightbox-arrow:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-arrow svg { width: 26px; height: 26px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
  .lightbox-stage { padding: 4rem 0.75rem 1rem; }
  .lightbox-meta { padding: 1rem 1rem 1.5rem; }
  .lightbox-caption { font-size: 1rem; }
  .lightbox-close { top: 0.875rem; right: 0.875rem; width: 40px; height: 40px; }
  .lightbox-close svg { width: 18px; height: 18px; }
  .lightbox-arrow {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
  }
  .lightbox-arrow svg { width: 20px; height: 20px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}


    .ig-feed { width: 100%; }
    .ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
    .ig-grid .ig-tile { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
    .ig-grid .instagram-media,
    .ig-grid .ig-tile > iframe { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
    /* Mask the bottom footer (like button + timestamp) by overlaying a white panel */
    .ig-grid .ig-tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: #fff; pointer-events: none; }
    @media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .ig-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

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