/* A Able Painting Company — site styles */
:root { --header-h: 76px; --ink: #241a28; --ink-2: #4f4554; --line: #e4dce8; }
h1, h2, h3 { color: var(--plum); }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 600; }

/* Header */
.site-header { background: #fff; backdrop-filter: none; }
.brand img { height: 56px; width: auto; }
.brand-name { font-weight: 800; color: var(--plum); font-size: var(--fs-md); line-height: 1.15; max-width: 9.5em; }
.nav a { color: var(--ink); font-weight: 600; }
.header-call { display: none; }
.btn { font-weight: 600; }
@media (max-width: 860px) {
  .header-call { display: inline-flex; align-items: center; gap: .4em; margin-left: auto; min-height: 44px; padding: .5em .9em; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; }
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (max-width: 420px) { .brand-name { display: none; } }

/* Buttons */
.btn-sun { background: var(--sun); color: var(--plum); }
.btn-sun:hover { filter: brightness(1.05); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Hero: full-width photo, solid purple panel overlapping its lower left */
.hero-home { position: relative; }
.hero-home__img { width: 100%; height: 340px; object-fit: cover; object-position: center 60%; }
.hero-panel { position: relative; background: var(--brand); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); margin-top: -3rem; border-radius: var(--radius); max-width: 640px; }
.hero-panel h1 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.05; margin-bottom: var(--s-4); }
.hero-lede { font-size: var(--fs-lg); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 900px) {
  .hero-home__img { height: 680px; }
  .hero-home > .container { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 5vw, 4rem); }
  .hero-panel { margin-top: 0; }
}
@media (max-width: 899px) {
  .hero-home > .container { width: min(100% - 2*var(--gutter), var(--container)); }
}
@media (max-width: 480px) {
  .hero-home__img { height: 230px; }
  .hero-panel { margin-top: -2rem; padding: 1.4rem 1.25rem 1.6rem; }
  .hero-panel h1 { font-size: 1.85rem; }
  .hero-lede { font-size: var(--fs-md); }
  .hero-actions .btn { width: 100%; }
}

/* The street: a row of finished homes, same height, edge to edge */
.street-wrap { padding-block: var(--section) 0; }
.street-head { display: grid; gap: var(--s-3) var(--s-7); align-items: end; margin-bottom: var(--s-5); }
.street-head h2 { margin: 0; }
.street-head p { color: var(--ink-2); margin: 0; }
@media (min-width: 900px) { .street-head { grid-template-columns: auto 1fr; } }
.street { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--plum); }
.street img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; object-position: center 55%; scroll-snap-align: start; }
@media (min-width: 900px) { .street { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow-x: visible; } }

/* About + promises */
.about-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.promises { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--brand); }
.promises li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; gap: .15em; }
.promises h3 { font-size: var(--fs-lg); margin: 0; }
.promises p { margin: 0; color: var(--ink-2); }

/* Services: two wide rows */
.services-title { margin-bottom: var(--s-7); }
.service { display: grid; gap: var(--s-5) var(--s-7); align-items: center; }
.service + .service { margin-top: var(--s-8); }
.service img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); }
.service h3 { font-size: var(--fs-xl); font-weight: 800; }
.service-text a { font-weight: 600; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1.15fr 1fr; }
  .service--flip img { order: 2; }
}

/* Reviews */
.feature-review { margin: var(--s-6) 0 var(--s-7); padding-left: var(--s-5); border-left: 4px solid var(--accent); }
.feature-review .pullquote { max-width: 40ch; color: var(--plum); }
.feature-review figcaption { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--fs-sm); }
.reviews { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.reviews figure { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.reviews blockquote { margin: 0 0 var(--s-3); }
.reviews figcaption { color: var(--ink-2); font-size: var(--fs-sm); }
.rating { margin-top: var(--s-7); font-weight: 600; }

/* Areas + estimate */
.areas-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .areas-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.towns { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.towns li { padding: .7em 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lg); font-weight: 600; color: var(--plum); }
.estimate { background: var(--brand); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.estimate h2 { color: #fff; font-size: var(--fs-xl); }
.estimate .estimate-or { margin-top: var(--s-6); color: rgba(255,255,255,.9); }
.estimate .form label { color: #fff; }
.estimate .form input, .estimate .form select, .estimate .form textarea { border-color: transparent; }
.estimate .form-success { background: #fff; color: var(--ink); }

/* Footer */
.site-footer { background: var(--plum); color: #e6dcea; }
.footer-name { color: #fff; font-weight: 800; font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.footer-h { color: #fff; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-3); letter-spacing: 0; }
.footer-bottom { color: #c9bccf; }
