/**
 * South Canyon Construction — single stylesheet
 * Extracted from Elementor kit post-2673.css (global) + post-3066.css (homepage)
 */

/* =========================================================
   CSS reset & base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 110px);
  width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

svg:not(.e-font-icon-svg):not(.site-header__phone-icon) {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 15px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* =========================================================
   Design tokens (post-2673.css global kit)
   ========================================================= */

:root {
  /* Brand colors */
  --color-primary: #35a077;
  --color-secondary: #3b755f;
  --color-accent: #000000;
  --color-accent-hover: #961040;
  --color-cta: #ff0000;
  --color-cta-alt: #ff0000;
  --color-cta-phone-bg: #742812;
  --color-ppc-cta: #a32020;
  --color-ppc-cta-hover: #8a1b1b;

  /* Neutrals */
  --color-text: #ffffff;
  --color-text-dark: #111111;
  --color-text-body: #000000;
  --color-text-muted: #a7a7a7;
  --color-text-label: #292929;
  --color-text-subtle: #787878;

  --color-bg: #ffffff;
  --color-bg-light: #f8f8f8;
  --color-bg-warm: #fffcfc;
  --color-bg-soft: #fffafa;
  --color-bg-overlay: #020101;
  --color-border: #d9d9d9;

  /* Typography families (two-font system) */
  --font-heading: "DM Serif Display", sans-serif;
  --font-body: "Quattrocento", serif;
  --font-subheading: var(--font-heading);
  --font-ui: var(--font-body);

  /* Typography scale */
  --font-size-body: 15px;
  --font-size-body-lg: 18px;
  --font-size-button: 15px;
  --font-size-h1: clamp(1rem, -1.8rem + 8.96vw, 3.8rem);
  --font-size-h2: 52px;
  --font-size-h3: 42px;
  --font-size-h4: 32px;
  --font-size-section-title: 41px;

  --line-height-heading: 1.1em;
  --line-height-body: 1.7em;
  --line-height-body-tight: 1.5em;
  --letter-spacing-body: -0.6px;

  /* Layout */
  --container-max: 1250px;
  --container-wide: 1250px;
  --container-narrow: 1250px;
  --gutter: 15px;
  --section-gap: 60px;

  /* Radii & shadows */
  --radius-sm: 8px;
  --radius-md: 25px;
  --radius-pill: 29px;
  --shadow-card: 0 10px 20px -10px rgba(0, 0, 0, 0.3);

  /* Header layout (desktop header scrolls away — no sticky offset) */
  --header-offset: 0px;
  --header-bar-bg: #33524654;
  --header-bar-bg-ppc: #335246;
  --header-inner-max: 1500px;
  --header-logo-width: 350px;
  --header-submenu-bg: var(--color-text-dark);
  --mobile-action-bar-height: 0px;
}

/* =========================================================
   Base typography & body
   ========================================================= */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
}

h1 {
  font-size: var(--font-size-h1);
  letter-spacing: 0;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: 800;
}

h5 {
  font-family: var(--font-subheading);
  font-size: 24px;
  font-weight: 800;
}

h6 {
  font-family: var(--font-subheading);
  font-size: 18px;
  font-weight: 700;
}

a {
  color: var(--color-text-muted);
}

a:hover {
  color: var(--color-accent-hover);
}

label {
  color: var(--color-text-label);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
}

/* Shared inner container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Responsive breakpoints (desktop-first)
   ========================================================= */

@media (max-width: 1024px) {
  :root {
    --font-size-h1: 55px;
    --font-size-h2: 45px;
    --font-size-h3: 35px;
    --font-size-h4: 25px;
    --font-size-section-title: 45px;
    --header-offset: 72px;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-h1: 40px;
    --font-size-h2: 33px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-body: 14px;
    --font-size-section-title: 33px;
    --section-gap: 40px;
    --header-offset: 72px;
  }
}

/* --- Page hero (background image + overlay) --- */
/* Extracted from Elementor post-3066 (homepage) + post-30xx (service/location) */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
  padding: 320px 200px 200px;
  color: var(--color-text);
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.12);
  background-image: var(--page-hero-bg-image);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, var(--page-hero-overlay, 0.75));
  z-index: 1;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-hero__kicker {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
}

.page-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 3.9rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--color-text);
}

.page-hero__desc {
  margin: 16px auto 0;
  max-width: 900px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.page-hero__desc p:last-child {
  margin-bottom: 0;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding-top: 8px;
}

.page-hero__cta,
.page-hero__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Homepage hero CTA — solid red (post-3066 / kit post-2673) */
.page-hero__cta {
  background-color: var(--color-cta);
  color: var(--color-text);
  border: 1px solid var(--color-cta);
  font-size: 20px;
}

.page-hero__cta:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text);
}

/* Service / location pages (Elementor post-30xx hero dimensions) */
.page-hero--service {
  min-height: 60vh;
  padding: 250px 200px 160px;
}

.page-hero--service .page-hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero--service .page-hero__title {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 900;
}

.page-hero--service .page-hero__desc {
  margin-top: 32px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

/* Service hero CTAs — same palette as page body (post-3094) */
.page-hero--service .page-hero__cta {
  background-color: var(--color-cta);
  border: 1px solid var(--color-cta);
  font-size: 16px;
}

.page-hero--service .page-hero__cta:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text);
}

.page-hero__phone {
  background-color: var(--color-cta-phone-bg);
  color: var(--color-text);
  border: 1px solid var(--color-cta);
}

.page-hero__phone:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text);
}

@media (min-width: 1025px) {
  .page-hero--service .page-hero__title {
    font-size: 46px;
    font-weight: 900;
  }
}

@media (max-width: 1024px) {
  .page-hero:not(.page-hero--service):not(.page-hero--compact) {
    min-height: 70vh;
    justify-content: center;
    padding: 100px 0 0;
  }

  .page-hero:not(.page-hero--service):not(.page-hero--compact) .page-hero__title {
    font-size: 55px;
  }

  .page-hero:not(.page-hero--service):not(.page-hero--compact) .page-hero__desc {
    font-size: 25px;
  }

  .page-hero--service {
    min-height: 60vh;
    justify-content: center;
    padding: 100px 0 0;
  }

  .page-hero--service .page-hero__inner {
    max-width: 1100px;
    padding: 0 15px;
  }

  .page-hero--service .page-hero__title {
    font-size: 42px;
  }

  .page-hero--service .page-hero__desc {
    padding: 0 16px;
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  .page-hero:not(.page-hero--service):not(.page-hero--compact) {
    min-height: 90vh;
    padding: 180px 15px 0;
  }

  .page-hero:not(.page-hero--service):not(.page-hero--compact) .page-hero__title {
    font-size: 40px;
    padding-top: 40px;
  }

  .page-hero:not(.page-hero--service):not(.page-hero--compact) .page-hero__desc {
    font-size: 22px;
  }

  .page-hero--service {
    min-height: 620px;
    padding: 220px 0 0;
  }

  .page-hero--service .page-hero__title {
    font-size: 36px;
    padding-top: 40px;
  }

  .page-hero--service .page-hero__desc {
    font-size: 20px;
  }

  .page-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    padding-inline: 15px;
  }

  .page-hero__cta,
  .page-hero__phone {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding: 14px 8px;
    font-size: 14px;
  }
}

/* Gallery, contact, and other title-only heroes (Elementor post-3090 / f650b32) */
.page-hero.page-hero--compact {
  min-height: 50vh;
  justify-content: center;
  align-items: center;
  padding: 104px 20px 0;
}

.page-hero.page-hero--compact .page-hero__inner {
  max-width: 1250px;
  padding: 0 15px;
}

.page-hero.page-hero--compact .page-hero__title {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 900;
}

@media (max-width: 1024px) {
  .page-hero.page-hero--compact {
    min-height: 50vh;
    padding: 100px 15px 0;
  }

  .page-hero.page-hero--compact .page-hero__title {
    font-size: 42px;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .page-hero.page-hero--compact {
    min-height: 70vh;
    justify-content: center;
    align-items: center;
    padding: 180px 15px 0;
  }

  .page-hero.page-hero--compact .page-hero__title {
    font-size: 36px;
    padding-top: 0;
  }
}

/* --- Hero background video --- */

/* --- PPC hero section --- */
/* Extracted from Elementor post-9603 (canvas) + post-8768/8772 (theme-builder) */

.ppc-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 100px 15px 140px;
  color: var(--color-text);
  text-align: left;
}

.ppc-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0;
  align-items: start;
}

.ppc-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ppc-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1rem, -1.8rem + 8.96vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-text);
  text-align: start;
}

.ppc-hero__desc {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  text-align: start;
}

