/* Sacramento Wallpaper Pros — Californian contemporary / architectural.
   Standalone CSS; the existing HTML loads Space Grotesk and Inter. */
:root {
  --navy: #102040;
  --cobalt: #2457ec;
  --lime: #dafa70;
  --pale: #eef3fb;
  --white: #ffffff;
  --muted: #52617a;
  --line: #d5deec;
  --error: #b42318;
  --heading: 'Space Grotesk', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
}

/* Foundations and accessible utilities */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font: 400 15px/1.7 var(--body); -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
h1, h2 { line-height: 1.06; letter-spacing: -.045em; }
h3 { line-height: 1.3; letter-spacing: -.025em; font-weight: 600; }
em { font-style: normal; }
svg.icon {
  width: 21px; height: 21px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
svg.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 96px; }
.eyebrow {
  display: block; font-size: 10px; font-weight: 700;
  line-height: 1.5; letter-spacing: .16em;
}
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.hero :focus-visible, .how-section :focus-visible,
.final-form :focus-visible, .site-footer :focus-visible,
.utility-footer :focus-visible { outline-color: var(--lime); }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--lime); color: var(--navy); font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.honeypot {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Existing button classes, entirely new high-contrast palette */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 14px; min-height: 48px; max-width: 100%; padding: 13px 22px;
  border: 1px solid transparent; border-radius: 8px;
  font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.97); }
.button-label { display: block; max-width: 100%; text-align: center; }
.button:has(> .button-label) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 8px;
}
.button:has(> .button-label) > .button-label {
  grid-column: 2; max-width: none; white-space: nowrap;
}
.button:has(> .button-label) > .icon {
  position: static; grid-column: 3; justify-self: end;
}
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--cobalt); }
.button-clay { background: var(--lime); color: var(--navy); }
.button-clay:hover { background: #c9ec55; }
.button-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-outline:hover { background: var(--pale); }

/* Geometric identity and an always-available mobile header quote CTA */
.site-header {
  position: sticky; top: 0; z-index: 30; height: 92px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner, .utility-header > .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  min-width: 0; color: var(--navy); line-height: 1;
}
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.brand-city {
  font-family: var(--heading); font-size: 13px;
  font-weight: 700; letter-spacing: .14em;
}
.brand-name {
  font-family: var(--heading); font-size: 22px; font-weight: 600;
  letter-spacing: -.035em; white-space: nowrap;
}
.desktop-nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto; font-size: 12px; font-weight: 600;
}
.desktop-nav a { padding-block: 12px; white-space: nowrap; text-underline-offset: 6px; }
.desktop-nav a:hover { color: var(--cobalt); text-decoration: underline; }
.header-cta { flex-shrink: 0; min-height: 46px; }

/* Midnight left panel; photograph on the right half, with a soft transition */
.hero { position: relative; isolation: isolate; background: var(--navy); color: var(--white); }
.hero-image {
  position: absolute; top: 0; right: 0; width: 52%; height: 100%;
  object-fit: cover; object-position: center; z-index: -3;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, #102040 0%, #102040 46%,
    rgba(16,32,64,.88) 52%, rgba(16,32,64,.16) 76%, rgba(16,32,64,.1) 100%);
}
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 64px; min-height: 720px; padding-block: 60px;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 11px;
  color: var(--lime); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.125rem, 4.5vw, 4.5rem); line-height: 1.05; }
