/*
Theme Name: Shamrock Renovations
Theme URI: https://shrenovation.ie
Description: Custom theme for Shamrock Renovations
Version: 2.0
*/

/* Google Fonts are loaded via wp_enqueue_style in functions.php — not here */

/* ============================================================
   DESIGN TOKENS — Editorial Luxury / Warm Cream Palette
============================================================ */
:root {
  --bg:            #FDFBF6;
  --surface:       #F2EDE3;
  --card:          #EAE4D8;
  --text:          #1C1A14;
  --text-muted:    #6B6456;
  --text-light:    #6E6557;
  --accent:        #2C5428;
  --accent-hover:  #3A6E34;
  --accent-pale:   rgba(44, 84, 40, 0.07);
  --accent-ring:   rgba(44, 84, 40, 0.14);
  --line:          rgba(28, 26, 20, 0.07);
  --line-strong:   rgba(28, 26, 20, 0.11);
  --white-8:       rgba(255,255,255,0.08);
  --white-15:      rgba(255,255,255,0.15);
  --white-25:      rgba(255,255,255,0.25);
  --shadow-card:   0 2px 12px rgba(28,26,20,0.06), 0 1px 3px rgba(28,26,20,0.04);
  --ease-spring:   cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 0.875rem;
  --r-md: 1.375rem;
  --r-lg: 2rem;
  --r-xl: 2.75rem;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Film-grain overlay — fixed, pointer-events none, GPU safe */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   FLOATING ISLAND NAVBAR
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: center;
}

/* Push header below WP admin bar when logged in (admin-bar class on <html>) */
.admin-bar .site-header {
  top: 46px; /* admin bar is 46px on mobile */
}
@media (min-width: 782px) {
  .admin-bar .site-header {
    top: 32px; /* admin bar is 32px on desktop */
  }
}

.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.625rem 0.75rem 0.625rem 1.5rem;
  pointer-events: all;
  background: rgba(253, 251, 246, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  box-shadow:
    0 4px 32px rgba(28, 26, 20, 0.14),
    0 1px 6px rgba(28, 26, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  max-width: 960px;
  width: 100%;
  transition: background 0.6s var(--ease-spring);
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent);
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  border-radius: 9999px;
  transition: color 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--accent-pale);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-pale);
}

/* CTA pill with nested icon */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 0.75rem 0.5625rem 1.375rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.4s var(--ease-spring), transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(44, 84, 40, 0.3);
}

.nav-cta:active {
  transform: scale(0.98);
}

.nav-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-spring);
}

.nav-cta:hover .nav-cta-icon {
  transform: translateX(2px) translateY(-1px);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  position: relative;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.4s var(--ease-spring);
}

/* Hamburger animates to X when open */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  background: rgba(253, 251, 246, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-spring), visibility 0.4s var(--ease-spring);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: 'Fraunces', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}

.mobile-nav-overlay.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-overlay.open .mobile-nav-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav-overlay.open .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-overlay.open .mobile-nav-link:nth-child(6) { transition-delay: 0.30s; }

/* ============================================================
   HERO SLIDER
============================================================ */
/* ============================================================
   STATIC HERO — Homepage (replaces slider)
   Uses <img> for proper LCP scoring rather than CSS background-image.
============================================================ */
.hero-static {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-static-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-static-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 10, 5, 0.82) 0%,
    rgba(12, 10, 5, 0.38) 45%,
    rgba(12, 10, 5, 0.10) 100%
  );
  z-index: 1;
}

.hero-static .container {
  position: relative;
  z-index: 2;
  padding-bottom: 5.5rem;
  padding-top: 8rem;
}

.static-inner {
  max-width: 720px;
}

.static-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.375rem;
  text-wrap: balance;
}

.static-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

.static-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

/* Service quick-link pills */
.static-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.static-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease-spring), border-color 0.3s, color 0.3s;
}

.static-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

@media (max-width: 640px) {
  .hero-static .container {
    padding-bottom: 4rem;
  }

  .static-services {
    gap: 0.375rem;
  }

  .static-pill {
    font-size: 0.6875rem;
    padding: 0.3rem 0.75rem;
  }
}

