/* ============================================
   HILL CITY ESTATE SERVICES & PRESSURE WASHING
   Shared Stylesheet
   ============================================ */

/* Google Fonts loaded via <link> in HTML for better performance (avoids render-blocking @import) */

/* ---- CSS Variables ---- */
:root {
  /* Estate Services (index.html) */
  --estate-dark:        #1E3A1E;
  --estate-dark-light:  #2D4A2D;
  --estate-gold:        #C9A84C;
  --estate-gold-light:  #D4B96A;
  --estate-cream:       #FDFBF7;
  --estate-cream-alt:   #F0EDE6;
  --estate-text:        #1A1A1A;
  --estate-text-light:  #4A4A4A;

  /* Pressure Washing (pressure-washing.html) */
  --pw-dark:            #0A0A0A;
  --pw-dark-light:      #141414;
  --pw-blue:            #5BC8E8;
  --pw-blue-light:      #7DD5EE;
  --pw-bg:              #F4F8FA;
  --pw-bg-alt:          #E8F4F8;
  --pw-text:            #1A1A1A;

  /* Shared */
  --transition:         all 0.3s ease;
  --shadow-sm:          0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:          0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:          0 16px 48px rgba(0,0,0,0.16);
  --radius:             4px;
  --radius-lg:          12px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }

/* ============================================
   SHARED HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2.5rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transform: translateY(0);
  transition: background 0.45s ease,
              box-shadow 0.45s ease,
              height 0.4s ease,
              padding 0.4s ease,
              transform 0.4s ease;
}

/* When scrolled past hero — slide in solid header */
.site-header.estate.scrolled {
  background: var(--estate-dark);
  box-shadow: 0 4px 28px rgba(0,0,0,0.4);
  height: 72px;
  padding: 0 2rem;
  transform: translateY(0);
}

.site-header.pw.scrolled {
  background: var(--pw-dark);
  box-shadow: 0 4px 28px rgba(0,0,0,0.5);
  height: 72px;
  padding: 0 2rem;
  transform: translateY(0);
}

/* Hidden state — used briefly before slide-in */
.site-header.hidden {
  transform: translateY(-100%);
}

.header-logo img {
  height: 88px;
  width: auto;
  transition: height 0.4s ease;
}