.ppc-hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.ppc-hero__promo {
  margin: 0 0 12px;
  padding: 0 0 12px 40px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.ppc-hero__form {
  background-color: rgba(12, 11, 11, 0.15);
  padding: 0 40px 40px;
}

.ppc-hero__form .estimate-section,
.ppc-hero__form .estimate-section__inner {
  padding: 0;
  margin: 0;
  background: transparent;
  max-width: none;
}

.ppc-hero__form .estimate-section__inner {
  display: block;
}

.ppc-hero__form .estimate-section__copy {
  display: none;
}

.ppc-hero__form .estimate-section__form-wrap {
  width: 100%;
  padding: 0;
}

.ppc-hero__form .estimate-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ppc-hero__form .estimate-form__fields {
  gap: 10px;
}

.ppc-hero__form .estimate-form__row {
  gap: 10px;
}

.ppc-hero__form .estimate-form__field {
  gap: 0;
}

.ppc-hero__form .estimate-form__select {
  width: 100%;
  margin-top: 0;
}

.ppc-hero__form .estimate-form__input,
.ppc-hero__form .estimate-form__select,
.ppc-hero__form .estimate-form__input--textarea {
  background-color: rgba(255, 255, 255, 0.48);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-dark);
}

.ppc-hero__form .estimate-form__input::placeholder,
.ppc-hero__form .estimate-form__input--textarea::placeholder {
  color: rgba(17, 17, 17, 0.55);
}

.ppc-hero__form .estimate-form__input:focus,
.ppc-hero__form .estimate-form__select:focus,
.ppc-hero__form .estimate-form__input--textarea:focus {
  background-color: rgba(255, 255, 255, 0.72);
  outline: 2px solid var(--color-primary);
  outline-offset: 0;
}

.ppc-hero__form .estimate-form__submit {
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
}

body:has(.site-footer--ppc) .ppc-hero__inner {
  max-width: 1250px;
  padding-top: 0;
}

/* PPC trust-badge overlap (post-9603 / post-9586 container) */
.ppc-hero + .trust-badges--featured {
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}

.ppc-hero + .trust-badges--featured .trust-badges__shell {
  /* Match next two-column section (.ppc-feature__inner) outer width */
  width: min(100%, 1250px);
  margin-top: -120px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Keep Featured In logos row at its existing inner width */
.ppc-hero + .trust-badges--featured .trust-badges__list--logos {
  width: min(100%, 800px);
}

.ppc-hero + .trust-badges--featured .trust-badges__list--logos .trust-badges__logo {
  width: 60px;
  height: 90px;
  max-height: 90px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .ppc-hero {
    min-height: 0;
    padding: 100px 15px 140px;
  }

  .ppc-hero__inner {
    padding: 0;
  }

  .ppc-hero__title {
    font-size: 50px;
  }

  .ppc-hero__desc {
    font-size: 25px;
  }

  .ppc-hero + .trust-badges--featured .trust-badges__shell {
    margin-top: -40px;
  }
}

@media (max-width: 767px) {
  /* Keep large top padding so content clears header overlay (margin-bottom: -260px) */
  .ppc-hero {
    min-height: 0;
    padding: 200px 15px 140px;
  }

  .ppc-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }

  .ppc-hero__title {
    font-size: 40px;
  }

  body:has(.site-footer--ppc) .ppc-hero__title {
    padding-top: 80px;
  }

  .ppc-hero__desc {
    font-size: 22px;
  }

  .ppc-hero__promo {
    padding: 0 0 12px;
  }

  .ppc-hero__form {
    padding: 0 0 16px;
  }

  .ppc-hero + .trust-badges--featured .trust-badges__shell {
    margin-top: -40px;
  }
}

/* --- Trust badges / review platforms --- */

.trust-badges {
  width: 100%;
}

.trust-badges--featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 15px;
  background-color: var(--color-bg);
}

.trust-badges--featured .trust-badges__shell {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(100%, var(--container-narrow));
  margin-top: -20px;
  padding: 20px 0 40px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-warm);
  box-shadow: var(--shadow-card);
}

.trust-badges--featured .trust-badges__title {
  margin: 0;
}

.trust-badges__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.trust-badges__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-badges__list--logos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(100%, 800px);
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.trust-badges__list--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.trust-badges__item {
  display: flex;
  justify-content: center;
}

.trust-badges__logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.trust-badges__list--logos .trust-badges__logo {
  width: auto;
  max-height: 72px;
}

.trust-badges__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 100%;
  padding: 16px 8px;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  text-align: center;
}

a.trust-badges__card:hover {
  opacity: 0.9;
}

.trust-badges__list--cards .trust-badges__item:nth-child(1) .trust-badges__logo {
  width: 72px;
}

.trust-badges__list--cards .trust-badges__item:nth-child(2) .trust-badges__logo {
  width: 44px;
}

.trust-badges__list--cards .trust-badges__item:nth-child(3) .trust-badges__logo {
  width: 46px;
}

.trust-badges__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #040e14;
}

.trust-badges__list--cards .trust-badges__item:nth-child(3) .trust-badges__label {
  font-size: 13px;
}

@media (max-width: 1024px) {
  .trust-badges__list--logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }
}

@media (max-width: 767px) {
  .trust-badges--featured .trust-badges__shell {
    padding: 16px 0 40px;
  }

  .trust-badges__title {
    font-size: 1.75rem;
  }

  .trust-badges__list--logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-badges__list--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
  }
}

/* Service/location review strip (template post-18468) */
.trust-badges--reviews {
  width: 100%;
  padding: 0 var(--gutter);
  background-color: var(--color-bg);
}

.page-body__main .trust-badges--reviews {
  padding: 0 0 0 8px;
  margin: 0 0 1.5rem;
  background-color: transparent;
}

.page-body__main .trust-badges--reviews .trust-badges__list--cards {
  max-width: none;
  margin: 0;
}

.trust-badges--reviews .trust-badges__list--cards {
  max-width: var(--container-max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-badges--reviews .trust-badges__card {
  gap: 20px;
  padding: 16px 8px;
}

/* =========================================================
   Homepage body sections (post-3066 → BEM)
   ========================================================= */

.about-intro__band {
  padding: var(--section-gap) var(--gutter);
}

.about-intro__band--primary {
  padding: 80px var(--gutter) 60px;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

.about-intro__band--value {
  position: relative;
  padding: 60px var(--gutter) 0;
  color: var(--color-text-dark);
  background-color: var(--color-bg-overlay);
}

.about-intro__band--value::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-overlay);
  background-image: url("../img/2024/06/garden.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%);
  pointer-events: none;
}

.about-intro__inner--value {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
}

.about-intro__value-spacer {
  min-height: 1px;
}

.about-intro__copy--value {
  position: relative;
  z-index: 1;
  margin: 0 0 -140px;
  padding: 48px 40px;
  border-radius: 25px;
  background-color: var(--color-bg);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.about-intro__kicker--value {
  color: var(--color-secondary);
}

.about-intro__band--value .about-intro__title {
  font-size: 33px;
}

.about-intro__band--value .about-intro__text {
  padding: 20px 0;
  font-size: 18px;
  line-height: 1.5em;
}

.about-intro__checks--value {
  display: grid;
  gap: 0;
  margin: 0;
}

.about-intro__checks--value .about-intro__check-item {
  font-size: 18px;
  line-height: 1.5em;
}

.about-intro__checks--value .about-intro__check-item + .about-intro__check-item {
  padding-top: 12px;
}

.about-intro__checks--value .about-intro__check-icon {
  color: var(--color-secondary);
}

.about-intro__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.about-intro__inner--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about-intro__kicker,
.service-areas__kicker,
.why-choose__kicker {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.56rem);
  font-weight: 900;
  line-height: 1.6rem;
}

.about-intro__kicker {
  color: var(--color-primary);
}

.service-areas__kicker,
.why-choose__kicker {
  color: var(--color-secondary);
}

.about-intro__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, var(--font-size-section-title));
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
}

.about-intro__band--primary .about-intro__text,
.about-intro__band--primary .about-intro__check-item {
  font-size: 18px;
}

.about-intro__text {
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body);
  color: var(--color-text-body);
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__checks {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.about-intro__checks--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.about-intro__check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: var(--line-height-body-tight);
  color: var(--color-text-body);
}

.about-intro__check-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.about-intro__check-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.about-intro__cta,
.why-choose__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background-color: var(--color-cta);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--font-size-button);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.about-intro__cta:hover,
.why-choose__cta:hover {
  background-color: var(--color-accent-hover);
}

.about-intro__media,
.service-areas__media {
  min-width: 0;
}

.home-services__media {
  min-width: 0;
  padding: 24px 0;
}

.about-intro__image {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.home-services__image {
  display: block;
  width: 100%;
  max-height: 320px;
  height: 320px;
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
}

.service-areas__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.home-services {
  padding: 156px var(--gutter) 60px;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

.home-services__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-top: 20px;
}

.home-services__title {
  margin: 0 0 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.5625rem);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-secondary);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-bottom: 24px;
}

.home-services__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 15px;
  border-radius: 25px;
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.home-services__group + .home-services__group {
  margin-top: 4px;
}

.home-services__group:first-child .home-services__column-title {
  padding: 12px 20px 0;
}

.home-services__group:not(:first-child) .home-services__column-title {
  padding: 16px 20px 0;
}

.home-services__column-title {
  margin: 0;
  font-family: var(--font-subheading);
  font-size: 33px;
  font-weight: 800;
  line-height: 1.1em;
  color: #ffffff;
}

.home-services__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px 30px 0;
  list-style: none;
}