/* ============================================================
   HERO SLIDER (kept for reference — not active on homepage)
============================================================ */
.hero-slider {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 100dvh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* ============================================================
   SERVICE LANDING PAGE HERO (standalone, not a slider slide)
============================================================ */

/* Text shadow on all svc-hero text so it reads over any photo */
.svc-hero h1 {
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(0, 0, 0, 0.7),
    0 2px 6px  rgba(0, 0, 0, 0.6);
}

.svc-hero p,
.svc-hero nav,
.svc-hero a,
.svc-hero div[style*="display: inline-flex"] {
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.55);
}

.svc-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.svc-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 9rem;
  padding-top: 8rem;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Gradient vignette */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 5, 0.75) 0%, rgba(12, 10, 5, 0.3) 40%, rgba(12, 10, 5, 0.1) 100%);
  z-index: 0;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  padding-bottom: 9rem;
  padding-top: 8rem;
}

.slide-inner {
  max-width: 700px;
}

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.625rem;
}

.slide-inner h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.375rem;
  text-wrap: balance;
}

.slide-inner h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.slide-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slide dots — right-side vertical nav */
.slide-dots {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.slide-dot {
  width: 3px;
  height: 24px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
}

.slide-dot.active {
  background: #fff;
  height: 44px;
}

/* Progress bar */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 10;
  transition: width 0.08s linear;
}

/* Floating tab bar */
.slide-tabs {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
  z-index: 10;
  background: rgba(253, 251, 246, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.375rem;
}

.slide-tab {
  padding: 0.5rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.35s var(--ease-spring);
  white-space: nowrap;
}

.slide-tab.active {
  background: #fff;
  color: var(--text);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s var(--ease-spring);
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.btn:hover .btn-icon {
  transform: translateX(2px) translateY(-1px) scale(1.06);
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary .btn-icon {
  background: rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(44, 84, 40, 0.32);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-dark {
  background: var(--text);
  color: #fff;
}

.btn-dark .btn-icon {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  background: #2a2820;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 26, 20, 0.22);
}

.btn-white {
  background: #fff;
  color: var(--text);
}

.btn-white .btn-icon {
  background: rgba(28, 26, 20, 0.08);
}

.btn-white:hover {
  background: #f5f1e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  padding: 7rem 0;
}

.section-alt {
  background: var(--surface);
}

/* ============================================================
   SECTION HEADER
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.875rem;
  background: var(--accent-pale);
  border: 1px solid var(--accent-ring);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 3.375rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ============================================================
   SERVICES — ASYMMETRIC BENTO GRID
============================================================ */
.services-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 380px 320px;
  gap: 1rem;
}

/* Grid placements */
.svc-feature {
  grid-column: 1;
  grid-row: 1 / 3;
}

.svc-plaster {
  grid-column: 2;
  grid-row: 1;
}

.svc-painting {
  grid-column: 3;
  grid-row: 1;
}

.svc-flooring {
  grid-column: 2 / 4;
  grid-row: 2;
}

/* Double-bezel outer shell */
.svc-shell {
  height: 100%;
  background: rgba(28, 26, 20, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 0.375rem;
}

/* Inner core */
.svc-core {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: calc(var(--r-lg) - 6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.svc-core img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-spring);
  will-change: transform;
}

.svc-shell:hover .svc-core img {
  transform: scale(1.045);
}

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 4, 0.78) 0%, rgba(10, 8, 4, 0.18) 55%, transparent 100%);
}

.svc-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2rem;
}

.svc-title {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.svc-feature .svc-title {
  font-size: 2.5rem;
}

.svc-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 1.375rem;
  display: none;
}

.svc-feature .svc-desc {
  display: block;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: gap 0.3s var(--ease-spring);
}

.svc-shell:hover .svc-link {
  gap: 0.75rem;
}

.svc-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-spring), background 0.4s;
}