.site-header.scrolled .header-logo img {
  height: 60px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Estate Nav Links */
.estate .nav-link {
  color: rgba(255,255,255,0.75);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.estate .nav-link:hover {
  color: var(--estate-gold);
}
.estate .nav-link.active {
  color: var(--estate-gold);
  background: rgba(201, 168, 76, 0.15);
  font-weight: 700;
}

/* Pressure Washing Nav Links */
.pw .nav-link {
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.pw .nav-link:hover {
  color: var(--pw-blue);
}
.pw .nav-link.active {
  color: var(--pw-dark);
  background: var(--pw-blue);
  font-weight: 700;
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
}

/* CTA Button - Estate */
.btn-estate-cta {
  background: var(--estate-gold);
  color: var(--estate-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--estate-gold);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-estate-cta:hover {
  background: transparent;
  color: var(--estate-gold);
}

/* CTA Button - PW */
.btn-pw-cta {
  background: var(--pw-blue);
  color: var(--pw-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--pw-blue);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-pw-cta:hover {
  background: transparent;
  color: var(--pw-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  background: white;
  transition: var(--transition);
  display: block;
}
.mobile-nav {
  /* Always flex — visibility + opacity handle show/hide so transitions work */
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  padding: 1rem 2rem 1rem;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.mobile-nav.estate { background: var(--estate-dark); }
.mobile-nav.pw { background: var(--pw-dark); }
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-nav .nav-link { display: block; width: fit-content; padding: 0.4rem 1rem; font-size: 0.85rem; }
.mobile-nav .btn-estate-cta,
.mobile-nav .btn-pw-cta { display: inline-block; margin-top: 0.25rem; margin-right: 6rem; }

/* ============================================
   HEADER MORPH — NAV PILL & ENTRANCE FX
   ============================================ */

/* Nav pill — slides behind active link */
.header-nav {
  position: relative;
}
.nav-pill {
  position: absolute;
  height: 36px;
  border-radius: var(--radius);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  transition: left 0.55s cubic-bezier(0.65, 0, 0.35, 1),
              width 0.55s cubic-bezier(0.65, 0, 0.35, 1),
              background 0.5s ease,
              border-color 0.5s ease,
              border-radius 0.5s ease;
}
.estate .nav-pill {
  background: rgba(201, 168, 76, 0.12);
  border: 1.5px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
}
.pw .nav-pill {
  background: rgba(91, 200, 232, 0.12);
  border: 1.5px solid rgba(91, 200, 232, 0.25);
  border-radius: 100px;
}

/* Nav links need z-index above pill */
.header-nav .nav-link {
  position: relative;
  z-index: 1;
}

/* Header accent line */
.header-accent {
  position: fixed;
  top: 110px;
  left: 0; right: 0;
  height: 2px;
  z-index: 1000;
  opacity: 0;
  transition: top 0.4s ease, opacity 0.5s ease;
}
.site-header.scrolled ~ .header-accent,
.site-header.scrolled + .mobile-nav + .header-accent {
  top: 72px;
  opacity: 0.35;
}
.header-accent.estate { background: var(--estate-gold); }
.header-accent.pw { background: var(--pw-blue); }

/* ── Header Entrance Animations ── */
@keyframes headerLogoIn {
  from { opacity: 0; transform: translateX(-16px) scale(0.95); filter: blur(4px); }
  to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes headerNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes headerCtaIn {
  from { opacity: 0; transform: translateX(12px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes headerPillIn {
  from { opacity: 0; transform: translateY(-50%) scaleX(0.3); }
  to   { opacity: 1; transform: translateY(-50%) scaleX(1); }
}
@keyframes headerAccentWipe {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Apply entrance: staggered cascade */
.header-entering .header-logo {
  animation: headerLogoIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.header-entering .header-nav .nav-link:nth-child(1) {
  animation: headerNavIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.header-entering .header-nav .nav-link:nth-child(2) {
  animation: headerNavIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.header-entering .header-nav .nav-pill {
  animation: headerPillIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}
.header-entering .btn-estate-cta,
.header-entering .btn-pw-cta {
  animation: headerCtaIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
.header-entering ~ .header-accent {
  opacity: 0.35 !important;
  transform-origin: left;
  animation: headerAccentWipe 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* ── Header Exit Animations ── */
@keyframes headerLogoOut {
  to { opacity: 0; transform: translateX(-16px) scale(0.95); filter: blur(4px); }
}
@keyframes headerNavOut {
  to { opacity: 0; transform: translateY(-8px); }
}
@keyframes headerCtaOut {
  to { opacity: 0; transform: translateX(12px) scale(0.95); }
}

.header-exiting .header-logo {
  animation: headerLogoOut 0.3s ease forwards;
}
.header-exiting .header-nav .nav-link:nth-child(1) {
  animation: headerNavOut 0.25s ease 0.04s forwards;
}
.header-exiting .header-nav .nav-link:nth-child(2) {
  animation: headerNavOut 0.25s ease 0.08s forwards;
}
.header-exiting .header-nav .nav-pill {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.header-exiting .btn-estate-cta,
.header-exiting .btn-pw-cta {
  animation: headerCtaOut 0.25s ease 0.06s forwards;
}

/* ============================================
   HERO - SLIDESHOW
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

/* Estate hero overlay tinted green */
.hero.estate .hero-overlay {
  background: linear-gradient(to bottom,
    rgba(15, 35, 15, 0.65) 0%,
    rgba(20, 45, 20, 0.50) 50%,
    rgba(15, 35, 15, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 120px 2rem 2rem;
}

.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.75rem;
}

.estate .hero-eyebrow span {
  color: var(--estate-gold);
}
.pw .hero-eyebrow span {
  color: var(--pw-blue);
}

/* Estate Hero Typography */
.estate .hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  color: white;
  line-height: 1.25;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* PW Hero Typography */
.pw .hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.pw .hero-title span { color: var(--pw-blue); }
.estate .hero-title span { color: var(--estate-gold); }

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Primary hero button - Estate */
.btn-hero-primary-estate {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--estate-dark);
  background: var(--estate-gold);
  border: 2px solid var(--estate-gold);
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-hero-primary-estate:hover {
  background: transparent;
  color: var(--estate-gold);
}

.btn-hero-secondary-estate {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-hero-secondary-estate:hover {
  background: white;
  color: var(--estate-dark);
  border-color: white;
}

/* Primary hero button - PW (Book Now) */
.btn-book-now {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pw-dark);
  background: var(--pw-blue);
  border: 2px solid var(--pw-blue);
  padding: 1.15rem 3.5rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 8px 32px rgba(91, 200, 232, 0.4);
}
.btn-book-now:hover {
  background: white;
  color: var(--pw-dark);
  border-color: white;
  box-shadow: 0 12px 40px rgba(91, 200, 232, 0.5);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.8); }
}

/* ============================================
   SECTION WRAPPERS
   ============================================ */
.section {
  padding: 6rem 2rem;
}
.section-sm { padding: 4rem 2rem; }
.container {
  max-width: 1180px;
  margin: 0 auto;
}
.container-sm {
  max-width: 860px;
  margin: 0 auto;
}

/* Section Labels */
.section-label {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.estate .section-label, .section-label.estate { color: var(--estate-gold); }
.pw .section-label, .section-label.pw { color: var(--pw-blue); }

/* Section Titles */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-title.pw-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-divider {
  width: 60px;
  height: 2px;
  margin: 0 auto 1.5rem;
  display: block;
}
.section-divider.estate { background: var(--estate-gold); }
.section-divider.pw { background: var(--pw-blue); }

.section-body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--estate-text-light);
  max-width: 640px;
}

/* ============================================
   ESTATE - ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--estate-cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--estate-cream-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--estate-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--estate-gold);
}
.about-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}
.about-image-placeholder p {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--estate-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}
.about-badge-text {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--estate-gold);
  line-height: 1.4;
}
.about-content { padding-right: 1rem; }
.about-content .section-title { color: var(--estate-text); }
.about-content p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--estate-text-light);
  margin-bottom: 1.25rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--estate-text);
}
.trust-badge svg {
  color: var(--estate-gold);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   ESTATE - SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--estate-cream-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--estate-cream);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--estate-gold);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--estate-gold);
}
.service-icon-fa {
  font-size: 2.5rem;
  color: var(--estate-gold);
  margin-bottom: 1.25rem;
  display: block;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--estate-text);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--estate-text-light);
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--estate-gold);
}
.service-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.service-card-link:hover svg { transform: translateX(4px); }

/* Featured service card (dark variant — used for cross-brand links) */
.service-card--featured {
  background: var(--estate-dark);
  border-color: var(--estate-dark);
}
.service-card--featured .service-icon-fa { color: var(--estate-gold); }
.service-card--featured h3 { color: white; }
.service-card--featured p { color: rgba(255, 255, 255, 0.65); }

/* ============================================
   PW - SERVICES SECTION
   ============================================ */
.pw-services-section {
  background: var(--pw-bg);
}
.pw-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.pw-service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border-top: 4px solid var(--pw-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pw-service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.pw-service-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--pw-bg-alt);
  line-height: 1;
  margin-bottom: 1rem;
}
.pw-service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pw-text);
  margin-bottom: 0.75rem;
}
.pw-service-card p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #4A4A4A;
}

/* ============================================
   PW - BEFORE/AFTER GALLERY
   ============================================ */
.gallery-section {
  background: var(--pw-dark);
  padding: 6rem 2rem;
}
.gallery-section .section-title { color: white; }
.gallery-section .section-label { color: var(--pw-blue); }
.gallery-section .section-body { color: rgba(255,255,255,0.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 280px;
}
.gallery-pair-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-pair-label {
  position: absolute;
  bottom: 0; left: 0;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  color: white;
}
.gallery-pair-label.after {
  left: 50%;
  background: rgba(91,200,232,0.85);
  color: var(--pw-dark);
}
.gallery-single {
  height: 280px;
}
.gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   PW - INSTAGRAM SECTION
   ============================================ */
.instagram-section {
  background: var(--pw-bg-alt);
  padding: 5rem 2rem;
  text-align: center;
}
.instagram-embed-wrap {
  max-width: 500px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instagram-placeholder {
  padding: 3rem;
  text-align: center;
  color: var(--pw-text);
}
.instagram-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--pw-blue);
  margin: 0 auto 1rem;
}
.instagram-placeholder p {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}
.instagram-handle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pw-blue);
  margin-top: 1rem;
  display: inline-block;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.contact-section {
  padding: 6rem 2rem;
}
.contact-section.estate { background: var(--estate-cream); }
.contact-section.pw { background: var(--pw-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--estate-text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.pw-contact .contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--pw-text);
  margin-bottom: 1.25rem;
}

.contact-info p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--estate-text-light);
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--estate-text);
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.contact-detail a {
  color: var(--estate-text);
  transition: var(--transition);
}
.contact-detail a:hover {
  color: var(--estate-gold);
}
.pw-contact .contact-detail a {
  color: var(--pw-text);
}
.pw-contact .contact-detail a:hover {
  color: var(--pw-blue);
}
.estate .contact-detail svg { color: var(--estate-gold); }
.pw-contact .contact-detail svg { color: var(--pw-blue); }

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--estate-text);
  margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--estate-text);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--estate-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.pw-contact .form-input:focus,
.pw-contact .form-select:focus,
.pw-contact .form-textarea:focus {
  border-color: var(--pw-blue);
  box-shadow: 0 0 0 3px rgba(91,200,232,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit-estate {
  width: 100%;
  padding: 1rem;
  background: var(--estate-gold);
  color: var(--estate-dark);
  border: 2px solid var(--estate-gold);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.btn-submit-estate:hover {
  background: transparent;
  color: var(--estate-gold);
}
.btn-submit-pw {
  width: 100%;
  padding: 1rem;
  background: var(--pw-blue);
  color: var(--pw-dark);
  border: 2px solid var(--pw-blue);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.btn-submit-pw:hover {
  background: transparent;
  color: var(--pw-blue);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 4rem 2rem 2rem;
  text-align: center;
}
.site-footer.estate { background: var(--estate-dark); }
.site-footer.pw { background: var(--pw-dark); }

.footer-logo {
  margin: 0 auto 1.5rem;
  height: 80px;
  width: auto;
}
.footer-divider {
  width: 60px;
  height: 1px;
  margin: 1.5rem auto;
}
.estate .footer-divider { background: var(--estate-gold); opacity: 0.4; }
.pw .footer-divider { background: var(--pw-blue); opacity: 0.4; }

.footer-tagline {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.estate .footer-tagline { color: rgba(201,168,76,1.0); }
.pw .footer-tagline { color: rgba(91,200,232,1.0); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.footer-links a:hover {
  color: white;
}

.footer-contact {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.footer-contact a {
  color: rgba(255,255,255,0.80);
}
.footer-contact a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.05em;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.pt-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(102%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.pt-layer-1 { z-index: 1; }
.pt-layer-2 { z-index: 2; transition-delay: 0.06s; }

.pt-accent {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 4px;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pt-brand {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  opacity: 0;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.pt-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}
.pt-brand-sub {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Destination colors: Pressure Washing */
.page-transition[data-dest="pw"] .pt-layer-1 { background: #0A0A0A; }
.page-transition[data-dest="pw"] .pt-layer-2 { background: #141414; }
.page-transition[data-dest="pw"] .pt-accent { background: #5BC8E8; }
.page-transition[data-dest="pw"] .pt-brand-name { color: #5BC8E8; }
.page-transition[data-dest="pw"] .pt-brand-sub { color: rgba(255,255,255,0.75); }

/* Destination colors: Estate */
.page-transition[data-dest="estate"] .pt-layer-1 { background: #1E3A1E; }
.page-transition[data-dest="estate"] .pt-layer-2 { background: #2D4A2D; }
.page-transition[data-dest="estate"] .pt-accent { background: #C9A84C; }
.page-transition[data-dest="estate"] .pt-brand-name { color: #C9A84C; }
.page-transition[data-dest="estate"] .pt-brand-sub { color: rgba(255,255,255,0.75); }

/* State: layers cover the screen */
.pt-cover .pt-layer {
  transform: translateY(0) !important;
}
.pt-cover .pt-accent {
  transform: scaleX(1) !important;
}
.pt-cover .pt-brand {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}

/* State: layers swept off top */
.pt-exit-up .pt-layer {
  transform: translateY(-102%) !important;
  transition-delay: 0s;
}
.pt-exit-up .pt-layer-1 {
  transition-delay: 0.06s;
}
.pt-exit-up .pt-accent {
  transform: scaleX(0) !important;
  transform-origin: right;
}
.pt-exit-up .pt-brand {
  opacity: 0 !important;
  transform: translate(-50%, -60%) !important;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children — service cards, gallery cards */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Shared visible state must come BEFORE nth-child delays to avoid overriding them */
.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.4s; }

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  box-shadow: var(--shadow-md);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Estate back-to-top */
.back-to-top.estate {
  background: var(--estate-gold);
  color: var(--estate-dark);
}
.back-to-top.estate:hover {
  background: var(--estate-dark);
  color: var(--estate-gold);
}

/* PW back-to-top */
.back-to-top.pw {
  background: var(--pw-blue);
  color: var(--pw-dark);
}
.back-to-top.pw:hover {
  background: var(--pw-dark);
  color: var(--pw-blue);
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--estate-gold);
  color: var(--estate-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ============================================
   HEADER NAV CTA SPACING
   ============================================ */
.header-nav .btn-estate-cta,
.header-nav .btn-pw-cta {
  margin-left: 1rem;
}

/* ============================================
   SECTION HELPERS
   ============================================ */
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-intro .section-body { margin: 0 auto; }

.section-faq-estate {
  background: #f9f7f2;
  padding: 5rem 2rem;
}
.section-faq-pw {
  background: #f4f8fb;
  padding: 5rem 2rem;
}
.section-social-estate {
  background: var(--estate-dark);
  padding: 6rem 2rem;
}
.section-social-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-social-header .section-label { display: block; text-align: center; }

.pw-cta-strip {
  text-align: center;
  margin-top: 4rem;
}
.pw-cta-strip p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--pw-text);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-form--embedded {
  padding: 0;
  overflow: hidden;
}

/* ============================================
   SOCIAL ICON BUTTONS
   ============================================ */
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: nowrap;
}
.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}
.social-icon-btn--estate {
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--estate-gold);
}
.social-icon-btn--estate:hover,
.social-icon-btn--estate:focus {
  background: var(--estate-gold);
  color: var(--estate-dark);
}
.social-icon-btn--pw {
  border: 1px solid rgba(91, 200, 232, 0.4);
  color: var(--pw-blue);
}
.social-icon-btn--pw:hover,
.social-icon-btn--pw:focus {
  background: var(--pw-blue);
  color: var(--pw-dark);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-details {
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
}
.faq-details--estate { border: 1px solid #e0d9c8; }
.faq-details--pw { border: 1px solid #d0e8f2; }

.faq-summary {
  font-weight: 700;
  cursor: pointer;
}
.faq-summary--estate {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--estate-text);
}
.faq-summary--pw {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--pw-text);
}

.faq-answer {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  margin-top: 0.75rem;
  line-height: 1.8;
  color: var(--estate-text-light);
}
.faq-details--pw .faq-answer { color: #4A4A4A; }

.faq-answer .faq-link { color: var(--estate-gold); font-weight: 700; }
.faq-details--pw .faq-answer .faq-link { color: var(--pw-blue); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-content { padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-badge { right: 0; bottom: -1rem; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; position: fixed; top: 15px; right: 1.5rem; z-index: 1002; }
  .nav-pill { display: none; }
  .header-accent { display: none; }
  .section { padding: 4rem 1.25rem; }
  .gallery-pair { height: 200px; }
  .site-header { height: 65px; }
  .header-logo img { height: 48px; }
  .header-logo {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: left center;
  }
  .site-header.nav-open .header-logo {
    transform: scale(0.55) translateX(-30px);
    opacity: 0;
    pointer-events: none;
  }
  .site-header.estate.nav-open { background: var(--estate-dark); }
  .site-header.pw.nav-open { background: var(--pw-dark); }
}

@media (max-width: 500px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .trust-badges { flex-direction: column; gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
}