.home-services__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.home-services__list-item a {
  text-decoration: none;
  color: inherit;
}

.home-services__list-item a:hover {
  color: #111111;
}

.home-services__list-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 3px;
}

.home-services__list-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.recent-projects--carousel {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

.recent-projects__head {
  display: flex;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--gutter) 12px;
  background-color: var(--color-secondary);
}

/* Photo slider stays full-bleed; only the heading above uses 1250px */
.recent-projects--carousel .recent-projects__viewport,
.recent-projects--carousel .recent-projects__track {
  max-width: none;
  width: 100%;
}

.recent-projects__title {
  display: inline-block;
  width: min(100%, 34%);
  min-width: min(100%, 320px);
  margin: 0;
  padding: 10px 28px;
  border: 2px solid #ffffff;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 41px;
  font-weight: 900;
  line-height: 1.1em;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 1024px) {
  .recent-projects__title {
    font-size: 45px;
    width: min(100%, 55%);
  }
}

.recent-projects__viewport {
  position: relative;
  overflow: hidden;
  padding: 12px 56px 32px;
  background-color: var(--color-secondary);
  --recent-projects-gap: 40px;
  --recent-projects-visible: 1;
}

.recent-projects__track {
  display: flex;
  gap: var(--recent-projects-gap);
  width: max-content;
  max-width: none;
  margin: 0;
  padding-bottom: 8px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.recent-projects__slide {
  flex: 0 0
    calc(
      (100vw - (var(--recent-projects-gap) * (var(--recent-projects-visible) - 1)) - 112px) /
        var(--recent-projects-visible)
    );
  width: calc(
    (100vw - (var(--recent-projects-gap) * (var(--recent-projects-visible) - 1)) - 112px) /
      var(--recent-projects-visible)
  );
  scroll-snap-align: start;
  margin: 0;
}

.recent-projects__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 25px;
}
.recent-projects__prev,
.recent-projects__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.recent-projects__prev:hover,
.recent-projects__next:hover,
.recent-projects__prev:focus-visible,
.recent-projects__next:focus-visible {
  background-color: rgba(255, 255, 255, 0.28);
}

.recent-projects__prev {
  left: 12px;
}

.recent-projects__next {
  right: 12px;
}

.recent-projects__prev:disabled,
.recent-projects__next:disabled {
  opacity: 0.35;
  cursor: default;
}

.service-areas {
  padding: 60px var(--gutter);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

.service-areas__inner--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.service-areas__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.06rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

.service-areas__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.service-areas__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 20px;
  color: var(--color-text-dark);
}

.service-areas__icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.service-areas__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-areas__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-areas__name a:hover {
  color: var(--color-cta-alt);
}

.reviews-section {
  padding: var(--section-gap) var(--gutter);
  background-color: var(--color-bg-soft);
  color: var(--color-text-dark);
}

.reviews-section__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.reviews-section__title {
  margin: 0 0 24px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 36px);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
}

.reviews-section__widget {
  min-height: 0;
}

.reviews-slider {
  position: relative;
  padding: 0 48px;
}

.reviews-slider__viewport {
  overflow: hidden;
}

.reviews-slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.reviews-slider__prev,
.reviews-slider__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-text);
  font-size: 1.75rem;
  line-height: 1;
}

.reviews-slider__prev {
  left: 0;
}

.reviews-slider__next {
  right: 0;
}

.reviews-slider__prev:disabled,
.reviews-slider__next:disabled {
  opacity: 0.4;
  cursor: default;
}

.reviews-slider__footer {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-body);
}

.review-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-weight: 700;
}

.review-card__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.review-card__name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.review-card__date {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--color-text-label);
}

.review-card__platform {
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
}

.review-card__stars {
  margin-bottom: 10px;
  color: #f5a623;
  letter-spacing: 1px;
}

.review-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-body);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card.is-expanded .review-card__text {
  display: block;
  -webkit-line-clamp: unset;
}

.review-card__read-more {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
}

.why-choose {
  padding: 100px var(--gutter);
  background-color: #ffffff;
  color: var(--color-text-dark);
}

.why-choose__copy {
  padding: 32px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
}

.why-choose__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.why-choose__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, var(--font-size-section-title));
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text-body);
}

.why-choose__intro {
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body);
  color: var(--color-text-body);
}

.why-choose__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.why-choose__benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--color-text-body);
}

.why-choose__benefit-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.why-choose__benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.why-choose__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.why-choose__video {
  width: 100%;
  border-radius: var(--radius-sm);
  background-color: #000;
}

.map-embed {
  width: 100%;
  line-height: 0;
}

.map-embed__frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 1024px) {
  .about-intro__inner--split,
  .home-services__grid,
  .service-areas__inner--split,
  .why-choose__inner {
    grid-template-columns: 1fr;
  }

  .home-services__column-title {
    font-size: 25px;
  }

  .service-areas__media {
    order: -1;
  }

  .home-services {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .why-choose {
    padding: 72px var(--gutter);
  }

  .review-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .about-intro__checks--inline,
  .why-choose__benefits {
    grid-template-columns: 1fr;
  }

  .home-services {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .home-services__column-title {
    font-size: 22px;
  }

  .why-choose {
    padding: 48px var(--gutter);
  }

  .why-choose__copy {
    padding: 24px 20px;
  }

  .about-intro__inner--value {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-intro__value-spacer {
    display: none;
  }

  .about-intro__copy--value {
    margin-bottom: 0;
    padding: 32px 24px;
  }

  .recent-projects__title {
    font-size: 33px;
    width: 100%;
    min-width: 0;
  }

  .recent-projects__viewport {
    padding-left: 44px;
    padding-right: 44px;
  }

  .recent-projects__image {
    height: 220px;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .map-embed__frame {
    min-height: 320px;
  }
}

/* =========================================================
   Service/location page body (post-3860 → BEM)
   Two-column main content + sticky sidebar form
   ========================================================= */

.page-body {
  padding: 20px var(--gutter) 40px;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

.page-body__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-body__main {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 40px 30px;
}

.page-body__title {
  margin: 0;
  padding: 12px 0 12px 8px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: var(--line-height-heading);
  color: #fcfcfc;
  background-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.page-body__subtitle {
  margin: 0;
  padding: 12px 0 12px 8px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  line-height: var(--line-height-heading);
  color: #fcfcfc;
  background-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.page-body__subtitle a {
  color: inherit;
  text-decoration: none;
}

.page-body__subtitle a:hover {
  color: var(--color-text);
}

.page-body__services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  gap: 16px;
  padding: 24px 0 8px 8px;
}

.page-body__service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-body__service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.page-body__service-card-img {
  display: block;
  width: 100%;
  height: 200px;
  max-height: 200px;
  flex: 0 0 auto;
  object-fit: cover;
}

.page-body__service-card-title {
  margin: 0;
  padding: 12px 0 12px 8px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 900;
  line-height: var(--line-height-heading);
  color: #fcfcfc;
  background-color: var(--color-primary);
  flex: 0 0 auto;
}

.page-body__text {
  padding: 24px 0 8px 8px;
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body);
  color: var(--color-text-body);
}

.page-body__text p {
  margin: 0 0 15px;
}

.page-body__subtitle + .page-body__text {
  padding: 24px 0 16px 8px;
}

.page-body__text a {
  color: var(--color-primary);
}

.page-body__text a:hover {
  color: var(--color-accent-hover);
}

.page-body__text p:last-child,
.page-body__text ol:last-child,
.page-body__text ul:last-child {
  margin-bottom: 0;
}

.page-body__text ul,
.page-body__text ol {
  margin: 0 0 15px;
  padding-left: 1.5em;
}

.page-body__text ul {
  list-style-type: disc;
}

.page-body__text ol {
  list-style-type: decimal;
}

.page-body__text li {
  margin-bottom: 10px;
}

.page-body__text li:last-child {
  margin-bottom: 0;
}

.page-body__text li > p {
  margin-bottom: 0;
}

.page-body__text li > p + p {
  margin-top: 10px;
}

.page-body__text table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: var(--font-size-body);
}

.page-body__text th,
.page-body__text td {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.page-body__text th {
  background-color: var(--color-bg-light);
  font-weight: 700;
}

.page-body__figure {
  margin: 24px 0 8px;
}

.page-body__figure img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
}

.page-body__cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  justify-items: center;
  align-items: center;
  padding: 16px 0 40px;
}

.page-body__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  background-color: var(--color-cta);
  border: 1px solid var(--color-cta);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-body__cta:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text);
}

.page-body__cta--phone {
  background-color: var(--color-cta-phone-bg);
  border: 1px solid var(--color-cta);
}

.page-body__cta--phone:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text);
}

.page-body__links,
.page-body__links-col {
  margin: 0;
  padding: 24px 0 8px 8px;
  list-style: none;
}

.page-body__links-col li + li,
.page-body__links li + li {
  margin-top: 2px;
}

.page-body__links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 32px 15px 40px;
}

.page-body__link,
.page-body__link-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: 1.5;
  color: var(--color-text-dark);
  text-decoration: none;
}

.page-body__link-text {
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: 1.5;
  color: var(--color-text-dark);
}

