/* Surf official site: the inner pages, header menu and footer. Builds on surf2.css (same colors and type). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.narrow { max-width: 820px; }
.h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin-bottom: 0.7rem; }

/* header: phone menu */
.menu-btn { display: none; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 0.8rem; right: 0.8rem; height: 2.5px; border-radius: 2px; background: var(--peach); transition: transform 0.3s var(--ease); }
.menu-btn span:nth-child(1) { top: 1.1rem; } .menu-btn span:nth-child(2) { top: 1.65rem; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.28rem) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-0.28rem) rotate(-45deg); }
.menu { position: fixed; inset: 4.4rem 0 auto 0; max-height: calc(100dvh - 4.4rem); overflow-y: auto; background: var(--navy); color: var(--white); padding: 1.2rem var(--pad) 2rem; display: grid; gap: 0.1rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.menu[hidden] { display: none; }
.menu a { padding: 0.65rem 0; font-weight: 700; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.menu-h { margin-top: 1rem; font-size: 0.85rem; font-weight: 800; color: var(--peach); }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .hdr2 .hdr-quote { display: none; }
  .hdr2 .tel span { display: none; }
  .hdr2 .tel { width: 2.9rem; height: 2.9rem; justify-content: center; border-radius: 12px; background: var(--white); }
  .menu { inset: 3.9rem 0 auto 0; max-height: calc(100dvh - 3.9rem); }
}
@media (min-width: 861px) and (max-width: 1180px) { .hdr2 nav .link[href="/residential-serices"], .hdr2 nav .link[href="/commercial"] { display: none; } }

/* page top on inner pages: words on navy, their photo beside, never cropped hard */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-top: 4.3rem; background: var(--navy); color: var(--white); }
.phero-text { display: grid; align-content: center; gap: 1.1rem; padding: clamp(2.4rem, 5vw, 5rem) var(--pad); }
.phero h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); }
.phero .lede { margin-top: 0; opacity: 0.9; }
.phero-trust { display: flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; opacity: 0.9; }
.phero-trust .st, .st { fill: currentColor; color: var(--peach); }
.phero .btn--primary { background: var(--peach); color: var(--navy); }
.phero .btn--primary:hover { background: var(--white); }
.phero-photo { position: relative; min-height: 22rem; }
.phero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero :focus-visible { outline-color: var(--peach); }

/* two text blocks beside a tall photo */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-text { display: grid; gap: 2.2rem; }
.split-text p { max-width: 36rem; }
.split-photo { position: relative; border-radius: var(--r); overflow: visible; }
.split-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -36px rgba(17, 28, 65, 0.7); }

/* checks: "what we offer" */
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.checks li { display: flex; align-items: center; gap: 0.9rem; padding: 1.2rem 1.2rem; border-radius: var(--r); background: var(--white); font-weight: 800; font-size: 1.08rem; line-height: 1.25; box-shadow: 0 18px 40px -30px rgba(17, 28, 65, 0.5); }
.checks .ic-ring { width: 3rem; height: 3rem; flex: none; }
.checks--list { grid-template-columns: 1fr; }
.checks--list li { background: var(--cream); }

/* plans: perks */
.plan .btn { justify-self: center; margin-top: 1.1rem; }
.plan:not(.plan--star) .btn--primary { background: var(--peach); color: var(--navy); }
.perks { margin-top: 0.9rem; display: grid; gap: 0.45rem; font-weight: 700; justify-items: center; font-size: 0.98rem; }
.perks li { display: inline-flex; gap: 0.45rem; align-items: center; }
.plan--star .perks { margin-top: 1rem; }

/* questions */
.faq { display: grid; gap: 0.8rem; }
.faq details { border-radius: var(--r); background: var(--cream); border: 2px solid transparent; transition: border-color 0.25s ease; }
.faq details[open] { border-color: var(--peach-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 800; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 1.3rem; height: 1.3rem; transform: rotate(90deg); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] .faq-ic { transform: rotate(-90deg); }
.faq details p { padding: 0 1.4rem 1.3rem; max-width: 46rem; }

/* bundle */
.bundle .wrap { max-width: 760px; }
.bundle .sticker--sun { top: -2rem; right: 1rem; background: var(--white); }
.center-lede { margin-inline: auto; }
.bundle .actions { justify-content: center; margin-top: 1.6rem; }

/* quote form band */
.qband-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.qband .ticks { margin: 1.5rem 0; }
.qband .top-call { color: var(--white); }
.qbox { background: var(--navy-2); color: var(--white); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 2.2rem); }
.qbox .btn--primary { background: var(--peach); color: var(--navy); }
.qbox .btn--primary:hover { background: var(--white); }
.qbox :focus-visible { outline-color: var(--peach); }

