:root {
  --ink: #16181c;
  --muted: #666b73;
  --surface: #ffffff;
  --surface-soft: #f4f5f7;
  --accent: #2f6fb2;
  --accent-dark: #214d7c;
  --line: #dde0e5;
  --shadow: 0 18px 45px rgba(17, 20, 26, 0.12);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 224, 229, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  width: 320px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta {
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, #121419 0%, #252a33 55%, #111317 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 178, 0.40), transparent 66%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background:
    linear-gradient(10deg, rgba(255, 255, 255, 0.05) 0 34%, transparent 34% 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(135deg, transparent 46%, rgba(255,255,255,.07) 46% 48%, transparent 48%),
    linear-gradient(45deg, transparent 46%, rgba(255,255,255,.04) 46% 48%, transparent 48%);
  background-size: 64px 64px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-block: 100px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9fc4ea;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent);
}

.hero h1,
.section h2,
.cta-strip h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3.5rem, 8vw, 6.9rem);
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: #d7dbe2;
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.button-light {
  color: var(--accent-dark);
  background: #fff;
}

.full-width {
  width: 100%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 42px;
  color: #e7e9ed;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-trust span::before {
  content: "✓";
  margin-right: 8px;
  color: #9fc4ea;
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  text-transform: uppercase;
}

.section-heading > p:last-child,
.contact-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 20, 26, 0.05);
}

