:root {
  --blue: #1467b4;
  --blue-600: #0f559a;
  --blue-700: #0b4078;
  --navy: #0a1f38;
  --ink: #1b1b1b;
  --muted: #586273;
  --line: #e3e8ef;
  --alt: #f3f6fa;
  --gold: #c9a24a;
  --red: #b3202a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 31, 56, 0.08);
  --font: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; font-size: 17px; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--blue); margin-bottom: 0.75rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; font-size: 1rem; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { background: #eaf2fb; }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* Top bar + header. Call bar matches the live site: one white strip, sticky at the top. */
.topbar { z-index: 998; background: #fff; color: #1b1b1b; height: 2rem; display: flex; position: sticky; top: 0; width: 100%; text-decoration: none; }
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 0.25rem; width: 100%; height: 100%; }
.topbar__label { color: #1b1b1b; font-size: 16px; font-weight: 500; }
.topbar__phone { display: flex; align-items: center; gap: 0.25rem; color: #1b1b1b; font-size: 16px; font-weight: 500; }
.topbar .phone-icon { width: 1.5rem; height: 1.5rem; display: block; }
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .topbar { top: 46px; }
}

/* Social profile icons (header, footer, [piva_social]) */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.4rem; align-items: center; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: #fff; transition: background 0.15s, transform 0.15s; }
.social a:hover, .social a:focus-visible { background: var(--blue); transform: translateY(-1px); }
.social .icon { width: 1.05rem; height: 1.05rem; }
.social--nav { margin-left: 0.25rem; }
.social--footer { margin-top: 1.25rem; }
.social--footer a { background: rgba(255, 255, 255, 0.12); }
.social--footer a:hover { background: var(--blue); }

.site-header { z-index: 998; border-bottom: 1px solid #1467b4; background: #1467b4; padding: 0.5rem 0; position: sticky; top: 2rem; box-shadow: 0 4px 10px -6px #0003; }
.admin-bar .site-header { top: calc(2rem + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: calc(2rem + 46px); }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { width: 6.5rem; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 0.6rem 0.8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.site-header .site-nav .menu > li > a { color: #fff; }
.site-header .site-nav .menu > li > a:hover,
.site-header .site-nav .menu > .current-menu-item > a,
.site-header .site-nav .menu > .current-menu-ancestor > a { color: #fff; }
.site-header .site-nav .sub-menu a { color: var(--ink); }
.site-header .site-nav .sub-menu a:hover,
.site-header .site-nav .sub-menu .current-menu-item > a { color: var(--blue); }
.site-header .social a { background: rgba(255, 255, 255, 0.16); }
.site-header .social a:hover, .site-header .social a:focus-visible { background: #fff; color: var(--blue); }
.site-header .site-nav__cta { background: #fff; color: var(--blue); }
.site-header .site-nav__cta:hover { background: #eaf2fb; color: var(--blue-700); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 0.4rem; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.15s; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a:hover { background: var(--alt); }
/* Wide panel for Services / Service Areas: two columns, optional title and "all" link. */
.site-nav .sub-menu--mega { min-width: 520px; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1rem; }
.site-nav .sub-menu--mega > li { grid-column: auto; }
.site-nav .sub-menu--mega .sub-menu__title { grid-column: 1 / -1; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0.2rem 0.8rem 0.6rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.site-nav .sub-menu--mega .sub-menu__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.4rem; }
.site-nav .sub-menu--mega .sub-menu__all a { color: var(--blue); font-weight: 600; }
.site-nav .menu > li:nth-last-child(-n+2) > .sub-menu--mega { left: auto; right: 0; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; height: 2px; width: 24px; background: #fff; position: relative; transition: 0.2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(1200px 500px at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
  linear-gradient(135deg, var(--blue-700) 0%, var(--blue) 55%, #2b86d6 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background:
  repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 2rem; padding-top: clamp(3rem, 6vw, 5rem); }
.hero__copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero .eyebrow { color: #cfe3f8; }
.hero h1 { color: #fff; }
.hero .lead { color: #e2eefa; max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 2rem 0 0; font-weight: 500; color: #e2eefa; font-size: 0.95rem; }
.hero__badges li { display: flex; align-items: center; gap: 0.45rem; }
.hero__badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__art { align-self: end; display: flex; justify-content: center; }
.hero__avatar { width: min(100%, 440px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25)); }
.tpl-label { background: #fff8e1; border-block: 2px dashed var(--gold); color: var(--ink); padding: 0.9rem 0; font-size: 0.95rem; }
.tpl-label .container { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.tpl-label strong { font-size: 1.1rem; }
.tpl-label code { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0 0.35em; }
.hero--point .hero__inner { grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: 0.75rem; }
.hero--point .hero__art { justify-content: flex-end; }
.hero--point .hero__avatar { display: block; width: auto; max-width: none; height: var(--avatar-h, 460px); }
.hero--point .hero__copy > .hero__actions:first-of-type { margin: 1.5rem 0 1.75rem; }

/* Quote strip */
.quote-strip { background: var(--navy); color: #fff; padding: 2rem 0; }
.quote-strip blockquote { margin: 0; text-align: center; }
.quote-strip p { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; margin-bottom: 0.4rem; }
.quote-strip cite { color: #9fb4cc; font-style: normal; font-size: 0.95rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--alt); }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p:last-child { color: var(--muted); }
.section__cta { display: flex; justify-content: center; margin-top: 2.5rem; }
/* Keep in-page anchor targets clear of the sticky call bar + header. */
section[id] { scroll-margin-top: 7rem; }
.admin-bar section[id] { scroll-margin-top: calc(7rem + 32px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h2, .card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.card p { color: var(--muted); margin-bottom: 1rem; flex: 1; }
.card time { color: var(--muted); font-size: 0.85rem; }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #e8f1fb; color: var(--blue); margin-bottom: 1rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card__link { color: var(--blue); font-weight: 600; }
.card__link::after { content: " \2192"; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--even { align-items: start; }
.split--form { grid-template-columns: 1.4fr 1fr; align-items: start; }
.split__art img { margin-inline: auto; max-height: 560px; width: auto; }

.features { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature { padding: 1.25rem 1.25rem 1.25rem 1.5rem; background: #fff; border-radius: 12px; border-left: 4px solid var(--blue); box-shadow: 0 1px 0 var(--line); }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.feature p { margin: 0; color: var(--muted); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { margin: 0; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial .stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.testimonial blockquote { margin: 0 0 1.25rem; color: var(--muted); flex: 1; }
.testimonial figcaption { font-weight: 600; }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

.faq { display: grid; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.25rem; }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 1.25rem; }

.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue)); color: #fff; overflow: hidden; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem 0 0; }
.cta-band__inner > div { padding-bottom: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe9f8; max-width: 38rem; }
.cta-band__avatar { width: 260px; align-self: end; }
.cta-band--compact .cta-band__inner { padding: 3rem 0; flex-wrap: wrap; }
.cta-band--compact .cta-band__inner > div { padding: 0; }
.cta-band--compact h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-band--compact p { margin: 0; }
.cta-band--compact .hero__actions { margin: 0; }

.hours-card, .contact-card { background: var(--alt); border-radius: var(--radius); padding: 2rem; }
.contact-card h3 { margin-top: 1.25rem; font-size: 1.05rem; }
.contact-card h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; padding-right: 1rem; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue-700)); color: #fff; padding: 3rem 0 3.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.3em; }
.page-hero__intro, .page-hero__meta { color: #cfe0f3; font-size: 1.15rem; margin: 0; max-width: 46rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 1.25rem; font-size: 0.9rem; color: #9fb4cc; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumbs a { color: #cfe0f3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

.prose > * + h2 { margin-top: 2rem; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #e3effb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231467b4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.steps { padding-left: 1.25rem; display: grid; gap: 0.75rem; }
.area-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.area-grid li { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; background: #fff; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); }
.not-found h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Lead form */
.lead-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form label { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.95rem; }
.lead-form em { color: var(--red); font-style: normal; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; padding: 0.8rem 0.9rem; border: 1px solid #cdd5e0; border-radius: 10px; background: #fff; width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 103, 180, 0.18); }
.lead-form button { justify-self: start; }
.lead-form__fine { font-size: 0.85rem; color: var(--muted); margin: 0; }
.lead-form .hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-radius: 10px; margin: 1rem 0; }
.notice--success { background: #e9f7ef; border: 1px solid #9fd8b6; color: #145c32; }
.notice--error { background: #fdecee; border: 1px solid #f3b2ba; color: #8a1622; }
.piva-missing { background: #fff4d6; padding: 0.5rem 1rem; border-radius: 8px; }

/* Landing pages built by scripts/sheet_sync.py */
.btn--outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn--outline:hover { background: #eaf2fb; }
.hero--page .breadcrumbs ol { margin-bottom: 1.5rem; }
.hero--page h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero .cta-alt, .estimate .cta-alt { color: #cfe0f3; }
.cta-alt { margin: 0.75rem 0 0; font-size: 0.95rem; color: var(--muted); }
.cta-alt a { font-weight: 600; }
.hero .cta-alt a, .estimate .cta-alt a { color: #fff; }
.section .hero__actions { margin-bottom: 1.25rem; }
.section__head .hero__actions { justify-content: center; }
.section__intro { margin: 0 auto 2.5rem; }
.section__intro > h2 { text-align: left; }
.prose h3 { margin-top: 1.75rem; }

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.data-table th, .data-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--alt); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }

.trust-strip { background: var(--navy); color: #fff; padding: 1.5rem 0; }
.trust-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem 2rem; }
.trust-strip__list li { display: grid; gap: 0.15rem; padding-left: 1.1rem; border-left: 3px solid var(--gold); }
.trust-strip__list strong { font-size: 0.95rem; letter-spacing: 0.04em; }
.trust-strip__list span { color: #9fb4cc; font-size: 0.9rem; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.item { padding: 1.6rem 1.6rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--blue); }
.section--alt .item { box-shadow: 0 1px 0 var(--line); }
.item h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.item p { color: var(--muted); margin-bottom: 0.6rem; }
.item p:last-child { margin-bottom: 0; }
.item .checklist { margin: 0.5rem 0 0; }
.item__label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem !important; color: var(--blue); }

.step-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1rem; max-width: 860px; counter-reset: none; }
.step-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; align-items: start; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-list__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.2rem; }
.step-list h3 { margin: 0.6rem 0 0.4rem; font-size: 1.12rem; }
.step-list p { margin: 0 0 0.4rem; color: var(--muted); }
.step-list + .narrow { margin: 2.5rem auto 0; max-width: 860px; }

/* Photo slots ([piva_photo]) : a job photo, or for editors a marked spot to add one. */
.section-photo { margin: 0 0 1.75rem; }
.section-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.section-photo figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.section-photo--wide { max-width: 1040px; margin-inline: auto; }
a.section-photo--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; aspect-ratio: 16 / 7; padding: 1.5rem; border: 2px dashed var(--blue); border-radius: var(--radius); background: rgba(14, 94, 191, 0.04); color: var(--blue); text-decoration: none; text-align: center; }
a.section-photo--empty svg { width: 32px; height: 32px; }
a.section-photo--empty strong { font-size: 1.05rem; }
a.section-photo--empty span { font-size: 0.85rem; color: var(--muted); }
.split .section-photo { margin-bottom: 1.25rem; }

/* Several one-link lines in a row (e.g. "Escondido Roofing", "Vista Roofing") become one link list. */
.link-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem 1rem; }
.link-list a { display: block; padding: 0.7rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--ink); }
.link-list a:hover { border-color: var(--blue); color: var(--blue); }
.link-list a::after { content: " →"; color: var(--blue); }

/* Home: service and service-area directory cards. */
.cards--compact { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.cards--compact .card { padding: 1.2rem 1.3rem; }
.cards--compact .card h3 { font-size: 1.05rem; margin: 0; }
.cards--compact .card p { margin: 0.25rem 0 0; font-size: 0.9rem; flex: 0; }
.cards--towns { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.cards--towns .card { flex-direction: row; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.25rem; }
.cards--towns .card h3 { font-size: 1.02rem; margin: 0; }
.cards--towns .card::after { content: "→"; color: var(--blue); font-weight: 600; flex: none; }

.pull-quote { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.section--alt .pull-quote { background: #fff; }
.pull-quote blockquote { margin: 0 0 0.75rem; font-size: 1.1rem; font-style: italic; color: var(--ink); }
.pull-quote figcaption { font-weight: 600; font-size: 0.95rem; }
.pull-quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.estimate { background: linear-gradient(135deg, var(--navy), var(--blue-700)); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.estimate h2 { color: #fff; }
.estimate p { color: #dbe9f8; }
.estimate a { color: #fff; }
.estimate__points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.6rem; }
.estimate__points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.estimate__points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.estimate__card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.estimate__card h3 { font-size: 1.35rem; margin-bottom: 0; }
.estimate__card p { color: var(--muted); }
.estimate__card a { color: var(--blue); }

.seal--css { display: inline-grid; place-items: center; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #1b1b1b 55%, var(--gold) 56%); color: #fff; text-align: center; line-height: 1.1; }
.seal--css strong { font-size: 2rem; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #b5c4d6; padding: 4rem 0 0; font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 2.5rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255, 255, 255, 0.1); padding: 0.3rem 0; }
.site-footer .hours th { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 3rem; padding: 1.5rem 0; font-size: 0.85rem; }
.mobile-call { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(85vw, 360px); background: #fff; flex-direction: column; align-items: stretch; padding: 7.5rem 1.25rem 2rem; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12); overflow-y: auto; z-index: 40; }
  .nav-open .site-nav { transform: none; }
  .nav-toggle { position: relative; z-index: 45; }
  .site-nav .menu { flex-direction: column; }
  .site-nav .menu a { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .site-nav .sub-menu--mega { display: block; min-width: 0; }
  .site-nav .sub-menu--mega .sub-menu__title { border: 0; margin: 0.5rem 0 0; padding-bottom: 0.2rem; }
  .site-nav .menu-item-has-children > a::after { display: none; }
  .site-nav__cta { margin-top: 1rem; }
  .social--nav { margin: 1.25rem 0 0; justify-content: flex-start; }
  .hero--point .hero__inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero--point .hero__copy { padding-bottom: 0.5rem; }
  .hero--point .hero__art { order: 2; justify-content: center; align-self: center; }
  .hero--point .hero__avatar { height: auto; width: min(92%, 420px); max-width: 100%; }
  .testimonials { grid-template-columns: 1fr; }
  .cards--compact { grid-template-columns: repeat(2, 1fr); }
  .cards--towns { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .split__art { display: none; }
}

@media (max-width: 800px) {
  .cards--compact { grid-template-columns: 1fr; }
  .cards--towns { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .cards--towns .card { padding: 0.85rem 1rem; }
  .link-list { grid-template-columns: 1fr; }
  body { font-size: 16px; padding-bottom: 64px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__avatar { width: min(100%, 340px); }
  .hero--point .hero__avatar { width: min(100%, 340px); }
  .split, .split--form { grid-template-columns: 1fr; }
  .split__art { order: -1; }
  .split__art img { max-height: 360px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__avatar { width: 180px; align-self: center; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-list li { grid-template-columns: 1fr; gap: 0.75rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .mobile-call { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: center; align-items: center; gap: 0.5rem; padding: 1rem; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
/* Fix contrast on Trustindex / Google review cards */
.piva-ti-card,
.piva-ti-card * {
    color: #1b1b1b !important;
}

.piva-ti-card time,
.piva-ti-card .piva-ti-meta,
.piva-ti-card [itemprop="datePublished"] {
    color: #333333 !important;
}

.piva-ti-readmore {
    color: #ffffff !important;
    background-color: #1467b4 !important;
    border-color: #1467b4 !important;
}
/* Fix contrast on Trustindex review avatars */
.piva-ti-avatar {
    background-color: #5e1b6a !important; /* darker purple for better contrast */
    color: #ffffff !important;
}

.piva-ti-avatar span,
.piva-ti-avatar {
    color: #ffffff !important;
}
