/* Homepage-only sections. Tokens and site chrome live in site.css; element base, heroes, service cards and FAQ in base.css. */

/* Hero: full-bleed job photo under a navy fade, copy on the left (overrides the split hero in base.css) */
.hero {
  overflow: hidden;
  background: #1a1a1a;
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #011c2a 0%, #011c2a 28%, rgba(1, 28, 42, 0.72) 40%, rgba(1, 28, 42, 0.22) 54%, rgba(1, 28, 42, 0) 66%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
  min-height: 680px;
}

.hero-copy {
  max-width: 640px;
  padding: var(--s8) 0;
}

.hero h1 {
  font: 600 clamp(3rem, 5.6vw, 5rem) / 0.95 var(--font-display);
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-lede {
  max-width: 46ch;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-proof {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s6);
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-proof b {
  font-weight: 600;
  color: var(--white);
}

.hero-stars {
  font-size: 1.125rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 2px;
}

.hero-proof .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

@media (max-width: 820px) {
  .hero-bg {
    width: 100%;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.82));
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-copy {
    padding-block: var(--s7);
  }

}

/* Estimate form */
.estimate-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s7);
  align-items: start;
}

.estimate-intro p {
  margin-top: var(--s3);
  font: var(--body-lg);
  color: var(--text-muted);
}

.estimate-intro .call-line {
  margin-top: var(--s4);
  font: var(--label);
  font-size: 1.0625rem;
  color: var(--text);
}

.call-line a {
  color: var(--ink);
  text-underline-offset: 5px;
}

@media (max-width: 1024px) {
  .area-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .estimate-inner,
  .about-inner,
  .areas-inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
}

@media (max-width: 520px) {
  .areas-copy .btn {
    width: 100%;
  }


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

/* Refresh (Nov 2026, same as the approved service pages): white page, bigger section
   titles, more air, and whitespace instead of divider lines between sections. */
body {
  background: var(--white);
}

main > section:not(.hero):not(.cta) h2 {
  font: 600 clamp(2.25rem, 4vw, 3.5rem) / 0.98 var(--font-display);
}

.section-head p,

.reviews,
.services,
.areas,
.faq {
  border-top: 0;
}

.service h3 {
  font-size: 1.75rem;
}

.estimate,
.reviews,
.services,
.areas,
.faq {
  padding-block: var(--s7);
}

/* Reviews read as quotes, not fine print */
.review blockquote {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
}

@media (max-width: 820px) {
  .estimate,
  .reviews,
  .services,
  .areas,
  .faq {
    padding-block: var(--s6);
  }
}

.area-group summary {
  min-height: 72px;
  font-size: 1.5rem;
}

/* Desktop: the photo stretches full width with no blue at all. A neutral dark shade on the
   left keeps the white copy readable; the right side of the photo stays untouched. */
@media (min-width: 821px) {
  .hero {
    background: #1a1a1a;
  }

  .hero-bg {
    width: 100%;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.68) 38%, rgba(0, 0, 0, 0.3) 56%, rgba(0, 0, 0, 0) 70%);
  }

  .hero-proof li {
    color: rgba(255, 255, 255, 0.85);
  }
}

/* Reviews: real review cards (stars, quote, name) in one row on wide screens and a
   swipeable row with a peek on smaller ones, instead of grey columns on hairlines */
.review-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.review {
  gap: var(--s3);
  padding: var(--s5) var(--s4) var(--s4);
  border-top: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}

.review-stars {
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--accent);
}

.review blockquote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--navy);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-top: var(--s3);
  font-size: 0.9375rem;
  color: var(--navy);
}

.review-author .review-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  font: 600 0.9375rem / 1 var(--font-body);
  color: var(--white);
}

/* Narrower screens: one swipeable row; the next card peeks in to show there is more */
@media (max-width: 1180px) {
  .review-list {
    display: flex;
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--s2) var(--gutter) var(--s5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .review-list::-webkit-scrollbar {
    display: none;
  }

  .review {
    flex: 0 0 min(300px, 78%);
    scroll-snap-align: start;
  }
}

/* Trusted experts: heading and intro side by side on top, then a tile grid: the team photo,
   the two key numbers, and the three promises. White page, thin outlines, no shadows. */
.about {
  background: var(--white);
  color: var(--text);
}

.about h2 {
  color: var(--navy);
}

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s6);
  align-items: start;
}