.page-body__link-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-body__link-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-primary);
}

.page-body__link:hover,
.page-body__link:hover .page-body__link-text {
  color: var(--color-cta-alt);
}

.page-body__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 24px 0 8px;
}

.page-body__gallery-item {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}

.page-body__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-body__gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.35s ease;
  pointer-events: none;
}

.page-body__gallery-item:hover .page-body__gallery-overlay,
.page-body__gallery-item:focus-visible .page-body__gallery-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.page-body__sidebar {
  flex: 0 0 400px;
  max-width: 400px;
  min-width: 0;
  align-self: stretch;
}

/* Prevent overflow clipping from breaking position: sticky */
.site-main,
.page-body,
.page-body__inner,
.page-body__sidebar {
  overflow: visible;
}

.page-body__sidebar-sticky {
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-card);
}

.page-body__sidebar-heading {
  margin: 0;
  padding: 30px 30px 0;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
}

.page-body__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 30px;
}

.page-body__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 0 0;
  color: var(--color-text-dark);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
}

.page-body__contact-item:hover {
  color: var(--color-primary);
}

.page-body__contact-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.page-body__form-wrap {
  padding: 16px 30px 30px;
}

.page-body__sidebar .estimate-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-body__sidebar .estimate-form__input,
.page-body__sidebar .estimate-form__select,
.page-body__sidebar .estimate-form__input--textarea {
  border: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background-color: #000000;
  color: var(--color-text);
}

.page-body__sidebar .estimate-form__input::placeholder,
.page-body__sidebar .estimate-form__input--textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.page-body__sidebar .estimate-form__submit {
  border: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background-color: var(--color-cta);
  color: var(--color-text);
}

.page-body__sidebar .estimate-form__submit:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-text);
}

@media (min-width: 768px) {
  .page-body__inner {
    flex-wrap: nowrap;
  }

  .page-body__sidebar-sticky {
    position: sticky;
    top: calc(var(--header-offset, 0px) + 56px);
    z-index: 5;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-body__main {
    flex: 0 0 70%;
    max-width: 70%;
    min-width: 0;
  }

  .page-body__sidebar {
    flex: 0 0 30%;
    max-width: 30%;
  }

  .page-body__sidebar-heading {
    font-size: 1.2rem;
  }
}

@media (min-width: 1025px) {
  .page-body__title {
    font-size: 36px;
  }

  .page-body__subtitle {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .page-body__main {
    padding: 0 0 0;
  }

  .page-body__title,
  .page-body__subtitle {
    font-size: 32px;
  }

  .page-body__links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-body__services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-body {
    padding-top: 40px;
  }

  .page-body__inner {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 28px;
  }

  .page-body__main {
    flex: 1 1 100%;
  }

  .page-body__sidebar {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-body__title,
  .page-body__subtitle {
    font-size: 28px;
  }

  .page-body__sidebar-sticky {
    position: static;
    top: auto;
  }

  .page-body__cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-body__links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
    row-gap: 8px;
    column-gap: 16px;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .page-body__links-col {
    padding: 0 0 0 8px;
  }

  .page-body__links-col:nth-child(even) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .page-body__link,
  .page-body__link-text {
    font-size: 14px;
  }

  .page-body__gallery {
    grid-template-columns: 1fr;
  }

  .page-body__services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .page-body__sidebar-heading {
    padding: 20px 20px 0;
    font-size: 1.375rem;
  }

  .page-body__contact-list,
  .page-body__form-wrap {
    padding-inline: 20px;
  }

  .page-body__form-wrap {
    padding-bottom: 20px;
  }
}


/* --- Photo lightbox --- */

body.photo-lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.88);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox__stage {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
}

.photo-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  margin: 0 auto;
}

.photo-lightbox__close,
.photo-lightbox__prev,
.photo-lightbox__next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.photo-lightbox__close {
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
}

.photo-lightbox__prev,
.photo-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 8px 12px;
}

.photo-lightbox__prev {
  left: 12px;
}

.photo-lightbox__next {
  right: 12px;
}

/* --- Gallery page layout --- */

.gallery-page {
  padding: 80px 0 40px;
}

.gallery-page__inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-page__item {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}

.gallery-page__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-page__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.35s ease;
  pointer-events: none;
}

.gallery-page__item:hover .gallery-page__overlay,
.gallery-page__item:focus-visible .gallery-page__overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .gallery-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gallery-page {
    padding-top: 40px;
  }

  .gallery-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .gallery-page__grid {
    grid-template-columns: 1fr;
  }
}


/* --- Elementor service/location page layout (static fallback) --- */

.elementor-page .site-main,
.elementor-page .page-content,
.elementor-page .elementor,
.elementor-page .sc-sticky-row,
.elementor-page .sc-sticky-sidebar-col,
.elementor-page .sc-sticky-row .e-con {
  overflow: visible !important;
}

@media (min-width: 768px) {
  .elementor-page .sc-sticky-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 40px;
    max-width: 1250px;
    margin-inline: auto;
    width: 100%;
  }

  .elementor-page .sc-sticky-row > .elementor-element:not(aside) {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    --width: 100% !important;
  }

  .elementor-page .sc-sticky-sidebar-col {
    position: relative;
    flex: 0 0 400px !important;
    max-width: 400px !important;
    width: 400px !important;
    min-width: 0;
    align-self: stretch !important;
    --width: 100% !important;
  }

  .elementor-page .sc-sticky-sidebar {
    position: sticky !important;
    top: calc(var(--header-offset, 110px) + 56px);
    width: 100% !important;
    max-width: 100% !important;
    align-self: flex-start;
    z-index: 5;
    --width: 100% !important;
    box-sizing: border-box;
  }

  .elementor-page .sc-sticky-sidebar.elementor-sticky--active,
  .elementor-page .sc-sticky-sidebar.is-fixed,
  .elementor-page .sc-sticky-sidebar.is-pinned-bottom {
    position: sticky !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .elementor-page .sc-sticky-sidebar-col .elementor-sticky__spacer,
  .elementor-page .sc-sticky-sidebar-col .sc-sticky-sidebar-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-page .sc-sticky-sidebar-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 767px) {
  .elementor-page .sc-sticky-row {
    flex-direction: column !important;
  }

  .elementor-page .sc-sticky-sidebar-col {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .elementor-page .sc-sticky-sidebar {
    position: static !important;
    top: auto !important;
  }
}

.elementor-page .elementor-widget-image img {
  height: auto;
}


.elementor-page .e-gallery-image[data-thumbnail] {
  min-height: 120px;
}

/* --- Service/location page typography --- */

body.elementor-page h1.elementor-heading-title {
  font-family: "DM Serif Display", serif !important;
  font-size: 46px !important;
  font-weight: 900;
  line-height: 1.1em;
}

body.elementor-page h2.elementor-heading-title {
  font-family: "DM Serif Display", serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.1em;
}

body.elementor-page h3.elementor-heading-title {
  font-family: "DM Serif Display", serif !important;
  font-weight: 500 !important;
  line-height: 1.1em;
}

/* Sticky sidebar section headers (Contact Us / Get a Quote) */
.elementor-page .sc-sticky-sidebar .elementor-widget-heading .elementor-heading-title,
.elementor-page aside[data-settings*="sticky"] .elementor-widget-heading .elementor-heading-title {
  font-family: "DM Serif Display", serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.1em;
  color: #000000 !important;
  margin: 0 0 15px;
}

@media (max-width: 767px) {
  .elementor-page .sc-sticky-sidebar .elementor-widget-heading .elementor-heading-title,
  .elementor-page aside[data-settings*="sticky"] .elementor-widget-heading .elementor-heading-title {
    font-size: 22px !important;
  }
}

/* Hero subheading (second heading widget below h1, when present) */
body.elementor-page section.e-no-lazyload .e-con-inner > .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title {
  font-family: "DM Serif Display", serif !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  line-height: 1.1em;
}

@media (max-width: 767px) {
  body.elementor-page h1.elementor-heading-title {
    font-size: 36px !important;
  }

  body.elementor-page section.e-no-lazyload .e-con-inner > .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title {
    font-size: 20px !important;
  }
}

/* --- Two-font enforcement (DM Serif Display + Quattrocento) --- */

.site-header,
.site-header .main-menu__list a,
.site-header .main-menu__sublist a {
  font-family: var(--font-heading) !important;
}

.elementor-page .elementor-widget-text-editor,
.elementor-page .elementor-widget-text-editor p,
.elementor-page .elementor-widget-text-editor li,
.elementor-page .elementor-widget-text-editor td,
.elementor-page .elementor-widget-text-editor th,
.elementor-page .elementor-widget-text-editor span,
.elementor-page .elementor-icon-box-description,
.elementor-page .elementor-field-label,
.elementor-page .elementor-field-textual,
.elementor-page .elementor-select-wrapper select,
.elementor-page .elementor-button .elementor-button-text,
.elementor-page .elementor-18468 .elementor-heading-title {
  font-family: var(--font-body) !important;
}

.elementor-page .elementor-heading-title,
.elementor-page .elementor-icon-box-title,
.elementor-page .elementor-icon-box-title a {
  font-family: var(--font-heading) !important;
}

/* --- Estimate form section --- */

.estimate-section {
  position: relative;
  padding: var(--section-gap) var(--gutter);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.estimate-section--homepage {
  max-height: 600px;
  padding: 60px 15px;
  background-color: transparent;
  color: var(--color-text);
  overflow: hidden;
}

.estimate-section--homepage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-overlay);
  background-image: url("../img/2024/05/free-photo-of-deckchairs-by-swimming-pool.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(25%);
  pointer-events: none;
}

.estimate-section--homepage .estimate-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.estimate-section--homepage .estimate-section__copy,
.estimate-section--homepage .estimate-section__form-wrap {
  flex: none;
  min-width: 0;
}

.estimate-section--homepage .estimate-section__eyebrow {
  margin: 0 0 10px;
  padding: 10px;
  font-family: var(--font-heading);
  font-size: 41px;
  font-weight: 900;
  line-height: 1.1em;
  color: var(--color-text);
}

.estimate-section--homepage .estimate-section__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 33px;
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

.estimate-section--homepage .estimate-section__text {
  padding-top: 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.estimate-section--homepage .estimate-section__text p {
  color: rgba(255, 255, 255, 0.92);
}

.estimate-section--homepage .estimate-section__form-wrap {
  padding-top: 0;
}

.estimate-section--homepage .estimate-section__form-title {
  margin: 0 0 12px;
  padding: 0 0 12px 40px;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

.estimate-section--homepage .estimate-form {
  background-color: rgba(12, 11, 11, 0.38);
  padding: 0 40px 40px;
}

.estimate-section--homepage .estimate-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.estimate-section--homepage .estimate-form__fields {
  gap: 10px;
}

.estimate-section--homepage .estimate-form__field {
  gap: 0;
}

.estimate-section--homepage .estimate-form__input,
.estimate-section--homepage .estimate-form__select {
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.78);
  color: #111111;
  font-weight: 600;
}

.estimate-section--homepage .estimate-form__input:focus,
.estimate-section--homepage .estimate-form__select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  border-color: transparent;
}

.estimate-section--homepage .estimate-form__select {
  background-color: rgba(255, 255, 255, 0.78);
  background-image: linear-gradient(45deg, transparent 50%, var(--color-primary) 50%), linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
}

.estimate-section--homepage .estimate-form__submit {
  border: none;
  border-radius: 8px;
  background-color: var(--color-cta);
  color: var(--color-text);
}

.estimate-section--homepage .estimate-form__input--textarea {
  min-height: 72px;
}

.estimate-section--homepage .estimate-form__submit:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* PPC bottom contact-form CTA (live Elementor 5cd20d4 / 9f0eb87 family) */
.estimate-section--ppc-cta {
  min-height: 608px;
  padding: 80px 15px;
  background-color: transparent;
  color: var(--color-text);
  overflow: hidden;
}

.estimate-section--ppc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #020101;
  background-image: url("../img/2024/05/free-photo-of-deckchairs-by-swimming-pool.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(15%);
  pointer-events: none;
  z-index: 0;
}

.estimate-section--ppc-cta .estimate-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 60px;
}

