/* Affordable Roadside Assistance
   Layout: dark hero with a road-stripe edge, then light content sections on a 1140px column.
   Colors and fonts are set once here; change them in :root. */
:root {
  --orange: #ff8200;
  --orange-hover: #ff9a2e;
  --orange-ink: #a14a00;   /* orange text on light backgrounds (readable) */
  --ink: #151515;
  --ink-2: #1f1f1f;
  --ink-3: #2b2b2b;
  --paper: #f5f4f1;
  --sand: #ebe8e3;
  --white: #ffffff;
  --text: #1a1a1a;
  --body: #4b4844;
  --on-dark: #d4d1cc;
  --line: #dbd7d1;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: fixed; z-index: 99; top: 8px; left: 8px; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 8px; font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--orange); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--sand); }
.btn-block { width: 100%; }

.kicker { color: var(--orange); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker-dark { color: var(--orange-ink); }

/* Temporary service notice */
.service-notice { background: #b91c1c; color: #fff; padding-block: 16px; text-align: center; font-size: 17px; font-weight: 700; line-height: 1.5; }
.service-notice strong { font-weight: 800; }
.service-notice a { color: #fff; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.service-notice a:focus-visible { outline-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--orange); object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { color: var(--orange); font: 800 19px/1.1 var(--display); }
.brand-name span { color: var(--on-dark); font-size: 13px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--on-dark); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.header-call { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; color: var(--orange); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); padding-block: 64px 72px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--orange) 0 40px, transparent 40px 66px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; }
.hero h1 span { display: block; color: var(--orange); }
.hero-lede { max-width: 34em; color: var(--on-dark); font-size: 18px; }
.hours-badge { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px; border: 1px solid rgba(255,130,0,.5); border-radius: 999px; color: #ffc285; font-weight: 700; font-size: 16px; }
.hours-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,130,0,.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-number { color: var(--on-dark); }
.hero-number a { color: var(--white); font-weight: 700; white-space: nowrap; }
.hero-fine { max-width: 36em; color: #a9a6a1; font-size: 15px; }
.hero-art { margin: 0; min-width: 0; }
.hero-art { background: radial-gradient(circle at 50% 45%, rgba(255,139,0,.16), transparent 60%), var(--ink); border-radius: 16px; padding: 6px; box-shadow: none; }
.hero-art img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; mix-blend-mode: normal; }

/* How it works */
.steps { background: var(--ink-2); color: var(--white); padding-block: 28px; }
.steps-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-num { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); font: 800 17px/1 var(--display); }
.steps-list h2 { font-size: 18px; margin-bottom: 2px; }
.steps-list p { color: var(--on-dark); font-size: 15px; }

/* Sections */
.section { padding-block: 80px; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink-2); color: var(--white); }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.section-head h2, .section-dark h2, .reviews-card h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head > p:last-child { color: var(--body); }
.section-note { margin-top: 24px; color: var(--body); text-align: center; }
.section-note a, .area-note a { color: var(--orange-ink); font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.split .section-head { margin-bottom: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sand); }
.service-body { display: grid; gap: 12px; padding: 24px 26px 28px; }
.service h3 { font-size: 24px; font-weight: 800; }
.service-body > p { color: var(--body); }

/* Pricing */
.price-card { display: grid; gap: 18px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); }
.price-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price-rate strong { font: 800 64px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-rate span { color: var(--body); font-size: 20px; font-weight: 600; }
.price-card .checklist { color: var(--body); }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.price-actions .btn { flex: 1 1 200px; }

/* Service area */
.area-card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.area-list li { padding: 9px 12px; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 6px 6px 0; font-weight: 600; font-size: 16px; }
.area-note { margin-top: 18px; color: var(--body); }

/* Quote request */
.request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.request-copy { display: grid; gap: 16px; }
.request-copy p { color: var(--on-dark); }
.request-copy strong { color: var(--white); }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.request-meta { font-size: 16px; }
.quote-form { display: grid; gap: 16px; padding: 28px; background: var(--white); color: var(--text); border-radius: 12px; }
.form-intro { padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 6px 6px 0; color: var(--body); font-size: 16px; }
.form-intro a { color: var(--text); font-weight: 700; white-space: nowrap; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.optional { color: #6f6b66; font-weight: 400; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 12px; border: 1px solid #c8c3bc; border-radius: 8px; background: #fbfaf8; color: var(--text); font-size: 16px; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(255,130,0,.35); outline-offset: 0; }
.form-hint { color: var(--body); font-size: 16px; }
.prepared { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.prepared-label { font-weight: 700; }
.prepared textarea { background: var(--paper); line-height: 1.5; }
.prepared-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prepared-actions .btn { flex: 1 1 160px; }
.send-to { color: var(--body); }
.send-to a { color: var(--text); font-weight: 700; }
.copy-status { min-height: 1.6em; color: var(--orange-ink); font-weight: 600; }
.mobile-only { display: none; }
.is-mobile .mobile-only { display: inline-flex; }

/* Reviews */
.reviews-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.reviews-card > div { display: grid; gap: 10px; max-width: 560px; }
.reviews-card p:not(.kicker) { color: var(--body); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 36px 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); object-fit: cover; }
.footer-brand div { display: grid; }
.footer-brand b { color: var(--white); font: 700 18px/1.3 var(--display); }
.footer-brand span { font-size: 15px; }
.footer-contact { display: grid; gap: 2px; font-size: 15px; }
.footer-contact a { color: var(--white); }
.footer-contact .footer-phone { color: var(--orange); font-size: 20px; font-weight: 700; text-decoration: none; }
.footer-bottom { margin-top: 18px; color: #9b9893; font-size: 14px; }

/* Mobile call/text bar (phones only) */
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-call { margin-left: auto; }
  .hero { padding-block: 44px 56px; }
  .hero-inner, .split, .request-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 520px; }
  .steps-list { grid-template-columns: 1fr; gap: 16px; }
  .section { padding-block: 60px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-top: 68px; }
  .wrap { padding-inline: 16px; }
  .header-inner { min-height: 60px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name strong { font-size: 17px; }
  .header-call { display: none; }
  .hero { padding-block: 32px 44px; }
  .hero-copy { gap: 16px; }
  .hero-lede { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 6px); padding: 0 12px; }
  .hero-actions .btn-ghost { flex-basis: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-body { padding: 20px; }
  .price-card, .area-card { padding: 20px; }
  .price-rate strong { font-size: 54px; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form { padding: 20px 16px; }
  .request-actions .btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .reviews-card .btn { width: 100%; }
  .mobile-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(21,21,21,.97); border-top: 1px solid rgba(255,255,255,.14); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 8px; font-weight: 700; font-size: 17px; text-decoration: none; }
  .mobile-call { background: var(--orange); color: var(--ink); }
  .mobile-text { background: var(--white); color: var(--ink); }
}

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

/* Original orange mark fills the quote section's spare left column. */
.analytics-privacy { padding-bottom: 28px; font-size: 14px; line-height: 1.6; }
.analytics-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.analytics-privacy p { max-width: 800px; margin: 12px 0; }
.analytics-privacy a { color: inherit; text-decoration: underline; }
.analytics-privacy button { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
.analytics-privacy button:disabled { opacity: .7; cursor: default; }

.request-logo { display: block; width: min(100%, 410px); height: auto; margin: 36px auto 0; }
@media (max-width: 800px) {
  .request-logo { width: min(65%, 240px); margin-top: 12px; }
}

/* Plain contact numbers replace call/text button pairs in their existing rows. */
.contact-number { color: inherit; font-weight: 700; white-space: nowrap; text-underline-offset: 4px; }
.hero-actions > .contact-number { flex: 0 1 299px; }
.hero-actions > .contact-number, .price-actions > .contact-number, .request-actions > .contact-number { display: inline-flex; align-items: center; min-height: 50px; font-size: 21px; }
.hero-actions > .contact-number, .request-actions > .contact-number { color: var(--orange); }
.price-actions, .request-actions { min-height: 50px; }
.prepared-actions > .contact-number { align-items: center; min-height: 50px; }
@media (max-width: 640px) {
  .hero-actions > .contact-number { flex-basis: 100%; }
  .mobile-bar { grid-template-columns: 1fr; }
  .mobile-bar > .contact-number { color: var(--orange); background: transparent; text-decoration: underline; }
}
