/* =========================================================================
   1A Welch's Towing — Guest theme
   ========================================================================= */
:root {
    --red: #c01722;
    --red-dark: #99121b;
    --ink: #14181d;
    --ink-2: #232a32;
    --slate: #5b6571;
    --line: #e6e8ec;
    --paper: #ffffff;
    --paper-2: #f5f6f8;
    --paper-3: #eef0f3;
    --amber: #f4b400;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(20, 24, 29, 0.10);
    --shadow-sm: 0 4px 14px rgba(20, 24, 29, 0.08);
    --container: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 820px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
    font-weight: 800; color: var(--red); margin: 0 0 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.4rem; border-radius: 999px;
    font-weight: 700; text-decoration: none; border: 2px solid transparent;
    transition: transform 0.06s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
    cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.section .btn--ghost, .info-card .btn--ghost, .location-card .btn--ghost { color: var(--ink); border-color: var(--line); }
.section .btn--ghost:hover { background: var(--paper-2); }
.btn--call { background: var(--red); color: #fff; flex-direction: column; gap: 0; line-height: 1.1; }
.btn--call:hover { background: var(--red-dark); }
.btn--call .btn__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; font-weight: 700; }
.btn--call .btn__phone { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cfd6df; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.45rem 1.25rem; }
.topbar__note strong { color: var(--amber); }
.topbar__areas { color: #9aa4b1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.7rem 1.25rem; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.site-header__call { margin-left: 0.25rem; }

.nav-toggle, .nav-toggle__btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; background: var(--ink); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: var(--hero-image); background-size: cover; background-position: center;
}
.hero__overlay { position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(16,19,23,0.92) 0%, rgba(16,19,23,0.72) 45%, rgba(16,19,23,0.35) 100%); }
.hero__inner { padding: clamp(3.5rem, 8vw, 7rem) 1.25rem; max-width: 760px; }
.hero--compact .hero__inner { padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-weight: 800; font-size: 0.8rem; color: var(--amber); margin: 0 0 0.9rem; }
.hero__heading { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1rem; font-weight: 800; }
.hero__subheading { font-size: 1.2rem; margin: 0 0 1.8rem; color: #e7eaef; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: stretch; }

/* ---------- Stats ---------- */
.stats { background: var(--red); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 1.25rem; text-align: center; }
.stats__item { display: flex; flex-direction: column; gap: 0.15rem; }
.stats__value { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.stats__label { font-size: 0.85rem; opacity: 0.92; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--muted { background: var(--paper-2); }
.section__head { max-width: 640px; margin: 0 auto 2.4rem; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 0.6rem; }
.section__intro { color: var(--slate); font-size: 1.08rem; margin: 0; }

/* ---------- Service grid ---------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a:hover { color: var(--red); }
.service-card__summary { color: var(--slate); margin: 0 0 1.1rem; font-size: 0.96rem; flex: 1; }
.service-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.service-card__cta { font-weight: 700; text-decoration: none; color: var(--red); }
.service-card__cta:hover { color: var(--red-dark); }
.service-card__call { font-weight: 600; text-decoration: none; color: var(--slate); font-size: 0.9rem; }
.service-card__call:hover { color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0.8rem 0; }
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; color: var(--slate); }
.breadcrumb li:not(:first-child)::before { content: "›"; color: var(--slate); }
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Info card media (service detail) ---------- */
.info-card__media { overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.prose-lead { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 0.4rem; }

/* ---------- Related services ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.related-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm); text-decoration: none; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.related-card:hover img { transform: scale(1.06); }
.related-card__title { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(16,19,23,0.85)); }

/* ---------- About teaser ---------- */
.about-teaser__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.about-teaser__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.ticklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.6rem; }
.ticklist li { position: relative; padding-left: 1.9rem; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }

/* ---------- Prose / features ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-2); font-size: 1.07rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.feature h3 { margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--red); }
.feature p { margin: 0; color: var(--slate); }

/* ---------- Locations ---------- */
.locations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.location-card, .info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.location-card__map iframe, .info-card__map iframe { width: 100%; height: 220px; border: 0; display: block; }
.location-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.location-card__title { margin: 0 0 0.4rem; font-size: 1.3rem; }
.location-card__address, .info-card__address { font-style: normal; color: var(--slate); margin-bottom: 0.9rem; }
.location-card__meta { display: grid; gap: 0.5rem; margin: 0 0 1.1rem; }
.location-card__meta > div { display: flex; gap: 0.5rem; }
.location-card__meta dt { font-weight: 700; min-width: 56px; margin: 0; }
.location-card__meta dd { margin: 0; }
.location-card__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.info-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.info-card__map iframe { height: 100%; min-height: 300px; }
.info-card__body { padding: clamp(1.4rem, 3vw, 2.4rem); }

/* ---------- Content / SEO prose ---------- */
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.9rem; }
.content-block h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; color: var(--ink); }
.content-block p { color: var(--ink-2); margin: 0 0 1rem; }
.content-block a { font-weight: 600; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.area-tags li { background: var(--paper-3); color: var(--ink-2); padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow-sm); }
.faq__q { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.2rem; font-weight: 700; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--red); line-height: 1; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 1.2rem 1.15rem; }
.faq__a p { margin: 0; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2rem, 4vw, 3rem) 1.25rem; }
.cta-band__heading { margin: 0 0 0.3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band__sub { margin: 0; color: #c7cfda; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: var(--ink); color: #b9c2cd; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
.site-footer__logo { background: #fff; padding: 8px 12px; border-radius: 8px; height: 46px; width: auto; }
.site-footer__brand p { margin: 0.9rem 0 0; }
.site-footer__small { font-size: 0.85rem; color: #8b96a3; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 0.9rem; }
.site-footer a { color: #d6dde5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding: 1.2rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.site-footer__bar nav { display: flex; gap: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .about-teaser__inner { grid-template-columns: 1fr; }
    .info-card { grid-template-columns: 1fr; }
    .info-card__map iframe { min-height: 240px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .topbar__areas { display: none; }
    .site-header__inner { flex-wrap: wrap; }
    .nav-toggle__btn { display: inline-flex; margin-left: auto; order: 2; width: 44px; height: 40px; border: 1px solid var(--line); border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; }
    .nav-toggle__btn span, .nav-toggle__btn span::before, .nav-toggle__btn span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
    .nav-toggle__btn span::before { position: absolute; top: -6px; }
    .nav-toggle__btn span::after { position: absolute; top: 6px; }
    .site-header__call { order: 3; }
    .site-nav { order: 4; flex-basis: 100%; flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; margin-left: 0; }
    .nav-toggle:checked ~ .site-nav { max-height: 320px; padding-top: 0.5rem; }
    .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
    .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
    .site-footer__grid { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
