/* =========================================================
   ESCO CONSTRUCTION — TIDIED STYLESHEET
   Same look as before. Unused leftovers removed, duplicates
   merged, everything grouped in the order below:

   1.  Colors and base
   2.  Header and navigation
   3.  Homepage hero
   4.  Sections and cards
   5.  Testimonials
   6.  Owner section and call-to-action
   7.  Forms
   8.  Page intro
   9.  Services dropdown
   10. Remodeling gallery
   11. Service cards, backgrounds and photo banner
   12. Footer
   13. Responsive (tablet, then phone)
   ========================================================= */


/* =========================================================
   1. COLORS AND BASE
   ========================================================= */

:root {
  --tan: #c5ad8a;
  --sand: #f2e9dc;
  --ink: #292a27;
  --muted: #6e6a63;
  --white: #fff;
  --line: #e4ddd3;
  --hunter: #234735;
  --hunter-light: #355b46;
  --cream: #f5f1e8;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: #806a4b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hides text visually but keeps it for screen readers */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   2. HEADER AND NAVIGATION
   ========================================================= */

/* Inner pages: frosted sticky header */
.inner-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 233, 220, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 221, 211, 0.7);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Home page: transparent header that sits over the photo */
body:not(.inner-page) .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}

.brand img {
  width: 158px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--hunter-light);
}

/* Buttons */
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 3px;
  background: var(--hunter);
  color: #fff;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-cta:hover,
.button:hover {
  background: var(--hunter-light);
}

/* Mobile hamburger button (shown only on phones) */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--hunter);
  border-radius: 4px;
  background: var(--hunter);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}


/* =========================================================
   3. HOMEPAGE HERO
   ========================================================= */

.home-hero-background {
  position: relative;
  isolation: isolate;
  background-color: var(--sand);
  background-image: url("assets/homepage-kitchen.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.home-hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(245, 241, 232, 0.78) 0%,
    rgba(245, 241, 232, 0.55) 35%,
    rgba(245, 241, 232, 0.18) 70%,
    rgba(245, 241, 232, 0.05) 100%
  );
  pointer-events: none;
}

.hero {
  padding: 74px 0;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  max-width: 650px;
  margin: 14px 0 20px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 560px;
  color: #504d47;
  font-size: 1.1rem;
}

/* The three "pillars" panel */
.hero-features {
  padding: 32px;
  border: 1px solid rgba(197, 173, 138, 0.55);
  border-radius: 6px;
  background: rgba(245, 241, 232, 0.25);
  box-shadow: 0 12px 32px rgba(41, 42, 39, 0.10);
  backdrop-filter: blur(5px);
}

.hero-feature {
  padding: 18px 0;
  border-bottom: 1px solid rgba(197, 173, 138, 0.5);
}

.hero-feature:first-child {
  padding-top: 0;
}

.hero-feature:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-feature h3 {
  margin: 0 0 8px;
  color: var(--hunter);
  font-size: 1.15rem;
}

.hero-feature p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* =========================================================
   4. SECTIONS AND CARDS
   ========================================================= */

.section {
  padding: 68px 0;
}

.section.tinted {
  background: #f8f5f0;
}

.section h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  margin: 10px 0 14px;
  color: var(--hunter);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.section-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

/* Home page service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.card h3 {
  margin: 0 0 10px;
}


/* =========================================================
   5. TESTIMONIALS
   ========================================================= */

.testimonials-section {
  padding: 72px 0;
  background: var(--sand);
}

.testimonials-section .section-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.testimonials-section .section-head h2 {
  margin: 10px 0 14px;
  color: var(--ink);
}

.testimonials-section .section-head p {
  color: var(--muted);
  line-height: 1.7;
}

/* The outer card holds one slide at a time */
.testimonial-card {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(41, 42, 39, 0.06);
}

/* Each slide is a two-column grid: text and photo */
.testimonial-slide {
  display: none;
  width: 100%;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.testimonial-slide.is-active {
  display: grid;
}

.testimonial-content {
  min-width: 0;
}

.testimonial-stars {
  display: inline-block;
  margin-bottom: 18px;
  color: #FFD21F !important;   /* bright yellow stars */
  font-size: 1.4rem;
  letter-spacing: 3px;
  line-height: 1.4;
  text-shadow: 0 1px 1px rgba(41, 42, 39, 0.12);
}

.testimonial-content h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}