.about-head > div {
  padding-top: var(--s2);
}

.about-head p {
  max-width: 50ch;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--text);
}

.about .text-link {
  margin-top: var(--s3);
  color: var(--ink);
}

/* Four facts in a row, each with a custom icon (navy line + one orange detail) */
.about-facts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s6);
  margin: var(--s7) 0 0;
  padding: 0;
  list-style: none;
}

.about-facts-row li {
  display: grid;
  gap: var(--s2);
  align-content: start;
}

.about-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--s3);
  color: var(--navy);
}

.about-facts-row b {
  font: 600 1.75rem / 1.05 var(--font-display);
  color: var(--navy);
}

.about-facts-row span {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .about-facts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s6) var(--s5);
  }
}

@media (max-width: 520px) {
  .about-facts-row {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .about-facts-row li {
    grid-template-columns: 48px 1fr;
    column-gap: var(--s4);
    row-gap: 2px;
  }

  .about-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .about-facts-row b {
    font-size: 1.5rem;
  }
}

@media (max-width: 820px) {
  .about-head {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }






  .about-head > div {
    padding-top: 0;
  }
}

/* Service areas: same head as "trusted experts" (title | intro + call), then the three regions
   side by side with every town visible. On phones each region folds into a tap-to-open row. */
.areas-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s6);
  align-items: start;
}

.areas-head > div {
  padding-top: var(--s2);
}

.areas-head p {
  max-width: 50ch;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--text);
}

.areas-head .text-link {
  margin-top: var(--s3);
  color: var(--ink);
}

.area-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6);
  margin-top: var(--s7);
}

.area-region summary {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-bottom: var(--s3);
  border-bottom: 2px solid var(--navy);
  list-style: none;
  color: var(--navy);
}

.area-region summary::-webkit-details-marker {
  display: none;
}

.area-pin {
  flex: none;
  width: 24px;
  height: 24px;
}

.area-name {
  font: 600 1.75rem / 1.05 var(--font-display);
}

.area-region .count {
  margin-left: auto;
  font: 600 0.875rem / 1 var(--font-body);
  color: var(--text-muted);
}

.area-region summary > .icon {
  display: none;
}

.area-region ul {
  columns: 2;
  column-gap: var(--s5);
  margin: 0;
  padding: var(--s4) 0 0;
  list-style: none;
}

.area-region li {
  padding-block: 6px;
  white-space: nowrap;
  break-inside: avoid;
  font-size: 1rem;
  color: var(--text);
}

/* Desktop: regions are always open (site.js opens them), so the header is not a button */
@media (min-width: 821px) {
  .area-region summary {
    pointer-events: none;
  }
}

@media (max-width: 1024px) and (min-width: 821px) {
  .area-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-region:first-child {
    grid-column: 1 / -1;
  }

  .area-region:first-child ul {
    columns: 3;
  }
}

@media (max-width: 820px) {
  .areas-head {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }

  .areas-head > div {
    padding-top: 0;
  }

  .area-regions {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: var(--s5);
    border-top: 1px solid var(--line);
  }

  .area-region {
    border-bottom: 1px solid var(--line);
  }

  .area-region summary {
    min-height: 64px;
    padding: 0;
    border-bottom: 0;
    cursor: pointer;
  }

  .area-name {
    font-size: 1.5rem;
  }

  .area-region .count {
    margin-left: var(--s1);
  }

  .area-region summary > .icon {
    display: block;
    margin-left: auto;
    transition: transform 0.2s ease-out;
  }

  .area-region[open] summary > .icon {
    transform: rotate(180deg);
  }

  .area-region ul {
    padding: 0 0 var(--s4);
  }
}

/* FAQ (Home): each question gets a custom icon (navy line + one orange detail), questions in the
   display face, answers indented under the question text, and a round plus that turns to a cross. */
