/*
Theme Name: TL Plastering Essex
Version: 2.0.0
Description: Custom theme for TL Plastering Essex
Text Domain: tl-plastering
*/

/* ============================================================
   BRAND COLOURS & VARIABLES
   ============================================================ */
:root {
  --cream:      #fff6ea;
  --brown:      #735e59;
  --brown-dark: #4a3c38;
  --brown-mid:  #6b5550;
  --green:      #628474;
  --green-light:#9FE1CB;
  --sand:       #e8d8c4;
  --text-muted: #c4b0a8;
  --text-dim:   #8a7570;

  --font-head: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --max-w: 1100px;
  --radius: 6px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: #2c2521; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--brown-dark); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25rem; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section { padding: 3.5rem 1.25rem; }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }
.section-dark  { background: var(--brown-dark); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: #4f6d61; border-color: #4f6d61; color: #fff; text-decoration: none; }
.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--brown-dark); text-decoration: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-decoration: none;
}
.site-logo-text span { color: var(--green); }
.site-logo img { height: 44px; width: auto; }

.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }
.main-nav a { font-size: .9375rem; color: var(--brown); text-decoration: none; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: var(--green); }
.main-nav .current-menu-item a { color: var(--green); }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { font-size: .875rem; font-weight: 600; color: var(--brown-dark); text-decoration: none; }
.header-phone:hover { color: var(--green); text-decoration: none; }
.header-cta .btn { padding: .5rem 1rem; font-size: .875rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown-dark); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--sand); padding: 1rem 1.25rem 1.5rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .75rem; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--brown-dark); padding: .75rem 1rem; gap: .625rem; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; padding: .8rem; }
.mobile-cta-bar .btn-call { background: var(--green); border-color: var(--green); color: #fff; }
.mobile-cta-bar .btn-quote { background: transparent; border-color: var(--cream); color: var(--cream); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--green); padding: .75rem 1.25rem; }
.trust-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: #e1f5ee; }
.trust-item svg { width: 16px; height: 16px; stroke: var(--green-light); flex-shrink: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--sand); padding: .6rem 1.25rem; font-size: .8125rem; color: var(--brown); }
.breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb a { color: var(--brown); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { margin: 0 .4rem; color: var(--text-dim); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 2rem; }
.section-header h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-bottom: .375rem; }
.section-header p { font-size: 1rem; color: var(--brown); max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ============================================================
   HERO (shared between homepage and service pages)
   ============================================================ */
.page-hero { background: var(--brown-dark); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.page-hero-content { padding: 3rem 2rem 3rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--green); color: #e1f5ee; font-size: .8125rem; font-weight: 600; padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1.25rem; width: fit-content; }
.hero-badge svg { width: 13px; height: 13px; stroke: currentColor; }
.page-hero h1 { font-size: clamp(1.625rem, 4vw, 2.5rem); color: var(--cream); margin-bottom: .875rem; }
.page-hero h1 em { color: var(--green-light); font-style: normal; }
.hero-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.75rem; }
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 1.75rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--brown-mid); }
.hero-stat-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--green-light); line-height: 1; }
.hero-stat-label { font-size: .8125rem; color: var(--text-muted); margin-top: .2rem; }