.svc-shell:hover .svc-link-icon {
  transform: translateX(3px) translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   WHY US — 2×2 GRID WITH NUMBERED ANCHORS
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.why-item {
  background: var(--bg);
  padding: 3rem 3rem 3.25rem;
  transition: background 0.4s var(--ease-spring);
  position: relative;
}

.why-item:hover {
  background: var(--surface);
}

.why-number {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(44, 84, 40, 0.09);
  letter-spacing: -0.06em;
  margin-bottom: 1.5rem;
  user-select: none;
  transition: color 0.4s var(--ease-spring);
}

.why-item:hover .why-number {
  color: rgba(44, 84, 40, 0.14);
}

.why-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--accent-pale);
  border: 1px solid var(--accent-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.why-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ============================================================
   PROJECTS — SPLIT BENTO
============================================================ */
.projects-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.proj-feature {
  grid-row: 1 / 3;
}

/* Double-bezel shell */
.proj-shell {
  height: 100%;
  background: rgba(28, 26, 20, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 0.375rem;
}

.proj-core {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: calc(var(--r-lg) - 6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.proj-core img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-spring);
  will-change: transform;
}

.proj-shell:hover .proj-core img {
  transform: scale(1.045);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 4, 0.72) 0%, transparent 55%);
  opacity: 0.8;
  transition: opacity 0.4s var(--ease-spring);
}

.proj-shell:hover .proj-overlay {
  opacity: 1;
}

.proj-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.proj-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.375rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.proj-info span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   TESTIMONIALS — FEATURED + STACK
============================================================ */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Featured — dark card */
.t-featured {
  background: var(--text);
  border-radius: var(--r-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

/* Background photo inside the featured testimonial card */
.t-featured-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.t-featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
}

.t-featured-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,10,5,0.55) 0%, rgba(12,10,5,0.2) 100%);
}

.t-featured::before {
  content: '\201C';
  position: absolute;
  top: -2rem;
  left: 2.25rem;
  font-family: 'Fraunces', serif;
  font-size: 14rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* Lift content above the bg image */
.t-featured .t-stars,
.t-featured blockquote,
.t-featured .t-author {
  position: relative;
  z-index: 2;
}

.t-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.t-stars svg {
  color: #F5C518;
  width: 17px;
  height: 17px;
}

.t-featured blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.5625rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-wrap: balance;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.t-featured .t-author strong {
  display: block;
  font-size: 0.9375rem;
  color: #fff;
}

.t-featured .t-author span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Small testimonials */
.t-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Double-bezel */
.t-sm-shell {
  background: rgba(28, 26, 20, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.375rem;
}

.t-sm-core {
  background: var(--bg);
  border-radius: calc(var(--r-md) - 6px);
  padding: 1.875rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.t-sm-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.875rem;
}

.t-sm-stars svg {
  color: #F5C518;
  width: 13px;
  height: 13px;
}

.t-sm blockquote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.t-sm .t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-sm .t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  background: var(--accent-pale);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.t-sm .t-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
}

.t-sm .t-author span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ============================================================
   CTA — EDITORIAL DARK PANEL (ROUNDED, INSET)
============================================================ */
.cta-wrap {
  padding: 0 2rem 5rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--text);
  border-radius: var(--r-xl);
}

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

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 5.5rem;
}

.cta-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.cta-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.cta-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 2.75rem;
  max-width: 430px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Contact cards on right */
.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  color: #fff;
  transition: background 0.3s var(--ease-spring), border-color 0.3s;
}

.cta-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.cta-contact span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  display: block;
}

.cta-contact strong {
  font-size: 1rem;
  color: #fff;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-about p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-spring);
}

.footer-social a:hover {
  background: var(--accent-pale);
  border-color: var(--accent-ring);
  color: var(--accent);
}

.footer-col h5 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin: 0;
}

.footer-preptech {
  font-size: 0.8125rem;
  color: var(--text-light);
  transition: color 0.3s;
  text-align: center;
}

.footer-preptech:hover {
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-light);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--text-muted);
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
  transition: all 0.4s var(--ease-spring);
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.48);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   Progressive enhancement — content visible by default.
   .js-reveal is added to <html> by main.js so the animation
   only activates when JS is confirmed running.