.estimate-section--ppc-cta .estimate-section__copy,
.estimate-section--ppc-cta .estimate-section__form-wrap {
  flex: none;
  min-width: 0;
}

.estimate-section--ppc-cta .estimate-section__title {
  font-size: clamp(1.75rem, 2.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text);
}

.estimate-section--ppc-cta .estimate-section__kicker {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
}

.estimate-section--ppc-cta .estimate-section__text,
.estimate-section--ppc-cta .estimate-section__text p,
.estimate-section--ppc-cta .estimate-section__text a {
  color: rgba(255, 255, 255, 0.92);
}

.estimate-section--ppc-cta .estimate-section__text {
  font-size: 18px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.estimate-section--ppc-cta .estimate-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.estimate-section--ppc-cta .ppc-hero__promo {
  margin: 0 0 12px;
  padding: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.estimate-section--ppc-cta .estimate-form__fields {
  gap: 10px;
}

.estimate-section--ppc-cta .estimate-form__field {
  gap: 0;
}

.estimate-section--ppc-cta .estimate-form__input,
.estimate-section--ppc-cta .estimate-form__select,
.estimate-section--ppc-cta .estimate-form__input--textarea {
  background-color: rgba(255, 255, 255, 0.48);
  color: var(--color-text-dark);
  border: none;
  border-radius: var(--radius-sm);
}

.estimate-section--ppc-cta .estimate-form__input::placeholder,
.estimate-section--ppc-cta .estimate-form__input--textarea::placeholder {
  color: rgba(17, 17, 17, 0.55);
}

.estimate-section--ppc-cta .estimate-form__input:focus,
.estimate-section--ppc-cta .estimate-form__select:focus,
.estimate-section--ppc-cta .estimate-form__input--textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

@media (max-width: 1024px) {
  .estimate-section--ppc-cta {
    padding: 60px 15px;
  }

  .estimate-section--ppc-cta .estimate-section__inner {
    gap: 40px;
  }

  .estimate-section--ppc-cta .estimate-section__title {
    font-size: 45px;
  }
}

@media (max-width: 767px) {
  .estimate-section--ppc-cta {
    min-height: auto;
    padding: 80px 15px;
  }

  .estimate-section--ppc-cta .estimate-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .estimate-section--ppc-cta .estimate-section__title {
    font-size: 33px;
  }
}

.estimate-section__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.estimate-section__copy {
  flex: 1 1 320px;
  min-width: 0;
}

.estimate-section__form-wrap {
  flex: 1 1 360px;
  min-width: 0;
}

.estimate-section__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, var(--font-size-section-title));
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
}

.estimate-section__kicker {
  margin: 0 0 12px;
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.estimate-section__text {
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body);
  color: var(--color-text-body);
}

.estimate-section__text p:last-child {
  margin-bottom: 0;
}

.estimate-section__anchor {
  display: block;
  position: relative;
  top: calc(-1 * var(--header-offset, 110px));
  visibility: hidden;
  pointer-events: none;
}

.estimate-form {
  display: block;
  width: 100%;
}

.estimate-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.estimate-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.estimate-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.estimate-form__label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-label);
}

.estimate-form__input,
.estimate-form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  font-family: var(--font-ui);
  font-size: var(--font-size-body);
  line-height: 1.4;
}

.estimate-form__input:focus,
.estimate-form__select:focus {
  outline: 2px solid rgba(53, 160, 119, 0.35);
  border-color: var(--color-primary);
}

.estimate-form__input--textarea {
  min-height: 120px;
  resize: vertical;
}

.estimate-form__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-label) 50%), linear-gradient(135deg, var(--color-text-label) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.estimate-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 14px 24px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.estimate-form__submit:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.estimate-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .estimate-section--homepage .estimate-section__eyebrow {
    display: none;
  }
}

@media (max-width: 767px) {
  .estimate-section--homepage {
    max-height: none;
    padding: 60px 15px;
    overflow: visible;
  }

  .estimate-section--homepage .estimate-section__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .estimate-section--homepage .estimate-section__form-title {
    padding-left: 0;
  }

  .estimate-section__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .estimate-section__copy,
  .estimate-section__form-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .estimate-form,
  .estimate-form__fields,
  .estimate-form__row,
  .estimate-form__field {
    width: 100%;
    max-width: 100%;
  }

  .estimate-form__row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ppc-hero__aside,
  .ppc-hero__form,
  .ppc-hero__form .estimate-section,
  .ppc-hero__form .estimate-section__inner,
  .ppc-hero__form .estimate-section__form-wrap {
    width: 100%;
    max-width: 100%;
  }
}

/* --- Contact page estimate section (post-3067) --- */

.estimate-section--contact {
  padding: 100px var(--gutter) 0;
  background-color: var(--color-bg);
}

.estimate-section--contact .estimate-section__inner {
  align-items: flex-start;
  gap: 40px;
}

.estimate-section--contact .estimate-section__copy {
  flex: 1 1 50%;
  max-width: 50%;
  margin-top: -20px;
  padding: 0 120px 60px 0;
}

.estimate-section--contact .estimate-section__title {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: var(--font-size-section-title);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-primary);
}

.estimate-section--contact .estimate-section__intro {
  padding-top: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: var(--line-height-body);
  color: #000000;
}

.estimate-section--contact .estimate-section__intro p:last-child {
  margin-bottom: 0;
}

.estimate-section--contact .estimate-section__contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 0;
  padding: 28px 12px 12px;
}

.estimate-section--contact .estimate-section__contact-icon {
  color: var(--color-primary);
}

.estimate-section--contact .estimate-section__contact-icon svg {
  width: 2rem;
  height: 2rem;
}

.estimate-section--contact .estimate-section__contact-heading {
  margin: 0;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: #000000;
}

.estimate-section--contact .estimate-section__contact-text {
  padding-top: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: var(--line-height-body);
  color: #000000;
}

.estimate-section--contact .estimate-section__contact-text p:last-child {
  margin-bottom: 0;
}

