/* Car Towing Pro - main stylesheet */
:root {
  --navy: #0f1b2d;
  --navy-2: #16273f;
  --amber: #ffb400;
  --amber-d: #e09f00;
  --ink: #1b2433;
  --muted: #5d6879;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --ok: #17a34a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16.5px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--amber-d); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: #000; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: transform .15s, background .15s, color .15s, box-shadow .15s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #111; box-shadow: 0 8px 20px rgba(255, 180, 0, .35); }
.btn-primary:hover { background: var(--amber-d); color: #111; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 0; }

/* Topbar + header */
.topbar { background: var(--navy); color: #cfd8e6; font-size: .86rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: var(--amber); font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 27, 45, .1); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand .custom-logo { max-height: 52px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--amber); color: #111; border-radius: 12px; }
.brand-mark .ico { width: 24px; height: 24px; }
.brand-name { font-size: 1.35rem; font-weight: 800; line-height: 1; display: flex; flex-direction: column; }
.brand-name b { color: var(--amber-d); font-weight: 800; display: inline; }
.brand-name small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: .25rem; }
.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.primary-nav .menu { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: .55rem .85rem; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink); }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--amber-d); background: #fff7e0; }
.primary-nav .sub-menu { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--navy); }
.nav-toggle .ico { width: 30px; height: 30px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #24406b 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--amber-d); margin-bottom: .8rem; }
.hero .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; color: inherit; opacity: .92; max-width: 60ch; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .95rem; }
.hero-points .ico { color: var(--amber); }
.hero-art img { margin-inline: auto; filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .45)); }

