/* Self-hosted DM Sans + Fraunces (Canva redesign) with size-adjusted fallbacks */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dm-sans-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/dm-sans-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 98%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/fraunces-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #17324d;
  --navy-deep: #0f2438;
  --navy-mid: #234a6b;
  --blue: #a9ddf3;
  --pale-blue: #eaf8fe;
  --sky: #d4f0fc;
  --sand: #fff7ec;
  --coral: #f47c6c;
  --cream: #eaf8fe;
  --cream-dark: #d4f0fc;
  /* Coral darkened for WCAG AA text/buttons (~4.5:1+ on white / with white text) */
  --brick: #d45748;
  --brick-on-navy: #f47c6c;
  --brick-on-cream: #b53f32;
  --brick-dark: #c24a3c;
  --ink: #20384f;
  --muted: #5a7389;
  --line: rgba(23, 50, 77, 0.12);
  --white: #ffffff;
  --font: "DM Sans", "DM Sans Fallback", "Segoe UI", sans-serif;
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --max: 1160px;
  --radius: 1.5rem;
  --sticky-cta-height: 4.25rem;
  /* Reserve space for JS-injected header (topbar 2.25rem + header 4.4rem) to prevent CLS */
  --chrome-reserve: 6.65rem;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.has-sticky-cta {
  padding-bottom: 0;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

h1,
h2,
h3,
.logo-name,
.display-font {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header chrome is server-injected at final height (Phase 3) — no empty reserve. */
#site-header {
  display: block;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: var(--navy-deep);
  color: #b7c9d8;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  min-height: 2.25rem;
}

.topbar a {
  color: var(--blue);
  text-decoration: none;
}

.topbar-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-header {
  background: rgba(23, 50, 77, 0.97);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}

.logo-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.logo-name {
  display: block;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav > a,
.nav-item > a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.nav > a:hover,
.nav-item > a:hover,
.nav a[aria-current="page"],
.nav-item > a[aria-current="page"] {
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 14rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.16);
  z-index: 60;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-dropdown a:hover {
  background: var(--cream);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn.header-call {
  display: none;
}

.btn.header-phone-mobile {
  display: none;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
}

@media (min-width: 901px) {
  .btn.header-call {
    display: inline-flex;
  }
}

.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  min-height: 2.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-brick {
  background: var(--coral);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(244, 124, 108, 0.28);
}

.btn-brick:hover {
  background: #ff8b7b;
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(244, 124, 108, 0.37);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 247, 236, 0.25);
  color: var(--cream);
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100 * min(var(--vh, 1vh), 1vh));
  min-height: 78vh;
  display: grid;
  place-items: end start;
  color: var(--white);
  text-align: left;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, black, transparent 75%);
  pointer-events: none;
  opacity: 0.85;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 50, 77, 0.94) 0%, rgba(23, 50, 77, 0.77) 43%, rgba(23, 50, 77, 0.18) 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 5.75rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  animation: hero-reveal 0.75s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero .wrap > :is(h1, p, .hero-actions, .trust-chips, .hero-caption, .review-pill, .hero-tag) {
  max-width: 40rem;
}

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero-tag {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero p {
  max-width: 36rem;
  margin-inline: 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.hero-phone-note {
  margin-top: 1rem;
  font-size: 0.95rem !important;
}

.hero-phone-note a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kicker,
.section-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick-on-cream);
  margin-bottom: 0.7rem;
}

.kicker::before,
.section-kicker::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--coral);
  border-radius: 99px;
  margin-bottom: 0.85rem;
}

.center .kicker::before,
.center .section-kicker::before {
  margin-inline: auto;
}

.trust-bar {
  background: var(--blue);
  color: var(--navy);
}

.trust-bar .section-kicker {
  color: var(--navy);
}

.trust-intro {
  padding: 2.25rem 0 2rem;
}

.trust-intro h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.92rem;
  color: #20384f;
}

.section {
  padding: 4.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy .lead,
.section-navy .cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(23, 50, 77, 0.22);
  box-shadow: 0 8px 22px rgba(23, 50, 77, 0.08);
}

.card h3 {
  color: var(--navy);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 0.75rem;
}

.service-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  color: var(--brick);
  font-weight: 700;
}

.checks {
  margin: 0.85rem 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.checks li {
  position: relative;
  padding-left: 1.2rem;
}

.checks li + li {
  margin-top: 0.3rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brick);
}

.card-link {
  color: var(--brick);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: center;
}

.story-photo {
  position: relative;
  min-height: 22rem;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-dark);
}

.story-photo picture,
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  display: block;
}

.story-photo span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 16rem;
  background: var(--white);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  z-index: 1;
}

.phone-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.5rem;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}