.service-card h3 {
  margin: 28px 0 12px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

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

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.gallery-section {
  background: var(--surface-soft);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.gallery-card {
  margin: 0;
}

.photo-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: rgba(255,255,255,.9);
  background:
    linear-gradient(145deg, rgba(0,0,0,.45), rgba(0,0,0,.12)),
    linear-gradient(135deg, #363b46, #1c1f26);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-placeholder.after {
  background:
    linear-gradient(145deg, rgba(0,0,0,.2), rgba(0,0,0,.08)),
    linear-gradient(135deg, #9ba2ad, #424852);
}

.photo-placeholder.paint {
  background:
    linear-gradient(145deg, rgba(0,0,0,.22), rgba(0,0,0,.04)),
    linear-gradient(135deg, #587089, #2f6fb2);
}

.photo-placeholder span {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  font-weight: 800;
}

.gallery-card figcaption {
  padding: 14px 4px 0;
  color: var(--muted);
  font-weight: 700;
}

.about-section {
  color: #fff;
  background: #17191e;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-panel {
  padding: 48px;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(47,111,178,.98), rgba(77,90,108,.98));
  box-shadow: var(--shadow);
}

.about-copy {
  color: #d2d6dd;
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-label {
  color: var(--muted);
  font-weight: 600;
}

.contact-card strong {
  color: var(--accent);
  font-size: 1.06rem;
}

.location-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.location-card h3 {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.hours {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.confirmation-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.cta-strip {
  padding-block: 54px;
  color: #fff;
  background: var(--accent);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-strip h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  text-transform: uppercase;
}

.cta-strip .eyebrow {
  color: rgba(255,255,255,.75);
}

.site-footer {
  padding-block: 34px;
  color: #d4d7dc;
  background: #111318;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 34px;
  }

  .cta-strip-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 240px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-block: 76px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 78px;
  }

  .about-panel,
  .location-card {
    padding: 26px;
  }

  .contact-card,
  .hours div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}


/* Completed-work gallery */
.project-card {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(17, 20, 26, 0.08);
}

.project-card + .project-card {
  margin-top: 30px;
}

.project-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}

.project-heading h3 {
  margin: 6px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.project-heading p {
  margin: 0;
  color: var(--muted);
}

.project-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-photo {
  margin: 0;
}

.photo-button {
  position: relative;
  width: 100%;
  min-height: 310px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #252a33;
  box-shadow: 0 12px 26px rgba(17, 20, 26, 0.13);
  cursor: zoom-in;
  overflow: hidden;
}

.photo-button img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.photo-button:hover img,
.photo-button:focus-visible img {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.photo-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.photo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(0,0,0,.24);
}

.before-badge {
  background: rgba(18, 20, 25, 0.9);
}

.after-badge {
  background: rgba(215, 38, 46, 0.94);
}

.zoom-label {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.photo-button:hover .zoom-label,
.photo-button:focus-visible .zoom-label {
  opacity: 1;
  transform: translateY(0);
}

.work-photo figcaption {
  padding: 11px 3px 2px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Full-screen photo viewer */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(6, 7, 9, 0.94);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(1120px, 100%);
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
}

.lightbox-content p {
  margin: 14px 0 0;
  color: #eef0f3;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .project-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .project-card {
    padding: 20px;
  }

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

  .photo-button,
  .photo-button img {
    min-height: 240px;
  }

  .lightbox {
    padding: 16px;
  }
}


.contact-card strong {
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #9fc4ea;
}


/* Two-location contact section */
.locations-heading {
  max-width: 860px;
}

.business-email {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.business-email small,
.address-link small,
.location-contact-row small,
.alton-hours-note small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.business-email strong {
  overflow-wrap: anywhere;
  color: var(--accent-dark);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.shop-location-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 20, 26, 0.09);
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.location-card-header h3 {
  margin: 1px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.location-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-pin {
  flex: 0 0 auto;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 24px rgba(47, 111, 178, 0.28);
}

.location-pin svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.address-link,
.location-contact-row,
.alton-hours-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.address-link {
  padding: 18px;
  border: 1px solid #cfd8e4;
  border-radius: 15px;
  background: linear-gradient(145deg, #f6f8fb, #eef2f6);
}

.address-link:hover {
  border-color: var(--accent);
}

.address-link strong {
  display: block;
  line-height: 1.45;
}

.address-link em {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.detail-icon {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(47, 111, 178, 0.11);
}

.detail-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.location-contacts {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.location-contact-row,
.alton-hours-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.location-contact-row:hover {
  border-color: var(--accent);
  background: #f8fafc;
}

.location-contact-row strong,
.alton-hours-note strong {
  color: var(--ink);
}

.location-hours {
  margin-top: 22px;
}

.alton-hours-note {
  margin-top: 22px;
  background: var(--surface-soft);
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: auto;
  padding-top: 24px;
}

.button-map {
  color: var(--accent-dark);
  border: 1px solid #aebdce;
  background: #eef3f8;
}

.button-map:hover {
  background: #e3ebf4;
}

.footer-email {
  display: inline-block;
  margin-top: 4px;
  color: #9fc4ea;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shop-location-card {
    padding: 22px;
  }

  .business-email {
    width: 100%;
    align-items: flex-start;
  }

  .location-actions {
    grid-template-columns: 1fr;
  }
}


.location-contact-row strong,
.footer-emails {
  overflow-wrap: anywhere;
}

.location-email-note {
  cursor: default;
}

.footer-emails {
  margin-top: 6px;
  line-height: 1.55;
}


.hero-call-button {
  min-width: 210px;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.hero-call-label {
  margin-bottom: 3px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.78;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .hero-call-button {
    align-items: center;
  }
}




/* Stable five-card services layout */
.service-grid .service-card {
  grid-column: span 2;
  min-width: 0;
}

.service-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-grid .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid .service-card,
  .service-grid .service-card:nth-child(4),
  .service-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-grid .service-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid .service-card,
  .service-grid .service-card:last-child {
    grid-column: auto;
  }
}


/* Reliable section-link positioning below the sticky header */
section[id] {
  scroll-margin-top: 100px;
}

/* Bottom call buttons for both shops */
.cta-phone-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cta-phone-button {
  min-width: 190px;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.cta-phone-location {
  margin-bottom: 3px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  opacity: 0.72;
  text-transform: uppercase;
}

/* Footer phone numbers */
.footer-phones {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.footer-phones a {
  width: fit-content;
  color: #ffffff;
  font-weight: 700;
}

.footer-phones a:hover {
  color: #9fc4ea;
}

.footer-phones span {
  color: #9fc4ea;
}

/* Desktop fallback when a device cannot directly place a call */
.phone-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1400;
  max-width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(18, 22, 28, 0.96);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.34);
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.phone-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .cta-phone-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .cta-phone-buttons,
  .cta-phone-button {
    width: 100%;
  }

  .cta-phone-button {
    align-items: center;
  }
}


.ownership-line {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-ownership {
  margin-top: 3px;
  color: #9fc4ea;
  font-weight: 700;
}


/* Estimate request form */
.estimate-section {
  background: var(--surface-soft);
}

.estimate-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.estimate-intro {
  position: sticky;
  top: 120px;
}

.estimate-intro h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.estimate-intro > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.estimate-benefits {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.estimate-benefits > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.estimate-benefits > div > span {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.estimate-benefits p {
  margin: 0;
  color: var(--muted);
}

.estimate-benefits strong {
  color: var(--ink);
}

.estimate-help-card {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 20, 26, 0.07);
}

.estimate-help-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.estimate-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 20px 55px rgba(17, 20, 26, 0.1);
}

.estimate-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 30px;
  border: 0;
}

.estimate-form fieldset + fieldset {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.estimate-form legend {
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid + .form-grid {
  margin-top: 18px;
}

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

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

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field label span {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #bdc6d1;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(47, 111, 178, 0.17);
  border-color: var(--accent);
}

.field-help,
.file-field small,
.fieldset-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.fieldset-note {
  margin: -8px 0 18px;
}

.location-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.location-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #bdc6d1;
  border-radius: 13px;
  cursor: pointer;
}

.location-choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(47, 111, 178, 0.07);
  box-shadow: 0 0 0 2px rgba(47, 111, 178, 0.12);
}

.location-choice input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.location-choice strong,
.location-choice small {
  display: block;
}

.location-choice small {
  margin-top: 3px;
  color: var(--muted);
}

.file-field {
  padding: 16px;
  border: 1px dashed #aeb9c6;
  border-radius: 12px;
  background: #f8fafc;
}

.file-field input {
  min-height: auto;
  padding: 8px 0;
  border: 0;
  background: transparent;
}

.file-size-message {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.file-size-message.error,
.form-status.error {
  color: #a51f27;
}

.file-size-message.success,
.form-status.success {
  color: #28723f;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 4px;
  font-size: 0.88rem;
  cursor: pointer;
}

.consent-field input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  color: #48515d;
  background: #eef2f6;
  font-size: 0.8rem;
}

.estimate-submit {
  width: 100%;
  margin-top: 20px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.form-status {
  min-height: 1.6em;
  margin: 12px 0 0;
  text-align: center;
  font-weight: 700;
}

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

@media (max-width: 960px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .estimate-intro {
    position: static;
  }
}

@media (max-width: 700px) {
  .estimate-form {
    padding: 22px;
  }

  .form-grid-two,
  .form-grid-three,
  .location-choice-grid {
    grid-template-columns: 1fr;
  }
}


/* Full business-card header branding */
.brand-card {
  flex: 0 0 auto;
  display: block;
  width: min(360px, 38vw);
}

.brand-card .brand-logo {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(17, 20, 26, 0.12);
}

@media (max-width: 900px) {
  .brand-card {
    width: min(300px, 62vw);
  }

  .brand-card .brand-logo {
    max-height: 68px;
  }
}

@media (max-width: 600px) {
  .brand-card {
    width: min(240px, 68vw);
  }

  .brand-card .brand-logo {
    max-height: 60px;
  }
}


/* Shop name inside the hero section */
.hero-business-name {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .hero-business-name {
    margin-bottom: 10px;
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }
}


/* Location-routed estimate forms */
.estimate-layout {
  grid-template-columns: 0.68fr 1.32fr;
}

.estimate-forms-wrapper {
  min-width: 0;
}

.estimate-router {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #cfd8e4;
  border-radius: calc(var(--radius) + 2px);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(17, 20, 26, 0.08);
}

.estimate-router-heading h3 {
  margin: 3px 0 8px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.estimate-router-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.route-step {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.estimate-route-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 20px;
}

.estimate-route-button {
  min-width: 0;
  padding: 18px;
  border: 2px solid #c9d2dd;
  border-radius: 14px;
  color: var(--ink);
  background: #f7f9fb;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.estimate-route-button:hover,
.estimate-route-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.estimate-route-button:focus-visible {
  outline: 3px solid rgba(47, 111, 178, 0.19);
  outline-offset: 2px;
}

.estimate-route-button.active {
  border-color: var(--accent);
  background: rgba(47, 111, 178, 0.09);
  box-shadow: 0 0 0 3px rgba(47, 111, 178, 0.10);
}

.estimate-route-button span,
.estimate-route-button small,
.estimate-route-button em {
  display: block;
}

.estimate-route-button span {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.estimate-route-button small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.estimate-route-button em {
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.estimate-routing-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.routed-estimate-form[hidden] {
  display: none !important;
}

.routed-form-heading {
  margin: -4px 0 30px;
  padding: 20px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
}

.routed-form-kicker {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.routed-form-heading h3 {
  margin: 4px 0 7px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.routed-form-heading p {
  margin: 0;
  color: rgba(255,255,255,.88);
}

.routed-form-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.routed-form-contact a {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .estimate-route-buttons {
    grid-template-columns: 1fr;
  }

  .estimate-router {
    padding: 19px;
  }
}


/* Service cards without numbered circles */
.service-card h3 {
  margin-top: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Single-location layout */
.locations-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.cta-phone-buttons {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

@media (max-width: 600px) {
  .cta-phone-buttons {
    grid-template-columns: 1fr;
  }
}