============================================================ */
.reveal {
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}

/* JS active — hide elements until observed */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
}

.reveal.revealed,
.js-reveal .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

/* ============================================================
   INNER PAGE HERO BANNER
============================================================ */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  display: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
  padding-top: 8rem;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.625rem;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(0, 0, 0, 0.7),
    0 2px 6px  rgba(0, 0, 0, 0.6);
}

.page-hero-sub {
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.85);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   CONTENT PAGE PATTERNS
============================================================ */
.prose-section {
  max-width: 780px;
  margin: 0 auto;
}

.prose-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.prose-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.prose-section p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prose-section ul,
.prose-section ol {
  padding-left: 1.5rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.prose-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.text-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-ring);
  transition: color 0.3s;
}

.text-link:hover {
  color: var(--accent-hover);
}

/* ============================================================
   TWO COLUMN FEATURE SECTION
============================================================ */
.two-col-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-feature img {
  border-radius: var(--r-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.feature-list-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE HIGHLIGHTS CARDS
============================================================ */
.service-highlights {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 1rem;
}

.highlight-card {
  background: rgba(28, 26, 20, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 2rem;
}

.highlight-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   FORM ELEMENTS
============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}

.form-group.full {
  grid-column: 1 / -1;
}

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

/* ============================================================
   STATS ROW
============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   TESTIMONIALS MASONRY
============================================================ */
.testimonials-masonry {
  column-count: 3;
  column-gap: 1rem;
}

.testimonial-brick {
  break-inside: avoid;
  margin-bottom: 1rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

/* ============================================================
   COUNTER ANIMATION
============================================================ */
.counter {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .services-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 280px;
  }

  .svc-feature {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .svc-plaster {
    grid-column: 1;
    grid-row: 2;
  }

  .svc-painting {
    grid-column: 2;
    grid-row: 2;
  }

  .svc-flooring {
    display: none;
  }

  .svc-feature .svc-title {
    font-size: 2.25rem;
  }

  .projects-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 4rem 3rem;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-island {
    padding: 0.5rem 0.75rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .services-bento {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 240px 240px;
  }

  .svc-feature {
    grid-column: 1;
    grid-row: 1;
  }

  .svc-plaster {
    grid-column: 1;
    grid-row: 2;
  }

  .svc-painting {
    grid-column: 1;
    grid-row: 3;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 2.25rem;
  }

  .projects-bento {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 220px 220px;
  }

  .proj-feature {
    grid-row: 1;
  }

  .cta-wrap {
    padding: 0 1rem 3rem;
  }

  .cta-panel {
    border-radius: var(--r-lg);
  }

  .cta-inner {
    padding: 3rem 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .slide-tabs {
    display: none;
  }

  .slide-dots {
    right: 1rem;
  }

  .two-col-feature {
    grid-template-columns: 1fr;
  }

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

  .service-highlights {
    grid-auto-columns: 1fr;
  }

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

  .testimonials-masonry {
    column-count: 1;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
  }

  .slide-inner h2 {
    font-size: 2.5rem;
  }
}

/* ============================================================
   MOBILE INNER PAGE FIXES
   Handles inline styles and svc-hero/page-hero on small screens
============================================================ */
@media (max-width: 768px) {

  /* 1. svc-hero (individual service landing pages) — reduce inline padding */
  .svc-hero .container {
    padding-top: 6rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* 3. Stack 2-column inline grids to single column */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 4. Reduce section padding where inline 7rem is used */
  section[style*="padding: 7rem"] {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  /* 5. Tighten page-hero container padding on mobile */
  .page-hero .container {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  /* 6. Ensure page-hero has enough height for the text on mobile */
  .page-hero {
    min-height: 420px;
  }

  /* 7. Scale down hero text on individual service pages */
  .svc-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
  }
}

/* ============================================================
   BLOG — LISTING PAGE
============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Featured card spans full width */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: box-shadow 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
}

.blog-card--featured:hover {
  box-shadow: 0 8px 40px rgba(28,26,20,0.10);
  transform: translateY(-2px);
}

/* Standard card */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: box-shadow 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
}

.blog-card:not(.blog-card--featured):hover {
  box-shadow: 0 6px 28px rgba(28,26,20,0.09);
  transform: translateY(-3px);
}

/* Thumbnail wrappers */
.blog-card-thumb-wrap {
  display: block;
  overflow: hidden;
  background: var(--surface);
}

.blog-card-thumb-wrap--featured {
  height: 100%;
  min-height: 360px;
}

.blog-card-thumb-wrap:not(.blog-card-thumb-wrap--featured) {
  height: 220px;
}

.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-spring);
}

.blog-card:hover .blog-card-thumb {
  transform: scale(1.04);
}

/* ---- Legacy placeholder (keep for safety, overridden below) ---- */
.blog-card-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Body */
.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.blog-card--featured .blog-card-body {
  padding: 2.5rem 3rem;
  justify-content: center;
}

/* Meta row */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-cat-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-pale);
  border: 1px solid var(--accent-ring);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-cat-pill--light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}

.blog-meta-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Titles */
.blog-card-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--text);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-title--featured {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* Read more link */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s var(--ease-spring);
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   BLOG — SINGLE POST
============================================================ */

.post-hero {
  padding-bottom: 3.5rem;
}

.post-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.18;
  color: #fff;
  max-width: 800px;
}