.estimate-section--contact .estimate-section__form-wrap {
  position: relative;
  flex: 0 1 40%;
  max-width: 40%;
  margin: 40px 40px -80px;
  padding: 64px 20px 32px;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 2;
}

.estimate-section--contact .estimate-section__form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  background-image: url("../img/2024/06/Shade-Structures.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.27);
  z-index: 0;
}

.estimate-section--contact .estimate-section__form-wrap > * {
  position: relative;
  z-index: 1;
}

.estimate-section--contact .estimate-section__form-title {
  margin: 0 0 20px;
  padding-left: 20px;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: var(--line-height-heading);
  color: #ffffff;
}

.estimate-form--contact {
  padding: 0 20px 20px;
}

.estimate-form--contact .estimate-form__label {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.estimate-form--contact .estimate-form__input,
.estimate-form--contact .estimate-form__select {
  border: 0;
  border-radius: 25px;
  background-color: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
}

.estimate-form--contact .estimate-form__input::placeholder {
  color: var(--color-primary);
  opacity: 1;
}

.estimate-form--contact .estimate-form__input:focus,
.estimate-form--contact .estimate-form__select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  border-color: transparent;
}

.estimate-form--contact .estimate-form__select {
  background-image: linear-gradient(45deg, transparent 50%, var(--color-primary) 50%), linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
}

.estimate-form--contact .estimate-form__submit {
  border-radius: 25px;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .estimate-section--contact {
    padding: 120px 15px 0;
  }

  .estimate-section--contact .estimate-section__inner {
    flex-direction: column;
    gap: 0;
  }

  .estimate-section--contact .estimate-section__copy {
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0 0 40px;
  }

  .estimate-section--contact .estimate-section__form-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 40px 0 -80px;
  }
}

@media (max-width: 767px) {
  .estimate-section--contact {
    padding: 60px 15px 0;
  }

  .estimate-section--contact .estimate-section__copy {
    padding-bottom: 0;
  }

  .estimate-section--contact .estimate-section__form-wrap {
    padding: 64px 15px 32px;
    width: 100%;
    max-width: 100%;
  }

  .estimate-form--contact {
    padding: 0 5px 20px;
  }
}

/* --- Phone CTA bar --- */

/* =========================================================
   Site header (post-2679 → BEM)
   ========================================================= */

.site-header {
  position: relative;
  z-index: 999;
  width: 100%;
  margin-bottom: -170px;
  padding-top: 20px;
}