.hero h1 em { color: var(--lime); white-space: nowrap; }
.hero-description { color: #e1e9f8; font-size: 14px; line-height: 1.85; margin-top: 24px; }
.hero-benefits {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  margin-top: 28px; color: #e1e9f8; font-size: 11px;
}
.hero-benefits span { display: flex; align-items: center; gap: 8px; }
.hero-benefits .icon { width: 17px; height: 17px; color: var(--lime); }
.hero-bottom { background: var(--navy); border-top: 1px solid rgba(255,255,255,.18); }
.hero-bottom > .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-block: 19px; font-size: 12px;
}
.hero-bottom em { color: var(--lime); }
.hero-location { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.hero-location .icon { width: 17px; height: 17px; }

/* Opaque, clearly bounded forms; retain the existing Name / Phone fields */
.quote-card {
  min-width: 0; padding: 34px; background: var(--white); color: var(--navy);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(16,32,64,.16);
}
.hero-form, .final-form { width: 100%; max-width: 430px; justify-self: end; }
.hero-form { scroll-margin-top: 112px; }
.form-eyebrow { margin-bottom: 14px; color: var(--cobalt); font-size: 9px; letter-spacing: .13em; }
.quote-card h2 { font-size: clamp(1.75rem, 2.65vw, 2.375rem); line-height: 1.12; }
.form-intro { margin: 14px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.field { margin-top: 15px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.field input {
  display: block; width: 100%; min-width: 0; height: 49px; padding: 12px 14px;
  border: 1px solid #aab8ce; border-radius: 6px;
  background: var(--white); color: var(--navy); font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: #62708a; opacity: 1; }
.field input:focus { border-color: var(--cobalt); outline: 2px solid var(--cobalt); outline-offset: 2px; }
.field input[aria-invalid='true'] { border-color: var(--error); }
.field input[readonly] { background: var(--pale); }
.field-error { display: none; margin-top: 6px; color: var(--error); font-size: 11px; line-height: 1.5; }
.field-error:not(:empty) { display: block; }
.submit-button {
  width: 100%; justify-content: center; margin-top: 22px;
  padding-inline: 18px; font-size: 13px;
}
.form-status { color: var(--error); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.form-status:not(:empty) { margin-top: 13px; }
.form-note {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--muted); font-size: 10px;
}
.form-note .icon { width: 14px; height: 14px; }
.form-privacy { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.65; text-align: center; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.hero-form :focus-visible { outline-color: var(--cobalt); }

/* White services: six framed cards, three columns by two rows on desktop */
.services { background: var(--white); }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px;
}
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { color: var(--cobalt); margin-bottom: 14px; }
.section-heading h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
.section-heading h2 em { color: var(--cobalt); }
.section-heading > p { max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white);
}
.service-photo { position: relative; overflow: hidden; }
.service-photo img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-photo img { transform: scale(1.035); }
.service-content { position: relative; padding: 24px 72px 25px 24px; }
.service-content h3 { min-height: 48px; font-size: 18px; }
.service-content p { min-height: 48px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.service-content > a {
  position: absolute; top: 24px; right: 18px; display: grid; place-items: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--cobalt); background: var(--pale); transition: background-color .2s ease;
}
.service-content > a:hover { background: var(--lime); color: var(--navy); }
.service-content > a .icon { width: 20px; height: 20px; }

/* Cobalt process, connected circles and translucent step panels */
.how-section { background: var(--cobalt); color: var(--white); }
.section-heading.centered {
  flex-direction: column; align-items: center; gap: 0;
  text-align: center; margin-bottom: 44px;
}
.how-section .eyebrow { color: var(--lime); }
.how-section .section-heading h2, .how-section .section-heading h2 em { color: var(--white); }
.how-section .section-heading > p { color: #edf2ff; margin-top: 17px; }
.steps {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center;
}
.steps::before {
  content: ''; position: absolute; z-index: -1; top: 68px;
  left: 16%; right: 16%; border-top: 2px solid rgba(255,255,255,.5);
}
.step {
  position: relative; min-width: 0; padding: 28px 20px 30px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
  background: rgba(255,255,255,.08);
}
.step-icon {
  position: relative; display: grid; place-items: center;
  width: 80px; height: 80px; margin: 0 auto 25px;
  border: 1px solid var(--white); border-radius: 50%;
  background: var(--white); color: var(--cobalt);
}
.step-icon > .icon { width: 30px; height: 30px; }
.step h3 { font-size: 19px; }
.step p { margin-top: 12px; color: #edf2ff; font-size: 13px; line-height: 1.75; }
.questions-card {
  display: flex; align-items: center; gap: 20px; max-width: 990px;
  margin: 38px auto 0; padding: 25px 28px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 12px;
  background: var(--white); color: var(--navy);
}
.questions-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 10px; background: var(--pale); color: var(--cobalt);
}
.questions-card > div { min-width: 0; }
.questions-card h3 { font-size: 20px; }
.questions-card p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.questions-card .button { margin-left: auto; background: var(--lime); border-color: var(--lime); flex-shrink: 0; }
.questions-card .button:hover { background: #c9ec55; }
.questions-card :focus-visible { outline-color: var(--cobalt); }

/* Pale-blue final CTA, contrasting midnight quote card */
.final-cta { background: var(--pale); color: var(--navy); }
.final-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 64px;
}
.final-copy { min-width: 0; }
.final-copy > .eyebrow { margin-bottom: 24px; color: var(--cobalt); }
.final-copy > h2 { font-size: clamp(2.125rem, 4.1vw, 3.75rem); }
.final-copy h2 em { color: var(--cobalt); }
.final-copy > p { margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.final-detail { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--navy); font-size: 11px; font-weight: 600; }
.detail-line { width: 36px; height: 3px; flex-shrink: 0; background: var(--cobalt); }
.final-form { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: none; }
.final-form .form-eyebrow { color: var(--lime); }
.final-form .form-intro, .final-form .form-note, .final-form .form-privacy { color: #c9d6ef; }
.final-form .field-error, .final-form .form-status { color: #ffb7ae; }
.final-form .field input[aria-invalid='true'] { border: 2px solid #b42318; }
.final-form .field input:focus { outline-color: var(--lime); }

/* Midnight footer and lime floating estimate */
.site-footer { padding-top: 54px; background: var(--navy); color: var(--white); }
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { color: var(--cobalt); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; }
.footer-main > div, .footer-links { min-width: 0; }
.footer-tagline { margin-top: 18px; font-size: 12px; color: #c9d6ef; }
.footer-links h3 { margin-bottom: 16px; font-size: 14px; }
.footer-links > div { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: #c9d6ef; font-size: 12px; line-height: 1.8; }
.footer-links a:hover, .footer-links button:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-block: 23px 100px; color: #c9d6ef; font-size: 10px;
}
.floating-estimate {
  position: fixed; right: 24px; bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 40; background: var(--lime); color: var(--navy);
  box-shadow: 0 8px 28px rgba(16,32,64,.22); font-size: 12px;
}
.floating-estimate:hover { background: #c9ec55; }

/* Native dialog: preserve closed/open state and browser top-layer semantics */
.quote-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--navy);
}
.quote-dialog:not([open]) { display: none; }
.quote-dialog::backdrop { background: rgba(16,32,64,.8); backdrop-filter: blur(4px); }
.quote-dialog .quote-card { padding-top: 48px; border: 0; box-shadow: none; }
.dialog-close {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px;
  background: var(--pale); color: var(--navy); font-size: 28px; line-height: 1;
}
.dialog-close:hover { background: var(--lime); }
.no-script { padding: 16px; background: var(--pale); color: var(--navy); text-align: center; font-size: 13px; }

/* Consent panel: readable choices, usable buttons and bounded scrolling */
.cookie-panel {
  position: fixed; left: 22px; bottom: 22px; z-index: 55;
  width: 370px; max-width: calc(100% - 44px);
  max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px);
  overflow-y: auto; overscroll-behavior: contain; padding: 24px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--navy);
  box-shadow: 0 12px 45px rgba(16,32,64,.22);
}
.cookie-panel h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.03em; }
.cookie-panel p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.cookie-panel p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-choices { display: flex; flex-direction: column; gap: 9px; margin: 16px 0; font-size: 12px; }
.cookie-choices label { display: flex; align-items: center; gap: 9px; min-height: 28px; }
.cookie-choices input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--cobalt); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.cookie-actions .button { flex: 1 1 100px; min-width: 0; min-height: 44px; padding: 10px; gap: 0; font-size: 11px; }
.cookie-actions .cookie-save { flex-basis: 100%; margin-top: 0; background: var(--pale); border-color: var(--line); color: var(--navy); }
.cookie-actions .cookie-save:hover { background: var(--lime); }

/* Privacy and thank-you pages share the same identity */
.utility-main { min-height: calc(100dvh - 220px); padding-block: 78px 90px; background: var(--pale); }
.utility-main .container { max-width: 850px; }
.utility-main .eyebrow, .thank-you-card > .eyebrow { color: var(--cobalt); }
.utility-main h1 { margin: 16px 0 24px; font-size: clamp(2.5rem, 6vw, 4rem); }
.utility-main h1 em, .thank-you-card h1 em { color: var(--cobalt); }
.utility-intro { color: var(--muted); font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.policy-updated { margin-top: 17px; color: var(--muted); font-size: 12px; }
.policy-content { max-width: 760px; margin-top: 42px; }
.policy-content section { margin-top: 32px; }
.policy-content h2 { margin-bottom: 13px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.policy-content p, .policy-content li { color: #3f506d; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.policy-content p + p { margin-top: 12px; }
.policy-content a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.policy-content ul, .policy-content ol { padding-left: 22px; }
.utility-footer {
  padding-block: 25px 100px; border-top: 1px solid rgba(255,255,255,.18);
  background: var(--navy); color: #c9d6ef; font-size: 11px;
}
.utility-footer > .container { display: flex; justify-content: space-between; gap: 24px; }
.utility-footer nav { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.utility-footer button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; line-height: inherit; }
.utility-footer a:hover, .utility-footer button:hover { color: var(--lime); }
.thank-you-main {
  display: grid; place-items: center; min-height: calc(100dvh - 240px);
  padding: 70px 24px 100px; background: var(--pale); text-align: center;
}
.thank-you-card {
  width: 100%; max-width: 680px; min-width: 0; padding: 48px 36px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--white);
}
.success-mark {
  display: grid; place-items: center; width: 80px; height: 80px;
  margin: 0 auto 26px; border-radius: 12px; background: var(--lime); color: var(--navy);
}
.success-mark svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thank-you-card > .eyebrow { margin-bottom: 18px; }
.thank-you-card h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.thank-you-card > p { max-width: 460px; margin: 23px auto 28px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.thank-you-card .button { padding-inline: 28px; }
.thank-you-card .thank-you-note { margin-top: 28px; margin-bottom: 0; font-size: 12px; }

/* Compact desktop and tablet: zero-minimum tracks prevent overflow */
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 20px; }
  .desktop-nav { gap: 18px; font-size: 11px; }
  .header-cta { padding-inline: 16px; gap: 10px; }
  .hero-layout, .final-layout { gap: 40px; }
  .hero-layout { min-height: 680px; }
  .quote-card { padding: 28px; }
  .service-grid { gap: 22px; }
  .service-photo img { height: 205px; }
  .service-content { padding: 22px 64px 24px 20px; }
  .service-content h3 { font-size: 17px; }
  .service-content > a { right: 14px; width: 38px; height: 38px; }
  .footer-links { max-width: 490px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .desktop-nav { display: none; }
  .section { padding-block: 72px; }
  .hero-layout, .final-layout { gap: 28px; }
  .hero-layout { min-height: 630px; padding-block: 44px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .11em; }
  .hero-description { font-size: 12px; }
  .hero-description br, .final-copy > p br { display: none; }
  .hero-benefits { flex-direction: column; gap: 10px; }
  .quote-card { padding: 25px 22px; }
  .form-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-photo img { height: 230px; }
  .section-heading { gap: 24px; }
  .section-heading > p { max-width: 330px; font-size: 12px; }
  .steps { gap: 16px; }
  .step { padding-inline: 14px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 12px; }
  .questions-card { gap: 14px; padding: 22px; flex-wrap: wrap; }
  .questions-card .button { font-size: 11px; padding-inline: 16px; }
  .final-copy > .eyebrow { font-size: 9px; }
  .final-copy > p { font-size: 12px; }
  .footer-main { gap: 30px; }
  .footer-links { max-width: 350px; }
  .footer-links > div { gap: 10px 18px; }
}

/* Mobile: heading and brief description immediately followed by the quote */
@media (max-width: 620px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 36px); }
  .site-header { height: 76px; }
  .header-inner, .utility-header > .container { gap: 10px; }
  .header-inner > .brand, .utility-header .brand { flex: 1 1 0; }
  .brand { gap: 7px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text { gap: 5px; }
  .brand-city { font-size: 10px; letter-spacing: .1em; }
  .brand-name { font-size: 16px; }
  .header-cta, .utility-header .button {
    flex: 0 0 42%; max-width: 144px; min-width: 0;
    min-height: 44px; padding: 9px 10px; gap: 6px; font-size: 11px;
  }
  .header-cta .icon { width: 15px; height: 15px; }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr); gap: 22px;
    min-height: 0; padding-block: 32px;
  }
  .hero-image { width: 70%; height: 290px; opacity: .65; }
  .hero-shade {
    background: linear-gradient(90deg, #102040 0%,
      rgba(16,32,64,.92) 45%, rgba(16,32,64,.48) 100%);
  }
  .hero-eyebrow { font-size: 8px; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(2rem, 7.8vw, 3rem); line-height: 1.06; }
  .hero-description { margin-top: 16px; font-size: 12px; line-height: 1.75; }
  .hero-benefits { display: none; }
  .hero-form, .final-form { max-width: none; justify-self: stretch; }
  .hero-form { scroll-margin-top: 94px; }
  .quote-card { padding: 25px 24px; }
  .hero-form .form-eyebrow { display: none; }
  .quote-card h2 { font-size: 30px; }
  .hero-form h2 br, .hero-form .form-intro br { display: none; }
  .hero-form .form-intro { margin: 10px 0 16px; }
  .field { margin-top: 12px; }
  .field input { height: 48px; }
  .submit-button { margin-top: 18px; min-height: 48px; }
  .form-note { margin-top: 13px; }
  .hero-bottom > .container {
    flex-wrap: wrap; padding-block: 15px; gap: 8px 18px; font-size: 10px;
  }
  .hero-location { font-size: 10px; }
  .section { padding-block: 56px; }
  .section-heading {
    flex-direction: column; align-items: flex-start;
    gap: 17px; margin-bottom: 30px;
  }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 12px; }
  .section-heading h2 { font-size: 40px; }
  .section-heading > p { max-width: none; font-size: 13px; }
  .desktop-only { display: none; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .service-photo img { height: 225px; }
  .service-content { padding: 23px 74px 25px 23px; }
  .service-content h3 { font-size: 18px; min-height: 0; }
  .service-content h3 br { display: none; }
  .service-content p { min-height: 0; margin-top: 10px; }
  .service-content > a { right: 20px; width: 42px; height: 42px; }
  .section-heading.centered { align-items: center; gap: 0; margin-bottom: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: left; }
  .steps::before {
    top: 58px; bottom: 58px; left: 54px; right: auto;
    border-top: 0; border-left: 2px solid rgba(255,255,255,.5);
  }
  .step { min-height: 132px; padding: 25px 20px 25px 108px; }
  .step-icon {
    position: absolute; top: 24px; left: 20px;
    width: 68px; height: 68px; margin: 0;
  }
  .step-icon > .icon { width: 27px; height: 27px; }
  .step h3 { font-size: 18px; }
  .step p { margin-top: 8px; }
  .step p br { display: none; }
  .questions-card { align-items: flex-start; gap: 13px; padding: 22px; margin-top: 30px; }
  .questions-icon { width: 38px; height: 38px; }
  .questions-card > div { flex: 1 1 160px; }
  .questions-card h3 { font-size: 19px; }
  .questions-card .button {
    width: 100%; margin: 7px 0 0; justify-content: center; min-height: 46px;
  }
  .final-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .final-copy > .eyebrow { font-size: 8px; letter-spacing: .1em; margin-bottom: 20px; }
  .final-copy > h2 { font-size: clamp(2rem, 7.5vw, 2.875rem); }
  .final-copy > p { margin-top: 20px; font-size: 13px; }
  .final-detail { margin-top: 22px; font-size: 10px; }
  .final-form .form-eyebrow { font-size: 9px; }
  .site-footer { padding-top: 38px; }
  .footer-main { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .site-footer .brand-mark { width: 40px; height: 40px; }
  .site-footer .brand-city { font-size: 12px; }
  .site-footer .brand-name { font-size: 21px; }
  .footer-tagline { margin-top: 14px; }
  .footer-links { width: 100%; max-width: none; }
  .footer-links > div { gap: 12px 22px; }
  .footer-bottom { flex-direction: column; gap: 9px; padding-top: 21px; padding-bottom: 100px; }
  .floating-estimate {
    right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
    max-width: calc(100% - 32px); min-height: 46px;
    padding: 12px 16px; gap: 10px; font-size: 11px;
  }
  .cookie-panel {
    left: 16px; bottom: max(78px, calc(env(safe-area-inset-bottom) + 62px));
    width: calc(100% - 32px); max-width: 390px;
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom)); padding: 20px;
  }
  .quote-dialog .quote-card { padding: 48px 24px 26px; }
  .utility-main { padding-block: 46px 65px; }
  .utility-main h1 { font-size: 44px; }
  .utility-intro { font-size: 13px; }
  .policy-content { margin-top: 32px; }
  .policy-content h2 { font-size: 19px; }
  .policy-content p, .policy-content li { font-size: 13px; }
  .utility-footer > .container { flex-direction: column; gap: 16px; }
  .thank-you-main { padding: 40px 18px 60px; }
  .thank-you-card { padding: 34px 22px; }
  .thank-you-card > .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .thank-you-card h1 { font-size: 48px; }
  .thank-you-card > p { font-size: 13px; }
  .success-mark { width: 68px; height: 68px; }
}

/* Small phones: fit Sacramento without sacrificing the header CTA */
@media (max-width: 375px) {
  .container { width: calc(100% - 28px); }
  .brand { gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-city { font-size: 9px; letter-spacing: .08em; }
  .brand-name { font-size: 14px; }
  .header-cta, .utility-header .button { padding-inline: 8px; font-size: 10px; }
  .quote-card { padding-inline: 20px; }
  .quote-card h2 { font-size: 28px; }
  .service-content { padding-left: 20px; padding-right: 70px; }
  .service-content > a { right: 16px; }
  .step { padding-left: 98px; padding-right: 15px; }
  .step-icon { left: 16px; width: 64px; height: 64px; }
  .steps::before { left: 48px; }
  .questions-card { padding: 20px; }
  .form-note { font-size: 9px; }
  .thank-you-card { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .button:hover, .service-card:hover .service-photo img { transform: none; }
}