.testimonial-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.testimonial-content .testimonial-author {
  margin-top: 22px;
  color: var(--hunter);
  font-weight: 700;
}

.testimonial-photo {
  display: block;
  width: 100%;
  min-width: 0;
  align-self: start;
}

.testimonial-photo-placeholder {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #e4ddd3;
}

.testimonial-photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-photo-placeholder span {
  display: block;
  padding: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-align: center;
}

.testimonial-slide img {
  display: block;
  max-width: 100%;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(41, 42, 39, 0.30) !important;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 26px auto 0;
}

.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hunter);
  border-radius: 50%;
  background: var(--hunter);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-arrow:hover {
  background: var(--hunter-light);
}

.testimonial-arrow:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 3px;
}

.testimonial-counter {
  display: inline-block;
  color: var(--ink);
  font-size: 14px;
}


/* =========================================================
   6. OWNER SECTION AND CALL-TO-ACTION
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.owner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 34px;
  background: var(--sand);
  overflow: visible;
}

.owner-mark img {
  max-width: 300px;
}

.owner-mark img.home-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(41, 42, 39, 0.25) !important;
}

/* Dark rounded call-to-action box */
.cta-band {
  padding: 30px 20px;
  background: transparent;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  background: #292a27;
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(41, 42, 39, 0.12);
}

.cta-inner h2 {
  margin-top: 0;
  color: #fff;
}

.cta-band p {
  margin: 6px 0 0;
  color: #fff;
}

.cta-band .button {
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--tan);
  color: #201f1c;
}

.cta-band .button:hover {
  background: #d6c3a6;
  color: #201f1c;
}


/* =========================================================
   7. FORMS (contact / estimate page)
   ========================================================= */

.form-shell {
  max-width: 760px;
  margin: auto;
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #cfc7bb;
  border-radius: 3px;
  background: #fff;
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--tan);
  outline-offset: 1px;
}

.field textarea {
  min-height: 140px;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
}


/* =========================================================
   8. PAGE INTRO (top of inner pages)
   ========================================================= */

.page-intro {
  padding: 55px 0;
  background: var(--sand);
}

.page-intro h1 {
  margin: 8px 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.1;
}


/* =========================================================
   9. SERVICES DROPDOWN
   ========================================================= */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  padding: 8px 0;
  background: var(--sand, #f2e9dc);
  border: 1px solid var(--line, #e4ddd3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--ink, #292a27);
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--hunter, #234735);
  color: #fff;
}

.services-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--hunter, #234735);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown.is-open .services-icon {
  transform: rotate(45deg);
}


/* =========================================================
   10. REMODELING GALLERY (before and after)
   ========================================================= */

.renovation-gallery {
  background: var(--sand);
}

.renovation-project-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.before-after {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  gap: 3px;
  min-width: 0;
  background: var(--hunter);
}

.before-after-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--sand);
  border-radius: 50%;
  background: var(--hunter);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Captions under each before-and-after pair */
.renovation-gallery .renovation-pair .before-after {
  margin: 0 0 14px !important;
}

.renovation-gallery .photo-caption {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Group headings (The Exterior, Living Spaces, ...) */
.renovation-gallery .gallery-group-title {
  margin: 16px 0 -20px;
  text-align: center;
  color: var(--hunter, #234735);
  font-size: 1.3rem;
}


/* =========================================================
   11. SERVICE CARDS, BACKGROUNDS AND PHOTO BANNER
   ========================================================= */

/* Service cards (service pages) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

/* Four cards in a 2 x 2 layout */
.service-grid.four-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--tan);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(41, 42, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--hunter);
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Text links inside cards (buttons keep their own colors) */
.service-card a:not(.button) {
  color: var(--hunter, #234735);
  font-weight: 700;
  text-decoration: none;
}

.service-card a:not(.button):hover {
  text-decoration: underline;
}

/* Gentle lift on hover (desktop only) */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(41, 42, 39, 0.14);
  }
}

/* Section background variety */
.band-white {
  background: #fff;
}