/* Two-column layout: article + sidebar */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* Author + share row */
.post-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 1px solid var(--accent-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.post-author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.post-author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
}

.post-share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Post body content styles */
.post-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.post-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.post-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.post-body p {
  margin-bottom: 1.375rem;
  color: var(--text);
}

.post-body p.post-intro {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.post-body ul,
.post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.375rem;
}

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

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.post-body a:hover {
  color: var(--accent-hover);
}

.post-body strong {
  font-weight: 700;
  color: var(--text);
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
}

.post-body table thead th {
  background: var(--surface);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-strong);
}

.post-body table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: top;
}

.post-body table tbody tr:last-child td {
  border-bottom: none;
}

.post-body table tbody tr:hover td {
  background: var(--accent-pale);
}

/* Blockquote */
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: var(--accent-pale);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Tags */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.post-tag {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.post-tag:hover {
  background: var(--accent-pale);
  border-color: var(--accent-ring);
  color: var(--accent);
}

/* Post nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.post-nav-item--next {
  text-align: right;
}

.post-nav-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.post-nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s;
}

.post-nav-link:hover {
  color: var(--accent-hover);
}

/* ============================================================
   BLOG SIDEBAR
============================================================ */

.post-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* CTA card */
.sidebar-cta {
  background: var(--accent);
  border-radius: var(--r-lg);
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sidebar-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.sidebar-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
}

.sidebar-cta p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  background: #fff;
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  align-self: flex-start;
  margin-top: 0.25rem;
}

.sidebar-cta-btn:hover {
  background: var(--bg);
  transform: translateY(-1px);
}