.phone-box small {
  color: var(--brick);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.phone-box strong {
  font-size: 1.15rem;
  color: var(--navy);
}

.card-num {
  color: var(--brick);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.photo-estimate {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  background: var(--white);
}

.photo-estimate .lead {
  margin-bottom: 1.25rem;
}

.photo-estimate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li + li {
  margin-top: 0.35rem;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.city-list li {
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.city-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.city-hub li {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
}

.city-hub a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.form-success {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
}

.form-error-banner {
  background: #fff7f4;
  border: 1px solid #e2b4a6;
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.25rem;
}

.form-error-banner .section-kicker {
  color: #8a2f1d;
}

.form-success[hidden],
.form-error[hidden],
.form-error-banner[hidden],
.photo-preview[hidden],
[data-estimate-manual][hidden],
[data-estimate-api-panel][hidden],
[data-estimate-api-actions][hidden] {
  display: none !important;
}

body[data-estimate-mode="manual"] [data-form-success],
body[data-estimate-mode="manual"] [data-estimate-api-panel] {
  display: none !important;
}

.form-error {
  color: #8a2f1d;
  font-weight: 700;
}

fieldset.file-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 0;
}

fieldset.file-field legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0.35rem;
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.photo-picker {
  position: relative;
  cursor: pointer;
}

.photo-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.photo-preview {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.photo-preview li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.photo-preview img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 8px;
}

.photo-remove {
  background: none;
  border: 0;
  color: var(--brick);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 2.75rem;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.cta-band p {
  margin: 0;
  color: #c5d8e6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: 3.4rem 0 2.6rem;
  background: var(--cream);
}

.page-hero h1 {
  max-width: 14em;
}

.crumbs {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--muted);
}

.crumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--muted);
  font-weight: 500;
}

.crumbs a {
  color: var(--brick-on-cream);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.crumbs a:hover {
  text-decoration-thickness: 2px;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.split.start {
  align-items: start;
}

.note {
  font-size: 0.9rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-helper {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.form-optional {
  font-weight: 500;
  color: var(--muted);
}

.consent-fieldset {
  margin: 0;
  padding: 1rem 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.consent-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.consent-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.consent-note {
  margin: 0.75rem 0 0 1.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-copy h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.legal-copy p,
.legal-copy li {
  color: var(--ink);
}

.file-field input[type="file"] {
  padding: 0.65rem;
  font-size: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

input,
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  background: var(--cream);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.65rem;
}

.contact-list a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--brick);
}

.site-footer {
  background: var(--navy-deep);
  color: #b7c9d8;
  padding: 2.6rem 0 2rem;
  font-size: 0.92rem;
}

.site-footer .footer-brand strong,
.site-footer .footer-heading {
  font-family: var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-contact {
  line-height: 1.7;
}

.site-footer a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer a:hover {
  text-decoration-thickness: 2px;
}

.site-footer .footer-nav a {
  text-decoration: none;
}

.site-footer .footer-nav a:hover {
  text-decoration: underline;
}

.footer-es {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #d4f0fc;
}

.footer-hours {
  margin: 0.5rem 0 0;
  color: #d4f0fc;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 247, 236, 0.12);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.narrow {
  max-width: 42rem;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .grid-3,
  .split,
  .form-row,
  .cta-band,
  .footer-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .topbar-links {
    display: none;
  }

  .btn.header-phone-mobile {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav,
  .header-actions .btn-call,
  .header-actions .header-call {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand > span {
    min-width: 0;
  }

  .logo-name {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 11.5rem;
  }

  .logo-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.25rem 1rem 1.15rem;
    background: var(--navy);
  }

  body.nav-open .mobile-nav {
    display: flex;
  }

  .mobile-nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-nav .btn {
    margin-top: 0.35rem;
  }

  .hero {
    text-align: left;
    place-items: end start;
  }

  .hero::before {
    mask-image: none;
    opacity: 0.4;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(23, 50, 77, 0.95), rgba(23, 50, 77, 0.65));
  }

  .cta-band {
    text-align: center;
    justify-items: center;
  }

  .cta-actions {
    justify-content: center;
  }

  /* Sticky bar visibility is controlled at max-width: 767px (Phase 1). */
  .site-footer {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 560px) {
  .grid-2,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    padding: 4rem 0 4.25rem;
  }

  .photo-estimate {
    padding: 1.5rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .card:hover,
  .btn-brick:hover,
  .hub-service:hover,
  .service-job-card:hover,
  .job-strip-card:hover,
  .project-card:hover,
  .review-card:hover,
  .service-category-card:hover {
    transform: none;
  }
}

.service-card h3 a,
.related-grid h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover,
.related-grid h3 a:hover {
  color: var(--brick);
  text-decoration: underline;
}

.hub-heading {
  margin-top: 3rem;
}

.job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.job-chips li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

code {
  font-size: 0.88em;
  background: var(--cream);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

/* —— Distributed pricing —— */
.pricing-section .lead {
  max-width: 46rem;
}

.price-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 0.95rem 1.1rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.price-row:first-child {
  border-top: 0;
}

.price-name {
  font-weight: 700;
  color: var(--navy);
}

.price-type {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-amount {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brick);
  white-space: nowrap;
  text-align: right;
}

.price-qualifier,
.price-min-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.price-row-package {
  background: rgba(181, 82, 56, 0.04);
}

.price-list-preview .price-row,
.price-list-compact .price-row {
  padding: 0.8rem 1rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
}

.package-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.package-price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brick);
}

.pricing-disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 52rem;
}

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pricing-preview-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.pricing-preview-block .card-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.pricing-how {
  margin-bottom: 1.25rem;
}

.pricing-steps {
  margin: 1rem 0 0;
}

.contact .wrap.split.start,
.wrap.split.start {
  align-items: start;
}

.contact-side-stack {
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .price-row {
    grid-template-columns: 1fr;
  }
  .price-amount {
    text-align: left;
  }
}

/* Phase 1 — estimate form + CTA + sticky (≤768px) */
.form input,
.form select,
.form textarea {
  font-size: 16px;
  min-height: 44px;
}

.form textarea {
  min-height: 8rem;
}

.form .req {
  font-weight: 600;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.prefill-line {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.estimate-cta-block {
  text-align: center;
}

.estimate-cta-actions {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}

@media (min-width: 768px) {
  .estimate-cta-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.estimate-cta-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.estimate-cta-trust {
  margin: 0;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.photo-preview li {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--cream, #eaf8fe);
  min-height: 5.5rem;
}

.photo-preview img,
.photo-thumb-fallback {
  display: block;
  width: 100%;
  height: 5.5rem;
  object-fit: cover;
}

.photo-thumb-fallback {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.photo-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.85);
  color: #fff;
  cursor: pointer;
}

.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  min-height: 44px;
}

.file-field.is-drag {
  outline: 2px dashed var(--brick, #d45748);
}

@media (max-width: 767px) {
  body.has-sticky-cta {
    padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    height: auto;
    min-height: 64px;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(23, 50, 77, 0.96);
    border-top: 1px solid rgba(255, 247, 236, 0.12);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
  }

  .sticky-call {
    background: var(--white);
    color: var(--navy);
  }

  .sticky-estimate {
    background: var(--coral);
    color: var(--navy);
  }

  .mobile-sticky-cta.is-hidden {
    display: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-sticky-cta {
      transition: none;
    }
  }
}

/* Phase 3 — trust, hub, homepage helpers */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.trust-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(234, 248, 254, 0.92);
  border: 1px solid rgba(23, 50, 77, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero .trust-chips {
  margin-top: 1.1rem;
}

.hero-caption {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions .text-link {
  align-self: center;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero .trust-chip {
  background: rgba(23, 50, 77, 0.45);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.service-card-plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.service-card-plain .service-typical,
.hub-service .service-typical {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.grid-services-10 {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem 1.25rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.audience-card h3 {
  margin-bottom: 0.5rem;
}

.job-photo-strip .lead {
  margin-bottom: 1rem;
}

.job-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.job-strip-card {
  margin: 0;
}

.job-strip-card picture,
.job-strip-card img {
  display: block;
  width: 100%;
}

.job-strip-card img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0.35rem;
  background: var(--cream-dark);
}

.job-strip-card figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.hub-directory .hub-group {
  margin-bottom: 2.5rem;
}

.hub-service {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
}

.hub-group > .hub-service:first-of-type {
  border-top: none;
  padding-top: 0.35rem;
}

.hub-not-included {
  font-size: 0.92rem;
  color: var(--muted);
}

.refer-out {
  margin: 0;
}

.refer-out h2 {
  margin-bottom: 0.65rem;
}

.mobile-services {
  margin: 0.25rem 0;
}

.mobile-services summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.5rem 0;
}

.mobile-services a {
  display: block;
  padding: 0.35rem 0 0.35rem 0.75rem;
}

.owner-block {
  display: grid;
  gap: 1rem;
}

.owner-photo {
  width: min(100%, 280px);
  height: auto;
  border-radius: 0.35rem;
}

@media (min-width: 720px) {
  .owner-block {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* Phase 4 — service page layout */
.service-hero .hero-answer {
  max-width: 42rem;
}

.service-hero-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 800px) {
  .service-hero-grid {
    grid-template-columns: minmax(20rem, 1.2fr) minmax(16rem, 1fr);
    align-items: start;
    gap: 1.75rem;
  }
}

.price-snapshot {
  background: rgba(234, 248, 254, 0.95);
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 1.25rem;
  padding: 1.15rem 1.25rem;
  min-width: 0;
}

.price-snapshot-title {
  font-size: 1rem;
  margin: 0 0 0.65rem;
}

.price-snapshot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-snapshot-list li + li {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
}

.price-snapshot-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
}

.price-snapshot-list a:hover .snapshot-job {
  text-decoration: underline;
}

.snapshot-job {
  font-weight: 600;
  min-width: 0;
  flex: 1 1 auto;
}

.snapshot-price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
  flex: 0 0 auto;
}

.price-snapshot-quote .price-snapshot-list a {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.price-snapshot-quote .snapshot-price {
  white-space: normal;
}

.price-snapshot-min {
  font-size: 0.82rem;
  margin: 0.75rem 0 0.35rem;
}

.service-jobs-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .service-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-job-card h3 {
  margin-top: 0;
}

.service-job-card .job-price {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.decision-short-answer {
  background: rgba(255, 247, 236, 0.9);
  border-left: 3px solid var(--brick, #b85c38);
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
  max-width: 48rem;
}

.decision-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.decision-table th,
.decision-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(23, 50, 77, 0.12);
}

.decision-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.decision-call-pro {
  margin-top: 1.25rem;
}

.included-split {
  margin-top: 1rem;
  gap: 2rem;
}

.process-grid .process-step h3 {
  margin-top: 0;
}

.related-sentence {
  margin: 0.65rem 0;
}

.cta-espanol {
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 0.92rem;
  opacity: 0.92;
}

.service-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-top: 1.25rem;
}

.service-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.service-hero-image {
  margin: 1.5rem 0 0;
}

.service-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.estimate-cta-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: var(--wrap-pad, 1.25rem);
  padding-right: var(--wrap-pad, 1.25rem);
}

.price-row:target,
.package-card:target {
  outline: 2px solid var(--brick, #b85c38);
  outline-offset: 3px;
}

/* Phase 5 — projects */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.before-after figure,
.project-gallery figure,
.service-gallery-item {
  margin: 0;
}
.project-gallery,
.service-gallery,
.project-card-grid,
.job-photo-strip,
.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.filter-chip {
  border: 1px solid var(--line, #d5d0c8);
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font: inherit;
}
.review-stars {
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
  color: var(--brick, #9a3412);
}
@media (max-width: 700px) {
  .before-after {
    grid-template-columns: 1fr;
  }
}

/* Homepage polish — hero, category cards, projects, contact */
.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
}

.hero-intro {
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero {
  min-height: min(78vh, 44rem);
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero .wrap {
    padding: 5.5rem 0 3.5rem;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

.service-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .service-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-category-card:hover {
  border-color: rgba(23, 50, 77, 0.22);
  box-shadow: 0 8px 22px rgba(23, 50, 77, 0.08);
}

.service-category-card:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.service-category-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pale-blue);
  color: var(--coral);
  margin-bottom: 0.25rem;
}

.category-icon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.service-category-card h3 {
  margin: 0;
  color: var(--navy);
}

.service-category-card > p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.service-category-links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.service-category-links a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.service-category-links a:hover {
  color: var(--brick-on-cream);
}

.explore-all-services {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.explore-all-services h3 {
  margin-bottom: 0.85rem;
}

.explore-all-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1.25rem;
}

@media (min-width: 640px) {
  .explore-all-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .explore-all-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.explore-all-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.explore-all-list a:hover,
.explore-all-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.job-photo-card {
  margin: 0;
}

.job-photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--cream-dark);
}

.job-photo-frame picture,
.job-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.job-photo-frame img {
  object-fit: cover;
  object-position: center;
}

.job-photo-card figcaption {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.2rem;
}

.job-photo-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick-on-cream);
}

.job-photo-caption {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.page-hero-compact {
  padding: 2.25rem 0 1.25rem;
}

.contact-intro-lead {
  max-width: 38rem;
  margin-bottom: 0.65rem;
}

.contact-alt-actions a {
  color: var(--navy);
  font-weight: 700;
}

.contact-estimate-section {
  padding-top: 1.5rem;
}

.contact-estimate-layout {
  display: grid;
  gap: 1.75rem;
}

.contact-form-column {
  order: 1;
}

.contact-guide-column {
  order: 2;
}

@media (min-width: 901px) {
  .contact-estimate-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 2rem;
  }
}

.contact-form-column .form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
}

.refer-out-note {
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .service-category-card,
  .card,
  .btn {
    transition: none;
  }

  .service-category-card:hover,
  .card:hover {
    box-shadow: none;
  }
}
