/* ==========================================================================
   Oklahoma Restoration Pros - variant 1 "Emergency"
   charcoal #111827 + blue #1D4ED8, red #DC2626 CTA, light header,
   split hero, sharp 4px corners, tight 56px section rhythm.
   System fonts only. No external requests, no web fonts, no images.
   ========================================================================== */

:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #5b6472;
  --accent: #1d4ed8;
  --accent-dark: #1e3a8a;
  --cta: #dc2626;
  --cta-dark: #b91c1c;
  --line: #d8dee9;
  --line-soft: #e8ecf3;
  --paper: #ffffff;
  --wash: #f4f6fb;
  --wash-deep: #e7ebf6;
  --radius: 4px;
  --gap: 16px;
  --section-y: 40px;
  --wrap: 1140px;
  --shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 1.85rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-dark);
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 650;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--wash);
  font-weight: 650;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  left: 8px;
}

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

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn-cta {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--wash);
  color: var(--accent-dark);
}

.btn-outline,
.btn-outline-invert {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn-outline-invert:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-invert {
  background: #fff;
  border-color: #fff;
  color: var(--cta-dark);
}

.btn-invert:hover {
  background: #ffe9e9;
  border-color: #ffe9e9;
  color: var(--cta-dark);
}

.btn-panel {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
}

.btn-panel:hover {
  background: var(--wash-deep);
  color: var(--accent-dark);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-header {
  padding: 10px 16px;
  white-space: nowrap;
}

/* ------------------------------------------------------------------- header */

.alert-strip {
  background: var(--ink);
  color: #f2f4f8;
  font-size: 0.85rem;
}

.alert-strip .wrap {
  padding-top: 8px;
  padding-bottom: 8px;
}

.alert-strip p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}

.alert-strip strong {
  color: #fff;
}

.alert-strip a {
  color: #ffd9d9;
  font-weight: 650;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-drop {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0;
}

.site-nav {
  display: none;
}

.site-nav ul,
.nav-strip ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--wash);
  color: var(--accent);
}