/* Recent posts */
.sidebar-recent {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.sidebar-recent-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.sidebar-recent-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.sidebar-recent-thumb {
  width: 64px;
  height: 54px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  display: block;
}

.sidebar-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.sidebar-recent-title:hover {
  color: var(--accent);
}

.sidebar-recent-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Services list */
.sidebar-services {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.sidebar-services-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sidebar-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-services-list a::after {
  content: '→';
  font-size: 0.875rem;
  color: var(--text-light);
  transition: transform 0.3s, color 0.3s;
}

.sidebar-services-list a:hover {
  background: var(--accent-pale);
  color: var(--accent);
}

.sidebar-services-list a:hover::after {
  color: var(--accent);
  transform: translateX(3px);
}

/* ============================================================
   BLOG — RESPONSIVE
============================================================ */

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .post-layout {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--featured {
    grid-template-columns: 1fr;
  }

  .blog-card-thumb-wrap--featured {
    height: 260px;
    min-height: 0;
  }

  .blog-card--featured .blog-card-body {
    padding: 1.75rem;
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-item--next {
    text-align: left;
  }
}

/* ============================================================
   BLOG HERO — EDITORIAL SPLIT (page-blog.php)
   Left: dark brand panel | Right: renovation photo
============================================================ */

.blog-hero-editorial {
  display: grid;
  grid-template-columns: 44fr 56fr;
  min-height: 520px;
  overflow: hidden;
}

/* Left panel */
.blog-hero-left {
  background: var(--text);
  display: flex;
  align-items: flex-end;
  padding: 8rem 3.5rem 4rem;
}

.blog-hero-left-inner {
  max-width: 460px;
}

.blog-eyebrow-light {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.blog-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.25rem, 4vw, 3.375rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.875rem;
}

.blog-hero-sub {
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 420px;
  margin-bottom: 2rem;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s;
}

.blog-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.blog-breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* Right panel */
.blog-hero-right {
  position: relative;
  overflow: hidden;
}

.blog-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease-out;
}

.blog-hero-editorial:hover .blog-hero-img {
  transform: scale(1.04);
}

.blog-hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 26, 20, 0.35) 0%, transparent 45%),
              linear-gradient(180deg, transparent 55%, rgba(28, 26, 20, 0.25) 100%);
  pointer-events: none;
}

/* Floating stat pills on the image */
.blog-hero-stats {
  position: absolute;
  bottom: 2rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.blog-hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(28, 26, 20, 0.14);
  white-space: nowrap;
}

/* ============================================================
   CATEGORY FILTER BAR
============================================================ */

.blog-filter-section {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1.125rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-filter-bar::-webkit-scrollbar {
  display: none;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
  letter-spacing: 0;
}

.blog-filter-btn:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-strong);
}

.blog-filter-btn.active {
  color: var(--accent);
  background: var(--accent-pale);
  border-color: var(--accent-ring);
}

.blog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 9999px;
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s var(--ease-out);
}

.blog-filter-btn.active .blog-filter-count {
  background: var(--accent-ring);
  color: var(--accent);
}

/* ============================================================
   BLOG LISTING — READ TIME META TAG
============================================================ */

.blog-read-time {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Section top spacing when filter bar is present */
.blog-listing-section {
  padding-top: 3.5rem;
}

/* ============================================================
   BLOG HERO — RESPONSIVE
============================================================ */

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

  .blog-hero-left {
    padding: 7.5rem 1.75rem 3rem;
    align-items: flex-end;
  }

  .blog-hero-left-inner {
    max-width: 100%;
  }

  .blog-hero-right {
    height: 280px;
  }

  .blog-hero-stats {
    flex-direction: row;
    bottom: 1.25rem;
    right: auto;
    left: 1.25rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .blog-hero-right {
    height: 220px;
  }

  .blog-hero-stat-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .blog-filter-btn {
    font-size: 0.8125rem;
    padding: 0.45rem 0.875rem;
  }
}

/* ============================================================
   BLOG CARDS — CREATIVE NO-IMAGE THUMBNAIL PANEL
   Replaces generic image placeholders with styled panels:
   soft gradient bg + oversized ghosted label + icon circle
============================================================ */

/* Panel fills the thumb-wrap entirely */
.blog-card-no-thumb {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: filter 0.5s var(--ease-spring);
}

.blog-card:hover .blog-card-no-thumb {
  filter: brightness(0.96);
}

/* Oversized ghosted label — rotated, purely decorative */
.blog-no-thumb-label {
  position: absolute;
  font-family: 'Fraunces', serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(28, 26, 20, 0.07);
  white-space: nowrap;
  transform: rotate(-10deg) translateY(-5%);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.025em;
  line-height: 1;
  z-index: 0;
}

/* Central icon circle */
.blog-no-thumb-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 26, 20, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow:
    0 2px 14px rgba(28, 26, 20, 0.09),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}

