:root {
  --ink: #1b1d1f;
  --muted: #5d646a;
  --line: #cfd7dc;
  --paper: #f3f6f8;
  --white: #ffffff;
  --blue: #125d7c;
  --blue-dark: #0f4058;
  --green: #278447;
  --amber: #f2af3a;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 106.25%; /* 17px base — larger, more readable body copy */
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.62;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.topbar {
  display: none;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.92rem;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap,
.site-header .wrap,
.hero-grid,
.section-grid,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar a,
.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 3px solid var(--amber);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.brand-logo {
  display: block;
  width: 380px;
  max-width: 52vw;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #314252;
}

.nav > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  line-height: 1;
}

.nav > a:first-child {
  border-left: 0;
}

.nav-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0 14px;
  color: var(--blue-dark) !important;
  background: transparent;
  line-height: 1;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

.nav > .nav-phone {
  min-height: 42px;
  margin-left: 8px;
  border-left: 0;
}

.nav-phone span {
  display: none;
}

.nav-phone strong {
  display: block;
  font-size: 1.74rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-button {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-button span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--blue-dark);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.phone-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
  padding: 14px 18px;
  border-left: 6px solid var(--amber);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 64, 88, 0.12);
  text-decoration: none;
}

.phone-lockup span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-lockup strong {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.call-card {
  width: min(380px, 100%);
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top: 7px solid var(--amber);
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 64, 88, 0.16);
}

.call-card-number {
  display: block;
  margin: 6px 0 12px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.call-card-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.call-card-list span {
  padding: 7px 8px;
  border: 1px solid var(--line);
  color: #34404a;
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

.button.secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--line);
}

.button.green {
  background: var(--green);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(255, 255, 255, 0.7) 66%, rgba(15, 64, 88, 0.32) 100%),
    url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center 44%;
  color: var(--ink);
}

.hero-v2 {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.62) 72%, rgba(15, 64, 88, 0.12) 100%),
    url("assets/images/centennial-bridge-hero.jpg");
  background-color: #f6f8f9;
  background-position: center, center 42%;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.hero-v2-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 40px;
  align-items: center;
  padding: 46px 0;
}

.hero-v2-copy {
  max-width: 720px;
}

.hero-number {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.hero-service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-service-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.9);
  color: #34404a;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-quote {
  position: relative;
  border-top: 7px solid var(--green);
  box-shadow: 0 18px 42px rgba(15, 64, 88, 0.18);
}

.hero-quote h2 {
  grid-column: 1 / -1;
  font-size: 1.6rem;
}

.hero-quote p {
  grid-column: 1 / -1;
  margin: -6px 0 2px;
  color: var(--muted);
}

.hero-grid {
  min-height: 560px;
  align-items: center;
  padding: 56px 0 46px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 720px;
  color: #4f5961;
  font-size: 1.22rem;
  line-height: 1.6;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.fine-print {
  max-width: 650px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.hero-panel {
  width: min(360px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.13);
  box-shadow: var(--shadow);
}

.ticket {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
}

.ticket h2 {
  color: var(--ink);
  font-size: 1.55rem;
}

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

.ticket-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.local-strip {
  padding: 12px 0;
  background: var(--blue-dark);
  color: #f8f4eb;
}

.local-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.local-strip span:not(:last-child)::after {
  content: "/";
  margin-left: 18px;
  color: var(--amber);
}

.trust-strip {
  padding: 28px 0;
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: #ffffff;
}

.trust-grid strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  color: var(--blue-dark);
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.14rem;
}

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

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

.service-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.service-mini {
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-mini img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  max-height: 145px;
  margin-bottom: 16px;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04) brightness(1.02);
}

.service-mini h3 {
  font-size: 1.3rem;
}

.service-mini p {
  color: var(--muted);
}

.service-mini > a:last-child {
  display: inline-block;
  margin-top: 10px;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.process-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-weight: 900;
}

.process-grid h3 {
  font-size: 1.15rem;
}

.process-grid p {
  color: var(--muted);
}

.card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.cards.compact .card {
  min-height: 160px;
}

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

.media-band {
  display: grid;
  min-height: 330px;
  align-items: end;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(27, 29, 31, 0.02), rgba(27, 29, 31, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #7e8790, #25384b 55%, #2f6f46);
}

.media-band p {
  max-width: 540px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.section-grid {
  align-items: flex-start;
}

.local-v2 {
  background: var(--paper);
}

.local-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.route-box {
  display: grid;
  gap: 9px;
  padding: 22px;
  border-top: 6px solid var(--amber);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 64, 88, 0.1);
}

.route-box a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.route-box a:last-child {
  border-bottom: 0;
}

.service-area-box {
  gap: 14px;
}

.area-group,
.footer-area-group {
  display: grid;
  gap: 8px;
}

.area-group span,
.footer-area-group span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.area-primary {
  grid-template-columns: 1fr;
}

.area-primary .area-primary-link {
  padding: 10px 11px;
  border: 1px solid rgba(18, 93, 124, 0.24);
  border-left: 5px solid var(--green);
  border-radius: 4px;
  color: var(--blue-dark);
  background: #eef7f1;
  font-size: 1rem;
  font-weight: 900;
}

.area-additional {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.area-additional a {
  padding: 4px 0;
  border-bottom: 0;
  color: #55616a;
  font-size: 0.86rem;
  font-weight: 800;
}

.main-copy {
  flex: 1 1 620px;
}

.main-copy h2:not(:first-child) {
  margin-top: 30px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.photo-card img,
.inline-photo img,
.local-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04) brightness(1.02);
}

.photo-card img {
  aspect-ratio: 16 / 10;
  max-height: 165px;
}

.photo-card div {
  padding: 16px;
}

.photo-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.inline-photo {
  overflow: hidden;
  margin: 28px 0;
  max-width: 720px;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(15, 64, 88, 0.12);
}

.inline-photo img {
  aspect-ratio: 2.25 / 1;
  max-height: 290px;
}

.local-photo img {
  aspect-ratio: 16 / 9;
  max-height: 260px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 64, 88, 0.1);
}

.local-photo {
  margin-top: 26px;
  max-width: 560px;
}

.trust-detail-grid,
.review-ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.trust-detail-grid p,
.review-ready-grid p {
  color: var(--muted);
}

.insurance-box {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-top: 6px solid var(--amber);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 64, 88, 0.1);
}

.insurance-box strong {
  color: var(--blue-dark);
  font-size: 1.28rem;
}

.insurance-box p {
  margin: 0;
}

.insurance-box a {
  margin-top: 4px;
}

.review-ready {
  background: #ffffff;
}

.review-placeholders {
  display: grid;
  gap: 10px;
}

.review-placeholders span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(18, 93, 124, 0.22);
  border-left: 5px solid var(--green);
  border-radius: 5px;
  color: var(--blue-dark);
  background: #f7fafb;
  font-weight: 900;
}

.side-box {
  flex: 0 0 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 64, 88, 0.08);
}

.side-call {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
}

.side-call span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-call strong {
  font-size: 1.6rem;
  line-height: 1;
}

.side-box .fine-print {
  color: var(--muted);
}

.local-card {
  border-top: 5px solid var(--amber);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.city-link {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

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

.request {
  color: var(--white);
  background: var(--blue-dark);
}

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

.faq-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  background: #ffffff;
}

.faq-grid p {
  color: var(--muted);
}

.request-number {
  display: inline-block;
  margin: 6px 0 2px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.quote-form {
  flex: 0 0 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
}

.quote-form label {
  display: grid;
  gap: 5px;
  color: #34404a;
  font-size: 0.84rem;
  font-weight: 800;
}

.quote-form .quote-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: #f8fafb;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-thanks {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 250px;
  text-align: center;
}

.quote-thanks h2 {
  margin: 0;
}

.quote-thanks p,
.quote-status {
  margin: 0;
  color: #34404a;
  font-weight: 700;
}

.quote-form .full {
  grid-column: 1 / -1;
}

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

.request .fine-print {
  color: rgba(255, 255, 255, 0.72);
}

.call-band {
  color: var(--white);
  background: var(--blue-dark);
  text-align: center;
}

.call-band .wrap {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.call-band a {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.site-footer {
  padding: 42px 0 34px;
  color: #d9e8f4;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(190px, 0.62fr) minmax(480px, 1.7fr);
  gap: 28px 42px;
  align-items: flex-start;
  justify-content: stretch;
}

.site-footer a {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
  min-width: 160px;
}

.footer-links strong {
  color: #ffffff;
}

.footer-links a {
  color: #d9e8f4;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
}

.footer-areas {
  gap: 10px;
  align-self: start;
}

.footer-areas strong {
  display: block;
}

.footer-area-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 14px;
  align-items: flex-start;
}

.footer-area-main,
.footer-area-extra {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-area-extra {
  min-height: 100%;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.footer-mini-links {
  margin: 12px 0 0;
}

.footer-mini-links a {
  color: #d9e8f4;
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-flag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.site-footer .footer-flag-link img {
  display: block;
  width: auto !important;
  max-width: none;
  height: 32px !important;
  max-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  box-shadow: none;
  object-fit: contain; /* bare flags, all the same height */
  transition: transform 0.16s ease;
}

.footer-flag-link:hover img,
.footer-flag-link:focus-visible img {
  transform: translateY(-1px);
}

/* make the footer phone number prominent */
.footer-brand a[href^="tel:"] {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.footer-note {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c7d3;
  font-size: 0.86rem;
}

.page-hero {
  padding: 48px 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 62%, rgba(242, 175, 58, 0.18) 100%),
    var(--page-hero-image, url("assets/images/home-mobile-windshield.webp"));
  background-color: #f6f8f9;
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  border-bottom: 1px solid var(--line);
}

.hero-replacement {
  --page-hero-image: url("assets/images/replacement-shop-install.webp");
}

.hero-repair {
  --page-hero-image: url("assets/images/repair-chip-tool.webp");
}

.hero-mobile,
.hero-city {
  --page-hero-image: url("assets/images/home-mobile-windshield.webp");
}

.hero-auto-glass {
  --page-hero-image: url("assets/images/auto-glass-tech-cracked.webp");
}

.hero-about {
  --page-hero-image: url("assets/images/shop-techs-glass.webp");
}

.page-hero .lead {
  color: #4f5961;
}

.page-hero .content {
  max-width: min(1120px, calc(100% - 32px));
}

.page-hero-number {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.mobile-call-bar {
  display: none;
}

.content {
  max-width: 840px;
}

.content p,
.content li {
  color: var(--muted);
}

/* city-page local detail — accented text card + city map, side by side */
.local-detail {
  background: var(--paper);
}

.local-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.local-detail-card {
  padding: 30px 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 64, 88, 0.08);
}

.local-detail-card h2 {
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.local-detail-card p {
  font-size: 1.04rem;
  line-height: 1.66;
  margin-bottom: 12px;
}

.local-detail-card p:last-child {
  margin-bottom: 0;
}

.local-detail-map {
  display: flex;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 64, 88, 0.08);
  background: #eef2f5;
}

.local-detail-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

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

@media (max-width: 560px) {
  .local-detail-card {
    padding: 22px 20px;
  }
}

/* ---------- visual polish pass ---------- */
.nav {
  font-size: 1rem;
}

.button {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 1rem;
  border-radius: 10px;
}

/* larger, more even body copy inside cards and content */
.trust-grid p,
.service-mini p,
.process-grid p,
.card p,
.faq-grid p,
.content p,
.content li,
.trust-detail-grid p,
.review-ready-grid p,
.route-box + * p {
  font-size: 1.03rem;
  line-height: 1.62;
}

/* equal-height service cards with the call link pinned to the bottom */
.service-mini {
  display: flex;
  flex-direction: column;
}

.service-mini img {
  aspect-ratio: 16 / 9;
  max-height: 170px;
}

.service-mini h3 {
  margin-bottom: 4px;
}

.service-mini > a:last-child {
  margin-top: auto;
  padding-top: 8px;
}

/* consistent interiors for the 3-up and FAQ cards */
.trust-grid article,
.faq-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-grid article p,
.faq-grid article p {
  margin: 0;
}

/* form + hero heading tune-up */
.hero-quote h2 {
  font-size: 1.8rem;
}

.quote-form label {
  font-size: 0.9rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  min-height: 46px;
}

/* ---------- bolder pass ---------- */
h1 {
  font-weight: 900;
}

h2 {
  font-weight: 800;
}

h3 {
  font-weight: 800;
}

.section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  position: relative;
  padding-bottom: 14px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 4px;
  border-radius: 3px;
  background: var(--amber);
}

.hero-v2-grid {
  padding: 58px 0;
}

.button {
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 64, 88, 0.18);
}

.button.secondary:hover {
  background: #eef4f6;
}

/* rebalanced "Built For Quad Cities Driving" section (HOMEPAGE ONLY — scoped
   under .local-v2 so it no longer distorts the city-page layout) */
.local-v2 .local-v2-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 40px;
  align-items: stretch;
}

.local-v2-copy .route-box {
  margin-top: 26px;
  grid-template-columns: 1fr 1fr; /* two compact columns so the copy side isn't so tall */
  gap: 6px 18px;
}

.local-v2-copy .route-box strong {
  grid-column: 1 / -1;
}

.local-v2-copy .route-box a {
  padding: 4px 0;
  border-bottom: 0;
}

.local-v2-media {
  display: flex;
}

.local-v2-media img {
  display: block;
  width: 100%;
  height: 100%; /* fill the column so the photo squares off level with the copy */
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(15, 64, 88, 0.16);
  filter: saturate(0.94) contrast(1.04) brightness(1.02);
}

/* keep the hero eyebrow brand-blue even inside .content
   (.content p was overriding .eyebrow to gray on interior pages) */
.content .eyebrow {
  color: var(--blue);
}

/* uniform hero typography so every page's eyebrow, H1 and lead match in size */
.hero-v2-copy .eyebrow,
.page-hero .eyebrow {
  font-size: 0.9rem;
}

.hero-v2 h1,
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.hero-v2 .lead,
.page-hero .lead {
  font-size: 1.18rem;
}

/* uniform hero height across the site (desktop) — heroes centered to the same min height */
@media (min-width: 760px) {
  .hero-v2,
  .page-hero {
    display: flex;
    align-items: center;
    min-height: 440px;
  }
}

/* city "Common <city> calls" box: keep items tight at the top, no big gaps */
.route-box {
  align-content: start;
}

@media (min-width: 921px) and (max-width: 1100px) {
  html,
  body {
    overflow-x: clip;
  }

  .topbar,
  .site-header,
  .hero,
  .hero-v2,
  .service-areas,
  .call-band,
  .request,
  .site-footer,
  main > section {
    width: 100vw;
    max-width: 100vw;
  }

  .brand-logo {
    width: 318px;
    max-width: 34vw;
  }

  .nav {
    font-size: 0.84rem;
  }

  .nav > a {
    padding: 0 9px;
  }

  .nav > .nav-phone {
    margin-left: 2px;
  }

  .nav-phone strong {
    font-size: 1.38rem;
  }

  .hero-v2-grid {
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(190px, 0.8fr) minmax(150px, 0.6fr) minmax(0, 1.6fr);
    gap: 24px;
  }

  .footer-area-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-area-extra {
    padding-left: 12px;
  }
}

@media (max-width: 920px) {
  .site-header .wrap {
    gap: 12px;
  }

  .brand-logo {
    max-width: min(64vw, 310px);
  }

  .nav-toggle-button {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-top: 3px solid var(--amber);
    background: var(--white);
    box-shadow: 0 18px 36px rgba(15, 64, 88, 0.16);
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav > a {
    min-height: 52px;
    justify-content: space-between;
    padding: 0 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav > a:not(.nav-phone)::after {
    color: var(--amber);
    content: ">";
    font-weight: 900;
  }

  .nav > .nav-phone {
    order: -1;
    min-height: 58px;
    margin: 10px 12px 12px;
    justify-content: center;
    border-bottom: 0;
  }

  .nav > .nav-phone strong {
    font-size: 1.55rem;
  }

  .hero-grid,
  .hero-v2-grid,
  .section-grid {
    display: block;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-panel,
  .call-card,
  .quote-form,
  .side-box {
    margin-top: 24px;
  }

  .hero-v2-grid,
  .local-v2-grid,
  .local-v2 .local-v2-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .trust-grid,
  .process-grid,
  .trust-detail-grid,
  .review-ready-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .cards,
  .cards.compact,
  .service-board,
  .photo-grid,
  .faq-grid,
  .city-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 36px, 1120px);
  }

  .hero-v2 {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.98) 74%),
      url("assets/images/centennial-bridge-hero.jpg");
    background-color: #f6f8f9;
    background-position: center 34%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero-v2-grid {
    padding: 34px 0 28px;
  }

  .hero-v2-copy {
    max-width: 28rem;
    margin: 0 auto;
    text-align: center;
  }

  .hero-v2-copy .eyebrow {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .hero-v2 h1 {
    margin-top: 14px;
    font-size: 1.82rem;
    line-height: 1.16;
  }

  .hero-v2 .lead {
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .page-hero-number {
    display: block;
    margin: 22px auto 0;
    font-size: clamp(2.05rem, 10vw, 2.38rem);
    text-align: center;
  }

  .page-hero-actions {
    justify-content: center;
    margin-top: 16px;
  }

  .hero-service-row {
    justify-content: center;
  }

  .topbar .wrap {
    display: block;
    padding: 8px 0;
  }

  .cards,
  .cards.compact,
  .service-board,
  .trust-grid,
  .process-grid,
  .trust-detail-grid,
  .review-ready-grid,
  .photo-grid,
  .faq-grid,
  .city-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .area-additional {
    grid-template-columns: 1fr;
  }

  .footer-area-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-area-extra {
    padding-left: 10px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 62px;
  }

  .mobile-call-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: block;
    padding: 10px 18px;
    background: var(--blue-dark);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }

  .mobile-call-bar a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--white);
    background: var(--green);
    font-weight: 900;
    text-decoration: none;
  }
}