/* Hero image panel */
.hero-images { display: grid; grid-template-rows: 1fr 90px; }
.hero-img-main { background: var(--brown-mid); overflow: hidden; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-img-strip { display: grid; border-top: 2px solid var(--brown-dark); }
.hero-img-strip.two-up { grid-template-columns: 1fr 1fr; }
.hero-img-strip.three-up { grid-template-columns: 1fr 1fr 1fr; }
.hero-thumb { background: #5a4540; overflow: hidden; position: relative; border-right: 2px solid var(--brown-dark); }
.hero-thumb:last-child { border-right: none; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb-label { position: absolute; bottom: 5px; left: 7px; font-size: .625rem; font-weight: 600; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .05em; background: rgba(0,0,0,.4); padding: 2px 5px; border-radius: 3px; }

@media (max-width: 768px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-content { padding: 2rem 1.25rem 1.5rem; }
  .hero-images { grid-template-rows: 200px 70px; border-top: 2px solid var(--brown-mid); }
}

/* ============================================================
   SERVICE / CONTENT CARDS (image top, text below)
   ============================================================ */
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 640px) {
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .cards-grid-3, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; transition: border-color .18s; }
.card:hover { border-color: var(--green); }
.card-img { overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img-md { height: 180px; }
.card-img-sm { height: 130px; }
.card-img-xs { height: 100px; }
.card-body { padding: 1rem 1.125rem; }
.card-body h3 { font-size: 1.125rem; margin-bottom: .375rem; }
.card-body h4 { font-size: 1rem; margin-bottom: .3rem; }
.card-body p { font-size: .9375rem; color: var(--brown); margin-bottom: .75rem; }
.card-link { font-size: .9rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .35rem; }
.card-link:hover { text-decoration: underline; }

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid { display: grid; gap: .625rem; }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 540px) {
  .gallery-grid-4, .gallery-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
.gallery-cell { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-cell:hover img { transform: scale(1.04); }

/* ============================================================
   TWO COLUMN LAYOUT (why + form)
   ============================================================ */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .two-col-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; padding: .625rem 0; border-bottom: 1px solid var(--sand); line-height: 1.55; }
.checklist li:last-child { border-bottom: none; }
.checklist li svg { width: 17px; height: 17px; stroke: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   QUOTE FORM (dark version — on cream/dark backgrounds)
   ============================================================ */
.quote-form { background: var(--brown-dark); border-radius: var(--radius); padding: 1.75rem; }
.quote-form h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: .25rem; }
.quote-form .form-intro { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .3rem; }
.form-field label { font-size: .8125rem; color: var(--text-muted); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { background: var(--brown-mid); border: 1px solid #8a7570; border-radius: var(--radius); padding: .6rem .875rem; font-family: var(--font-body); font-size: .9375rem; color: var(--cream); width: 100%; transition: border-color .15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8a7570; }
.form-field select option { background: var(--brown-mid); }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-full { margin-bottom: .75rem; }
.form-submit { margin-top: .875rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-privacy { font-size: .8rem; color: var(--text-dim); text-align: center; margin-top: .625rem; }
.form-privacy a { color: var(--text-muted); text-decoration: underline; }
.form-response { display: none; margin-top: .75rem; padding: .75rem 1rem; border-radius: var(--radius); font-size: .9rem; }
.form-response.success { background: #e1f5ee; color: #0F6E56; }
.form-response.error { background: #FCEBEB; color: #A32D2D; }

/* ============================================================
   AREA PILLS
   ============================================================ */
.area-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }
.area-pill { background: var(--sand); color: var(--brown-dark); font-size: .875rem; font-weight: 600; padding: .35rem .875rem; border-radius: 20px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 540px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.25rem; }
.review-stars { color: #b87d15; font-size: 1rem; margin-bottom: .5rem; letter-spacing: .1em; }
.review-text { font-size: .9375rem; color: var(--brown); line-height: 1.6; margin-bottom: .875rem; font-style: italic; }
.review-author { font-size: .875rem; font-weight: 700; color: var(--brown-dark); }
.review-location { font-size: .8125rem; color: var(--text-dim); }
.reviews-link { text-align: center; margin-top: 1.25rem; }
.reviews-link a { font-size: .9375rem; font-weight: 600; color: var(--green); }

/* ============================================================
   FULL SERVICE STRIP (dark band)
   ============================================================ */
.full-service-strip { background: var(--brown-dark); padding: 3rem 1.25rem; }
.full-service-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 768px) { .full-service-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.full-service-strip h2 { color: var(--cream); font-size: 1.625rem; margin-bottom: .75rem; }
.full-service-strip p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.service-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .875rem; }
.service-step { display: flex; align-items: center; gap: .875rem; }
.step-num { width: 30px; height: 30px; background: var(--green); color: #fff; border-radius: 50%; font-size: .875rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-text { font-size: .9375rem; color: var(--text-muted); }
.full-service-cta { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--green-light); text-decoration: none; }
.full-service-cta:hover { text-decoration: underline; color: var(--green-light); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-tag { font-size: .8125rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .375rem; display: block; }
.blog-date { font-size: .8125rem; color: var(--text-dim); }
.blog-card-title { font-size: 1rem; line-height: 1.4; margin-bottom: .375rem; }
.blog-card-title a { color: var(--brown-dark); text-decoration: none; }
.blog-card-title a:hover { color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--brown-dark); padding: 3rem 1.25rem 1.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--brown-mid); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--green-light); margin-bottom: .875rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col p, .footer-col a { font-size: .9rem; color: var(--text-muted); display: block; margin-bottom: .4rem; text-decoration: none; line-height: 1.55; }
.footer-col a:hover { color: var(--cream); }
.footer-logo { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--cream); display: block; margin-bottom: .625rem; }
.footer-logo span { color: var(--green-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p, .footer-bottom a { font-size: .8125rem; color: var(--text-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-muted); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--brown-dark); border-top: 2px solid var(--green); padding: 1rem 1.25rem; }
.cookie-banner.visible { display: block; }
.cookie-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-inner p { font-size: .875rem; color: var(--text-muted); margin: 0; flex: 1; }
.cookie-inner a { color: var(--green-light); }
.cookie-btns { display: flex; gap: .625rem; flex-shrink: 0; }
.cookie-btn { font-family: var(--font-body); font-size: .875rem; font-weight: 600; padding: .5rem 1.25rem; border-radius: var(--radius); cursor: pointer; border: 2px solid; }
.cookie-accept { background: var(--green); border-color: var(--green); color: #fff; }
.cookie-decline { background: transparent; border-color: var(--brown-mid); color: var(--text-muted); }

/* ============================================================
   POST / PAGE CONTENT
   ============================================================ */
.post-content { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem; font-size: 1.0625rem; line-height: 1.75; }
.post-content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.post-content h3 { font-size: 1.25rem; margin: 1.75rem 0 .625rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: .375rem; }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content blockquote { border-left: 4px solid var(--green); padding: .75rem 1.25rem; margin: 1.5rem 0; background: var(--cream); font-style: italic; color: var(--brown); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination .page-numbers { padding: .5rem .875rem; border: 1px solid var(--sand); border-radius: var(--radius); font-size: .9rem; color: var(--brown); text-decoration: none; }
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--green); color: var(--green); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 400px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  padding: 1rem;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: 0;
  width: 1px;
  height: 24px;
  background: var(--sand);
}
@media (max-width: 640px) {
  .process-step::after { display: none; }
}
.process-num {
  width: 40px;
  height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: .9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .875rem;
  flex-shrink: 0;
}
.process-content h4 {
  font-size: 1rem;
  margin-bottom: .375rem;
  color: var(--brown-dark);
}
.process-content p {
  font-size: .875rem;
  color: var(--brown);
  line-height: 1.6;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ba-block {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-block-header {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.ba-block-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.ba-tag {
  font-size: .75rem;
  font-weight: 700;
  background: #e1f5ee;
  color: #0F6E56;
  padding: .2rem .625rem;
  border-radius: 20px;
  white-space: nowrap;
}
.ba-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-size: .8125rem;
  color: var(--brown);
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.ba-slider {
  position: relative;
  overflow: hidden;
  height: 340px;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
@media (max-width: 540px) {
  .ba-slider { height: 260px; }
}
.ba-img-after {
  position: absolute;
  inset: 0;
  background: var(--sand);
}
.ba-img-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-img-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-img-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 3;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  pointer-events: none;
  z-index: 4;
}
.ba-label {
  position: absolute;
  bottom: 10px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: .2rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
  pointer-events: none;
  z-index: 5;
}
.ba-label-l { left: 10px; }
.ba-label-r { right: 10px; }
.ba-caption {
  padding: .875rem 1rem;
  font-size: .9rem;
  color: var(--brown);
  line-height: 1.6;
  border-top: 1px solid var(--sand);
}

/* ============================================================
   HERO PORTRAIT PAIR (Option B — two portrait images side by side)
   ============================================================ */
.hero-portrait-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 2px solid var(--brown-dark);
}
.hero-portrait-img {
  position: relative;
  overflow: hidden;
  background: var(--brown-mid);
  border-right: 2px solid var(--brown-dark);
  min-height: 380px;
}
.hero-portrait-img:last-child { border-right: none; }
.hero-portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-portrait-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: .6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: .2rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-portrait-label-after {
  background: rgba(98,132,116,.85);
}

@media (max-width: 768px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-portrait-pair {
    border-left: none;
    border-top: 2px solid var(--brown-dark);
    min-height: 260px;
  }
  .hero-portrait-img { min-height: 240px; }
  .page-hero-content { padding: 2rem 1.25rem 1.5rem; }
}

/* ============================================================
   FLIP CARDS
   ============================================================ */
.flip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .flip-grid { grid-template-columns: 1fr; }
}

.flip-block {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-block-header {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.flip-block-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.flip-tag {
  font-size: .75rem;
  font-weight: 700;
  background: #e1f5ee;
  color: #0F6E56;
  padding: .2rem .625rem;
  border-radius: 20px;
  white-space: nowrap;
}
.flip-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  font-size: .8125rem;
  color: var(--brown);
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.flip-scene {
  width: 100%;
  aspect-ratio: 4/5;
  perspective: 1000px;
  cursor: pointer;
  display: block;
}
@media (max-width: 640px) {
  .flip-scene { aspect-ratio: 3/4; }
}
.flip-scene:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.flip-card.flipped { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.flip-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.flip-back { transform: rotateY(180deg); }
.flip-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: .6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.5);
  padding: .2rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.flip-badge-after { background: rgba(98,132,116,.85); }
.flip-controls {
  padding: .75rem 1rem;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.flip-toggle {
  display: flex;
  background: var(--cream);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.flip-btn {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  padding: .3rem .875rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--brown);
  transition: background .15s, color .15s;
}
.flip-btn.active {
  background: var(--green);
  color: #fff;
}
.flip-caption {
  font-size: .8125rem;
  color: var(--brown);
  line-height: 1.5;
  margin: 0;
  padding-top: .25rem;
}

/* ============================================================
   RELATED SERVICES GRID
   ============================================================ */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .related-services-grid { grid-template-columns: 1fr; }
}
.related-service-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  transition: border-color .18s;
}
.related-service-card:hover { border-color: var(--green); }
.related-service-card-body { padding: 1.25rem; }
.related-service-card h4 { font-size: 1rem; margin-bottom: .375rem; color: var(--brown-dark); }
.related-service-card p { font-size: .9rem; color: var(--brown); margin-bottom: .75rem; }
.related-service-card a { font-size: .875rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.related-service-card a:hover { text-decoration: underline; }

/* ============================================================
   CHECKLIST SVG ICON
   ============================================================ */
.check-icon {
  width: 17px;
  height: 17px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.area-pill-more {
  background: var(--green);
  color: #fff;
}

/* ============================================================
   FULL SERVICE CARD (decorating page — contained, not full bleed)
   ============================================================ */
.full-service-card {
  background: var(--brown-dark);
  border-radius: 16px;
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 4px 24px rgba(74,60,56,.18);
}
@media (max-width: 768px) {
  .full-service-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
}
.full-service-card-text h2 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.full-service-card-text p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.full-service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-light);
  text-decoration: none;
  margin-top: 1.25rem;
}
.full-service-card-cta:hover { text-decoration: underline; color: var(--green-light); }

.full-service-card-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.full-service-card-steps li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.full-service-card-steps li:last-child { border-bottom: none; }
.fsc-num {
  width: 30px; height: 30px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fsc-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-top: .3rem;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-outer { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex: 0 0 calc(50% - .625rem);
}
@media (max-width: 640px) {
  .carousel-slide { flex: 0 0 100%; }
}
.carousel-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sand);
  aspect-ratio: 4/5;
  background: var(--sand);
}
.carousel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.carousel-img-label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-size: .6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(98,132,116,.85);
  padding: .2rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.carousel-caption { padding: .875rem .25rem 0; }
.carousel-tag {
  font-size: .75rem;
  font-weight: 700;
  background: #e1f5ee;
  color: #0F6E56;
  padding: .2rem .625rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: .5rem;
}
.carousel-caption h4 {
  font-size: 1rem;
  color: var(--brown-dark);
  margin-bottom: .375rem;
}
.carousel-caption p {
  font-size: .9rem;
  color: var(--brown);
  line-height: 1.6;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.carousel-dot.active { background: var(--green); }
.carousel-arrows { display: flex; gap: .5rem; }
.carousel-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
}
.carousel-arrow:hover { border-color: var(--green); background: var(--green); }
.carousel-arrow svg {
  width: 16px; height: 16px;
  stroke: var(--brown);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .15s;
}
.carousel-arrow:hover svg { stroke: #fff; }

/* ============================================================
   FLIP GRID (rendering page — two flip cards side by side)
   ============================================================ */
.flip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
@media (max-width: 640px) {
  .flip-grid { grid-template-columns: 1fr; }
}

/* Fixed height header so both cards align regardless of title length */
.flip-block-header-fixed {
  min-height: 52px;
}

/* ============================================================
   AFTER PAIR (rendering page — two landscape after shots)
   ============================================================ */
.after-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .after-pair { grid-template-columns: 1fr; }
}
.after-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.after-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand);
}
.after-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.after-card-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: .6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(98,132,116,.85);
  padding: .2rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.after-card-body {
  padding: .875rem 1rem;
}
.after-card-body h4 {
  font-size: 1rem;
  color: var(--brown-dark);
  margin-bottom: .375rem;
  margin-top: .375rem;
}
.after-card-body p {
  font-size: .9rem;
  color: var(--brown);
  line-height: 1.6;
}

/* ============================================================
   DAMP ADVICE CARD
   ============================================================ */
.damp-advice-card {
  background: var(--brown-dark);
  border-radius: 16px;
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 4px 24px rgba(74,60,56,.18);
}
@media (max-width: 768px) {
  .damp-advice-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
}
.damp-advice-text h2 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: .875rem;
}
.damp-advice-text p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: .875rem;
}
.damp-advice-text p:last-child { margin-bottom: 0; }
.damp-advice-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.damp-advice-points li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.damp-advice-points li:last-child { border-bottom: none; }
.damp-advice-points li svg {
  width: 17px;
  height: 17px;
  stroke: var(--green-light);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}