.blog-card:hover .blog-no-thumb-icon {
  transform: scale(1.1);
  box-shadow:
    0 4px 20px rgba(28, 26, 20, 0.13),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* ---- Category-specific backgrounds ---- */

/* Grants — warm sage */
.no-thumb--grants {
  background: linear-gradient(145deg, #E8F2E8 0%, #D0E6CF 60%, #C4DDBE 100%);
}
.no-thumb--grants .blog-no-thumb-label {
  color: rgba(44, 84, 40, 0.09);
}
.no-thumb--grants .blog-no-thumb-icon {
  color: var(--accent);
}

/* Bathroom Renovations — soft slate blue */
.no-thumb--bathroom {
  background: linear-gradient(145deg, #EBF1F8 0%, #D5E4F2 60%, #C8DAED 100%);
}
.no-thumb--bathroom .blog-no-thumb-label {
  color: rgba(40, 65, 100, 0.08);
}
.no-thumb--bathroom .blog-no-thumb-icon {
  color: #3A6FA0;
}

/* Flooring — warm amber */
.no-thumb--flooring {
  background: linear-gradient(145deg, #F5F0E8 0%, #EDE4D2 60%, #E4D8C0 100%);
}
.no-thumb--flooring .blog-no-thumb-label {
  color: rgba(90, 65, 20, 0.08);
}
.no-thumb--flooring .blog-no-thumb-icon {
  color: #8B6120;
}

/* Plastering — cool grey */
.no-thumb--plastering {
  background: linear-gradient(145deg, #F0EEEC 0%, #E4E0DA 60%, #D8D3CC 100%);
}
.no-thumb--plastering .blog-no-thumb-label {
  color: rgba(28, 26, 20, 0.07);
}

/* Default fallback */
.no-thumb--default {
  background: linear-gradient(145deg, var(--surface) 0%, var(--card) 100%);
}

/* ---- Hover kinetic on the thumb link ---- */
.blog-card-thumb-wrap:hover .blog-card-no-thumb {
  filter: brightness(0.97);
}

/* ============================================================
   STICKY MOBILE CTA BAR
   Hidden on desktop, fixed at bottom on mobile.
   Gives users a persistent Get a Quote + WhatsApp shortcut.
============================================================ */
.mobile-cta-bar {
  display: none; /* hidden by default; shown via media query below */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  gap: 0.625rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(253, 251, 246, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -4px 24px rgba(28, 26, 20, 0.08);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  /* Push page content above the bar so nothing is hidden behind it */
  body {
    padding-bottom: 80px;
  }
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1rem;
  border-radius: var(--r-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s var(--ease-spring);
}

.mobile-cta-btn:active {
  transform: scale(0.97);
}

.mobile-cta-quote {
  background: var(--accent);
  color: #fff;
}

.mobile-cta-quote:hover {
  background: var(--accent-hover);
}

.mobile-cta-wa {
  background: #25D366;
  color: #fff;
}

.mobile-cta-wa:hover {
  background: #1eb85a;
}

/* ============================================================
   THANK YOU / CONFIRMATION PAGE
============================================================ */
.ty-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 6rem 0 4rem;
}

.ty-panel {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.ty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 1px solid var(--accent-ring);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.ty-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.ty-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.125rem;
  line-height: 1.1;
}

.ty-message {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.625rem;
}

.ty-message strong {
  color: var(--text);
  font-weight: 600;
}

.ty-secondary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.ty-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.ty-footer {
  border-top: 1px solid var(--line-strong, rgba(28,26,20,0.1));
  padding-top: 1.5rem;
}

.ty-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.ty-trust-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.ty-trust-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .ty-hero {
    padding: 5rem 0 3rem;
    min-height: calc(100svh - 72px);
  }
  .ty-trust {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ============================================
   Fix: Policy pages hero - no bg image fallback
   page-id-141 = Health & Safety
   page-id-142 = Privacy Policy
   ============================================ */
.page-id-141 .page-hero,
.page-id-142 .page-hero {
  background-color: #0d2b1e;
}

.page-id-141 .page-hero h1,
.page-id-142 .page-hero h1 {
  text-shadow: none;
}
