.fields>.full{grid-column:1/-1}.card:first-child>img{object-position:center 58%}.card:nth-child(4)>img{object-position:center 60%}.contact-info a{overflow-wrap:anywhere}

/* Homepage layout and shared brand details */
.header .logo { width: 128px; }
.footer .logo { width: 145px; }
.menu { min-width: 44px; min-height: 44px; }
.home-hero { background: var(--ink); min-height: 470px; }
.home-hero::before { content: none; }
.home-hero-media { position: absolute; inset: 0 0 0 29%; z-index: -1; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.home-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink), #0c1114d6 13%, #0c111425 46%, transparent 75%);
}
.home-hero .hero-copy { max-width: 530px; }
.home-hero h1 { font-size: clamp(3.2rem, 6vw, 5.15rem); }
.home-hero h1 span { display: block; }
.home-hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.proof-item { text-align: center; padding-inline: 8px; }
.home-review .wrap, .family-story {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px);
}
.home-review figure { margin: 0; padding: 20px 24px; border-left: 3px solid var(--orange); background: var(--panel); }
.home-review blockquote { margin: 0 0 12px; font-size: 1.19rem; }
.home-review figcaption { text-align: left; font: inherit; text-transform: none; padding: 0; }
.home-review figcaption { color: #c7ced2; }
.home-review p a, .home-review figcaption a, .service-map a { text-decoration: underline; text-underline-offset: 3px; }
.card .copy { height: auto; }
.card p { font-size: .95rem; }
.card>img { object-position: center; }
.service-link { display: inline-block; margin-top: 12px; padding: 8px 0; color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.problem-grid p { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.problem-grid strong, .problem-grid span { display: block; }
.problem-grid span { color: #c7ced2; margin-top: 5px; }
.home-urgent { max-width: 1280px; padding: 28px 24px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.home-urgent img { width: 100%; max-height: 325px; height: auto; object-fit: contain; }
.home-urgent .urgent-copy { padding: 0; }
.family-story img { width: min(100%, 410px); height: auto; justify-self: center; }
.area .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "heading map" "cities map";
  align-items: center;
  gap: 14px 34px;
}
.area .wrap > div { grid-area: heading; align-self: end; }
.area .cities { grid-area: cities; align-self: start; }
.area .label { color: #b44715; }
.area .cities { padding: 0; margin: 0; list-style: none; }
.cities li { background: #171f24; color: white; padding: 7px 10px; border-radius: 2px; font-size: .875rem; }
.area .service-map { grid-area: map; margin: 0; width: 100%; height: auto; }
.repair-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.repair-photos figure { margin: 0; }
.repair-photos figcaption { color: #fff; font-weight: 700; padding-top: 8px; }
.mini-form input[type=file] { max-width: 100%; }
.mini-form input::file-selector-button { margin-right: .5em; }
.footer-grid p a { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.footer .footer-grid p a svg { width: 15px; height: 15px; flex: none; }
.contact-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copyright { align-items: center; flex-wrap: wrap; gap: 9px 20px; }
.footer-credit { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; font-size: .875rem; }
.footer-credit img { width: auto; height: 1.6em; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .home-hero { display: block; min-height: 0; }
  .home-hero-media { position: relative; inset: auto; aspect-ratio: 1.7; }
  .home-hero-media::after { background: linear-gradient(180deg, transparent 64%, var(--ink)); }
  .home-hero .hero-copy { padding: 6px 0 26px; max-width: none; }
  .home-hero h1 { font-size: clamp(2.3rem, 9.9vw, 3.4rem); max-width: none; }
  .home-hero .actions { margin-top: 16px; }
  .home-review .wrap, .family-story, .area .wrap, .problem-grid, .home-urgent { grid-template-columns: 1fr; }
  .area .wrap { grid-template-areas: "heading" "map" "cities"; }
  .area .cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .area .cities li { padding: 10px 3px; text-align: center; font-weight: 700; font-size: clamp(.75rem, 3.55vw, .95rem); }
  .problem-grid { gap: 0; }
  .home-urgent { padding: 24px 17px; gap: 18px; }
  .home-urgent img { max-height: 230px; margin: auto; }
  .home-urgent .urgent-copy p { font-size: 1rem; }
  .home-urgent .btn { font-size: 1rem; min-height: 44px; }
  .header .logo { width: clamp(96px, 28vw, 130px); }
  .card p { font-size: .9rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 375px) {
  .mini-form .fields { grid-template-columns: 1fr; }
  .card h3 { font-size: 1.22rem; }
}