.faq .faq-list summary {
  justify-content: flex-start;
  gap: var(--s4);
  min-height: 84px;
  padding-block: var(--s4);
  cursor: pointer;
}

.faq-icon {
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--navy);
}

.faq-q {
  flex: 1;
  font: 600 1.5rem / 1.15 var(--font-display);
  color: var(--navy);
}

.faq-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.faq .faq-list summary .icon {
  margin: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease-out;
}

.faq .faq-list details[open] .faq-toggle {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
  .faq .faq-list summary:hover .faq-q {
    color: var(--ink);
  }

  .faq .faq-list summary:hover .faq-toggle {
    border-color: var(--navy);
  }
}

.faq .faq-answer {
  max-width: 60ch;
  padding: 0 0 var(--s5) calc(40px + var(--s4));
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 520px) {
  .faq .faq-list summary {
    gap: var(--s3);
    min-height: 72px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .faq-q {
    font-size: 1.25rem;
  }

  .faq-toggle {
    width: 36px;
    height: 36px;
  }

  .faq .faq-answer {
    padding-left: 0;
    font-size: 1rem;
  }
}

/* Review stars: the site's own rounded star (soft corners, small highlight), bigger */
.stars-pb {
  gap: 4px;
}

.stars-pb svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.rating {
  gap: var(--s3);
}

.review-stars {
  display: flex;
  gap: 3px;
  letter-spacing: 0;
}

.review-stars svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

/* Hero proof: the site star and a shield (white line + orange check) */
.hero-proof li {
  gap: 10px;
  font-size: 1rem;
}

.hero-stars {
  display: inline-flex;
  gap: 3px;
  letter-spacing: 0;
}

.hero-stars svg {
  width: 24px;
  height: 24px;
}

.hero-shield {
  flex: none;
  width: 24px;
  height: 24px;
  margin-right: 2px;
}

@media (max-width: 400px) {
  .hero-proof li {
    display: block;
    font-size: 0.9375rem;
  }

  .hero-proof li > * {
    vertical-align: middle;
  }

  .hero-proof b {
    margin-inline: 4px;
  }
}

/* Estimate: the form sits in an outlined card; the left column says what happens next
   (3 numbered steps) and offers the phone number as a clear second option. */
.estimate-inner {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s8);
}

.estimate-intro > p {
  max-width: 40ch;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--text);
}

.estimate-steps {
  display: grid;
  gap: var(--s4);
  margin: var(--s6) 0 0;
  padding: 0;
  list-style: none;
}

.estimate-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s3);
  align-items: start;
}

.estimate-steps li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  font: 600 1.25rem / 1 var(--font-display);
  color: var(--white);
}

.estimate-steps div {
  display: grid;
  gap: 2px;
  padding-top: 2px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.estimate-steps b {
  font: 600 1.25rem / 1.2 var(--font-display);
  color: var(--navy);
}

.estimate-call {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}

.estimate-call svg {
  flex: none;
  width: 40px;
  height: 40px;
}

.estimate-call span {
  display: grid;
  font: 600 1.75rem / 1.05 var(--font-display);
}

.estimate-call small {
  font: 600 0.9375rem / 1.3 var(--font-body);
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .estimate-call:hover span {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
}

.estimate .estimate-form {
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.estimate .estimate-form button[type="submit"] {
  justify-self: stretch;
}

@media (max-width: 820px) {
  /* Phones: heading, one line, then straight to the form; the call option follows it */
  .estimate-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .estimate-intro {
    display: contents;
  }

  .estimate-intro > p {
    margin-bottom: var(--s5);
  }

  .estimate-steps {
    display: none;
  }

  .estimate .estimate-form {
    order: 3;
  }

  .estimate-call {
    order: 4;
  }
}

@media (max-width: 520px) {
  .estimate .estimate-form {
    padding: var(--s4);
  }

  .estimate-call {
    margin-top: var(--s5);
    padding-top: var(--s4);
  }
}

.estimate .form-status:empty {
  display: none;
}

.estimate .form-status {
  min-height: 0;
}

.estimate-call {
  display: flex;
}

.proof-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