/* more services strip */
.more-svc { padding-block: 2.6rem 3.4rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.pill-list a { display: inline-block; padding: 0.55rem 1rem; border-radius: 999px; border: 2px solid rgba(17, 28, 65, 0.15); font-weight: 700; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.pill-list a:hover { border-color: var(--navy); background: var(--peach); }

/* photo cards that link to a page */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcards a { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; box-shadow: 0 24px 44px -32px rgba(17, 28, 65, 0.7); }
.pcards--2 a { aspect-ratio: 4 / 3; }
.pcards img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 28, 65, 0.85), rgba(17, 28, 65, 0) 55%); }
.pcards span { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.pcards a:hover img { transform: scale(1.05); }

.prow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prow img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

/* masonry gallery: every photo keeps its own shape */
.masonry { columns: 3 16rem; column-gap: 1rem; }
.masonry--4 { columns: 4 14rem; }
.masonry figure { break-inside: avoid; margin-bottom: 1rem; }
.masonry img { width: 100%; height: auto; border-radius: 18px; }

/* commercial */
.promises--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promises--4 h3 { font-size: 1.45rem; }
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 2.4rem; }
.why3 > div { padding: 1.8rem 1.6rem; border-radius: var(--r); background: var(--cream); }
.why3 h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.why3 .ticks { margin: 1rem 0 0; font-weight: 600; }
.why3 .ticks .ic { color: var(--navy); }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; align-items: center; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1rem; border-radius: 18px; background: var(--white); }
.logos img { max-height: 100%; width: auto; object-fit: contain; }

/* about */
.story4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.story4 > div { padding: 1.8rem 1.6rem; border-radius: var(--r); background: var(--cream); }
.story4 h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin-bottom: 0.6rem; }

/* contact top uses the home layout */
.top--contact .top-photo { aspect-ratio: 4 / 3; }

/* plain text pages */
.plain-top { padding-top: calc(4.3rem + clamp(3rem, 6vw, 5rem)); }
.legal { display: grid; gap: 1rem; }
.legal img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(17, 28, 65, 0.12); }

/* footer */
.foot3 { background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 6.5rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.foot3 ul { display: grid; gap: 0.45rem; margin-top: 0.8rem; }
.foot3 a { text-decoration: none; }
.foot3 ul a:hover { text-decoration: underline; }
.f-brand { display: grid; gap: 1rem; justify-items: start; }
.f-brand img { width: 88px; }
.f-tel { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 800; font-size: 1.3rem; }
.f-brand .btn--primary { background: var(--peach); color: var(--navy); }
.f-h { font-weight: 800; color: var(--peach); }
.f-legal { grid-column: 1 / -1; font-size: 0.9rem; opacity: 0.75; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.4rem; }
.f-legal a { text-decoration: underline; margin-left: 0.8rem; }
.foot3 :focus-visible { outline-color: var(--peach); }

@media (max-width: 1000px) {
  .checks, .pcards { grid-template-columns: 1fr 1fr; }
  .promises--4 { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .phero { grid-template-columns: 1fr; padding-top: 3.9rem; }
  .phero-photo { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .phero-text { padding: 1.8rem var(--pad) 2.6rem; }
  .phero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .split, .qband-grid, .why3, .story4, .prow { grid-template-columns: 1fr; }
  .split-photo { max-width: 26rem; }
  .pcards--3, .pcards--2 { grid-template-columns: 1fr 1fr; }
  .pcards span { font-size: 0.98rem; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; }
  .pcards .ic { display: none; }
  .checks li { padding: 1rem; font-size: 1rem; gap: 0.7rem; }
  .checks .ic-ring { width: 2.6rem; height: 2.6rem; }
  .masonry, .masonry--4 { columns: 2; column-gap: 0.6rem; }
  .masonry figure { margin-bottom: 0.6rem; }
  .foot3 { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .f-legal a { display: inline-block; margin: 0.5rem 0.8rem 0 0; }
}
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }
