/* 123 Pothole Repair — site styles
   Palette: asphalt, safety orange, lane yellow (hero only), concrete. */
:root {
  --asphalt: #2b2e33;
  --asphalt-2: #3a3e44;
  --ink: #1f2125;
  --muted: #5b6068;
  --concrete: #eeece8;
  --paper: #ffffff;
  --orange: #e2581a;
  --orange-dark: #b9450f;
  --lane: #f2c230;
  --rule: #d9d6d0;
  --radius: 4px;
  --max: 1120px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--lane); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lane); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Placeholder highlight — remove once real values are set */
.ph { background: #fff3b0; color: var(--ink); padding: 0 3px; border-radius: 2px; }

/* Header */
.site-head { background: var(--asphalt); color: #fff; position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1; display: flex; align-items: center; gap: 10px; }
.brand:hover { color: #fff; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--orange); color: #fff; border-radius: var(--radius); font-size: 1.1rem; letter-spacing: -0.02em; }
.brand { white-space: nowrap; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: #e9e7e3; text-decoration: none; font-weight: 500; font-size: 0.98rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.nav .nav-quote { display: none; }
.head-phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid #6b7078; color: #fff; border-radius: var(--radius); padding: 6px 12px; font: inherit; }

/* Buttons */
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 20px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--asphalt); }
.btn-dark { border-color: var(--asphalt); color: var(--asphalt); background: transparent; }
.btn-dark:hover { background: var(--asphalt); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero — the one bold moment: asphalt with painted stall lines and a lane stripe */
.hero {
  position: relative;
  background-color: var(--asphalt);
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.2px),
    radial-gradient(rgba(0,0,0,0.25) 1px, transparent 1.4px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  color: #fff;
  padding: 72px 0 112px;
  overflow: hidden;
}
.hero::before { /* painted parking-stall lines along the bottom */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 18px; height: 64px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.85) 0 7px, transparent 7px 120px);
  opacity: 0.9;
}
.hero::after { /* lane centerline */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--lane) 0 56px, transparent 56px 96px);
}
.hero p.lead { font-size: 1.25rem; color: #e4e2de; max-width: 56ch; }
.hero .kicker { color: var(--lane); font-weight: 600; margin-bottom: 14px; }
.hero-sub { padding: 56px 0 84px; }
.hero-sub::before { height: 40px; bottom: 14px; }
.hero-sub h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* Hero art */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-art { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.hero-photo { aspect-ratio: 13 / 10; object-fit: cover; }

/* Service icons */
.svc-icon { width: 44px; height: 44px; flex: none; }

/* Photos on service pages */
.svc-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 28px; display: block; }

/* Infrared steps — a real sequence */
.ir-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: ir; }
.ir-steps li { counter-increment: ir; background: var(--paper); border-radius: 6px; overflow: hidden; }
.ir-panel { width: 100%; height: auto; display: block; background: #dfe6ea; }
.ir-steps strong { display: block; font-family: var(--head); font-size: 1.3rem; font-weight: 600; padding: 16px 18px 2px; }
.ir-steps strong::before { content: counter(ir) ". "; color: var(--orange); }
.ir-steps span { display: block; color: var(--muted); padding: 0 18px 18px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--concrete); }
.section-dark { background: var(--asphalt); color: #fff; }
.section-dark p { color: #e4e2de; }
.section h2 + p.intro { color: var(--muted); font-size: 1.12rem; }

/* Benefit list: two columns, orange left rule — not cards */
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.points li { border-left: 3px solid var(--orange); padding: 2px 0 2px 16px; }
.points strong { display: block; font-family: var(--head); font-size: 1.3rem; font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.points span { color: var(--muted); }
.section-dark .points span { color: #cfccc6; }

/* Service rows */
.services { margin-top: 28px; border-top: 1px solid var(--rule); }
.service-row { display: grid; grid-template-columns: 44px 230px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.service-row:not(:has(.svc-icon)) { grid-template-columns: 260px 1fr auto; }
.service-row h3 { margin: 0; }
.service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h3 a:hover { color: var(--orange-dark); }
.service-row p { margin: 0; color: var(--muted); }
.service-row .more { font-weight: 600; white-space: nowrap; }

/* Steps — a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 2px solid var(--asphalt); border-radius: 50%; font-family: var(--head); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 600; }
.steps span { color: var(--muted); }

/* Audience chips */
.audiences { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.audiences a { display: inline-block; padding: 8px 14px; border: 1px solid var(--asphalt); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.audiences a:hover { background: var(--asphalt); color: #fff; }

/* Two-column content pages */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.content ul { padding-left: 1.2em; }
.content li { margin-bottom: 6px; }
.aside-box { background: var(--concrete); border-top: 4px solid var(--orange); padding: 24px; align-self: start; position: sticky; top: 92px; }
.aside-box h3 { margin-bottom: 8px; }
.aside-box p { font-size: 0.98rem; }
.aside-box .btn { width: 100%; text-align: center; margin-top: 6px; }
.callout { margin-top: 28px; padding: 18px 20px; background: var(--concrete); border-left: 4px solid var(--orange); }
.callout p { margin: 0; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; padding: 48px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #fff3ea; }
.cta-band .btn-ghost:hover { color: var(--orange-dark); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9b5ae; border-radius: var(--radius); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--lane); outline-offset: 0; border-color: var(--asphalt); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; }
.checks input { width: auto; }
.hint { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.hidden { position: absolute; left: -9999px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-list strong { display: inline-block; min-width: 120px; }

/* City links */
.city-links { columns: 4; column-gap: 24px; padding: 0; list-style: none; }
.city-links li { margin-bottom: 8px; break-inside: avoid; }

/* Footer */
.site-foot { background: var(--ink); color: #c9c6c0; padding: 48px 0 28px; font-size: 0.96rem; }
.site-foot a { color: #e9e7e3; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { font-family: var(--head); font-size: 1.15rem; color: #fff; margin: 0 0 10px; font-weight: 600; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid #3a3d42; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Responsive */
@media (max-width: 1180px) {
  .head-cta .head-phone { display: none; }
  .nav { gap: 16px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .head-cta .head-phone { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--asphalt); padding: 16px 20px 22px; gap: 14px; border-top: 1px solid #44484f; }
  .content { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid > .hero-art { max-width: 520px; }
  .ir-steps { grid-template-columns: 1fr; max-width: 520px; }
  .aside-box { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .city-links { columns: 2; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-head .wrap { gap: 12px; }
  .head-cta { display: none; }
  .nav.open .nav-quote { display: block; color: var(--lane); font-weight: 600; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 0.95rem; }
  .hero { padding: 48px 0 96px; }
  .points { grid-template-columns: 1fr; }
  .service-row, .service-row:not(:has(.svc-icon)) { grid-template-columns: 1fr; gap: 6px; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Problem band — a real sequence */
.problems { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: prob; }
.problems li { counter-increment: prob; }
.prob-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 14px; }
.problems strong { display: block; font-family: var(--head); font-size: 1.3rem; font-weight: 600; }
.problems strong::before { content: counter(prob) ". "; color: var(--orange); }
.problems span { color: var(--muted); }
.problems-cta { margin-top: 24px; font-weight: 600; }

/* Inner-page heroes sit on a photographed asphalt texture */
.hero-sub {
  background-image: linear-gradient(rgba(43,46,51,0.84), rgba(43,46,51,0.92)), url("/images/texture.jpg");
  background-size: cover;
  background-position: center;
}
@media (max-width: 980px) { .problems { grid-template-columns: 1fr; max-width: 520px; } }

/* ---- 123 Concrete Repair theme: slate + sidewalk slabs instead of asphalt + stall lines ---- */
:root { --asphalt: #34393f; --asphalt-2: #444a51; --concrete: #efede9; }
.hero {
  background-color: #34393f;
  background-image:
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1.3px),
    radial-gradient(rgba(0,0,0,0.18) 1px, transparent 1.4px);
}
.hero::before { /* a run of sidewalk slabs with expansion joints */
  bottom: 0; height: 44px; opacity: 1;
  background:
    repeating-linear-gradient(90deg, transparent 0 178px, #8d887f 178px 182px),
    linear-gradient(#cfcbc3, #bdb8af);
}
.hero::after { display: none; }
.hero-sub::before { height: 32px; }
.hero-sub {
  background-image: linear-gradient(rgba(52,57,63,0.86), rgba(52,57,63,0.93)), url("/images/texture.jpg");
  background-size: cover; background-position: center;
}
.hero-art { box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.service-row h3 { white-space: nowrap; }