/* Trust strip */
.trust { background: var(--amber); color: #111; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 0; }
.trust-grid > div { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.trust-grid .ico { width: 34px; height: 34px; }
.trust-grid b { font-size: 1.15rem; font-weight: 800; }
.trust-grid span { font-size: .85rem; flex-basis: 100%; margin-left: calc(34px + .7rem); margin-top: -1.2rem; opacity: .8; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #d6deea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 640px; }
.badge-float { position: absolute; right: 1rem; bottom: 1rem; background: var(--amber); color: #111; padding: .7rem 1rem; border-radius: 12px; display: flex; align-items: center; gap: .5rem; font-weight: 600; box-shadow: var(--shadow); }
.badge-float b { font-size: 1.3rem; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .ico { color: var(--ok); margin-top: .15em; }
.wide-img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }

/* Offer band */
.offer { background: var(--navy-2); color: #fff; }
.offer-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.2rem 0; flex-wrap: wrap; }
.offer h2 { color: #fff; margin-bottom: .3em; font-size: 1.7rem; }
.offer p { margin: 0; opacity: .9; max-width: 62ch; }
.offer b { color: var(--amber); }
.offer .btn-dark { background: var(--amber); color: #111; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 2px 0 rgba(15, 27, 45, .02); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff3cf; color: var(--navy); margin-bottom: 1rem; }
.card-ico .ico { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card-link { font-weight: 700; text-decoration: none; color: var(--navy); }
.card-link:hover { color: var(--amber-d); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; margin-top: 1.6rem; }
.why .ico { width: 30px; height: 30px; color: var(--amber-d); }
.why h3 { font-size: 1.05rem; margin: .4rem 0 .25rem; }
.why p { font-size: .92rem; color: var(--muted); margin: 0; }
.split-rev .split-img { order: 2; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review { margin: 0; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 1.6rem; }
.review:nth-child(n+4) { grid-column: span 1; }
.stars { color: var(--amber); display: flex; gap: .1rem; margin-bottom: .6rem; }
.stars .ico { fill: currentColor; width: 1.1em; height: 1.1em; }
.review blockquote { margin: 0 0 1rem; color: #e6ecf5; }
.review figcaption { font-weight: 700; color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-alt); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-title { font-size: 1.5rem; }
.form-row { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ctp-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.ctp-form input, .ctp-form select, .ctp-form textarea { width: 100%; font: inherit; padding: .8rem .9rem; border: 1.5px solid #cfd6e1; border-radius: 10px; background: #fff; color: var(--ink); }
.ctp-form input:focus, .ctp-form select:focus, .ctp-form textarea:focus { border-color: var(--amber); outline: 3px solid rgba(255, 180, 0, .3); }
.ctp-form .is-invalid { border-color: #d92d20; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-alert { background: #fdecea; color: #912018; border: 1px solid #f5c2bd; padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }
.form-note { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .card-ico { margin: 0; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.f-contact .ico { margin-top: .2em; color: var(--amber); }
.f-contact-light { margin-top: 1.4rem; }
.f-contact-light .ico { color: var(--amber-d); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: clamp(2.2rem, 5vw, 4rem) 0; }
.page-hero h1 { color: #fff; margin: 0 0 .3em; }
.page-hero .lead { margin: 0; }
.page-hero .meta { margin: 0; opacity: .8; }
.crumbs { font-size: .85rem; opacity: .75; margin-bottom: .8rem; }
.crumbs a { color: var(--amber); text-decoration: none; }
.crumbs span { margin: 0 .3rem; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-ph { display: grid; place-items: center; height: 100%; color: var(--amber-d); background: #fff3cf; }
.pc-ph .ico { width: 54px; height: 54px; }
.pc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.1rem; }
.pc-body h3 a { text-decoration: none; color: var(--navy); }
.pc-body h3 a:hover { color: var(--amber-d); }
.pc-body p { color: var(--muted); font-size: .95rem; }
.pc-body .card-link { margin-top: auto; }
.pc-meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.pagination { margin-top: 2.5rem; text-align: center; }
.pagination .nav-links { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--amber); border-color: var(--amber); color: #111; }

.entry-thumb { margin-bottom: 2rem; }
.entry-thumb img { border-radius: var(--radius); width: 100%; }
.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content h2 { margin-top: 2em; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content a { color: var(--navy-2); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: 10px; margin: 1.5rem auto; }
.entry-content blockquote { border-left: 4px solid var(--amber); margin: 1.5rem 0; padding: .4rem 1.2rem; background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--bg-alt); }
.post-cta { margin: 3rem 0 2rem; background: var(--navy); color: #d6deea; padding: 2rem; border-radius: var(--radius); text-align: center; }
.post-cta h2 { color: #fff; font-size: 1.6rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.post-nav a { text-decoration: none; }
.post-nav div:last-child { text-align: right; }

.thanks { min-height: 55vh; display: grid; align-items: center; }
.thanks-ico { width: 84px; height: 84px; border-radius: 50%; background: #e2f7ea; color: var(--ok); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.thanks-ico .ico { width: 44px; height: 44px; }

/* CTA band + footer */
.cta-band { background: var(--amber); color: #111; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 2.4rem 0; flex-wrap: wrap; }
.cta-band h2 { color: #111; font-size: 1.7rem; margin-bottom: .2em; }
.cta-band p { margin: 0; }
.site-footer { background: #0a1322; color: #aebbd0; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #aebbd0; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.f-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.3rem; font-weight: 800; }
.f-brand b { color: var(--amber); }
.f-brand .brand-mark { width: 38px; height: 38px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.2rem 0 1.4rem; font-size: .88rem; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-rev .split-img { order: 0; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .cards, .posts, .reviews { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 5.2rem 1.4rem 1.4rem; gap: 1rem; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); z-index: 60; }
  .primary-nav.is-open { transform: none; }
  .primary-nav .menu { flex-direction: column; }
  .primary-nav .menu a { padding: .8rem; font-size: 1.05rem; }
  .nav-toggle { position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar-l { display: none; }
  .topbar-in { justify-content: center; }
  .cards, .cards-2, .posts, .reviews, .gallery, .why-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { width: 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-weight: 800; text-decoration: none; }
  .mb-call { background: var(--amber); color: #111; }
  .mb-wa { background: #1faa59; color: #fff; }
  .mb-wa:hover { color: #fff; }
  .post-nav { flex-direction: column; }
  .post-nav div:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .topbar, .site-header, .mobile-bar, .cta-band, .site-footer { display: none; } }