.site-header__bar,
.site-header-bar {
  width: 100%;
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: var(--header-inner-max);
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.site-header__logo,
.site-header-logo-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.site-header__logo a {
  display: block;
  line-height: 0;
}

.site-header__logo-img {
  width: 125px;
  height: auto;
}

.site-header__actions,
.site-header-action-row {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  margin: 0;
  padding: 16px 4px;
  background-color: var(--header-bar-bg);
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-header__cta--phone {
  margin: 0 32px 0 0;
  color: var(--color-text);
  align-self: center;
}

.site-header__cta--phone svg.site-header__phone-icon {
  display: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-header__cta--phone:hover {
  color: var(--color-accent-hover);
}

.site-header__cta--estimate {
  margin-right: 40px;
  padding: 16px 32px;
  color: var(--color-text);
  background-color: var(--color-cta);
  border: 0;
}

.site-header__cta--estimate:hover {
  color: var(--color-text);
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Sticky action bar hooks (scripts.js) */
.site-header-action-row.is-pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  margin: 0;
  padding: 16px 12px;
  background-color: var(--header-bar-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.site-header-bar.is-action-pinned {
  padding-top: var(--mobile-action-bar-height, 0px);
}

@media (min-width: 768px) {
  .site-header__inner {
    width: 100%;
    max-width: var(--header-inner-max);
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header__logo,
  .site-header-logo-row {
    flex: 0 0 var(--header-logo-width);
    width: var(--header-logo-width);
    max-width: var(--header-logo-width);
  }

  .site-header__cta--phone svg.site-header__phone-icon {
    display: none;
  }

  .site-header__phone-text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 1024px) {
  .site-header__actions,
  .site-header-action-row {
    align-items: center;
  }

  .site-header__cta--phone {
    margin-right: 16px;
  }

  .site-header__cta--estimate {
    margin-right: 0;
    padding: 12px 20px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .site-header__actions,
  .site-header-action-row {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .site-header {
    margin-top: -20px;
    margin-bottom: -260px;
    padding-top: 0;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .site-header__logo,
  .site-header-logo-row {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    justify-content: center;
    padding: 10px 12px 0;
    align-self: center;
  }

  .site-header__actions,
  .site-header-action-row {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .site-header__nav {
    flex: 0 0 auto;
  }

  .site-header__cta--phone {
    margin: 0 48px 0 auto;
    padding: 0;
  }

  .site-header__cta--phone svg.site-header__phone-icon {
    display: block;
    width: 34px;
    height: 34px;
  }

  .site-header__phone-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header__cta--estimate {
    flex-shrink: 0;
    margin-right: 0;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* PPC canvas layout — inherit main-site header layout; override only sticky, green bar, phone color */
body:has(.site-footer--ppc) .site-header {
  position: relative;
  padding-top: 0;
  z-index: 1001;
}

@media (min-width: 768px) {
  body:has(.site-footer--ppc) .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 0;
  }
}

body:has(.site-footer--ppc) .site-header__bar,
body:has(.site-footer--ppc) .site-header-bar {
  background-color: var(--header-bar-bg-ppc);
}

body:has(.site-footer--ppc) .site-header__inner {
  max-width: var(--header-inner-max);
}

body:has(.site-footer--ppc) .site-header__actions,
body:has(.site-footer--ppc) .site-header-action-row {
  background-color: transparent;
}

body:has(.site-footer--ppc) .site-header__cta--phone {
  padding: 16px 24px;
  color: #ffffff;
  background-color: var(--color-ppc-cta);
  border: 0;
  border-radius: var(--radius-pill);
}

body:has(.site-footer--ppc) .site-header__cta--phone:hover {
  color: #ffffff;
  background-color: var(--color-ppc-cta-hover);
}

body:has(.site-footer--ppc) .site-header-action-row.is-pinned {
  background-color: var(--header-bar-bg-ppc);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  body:has(.site-footer--ppc) .site-header-action-row.is-pinned {
    position: static;
    background-color: transparent;
    box-shadow: none;
  }
}

/* PPC form submit buttons — match header phone red */
body:has(.site-footer--ppc) .estimate-form__submit {
  border-color: var(--color-ppc-cta);
  border-radius: 8px;
  background-color: var(--color-ppc-cta);
  color: #ffffff;
}

body:has(.site-footer--ppc) .estimate-form__submit:hover {
  border-color: var(--color-ppc-cta-hover);
  background-color: var(--color-ppc-cta-hover);
  color: #ffffff;
}

@media (max-width: 1024px) and (min-width: 768px) {
  body:has(.site-footer--ppc) .site-header__actions,
  body:has(.site-footer--ppc) .site-header-action-row {
    position: static;
  }
}

@media (max-width: 767px) {
  /* Live post-9586 / post-9603 mobile: header overlaps hero (-260px), hero keeps 300px top padding */
  body:has(.site-footer--ppc) .site-header {
    margin-top: -20px;
    margin-bottom: -260px;
  }

  body:has(.site-footer--ppc) .site-header__cta--phone {
    padding: 10px 14px;
    background-color: var(--color-ppc-cta);
    border-radius: var(--radius-pill);
  }

  body:has(.site-footer--ppc) .site-header__cta--phone svg.site-header__phone-icon {
    color: #ffffff;
  }
}

/* PPC mobile — match main-site see-through green bar; keep hero copy clear of header */
@media (max-width: 767px) {
  body:has(.site-footer--ppc) .site-header__bar,
  body:has(.site-footer--ppc) .site-header-bar {
    background-color: transparent;
  }

  body:has(.site-footer--ppc) .site-header__actions,
  body:has(.site-footer--ppc) .site-header-action-row {
    background-color: var(--header-bar-bg);
  }

  body:has(.site-footer--ppc) .site-header-action-row.is-pinned {
    background-color: var(--header-bar-bg);
  }
}

/* =========================================================
   Main menu (checkbox hack + flyout submenus)
   ========================================================= */

.main-menu {
  position: relative;
}

.main-menu__toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-menu__toggle {
  display: none;
  position: relative;
  cursor: pointer;
  background-color: var(--header-submenu-bg);
  padding: 10px;
  width: 45px;
  height: 45px;
  border-radius: 4px;
  z-index: 1000001;
  transition: all 0.3s ease;
}

.main-menu__toggle-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-menu__panel {
  position: relative;
}

.main-menu__list,
.main-menu__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu__list > .main-menu__item > a,
.main-menu__sublist .main-menu__item > a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Desktop: horizontal nav + hover flyouts */
@media (min-width: 1025px) {
  .main-menu__toggle {
    display: none !important;
  }

  .main-menu__panel {
    display: block;
    position: relative;
  }

  .main-menu__list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
  }

  .main-menu__list > .main-menu__item {
    position: relative;
  }

  .main-menu__list > .main-menu__item > a {
    padding: 15px 20px;
  }

  .main-menu__list > .main-menu__item--has-children > a::after {
    content: "\25BE";
    margin-left: 8px;
    font-size: 14px;
    opacity: 0.8;
  }

  .main-menu__sublist {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    width: max-content;
    padding: 10px 0;
    background-color: var(--header-submenu-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }

  .main-menu__sublist .main-menu__item {
    position: relative;
  }

  .main-menu__sublist .main-menu__item > a {
    padding: 12px 20px;
    color: var(--color-text);
  }

  .main-menu__sublist .main-menu__item > a:hover {
    background-color: #333333;
  }

  .main-menu__item--has-children:hover > .main-menu__sublist,
  .main-menu__sublist .main-menu__item--has-children:hover > .main-menu__sublist {
    display: block;
  }

  .main-menu__sublist .main-menu__item--has-children > a::after {
    content: "\25B8";
    margin-left: auto;
    padding-left: 15px;
    font-size: 14px;
    opacity: 0.8;
  }

  .main-menu__sublist .main-menu__sublist {
    top: -10px;
    left: 100%;
    margin-left: 1px;
  }
}

/* Tablet + mobile: hamburger overlay */
@media (max-width: 1024px) {
  .main-menu__toggle {
    display: block;
  }

  .main-menu__panel {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    padding: 80px 0 40px;
    background-color: var(--header-submenu-bg);
    z-index: 1000000;
  }

  .main-menu__toggle-input:checked ~ .main-menu__panel {
    display: block;
  }

  .main-menu__toggle-input:checked + .main-menu__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .main-menu__toggle-input:checked + .main-menu__toggle .main-menu__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .main-menu__toggle-input:checked + .main-menu__toggle .main-menu__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .main-menu__toggle-input:checked + .main-menu__toggle .main-menu__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-menu__list > .main-menu__item > a {
    justify-content: space-between;
    padding: 22px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-menu__sublist {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .main-menu__sublist .main-menu__item > a {
    padding: 18px 25px 18px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-menu__item--has-children.is-open > .main-menu__sublist {
    display: block;
  }

  .main-menu__item--has-children > a::after {
    content: "+";
    font-family: monospace;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
  }

  .main-menu__item--has-children.is-open > a::after {
    content: "\2212";
    color: var(--color-text);
  }

  .site-header__nav:has(.main-menu__toggle-input:checked) {
    position: relative;
    z-index: 9999999;
  }
}

body:has(.main-menu__toggle-input:checked) {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* =========================================================
   Site footer (post-2691 → BEM)
   ========================================================= */

.site-footer {
  color: var(--color-text);
}

.site-footer__shell {
  width: 100%;
  background-color: var(--color-secondary);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 12px 100px;
  box-sizing: border-box;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.site-footer__column--brand {
  gap: 20px;
}

.site-footer__logo {
  display: block;
  margin-top: -10px;
  padding-bottom: 8px;
  line-height: 0;
}

.site-footer__logo img {
  width: 150px;
  max-width: 150px;
  height: auto;
}

.site-footer__intro {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: var(--line-height-body-tight);
  color: var(--color-text);
}

.site-footer__intro p {
  margin-bottom: 12px;
}

.site-footer__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  padding: 14px 28px;
  font-family: var(--font-ui);
  font-size: var(--font-size-button);
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-cta);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-footer__cta:hover {
  color: var(--color-text);
  background-color: var(--color-accent-hover);
}

.site-footer__heading {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: 800;
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

.site-footer__heading--nav {
  margin-top: 16px;
}

.site-footer__contact-item {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: var(--line-height-body-tight);
  color: var(--color-text);
}

.site-footer__contact-item a {
  color: #bbbbbb;
  transition: color 0.3s ease;
}

.site-footer__contact-item a:hover {
  color: var(--color-text);
}

.site-footer__hours {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav-list--col + .site-footer__nav-list--col {
  margin-top: 0;
}

.site-footer__nav-list li + li {
  margin-top: 4px;
}

.site-footer__nav-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: #bbbbbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__nav-link:hover {
  color: var(--color-text);
}

.site-footer__bottom {
  width: 100%;
  background-color: var(--color-accent);
  box-sizing: border-box;
}

.site-footer__bottom-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 72px 20px 12px;
  box-sizing: border-box;
}

.site-footer__copyright {
  flex: 0 1 auto;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 14px;
  color: #bbbbbb;
}

.site-footer__copyright a {
  color: #bbbbbb;
}

.site-footer__copyright a:hover {
  color: var(--color-text);
}

.site-footer__social-list {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  background-color: var(--color-text-dark);
  border-radius: 50%;
  color: var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer__social-link:hover {
  color: var(--color-text);
  background-color: var(--color-primary);
}

.site-footer__social-link svg {
  width: 14px;
  height: 14px;
}

/* PPC footer variant */
.site-footer--ppc .site-footer__bottom {
  background-color: var(--color-accent);
}

.site-footer--ppc .site-footer__copyright {
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .site-footer__inner,
  .site-footer__bottom-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer__social-list {
    right: 20px;
  }
}

@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding: 80px 15px;
  }

  .site-footer__heading {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 80px;
  }

  .site-footer__column--contact {
    padding-top: 52px;
  }

  .site-footer__column--nav,
  .site-footer__column--locations {
    padding-top: 40px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8px;
  }

  .site-footer__nav-list li + li {
    margin-top: 8px;
  }

  .site-footer__nav-link {
    font-size: 16px;
    letter-spacing: -1px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
  }

  .site-footer__social-list {
    position: static;
    transform: none;
    align-self: flex-end;
    margin-top: 4px;
  }
}

/* HTML sitemap page (generated by scripts/generate-sitemap.js) */
.sitemap-page {
  padding: 40px 20px 60px;
}

.sitemap-page__inner {
  max-width: var(--container-max, 1250px);
  margin: 0 auto;
}

.sitemap-page__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: var(--color-text-body, #000);
}

.sitemap-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.sitemap-page__item {
  break-inside: avoid;
  margin-bottom: 10px;
}

.sitemap-page__item a {
  color: var(--color-text-body, #000);
  text-decoration: none;
}

.sitemap-page__item a:hover {
  color: var(--color-text-body, #000);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sitemap-page__list {
    columns: 1;
  }
}

/* Legal / utility prose pages (privacy, terms, cookie policy) */
.content-page {
  padding: 40px var(--gutter) 60px;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
}

.content-page__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.content-page__body {
  font-family: var(--font-body);
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body);
}

.content-page__meta {
  margin: 0 0 1.5em;
  font-size: var(--font-size-body);
  color: var(--color-text-muted, #666);
}

.content-page__body h1,
.content-page__body h2,
.content-page__body h3,
.content-page__body h4 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: var(--line-height-heading);
}

.content-page__body h2 {
  font-size: var(--font-size-h4);
  margin: 1.75em 0 0.75em;
}

.content-page__body h3 {
  font-size: 1.5rem;
  margin: 1.5em 0 0.5em;
}

.content-page__body h4 {
  font-size: 1.25rem;
  margin: 1.25em 0 0.5em;
}

.content-page__body p {
  margin: 0 0 1em;
}

.content-page__body ul,
.content-page__body ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.content-page__body ul {
  list-style-type: disc;
}

.content-page__body ol {
  list-style-type: decimal;
}

.content-page__body li {
  display: list-item;
  margin-bottom: 0.5em;
}

.content-page__body li > p {
  margin: 0 0 0.5em;
}

.content-page__body a {
  color: var(--color-primary);
}

.content-page__body a:hover {
  text-decoration: underline;
}

/* =========================================================
   PPC mid-body (matched to Elementor post-9586 / kit-2673)
   ========================================================= */

.ppc-feature {
  padding: 80px 15px;
  background-color: #ffffff;
  color: #111111;
}

.ppc-feature__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto;
}

/* Process: dimmed photo bg + floating white card overlapping Photos */
.ppc-feature--process {
  position: relative;
  z-index: 2;
  padding: 120px 15px 0;
  background-color: #1a1a1a;
  overflow: visible;
}

.ppc-feature--process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ppc-process-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(50%);
  pointer-events: none;
  z-index: 0;
}

.ppc-feature--process .ppc-feature__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  grid-template-columns: none;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

.ppc-feature__card {
  position: relative;
  z-index: 2;
  width: 70%;
  margin-left: auto;
  margin-bottom: -120px;
  padding: 40px;
  border-radius: 25px;
  background-color: #ffffff;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.ppc-feature__kicker {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  color: #3b755f;
}

.ppc-feature__title {
  margin: 0 0 0;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1em;
  color: #111111;
}

.ppc-feature__text {
  padding-top: 24px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7em;
  color: #000000;
}

.ppc-feature__text p:last-child {
  margin-bottom: 0;
}

.ppc-feature__cta,
.ppc-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 32px;
  border-radius: 29px;
  background-color: #ff0000;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.ppc-feature__cta:hover,
.ppc-services__cta:hover {
  background-color: #961040;
}

.ppc-feature__media img {
  display: block;
  width: 100%;
  max-width: 650px;
  height: 500px;
  margin-left: auto;
  object-fit: cover;
  border-radius: 25px;
}

/* Photos carousel — dark #335246, clears overlapping process card */
.media-carousel--photos {
  padding: 220px 0 24px;
  background-color: #335246;
  color: #ffffff;
}

.media-carousel--photos .media-carousel__title {
  display: block;
  width: min(40%, 520px);
  max-width: calc(100% - 30px);
  margin: 0 auto 28px;
  padding: 10px 28px;
  border: 2px solid #ffffff;
  border-radius: 25px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1em;
  color: #ffffff;
}

/* Reviews carousel — light #FFFAFA, plain centered title (no pill) */
.media-carousel--reviews {
  min-height: 500px;
  padding: 60px 15px;
  background-color: #fffafa;
  color: #111111;
}

.media-carousel--reviews .media-carousel__title {
  display: block;
  width: auto;
  max-width: none;
  margin: 0 auto 40px;
  padding: 0;
  border: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1em;
  color: #111111;
}

.media-carousel__viewport {
  position: relative;
  overflow: hidden;
  padding: 0 56px 8px;
  --media-carousel-gap: 40px;
  --media-carousel-visible: 3;
}

.media-carousel--reviews .media-carousel__viewport {
  --media-carousel-visible: 2;
  max-width: 1250px;
  margin: 0 auto;
}

.media-carousel__track {
  display: flex;
  gap: var(--media-carousel-gap);
  width: max-content;
  transition: transform 0.45s ease;
  will-change: transform;
}

.media-carousel__slide {
  flex: 0 0
    calc(
      (100vw - (var(--media-carousel-gap) * (var(--media-carousel-visible) - 1)) - 112px) /
        var(--media-carousel-visible)
    );
  width: calc(
    (100vw - (var(--media-carousel-gap) * (var(--media-carousel-visible) - 1)) - 112px) /
      var(--media-carousel-visible)
  );
  display: block;
  overflow: hidden;
  border-radius: 25px;
}

.media-carousel--reviews .media-carousel__slide {
  flex-basis: calc(
    (min(100vw, 1250px) - (var(--media-carousel-gap) * (var(--media-carousel-visible) - 1)) - 112px) /
      var(--media-carousel-visible)
  );
  width: calc(
    (min(100vw, 1250px) - (var(--media-carousel-gap) * (var(--media-carousel-visible) - 1)) - 112px) /
      var(--media-carousel-visible)
  );
}

.media-carousel__slide img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 25px;
}

.media-carousel--reviews .media-carousel__slide img {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

.media-carousel__prev,
.media-carousel__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.media-carousel--reviews .media-carousel__prev,
.media-carousel--reviews .media-carousel__next {
  color: #111111;
}

.media-carousel__prev {
  left: 4px;
}

.media-carousel__next {
  right: 4px;
}

.media-carousel__prev:disabled,
.media-carousel__next:disabled {
  opacity: 0.35;
  cursor: default;
}

.media-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.media-carousel__dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  opacity: 1;
  cursor: pointer;
}

.media-carousel--photos .media-carousel__dot.is-active {
  background: #c02b00;
}

.media-carousel--reviews .media-carousel__dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.media-carousel--reviews .media-carousel__dot.is-active {
  background: #c02b00;
}

/* Services — photo bg + 0.8 black overlay */
.ppc-services {
  position: relative;
  min-height: 600px;
  padding: 80px 15px;
  color: #ffffff;
  background-color: #000000;
  overflow: hidden;
}

.ppc-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ppc-services-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ppc-services::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.ppc-services__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto;
}

.ppc-services__kicker {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.ppc-services__title {
  margin: 0;
  padding: 16px 0 8px;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1em;
  color: #ffffff;
}

.ppc-services__text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7em;
  color: #ffffff;
}

.ppc-services__text p:last-child {
  margin-bottom: 0;
}

.ppc-services__checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ppc-services__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
}

.ppc-services__check-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #35a077;
}

.ppc-services__check-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ppc-services__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
  background: #000;
}

.ppc-services__cta {
  margin-top: 48px;
}

/* FAQ — dark #335246 + green accordion panels (PPC canvas) */
body:has(.site-footer--ppc) .faq-section {
  padding: 60px 12px;
  background-color: #335246;
}

body:has(.site-footer--ppc) .faq-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

body:has(.site-footer--ppc) .faq-section__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1em;
  color: #ffffff;
  text-align: left;
}

body:has(.site-footer--ppc) .faq-accordion__item {
  margin: 0;
  border: 8px solid #335246;
  border-radius: 0;
  overflow: hidden;
}

body:has(.site-footer--ppc) .faq-accordion__item + .faq-accordion__item {
  margin-top: 0;
}

body:has(.site-footer--ppc) .faq-accordion__heading {
  margin: 0;
}

body:has(.site-footer--ppc) .faq-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  background-color: #35a077;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

body:has(.site-footer--ppc) .faq-accordion__icon {
  flex: 0 0 18px;
  position: relative;
  width: 18px;
  height: 18px;
}

body:has(.site-footer--ppc) .faq-accordion__icon::before,
body:has(.site-footer--ppc) .faq-accordion__icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body:has(.site-footer--ppc) .faq-accordion__icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

body:has(.site-footer--ppc) .faq-accordion__icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

body:has(.site-footer--ppc) .faq-accordion__item.is-open .faq-accordion__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

body:has(.site-footer--ppc) .faq-accordion__panel {
  padding: 0;
  background-color: #35a077;
  border-top: 8px solid #335246;
}

body:has(.site-footer--ppc) .faq-accordion__answer {
  padding: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

body:has(.site-footer--ppc) .faq-accordion__answer p:last-child {
  margin-bottom: 0;
}

/* About — image left + 50% white card overlapping photo (-40px) */
.ppc-about {
  padding: 80px 0;
  background-color: #ffffff;
}

.ppc-about__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}

.ppc-about__media {
  position: relative;
  z-index: 0;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  padding-right: 80px;
  overflow: visible;
}

.ppc-about__media img {
  display: block;
  width: 869px;
  max-width: 724px;
  height: 550px;
  object-fit: cover;
  border-radius: 25px;
}

.ppc-about__copy {
  position: relative;
  z-index: 1;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  padding: 32px 28px;
  border-radius: 32px;
  background-color: #ffffff;
  box-shadow: -1px 0 10px 0 rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.ppc-about__kicker {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #3b755f;
}

.ppc-about__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1em;
  color: #111111;
}

.ppc-about__text {
  padding-top: 24px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7em;
  color: #000000;
}

.ppc-about__text p:last-child {
  margin-bottom: 0;
}

.ppc-about__text ul {
  margin: 1em 0 0;
  padding-left: 1.25em;
  list-style: disc;
}

.ppc-about__text li {
  display: list-item;
  margin-bottom: 0.5em;
}

@media (max-width: 1024px) {
  .ppc-feature__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ppc-feature {
    padding: 80px 15px;
  }

  .ppc-feature--process {
    padding: 120px 15px 0;
  }

  .ppc-feature__card {
    width: 70%;
  }

  .media-carousel--photos {
    padding-top: 200px;
  }

  .media-carousel--photos .media-carousel__title {
    width: 100%;
    font-size: 45px;
  }

  .media-carousel__viewport {
    --media-carousel-visible: 2;
    padding: 0 48px 8px;
  }

  .media-carousel--reviews .media-carousel__viewport {
    --media-carousel-visible: 1;
  }

  .ppc-services__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ppc-about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .ppc-about {
    padding: 60px 15px;
  }

  .ppc-about__media,
  .ppc-about__copy {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .ppc-about__media {
    padding-right: 0;
  }

  .ppc-about__copy {
    margin-left: 0;
  }

  .ppc-about__media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
  }

  .ppc-services__checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ppc-feature {
    padding: 40px 15px;
  }

  .ppc-feature--process {
    padding: 40px 15px 0;
  }

  .ppc-feature__card {
    width: 100%;
    margin-bottom: -80px;
    padding: 24px;
  }

  .ppc-feature__title {
    font-size: 32px;
  }

  .ppc-feature__media img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
  }

  .media-carousel--photos {
    padding: 160px 15px 20px;
  }

  .media-carousel--photos .media-carousel__title {
    font-size: 33px;
  }

  .media-carousel--reviews {
    padding: 40px 15px;
  }

  .media-carousel__viewport {
    --media-carousel-visible: 1;
    --media-carousel-gap: 16px;
    padding: 0 44px 8px;
  }

  .media-carousel__slide img {
    height: 220px;
  }

  .ppc-services {
    padding: 60px 15px;
  }

  .ppc-services__title {
    font-size: 32px;
  }

  .ppc-services__cta {
    margin-top: 40px;
  }

  body:has(.site-footer--ppc) .faq-section {
    padding: 40px 12px;
  }

  body:has(.site-footer--ppc) .faq-section__title {
    font-size: 2rem;
  }

  .ppc-about {
    padding: 40px 15px;
  }

  .ppc-about__media img {
    width: 100%;
    max-width: 672px;
    height: 270px;
  }

  .ppc-about__kicker {
    font-size: 26px;
  }

  .ppc-about__title {
    font-size: 32px;
  }
}
