/* ==========================================================================
   towingirvineca.com. Skin: the freeway guide sign (from the Lift & Shift preview, 2026-10-12).
   Palette: night #0E1A24, freeway green #0B6E4F, sunset orange #FF5B1F, concrete #F2EFE9.
   Type: Overpass (sign lettering, headlines), Source Sans 3 (text).
   Motif: green guide-sign panels with a white inset border, exit tabs, route shields
   for numerals, dashed lane markings as dividers.
   ========================================================================== */

:root {
  --night: #0E1A24;
  --night-2: #13232F;
  --green: #0B6E4F;
  --green-deep: #08573E;
  --orange: #FF5B1F;
  --orange-deep: #E04A12;
  --concrete: #F2EFE9;
  --concrete-2: #E6E1D7;
  --white: #FFFFFF;
  --ink: #1B2730;
  --mute: #56606A;
  --mute-d: #A9B4BC;
  --line: rgba(14, 26, 36, .14);
  --line-strong: rgba(14, 26, 36, .4);
  --line-d: rgba(242, 239, 233, .18);
  --sign: "Overpass", "Arial Narrow", Arial, sans-serif;
  --text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 8vw, 104px);
  --r: 10px;
}

*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--orange); color: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--white); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3 { margin: 0 0 .5em; color: var(--night); text-wrap: balance; }
h1, h2, .callhead { font-family: var(--sign); font-weight: 900; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); line-height: .98; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.08; }
h3 { font: 700 clamp(1.15rem, 1.6vw, 1.32rem)/1.25 var(--sign); margin-top: 1.4em; }
p { margin: 0 0 1.1em; max-width: 68ch; text-wrap: pretty; }
p strong, li strong { color: var(--night); font-weight: 700; }
ul { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; max-width: 66ch; }
main p a:not(.btn), main li a:not(.btn) { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--orange); text-underline-offset: 3px; }
main p a:not(.btn):hover, main li a:not(.btn):hover { color: var(--green-deep); }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* Eyebrow = an exit tab: small green plate with a white inset rule */
.eyebrow { display: inline-block; font: 800 .78rem/1 var(--sign); letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--green); padding: 10px 14px 8px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3.5px var(--white); margin: 0 0 22px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 34em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 8px; font: 800 1.02rem/1 var(--sign); cursor: pointer; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-call { background: var(--orange); color: var(--white); }
.btn-call:hover { background: var(--orange-deep); }
.btn-line { border-color: var(--night); color: var(--night); }
.hero .btn-line, .band-steel .btn-line, .callband .btn-line, .callbar .btn-line { border-color: rgba(242, 239, 233, .7); color: var(--concrete); }
.btn-xl { min-height: 62px; padding: 0 30px; font-size: 1.15rem; }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.strip { background: var(--night); color: var(--mute-d); font: 700 .78rem/1 var(--sign); letter-spacing: .1em; text-transform: uppercase; }
.strip .shell { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 8px; }
.strip b { color: var(--orange); }
.head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: repeating-linear-gradient(90deg, var(--night) 0 28px, transparent 28px 46px); opacity: .9; }
.head .shell { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: stretch; flex: none; }
.plate { display: block; background: var(--green); color: var(--white); font: 900 1.05rem/1 var(--sign); letter-spacing: .03em; text-transform: uppercase; padding: 11px 13px 9px; border-radius: 7px 0 0 7px; box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3.5px var(--white); }
.plate-tab { display: grid; place-items: center; background: var(--orange); color: var(--white); font: 900 .72rem/1 var(--sign); letter-spacing: .08em; padding: 0 9px; border-radius: 0 7px 7px 0; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; white-space: nowrap; padding: 6px 0; font: 700 .95rem/1.2 var(--sign); color: var(--night); border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--orange); }
.head .btn { min-height: 46px; padding: 0 18px; font-size: .98rem; flex: none; }
.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--night); border-radius: 8px; width: 46px; height: 46px; color: var(--night); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--concrete); overflow: hidden; isolation: isolate; padding: clamp(44px, 7vw, 92px) 0; }
.glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(36% 55% at 85% 10%, rgba(255, 91, 31, .26), transparent 70%),
  radial-gradient(34% 60% at 4% 100%, rgba(11, 110, 79, .55), transparent 72%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 4px; z-index: -1; background: repeating-linear-gradient(90deg, rgba(242, 239, 233, .22) 0 40px, transparent 40px 72px); }