.nav-strip {
  border-top: 1px solid var(--line-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-strip ul {
  padding: 6px 14px;
  gap: 2px;
  width: max-content;
}

.nav-strip a {
  display: block;
  padding: 6px 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.btn-header span {
  display: inline;
}

/* ------------------------------------------------------------------- heroes */

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-split {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  gap: 22px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.hero h1 {
  font-size: 1.95rem;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.hero-cta,
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-points li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.hero-panel {
  background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 55%, #3b82f6 100%);
  color: #eef2ff;
  padding: 22px 20px;
  border-radius: var(--radius);
  border-left: 5px solid var(--cta);
}

.hero-panel h2 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.panel-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
}

.panel-list li {
  margin: 0;
  padding-left: 16px;
  position: relative;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--cta);
}

.hero-stats {
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.stat-row {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-row li {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.stat-row strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-hero {
  position: relative;
  background: linear-gradient(120deg, #111827 0%, #1e293b 45%, #1e3a8a 100%);
  color: #e6ecf8;
  padding: var(--section-y) 0;
  overflow: hidden;
}

.page-hero h1 {
  color: #fff;
  font-size: 1.7rem;
}

.page-hero p {
  color: #cfd8ea;
  max-width: 62ch;
}

.page-hero .eyebrow {
  color: #93b4fd;
}

.page-hero a:not(.btn) {
  color: #cfe0ff;
}

.hero-edge {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.85), rgba(29, 78, 216, 0));
  transform: skewX(-14deg);
  pointer-events: none;
}

/* --------------------------------------------------------------- breadcrumbs */

.breadcrumbs {
  padding-top: 12px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}

/* ------------------------------------------------------------ trust strip */

.trust-strip {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.trust-strip li {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.trust-strip svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--cta);
  margin-top: 2px;
}

.trust-strip strong {
  display: block;
  color: var(--ink);
  font-size: 0.97rem;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head p {
  color: var(--muted);
  max-width: 68ch;
}

.lede {
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

.prose h2:not(:first-child) {
  margin-top: 26px;
}

.prose h3 {
  margin-top: 20px;
}

.prose p,
.prose li {
  max-width: 72ch;
}

.note {
  background: var(--wash);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  gap: 22px;
}

.grid {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 6px;
}

.card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--accent);
}

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

.card ul {
  margin-bottom: 0;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}

.tag-list li {
  margin: 0;
  background: var(--wash-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 9px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.benefits li {
  margin: 0;
  padding: 12px 14px 12px 38px;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.benefits li::before {
  content: "\2713";
  position: absolute;
  left: 13px;
  top: 11px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
}

/* -------------------------------------------------------- process steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  margin: 0;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 16px 58px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius) 0 0 var(--radius);
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.steps p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------ city grids -- */

.city-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.city-grid li {
  margin: 0;
}

.city-grid a {
  display: block;
  padding: 9px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.city-grid a:hover {
  background: var(--wash);
  color: var(--accent);
}

/* -------------------------------------------------------------------- FAQ -- */

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 13px 15px;
  font-weight: 650;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  flex: none;
  width: 18px;
  color: var(--cta);
  font-weight: 700;
}

.faq details[open] summary::before {
  content: "\2013";
}

.faq details p {
  margin: 0;
  padding: 0 15px 15px 43px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------- cta band -- */

.cta-band {
  background: linear-gradient(120deg, var(--cta) 0%, #991b1b 100%);
  color: #fff;
  padding: var(--section-y) 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #ffe4e4;
  max-width: 62ch;
}

/* ------------------------------------------------------------------- blog -- */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.post-list li {
  margin: 0;
}

.post-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 0 0 6px;
}

.takeaways {
  background: var(--wash);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 20px;
}

.takeaways h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.takeaways ul {
  margin: 0;
  padding-left: 20px;
}

/* ----------------------------------------------------------- cities index -- */

.alpha-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.alpha-group h2 {
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}

.alpha-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 18px;
  font-size: 0.92rem;
}

.alpha-group li {
  margin: 0 0 6px;
  break-inside: avoid;
}

.toc ul {
  margin-bottom: 16px;
}

/* ----------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: #c8cfdb;
  padding: 32px 0 20px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer a {
  color: #c8cfdb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-phone {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: #fff !important;
}

.footer-disclaimers {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #97a1b2;
}

.footer-disclaimers p {
  margin-bottom: 10px;
  max-width: 100ch;
}

.footer-disclaimers a {
  color: #c8cfdb;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 0.78rem;
  color: #97a1b2;
}

.footer-bottom a {
  color: #fff;
}

/* ------------------------------------------------------- mobile call bar -- */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--cta);
  text-align: center;
  box-shadow: 0 -2px 10px rgba(17, 24, 39, 0.25);
}

.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.call-bar svg {
  width: 18px;
  height: 18px;
}

body {
  padding-bottom: 56px;
}

/* ------------------------------------------------- small-screen header --
   At 320-620px the row has to hold the brand, the phone CTA and nothing
   else. The subtitle is dropped, the logo and CTA tighten up, and the brand
   name stays on one line instead of wrapping into a narrow column. */

@media (max-width: 619px) {
  .header-inner {
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-drop {
    width: 28px;
    height: 28px;
  }

  .brand-text {
    font-size: 0.86rem;
    white-space: nowrap;
    min-width: 0;
  }

  .brand-text span {
    display: none;
  }

  .btn-header {
    flex: 0 0 auto;
    padding: 9px 11px;
    font-size: 0.84rem;
  }

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

/* -------------------------------------------------------------- wide view -- */

@media (min-width: 620px) {
  .trust-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .alpha-group ul {
    columns: 2;
    column-gap: 20px;
  }
}

@media (min-width: 900px) {
  :root {
    --section-y: 56px;
  }

  body {
    padding-bottom: 0;
    font-size: 17px;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .site-nav {
    display: block;
  }

  .nav-strip {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 34px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .hero-panel {
    padding: 26px 24px;
  }

  .two-col {
    grid-template-columns: 1.65fr 0.95fr;
    gap: 30px;
    align-items: start;
  }

  .two-col.reverse {
    grid-template-columns: 0.95fr 1.65fr;
  }

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

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

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

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

  .call-bar {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }

  .alpha-group ul {
    columns: 4;
  }
}

@media (min-width: 1100px) {
  .city-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
