/* ==========================================================================
   towingfortmyers.com, skinned in the tenant's design (MiLo Towing LLC, 2026-10-14).
   Palette from the owner's own night photo: night asphalt, streetlight amber,
   the plum of the car on the hook, paper.
   Type: Kanit bold italic (headlines, echoing the forward lean of the MiLo logo), Figtree (text).
   Motif: the lean. Slanted buttons, tags, numerals and photo frame, plus a soft streetlight glow.
   ========================================================================== */

:root {
  --night: #0F1014;
  --night-2: #191B22;
  --amber: #FFB02E;
  --amber-deep: #F09A0C;
  --plum: #4B2A7B;
  --plum-deep: #3A1F61;
  --paper: #F6F3EC;
  --paper-2: #ECE7DB;
  --white: #FFFFFF;
  --ink-2: #2A2B30;
  --mute: #5C5A55;
  --mute-d: #B3B0A8;
  --line: rgba(15, 16, 20, .14);
  --line-strong: rgba(15, 16, 20, .4);
  --line-d: rgba(246, 243, 236, .16);
  --lean: "Kanit", "Arial Black", Arial, sans-serif;
  --text: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 8vw, 104px);
  --skew: -9deg;
}

*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink-2); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--amber); color: var(--night); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.hero :focus-visible, .band-steel :focus-visible, .foot :focus-visible, .callband :focus-visible, .callbar :focus-visible { outline-color: var(--amber); }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--night); 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(--lean); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: .94; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.02; }
h3 { font: 700 clamp(1.15rem, 1.6vw, 1.35rem)/1.25 var(--text); 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(--plum); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); text-underline-offset: 3px; }
main p a:not(.btn):hover, main li a:not(.btn):hover { color: var(--plum-deep); }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--night); background: var(--amber); padding: 9px 14px; transform: skewX(var(--skew)); margin: 0 0 22px 4px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); 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; font: 700 1.02rem/1 var(--text); cursor: pointer; transform: skewX(var(--skew)); transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn-call { background: var(--amber); color: #000; }
.btn-call:hover { background: var(--amber-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(246, 243, 236, .65); color: var(--paper); }
.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: 600 .8rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.strip .shell { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.strip b { color: var(--amber); }
.head { background: var(--paper); border-bottom: 3px solid var(--night); position: sticky; top: 0; z-index: 50; }
.head .shell { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 170px; height: auto; }
.brand-light img { filter: invert(1) brightness(1.6); width: 200px; }
.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-weight: 700; font-size: .95rem; color: var(--night); border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--amber); }
.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); width: 46px; height: 46px; color: var(--night); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--paper); overflow: hidden; isolation: isolate; padding: clamp(44px, 7vw, 92px) 0; }
.glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(38% 60% at 78% 8%, rgba(255, 176, 46, .32), transparent 70%), radial-gradient(30% 50% at 8% 100%, rgba(75, 42, 123, .7), transparent 72%); }
.hero h1 { color: var(--paper); }
.hero .lead { color: #DAD7CF; }
.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 6px; }
.hero-note { font-size: .92rem; color: var(--mute-d); margin: 0; }
.hero-photo { position: relative; transform: skewX(var(--skew)); overflow: hidden; border: 3px solid var(--amber); box-shadow: 18px 18px 0 var(--plum); margin-right: 26px; }
.hero-photo img { width: 122%; max-width: none; margin-left: -11%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 48% 55%; transform: skewX(calc(var(--skew) * -1)); }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--amber); color: #000; font: 700 .8rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px 9px 22px; }

/* ---------- Steps band (amber) ---------- */
.proof { background: var(--amber); color: #000; }
.legend { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legend li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 0; max-width: none; padding: 22px 18px; font-size: .95rem; line-height: 1.4; }
.legend li + li { border-left: 2px solid rgba(15, 16, 20, .22); }
.legend b { display: block; font: italic 800 1.2rem/1.1 var(--lean); text-transform: uppercase; margin-bottom: 4px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--night); color: var(--amber); font: italic 800 1rem/1 var(--lean); transform: skewX(var(--skew)); }

/* ---------- Bands ---------- */
.band { padding: var(--band) 0; }
.band-alt { background: var(--paper); }
.band-steel { background: var(--plum); color: rgba(255, 255, 255, .86); }
.band-steel h2, .band-steel h3, .band-steel strong { color: 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: 110px; }
.qa-head .idx { display: block; font: italic 800 3.2rem/1 var(--lean); color: var(--amber); -webkit-text-stroke: 1.5px var(--night); margin-bottom: 10px; }
.answer { border-left: 6px solid var(--amber); background: var(--paper); padding: 20px 24px; margin: 0 0 28px; font-size: 1.12rem; line-height: 1.55; color: var(--night); }
.band-alt .answer { background: var(--white); }
.answer p { margin: 0; }

/* ---------- Matrix ---------- */
.matrix-wrap { overflow-x: auto; background: var(--white); border: 3px solid var(--night); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; 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(--paper); font: italic 700 .95rem/1.1 var(--lean); text-transform: uppercase; letter-spacing: .02em; }
.matrix tbody th { font-weight: 700; }
.matrix td { text-align: center; }
.matrix td svg { margin: 0 auto; color: var(--plum); }
.matrix td a:hover svg { color: var(--amber-deep); }

/* ---------- 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-left: 6px solid var(--plum); }
.area b { display: block; color: var(--night); font: italic 700 1.1rem/1.15 var(--lean); text-transform: uppercase; margin-bottom: 4px; }
.area span { font-size: .92rem; 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: 3px solid var(--night); box-shadow: 12px 12px 0 var(--amber); aspect-ratio: 4 / 3; background: var(--paper-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: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.12rem; color: var(--night); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s ease; color: var(--plum); }
.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, 176, 46, .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(--paper); font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1; }
.phone-big, .lp-phone, .foot-num { display: block; font: italic 800 clamp(2.4rem, 6vw, 4.4rem)/1 var(--lean); color: var(--amber); margin-bottom: 14px; }

/* ---------- Footer ---------- */
.foot { background: var(--night-2); color: var(--mute-d); padding: 56px 0 100px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.foot h3 { color: var(--paper); font: 700 .8rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; }
.foot a:hover { color: var(--white); }
.foot .brand { margin-bottom: 16px; }
.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: .85rem; }
.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(--amber); }
.callbar .btn { flex: 1; min-height: 52px; }

/* ---------- Landing pages (/lp/) ---------- */
.lp-head .shell { justify-content: space-between; }
.provider { font-size: .88rem; font-weight: 500; color: var(--mute); }
.provider b { color: var(--night); }
.lp-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.lp-phone { margin: 22px 0 16px; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0 6px; }
.chips li { margin: 0; border: 1px solid var(--line-d); color: var(--paper); padding: 7px 14px; font-size: .86rem; font-weight: 700; transform: skewX(var(--skew)); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cols > div { padding: 24px; background: var(--paper); border-top: 4px solid var(--amber); }
.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-left: 6px solid var(--plum); }
.svc h3 { margin: 0 0 6px; }
.svc p { margin: 0; font-size: .95rem; }
.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(--paper); 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; }
  .hero-photo { margin: 8px 18px 18px 6px; }
  .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: 2px solid rgba(15, 16, 20, .22); }
  .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: 2px solid rgba(15, 16, 20, .22); }
  .brand img { width: 136px; }
  .hero-actions .btn { width: 100%; }
  .lp-head .provider { display: none; }
  .lp-head .btn { min-height: 42px; padding: 0 12px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; scroll-behavior: auto !important; } }