.hero h1 { color: var(--white); }
.hero .lead { color: #D3DADF; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-note { font-size: .95rem; color: var(--mute-d); margin: 0; }

/* The guide sign */
.sign { position: relative; background: var(--green); color: var(--white); border-radius: 18px; padding: 26px 26px 18px; box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 9px var(--white), 0 24px 0 -10px rgba(0, 0, 0, .35); margin-top: 22px; }
.exit-tab { position: absolute; top: -22px; right: 30px; background: var(--green); color: var(--white); font: 900 .8rem/1 var(--sign); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px 12px; border-radius: 8px 8px 0 0; box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 5px var(--white); }
.sign-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shields { display: flex; gap: 8px; }
.shield { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; background: var(--white); color: var(--night); font: 900 1.2rem/1 var(--sign); border-radius: 6px 6px 22px 22px; box-shadow: inset 0 0 0 2.5px var(--night); }
.sign-place { margin: 0; font: 900 clamp(1.7rem, 3.2vw, 2.5rem)/1 var(--sign); letter-spacing: .01em; }
.flatbed { width: 100%; height: auto; margin-top: 8px; }
.flatbed .w { fill: var(--white); }
.flatbed .o { fill: var(--orange); }
.flatbed .cut { fill: var(--green-deep); }
.flatbed .tire { fill: var(--night); stroke: var(--white); stroke-width: 5; }
.flatbed .strap { stroke: var(--white); stroke-width: 4; fill: none; stroke-linecap: round; }
.flatbed .road { stroke: var(--white); stroke-width: 4; }
.flatbed .lane { stroke: var(--white); stroke-width: 4; stroke-dasharray: 34 26; opacity: .55; }
.flatbed .mk circle { fill: var(--orange); stroke: var(--night); stroke-width: 3; }
.flatbed .mk text { fill: var(--white); font: 900 19px var(--sign); }
.sign figcaption { border-top: 2px solid rgba(255, 255, 255, .55); margin-top: 6px; padding-top: 10px; font: 800 .8rem/1.2 var(--sign); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Steps band ---------- */
.proof { background: var(--orange); color: var(--white); }
.legend { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legend li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin: 0; max-width: none; padding: 22px 18px; font-size: .97rem; line-height: 1.42; }
.legend li + li { border-left: 3px dashed rgba(255, 255, 255, .5); }
.legend b { display: block; font: 900 1.12rem/1.1 var(--sign); margin-bottom: 4px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--night); color: var(--white); font: 900 1rem/1 var(--sign); border-radius: 50%; }

/* ---------- Bands ---------- */
.band { padding: var(--band) 0; }
.band-alt { background: var(--concrete); }
.band-steel { background: var(--green); color: rgba(255, 255, 255, .88); }
.band-steel h2, .band-steel h3, .band-steel strong { color: var(--white); }
.band-steel .eyebrow { background: var(--night); box-shadow: inset 0 0 0 2px var(--night), inset 0 0 0 3.5px var(--white); }
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.qa-head { position: sticky; top: 108px; }
/* Section numbers as route shields */
.qa-head .idx { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; background: var(--white); color: var(--night); font: 900 1.45rem/1 var(--sign); border-radius: 8px 8px 28px 28px; box-shadow: inset 0 0 0 3px var(--night); }
.band-alt .qa-head .idx { background: var(--concrete); }
.answer { border-left: 6px solid var(--green); background: var(--concrete); padding: 20px 24px; margin: 0 0 28px; font-size: 1.12rem; line-height: 1.55; color: var(--night); border-radius: 0 var(--r) var(--r) 0; }
.band-alt .answer { background: var(--white); }
.answer p { margin: 0; }

/* ---------- Matrix ---------- */
.matrix-wrap { overflow-x: auto; background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 3px var(--white); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; color: var(--night); }
.matrix th, .matrix td { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; }
.matrix thead th { background: var(--night); color: var(--white); font: 800 .92rem/1.1 var(--sign); letter-spacing: .03em; }
.matrix tbody th { font-weight: 700; }
.matrix td { text-align: center; }
.matrix td svg { margin: 0 auto; color: var(--green); }
.matrix td a:hover svg { color: var(--orange); }

/* ---------- Areas + map ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 36px; }
.area { padding: 16px 20px; background: var(--white); border-radius: var(--r); border-top: 4px dashed var(--green); }
.area b { display: block; color: var(--night); font: 800 1.08rem/1.2 var(--sign); margin-bottom: 4px; }
.area span { font-size: .93rem; color: var(--mute); }
.map-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.map { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--green); aspect-ratio: 4 / 3; background: var(--concrete-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 3px solid var(--night); max-width: 900px; }
.faq details { border-bottom: 2px dashed var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 700 1.12rem/1.35 var(--sign); color: var(--night); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s ease; color: var(--orange); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; margin: 0; }

/* ---------- Call band ---------- */
.callband { background: var(--night); position: relative; overflow: hidden; isolation: isolate; }
.callband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 90% 50%, rgba(255, 91, 31, .22), transparent 70%); }
.callband .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.callband .callhead { margin: 0; max-width: 16ch; color: var(--white); font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.02; }
.phone-big, .lp-phone, .foot-num { display: block; font: 900 clamp(2.3rem, 5.8vw, 4.2rem)/1 var(--sign); color: var(--orange); margin-bottom: 14px; letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.foot { background: var(--night-2); color: var(--mute-d); padding: 56px 0 100px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.foot h3 { color: var(--concrete); font: 800 .8rem/1 var(--sign); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; }
.foot a:hover { color: var(--white); }
.foot .brand { margin-bottom: 18px; }
.foot .foot-num { font-size: 1.8rem; margin: 0; }
.foot .fine { border-top: 1px solid var(--line-d); margin-top: 36px; padding-top: 18px; font-size: .86rem; }
.foot .fine a { text-decoration: underline; }
.foot p { max-width: 52ch; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--night); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; border-top: 3px solid var(--orange); }
.callbar .btn { flex: 1; min-height: 52px; }

/* ---------- Landing pages (/lp/) ---------- */
.lp-head .shell { justify-content: space-between; }
.provider { font-size: .9rem; font-weight: 600; color: var(--mute); }
.provider b { color: var(--night); }
.lp-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.lp-phone { margin: 22px 0 16px; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { margin: 0; border: 1.5px solid var(--line-d); border-radius: 999px; color: var(--concrete); padding: 7px 14px; font: 700 .86rem/1.2 var(--sign); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cols > div { padding: 24px; background: var(--concrete); border-radius: var(--r); border-top: 4px solid var(--orange); }
.band-alt .cols > div { background: var(--white); }
.cols h3 { margin-top: 12px; }
.cols p { margin: 0; font-size: .98rem; }
.svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.svc > div { padding: 20px; background: var(--white); border-radius: var(--r); border-left: 6px solid var(--green); }
.svc h3 { margin: 0 0 6px; }
.svc p { margin: 0; font-size: .96rem; }
.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--night); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .burger { display: inline-flex; }
  .head:not(.lp-head) .btn { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .qa, .map-split, .split2, .foot-grid { grid-template-columns: 1fr; }
  .qa-head { position: static; }
  .legend { grid-template-columns: 1fr 1fr; }
  .legend li:nth-child(3) { border-left: 0; }
  .legend li:nth-child(n+3) { border-top: 3px dashed rgba(255, 255, 255, .5); }
  .cols { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .strip .shell span:last-child { display: none; }
}
@media (max-width: 560px) {
  .legend { grid-template-columns: 1fr; }
  .legend li + li { border-left: 0; border-top: 3px dashed rgba(255, 255, 255, .5); }
  .plate { font-size: .92rem; padding: 10px 10px 8px; }
  .hero-actions .btn { width: 100%; }
  .sign { padding: 22px 16px 14px; }
  .shield { min-width: 40px; height: 40px; font-size: 1.05rem; }
  .lp-head .provider { display: none; }
  .lp-head .btn { display: none; }
  .lp-head .plate { max-width: calc(100vw - 100px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; scroll-behavior: auto !important; } }