.band-green {
  background: var(--hunter, #234735);
  color: #fff;
}

.band-green h2,
.band-green .eyebrow {
  color: #f2e9dc;
}

.band-green > .wrap > .section-head p {
  color: #f2e9dc;
}

.band-wood {
  background-color: #f3e8d7;
  background-image:
    repeating-linear-gradient(178deg, transparent 0, transparent 32px, rgba(132, 101, 65, .05) 33px, transparent 35px, transparent 58px),
    repeating-linear-gradient(2deg, transparent 0, transparent 110px, rgba(132, 101, 65, .035) 111px, transparent 114px);
}

/* Photo banner at the top of a page */
.photo-banner {
  position: relative;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
}

.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 71, 53, 0.62);
}

.photo-banner .wrap {
  position: relative;
}

.photo-banner h1,
.photo-banner p,
.photo-banner .eyebrow {
  color: #fff;
}


/* =========================================================
   12. FOOTER
   Layout: logo, contact line, navigation row, copyright.
   (!important is kept because each page also carries a small
   built-in footer style block that these rules must outrank.)
   ========================================================= */

.site-footer {
  padding: 36px 0;
  background: var(--sand);
  color: var(--ink);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.footer-inner img {
  width: 150px;
  padding: 0;
  background: transparent;
}

/* Contact line: quiet, regular weight */
footer.site-footer .footer-inner .footer-contact {
  gap: 8px 14px !important;
  font-size: 0.9rem !important;
}

footer.site-footer .footer-inner .footer-contact a,
footer.site-footer .footer-inner .footer-contact span {
  color: #6e6a63 !important;
  font-weight: 400 !important;
}

footer.site-footer .footer-inner .footer-contact .footer-divider {
  color: #c5ad8a !important;
}

footer.site-footer .footer-inner .footer-contact a:hover {
  color: #234735 !important;
  text-decoration: underline;
}

/* Navigation row: bold green capitals between thin lines */
footer.site-footer .footer-inner .footer-links {
  gap: 10px 28px !important;
  max-width: 760px;
  margin-top: 6px;
  padding: 14px 0;
  border-top: 1px solid #e4ddd3;
  border-bottom: 1px solid #e4ddd3;
}

footer.site-footer .footer-inner .footer-links a {
  color: #234735 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

footer.site-footer .footer-inner .footer-links a:hover {
  color: #20382d !important;
  text-decoration: underline;
}

/* Last link in the row ("Schedule a Consultation") becomes a button.
   Uses :last-child so it works no matter how the address is written. */
footer.site-footer .footer-inner .footer-links a:last-child {
  padding: 10px 18px !important;
  background: #234735 !important;
  color: #ffffff !important;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

footer.site-footer .footer-inner .footer-links a:last-child:hover {
  background: #20382d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}


/* =========================================================
   13. RESPONSIVE
   ========================================================= */

/* Desktop only: keep testimonial text and photo side by side */
@media (min-width: 651px) {
  .testimonial-slide.is-active {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) !important;
    align-items: start;
    gap: 36px;
  }

  .testimonial-content,
  .testimonial-photo {
    min-width: 0;
    width: 100%;
  }

  .testimonial-photo-placeholder,
  .testimonial-photo-placeholder img {
    width: 100%;
  }

  .testimonial-photo-placeholder img {
    display: block;
    height: 100%;
    object-fit: cover;
  }
}

/* Mobile services dropdown */
@media (max-width: 800px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    text-align: left;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    padding: 4px 0 4px 16px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    gap: 14px;
  }

  .hero-grid {
    gap: 30px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    gap: 30px;
  }
}

/* Cards stack to one column on tablets and phones */
@media (max-width: 860px) {
  .service-grid,
  .service-grid.four-up {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
  }

  .brand img {
    width: 140px;
  }

  .header-inner > .menu-toggle {
    display: flex;
    position: relative;
    z-index: 30;
    visibility: visible;
    opacity: 1;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--sand);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav .nav-cta {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-grid,
  .cards,
  .split,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .section {
    padding: 52px 0;
  }

  .cta-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px !important;
  }

  .form-shell {
    padding: 22px;
  }

  .page-intro {
    padding: 40px 0;
  }

  .testimonials-section {
    padding: 48px 0;
  }

  .testimonial-card {
    padding: 22px;
  }

  /* Stack testimonial text and photo on narrow screens */
  .testimonial-slide.is-active {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .testimonial-photo-placeholder {
    aspect-ratio: 4 / 3;
  }

  .testimonial-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .renovation-project-list {
    gap: 24px;
  }

  .before-after-arrow {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
}
