/* ── Rosnett Parts and Service — site stylesheet ─────────────────────────
   One stylesheet for every page. Same look as the original Rosnett repair
   pages: dark charcoal, Rosnett red, Oswald headings and Open Sans body text
   (both self-hosted from /fonts, SIL OFL).
   ────────────────────────────────────────────────────────────────────── */

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url('/fonts/oswald-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/fonts/open-sans-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks so the font swap doesn't shift layout */
@font-face { font-family: 'Oswald Fallback'; src: local('Arial Narrow Bold'), local('Arial Bold'), local('Arial'); size-adjust: 82%; ascent-override: 140%; descent-override: 34%; }
@font-face { font-family: 'Open Sans Fallback'; src: local('Arial'); size-adjust: 105%; ascent-override: 101%; descent-override: 28%; }

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

:root {
  --ink: #1a1a1a;
  --ink-2: #2d2d2d;
  --steel: #2d2d2d;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #e0e0e0;
  --text: #333333;
  --muted: #666666;
  --red: #C0392B;
  --red-dk: #a93226;
  --red-lt: #e8686d;
  --display: 'Oswald', 'Oswald Fallback', 'Arial Narrow', Arial, sans-serif;
  --body: 'Open Sans', 'Open Sans Fallback', Arial, sans-serif;
  --wrap: 1120px;
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, td a { color: var(--red); font-weight: 600; text-underline-offset: 2px; }
.dark p a, .dark li a { color: var(--red-lt); }
:focus-visible { outline: 3px solid var(--red-lt); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }
.eyebrow { display: block; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.dark .eyebrow { color: var(--red-lt); }
.hero .eyebrow { display: inline-block; background: var(--red); color: #fff; font-weight: 400; font-size: .75rem; letter-spacing: .12em; padding: 5px 14px; border-radius: 2px; margin-bottom: 18px; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 720px; margin-bottom: 26px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border-radius: 3px; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; transition: background .2s, border-color .2s; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); }

/* ── HEADER / NAV ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: none; padding: 0 40px; }
@media (max-width: 760px) { .site-header .wrap { padding: 0 20px; } }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: #ccc; text-decoration: none; font-family: var(--display); font-weight: 400; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links .nav-call { background: var(--red); color: #fff; font-weight: 600; padding: 9px 18px; border-radius: 3px; }
.nav-links .nav-call:hover { color: #fff; background: var(--red-dk); }
.hamburger { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; }
@media (max-width: 1080px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; font-size: 1.05rem; }
  .nav-links .nav-call { justify-content: center; margin-top: 12px; }
}

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; position: relative; overflow: hidden; text-align: center; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 900px; margin: 0 auto 20px; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { color: #bbb; font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); list-style: none; }
.hero-facts li { font-family: var(--display); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero-facts li::before { content: '✓ '; color: var(--red-lt); }

/* Homepage hero over the service-truck photo, left aligned like the original homepage */
.hero-photo { text-align: left; background: linear-gradient(135deg, rgba(193,39,45,.15) 0%, transparent 50%), linear-gradient(to right, rgba(0,0,0,.85) 40%, rgba(0,0,0,.35) 100%), url('/images/hero-truck-mobile.webp') center/cover no-repeat, #1a1a1a; }
@media (min-width: 641px) { .hero-photo { background: linear-gradient(135deg, rgba(193,39,45,.15) 0%, transparent 50%), linear-gradient(to right, rgba(0,0,0,.85) 40%, rgba(0,0,0,.3) 100%), url('/images/hero-truck-desktop.webp') center/cover no-repeat, #1a1a1a; } }
.hero-photo::after { display: none; }
.hero-photo h1 em { color: var(--red-lt); }
.hero-photo .wrap { padding-top: 96px; padding-bottom: 80px; }
.hero-photo h1, .hero-photo p { margin-left: 0; }
.hero-photo .hero-actions, .hero-photo .hero-facts { justify-content: flex-start; }

/* ── PHOTOS ── */
.page-photo { margin-top: 28px; max-width: 760px; }
.page-photo img, .photo-grid img { width: 100%; height: auto; border-radius: 4px; }
.photo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ── BREADCRUMB ── */
.crumbs { background: var(--mist); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #9aa0a6; }
.crumbs a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ── SECTIONS ── */
.section { padding: 56px 0; }
.section.alt { background: var(--mist); }
.dark { background: var(--ink); color: #c9ccd0; }
.dark h2, .dark h3 { color: #fff; }
.prose p { margin-bottom: 14px; max-width: 760px; }
.prose p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px; padding: 20px; }
.card p { font-size: .95rem; color: var(--muted); }
.dark .card { background: var(--steel); border-color: var(--steel); border-top-color: var(--red); }
.dark .card p { color: #c9ccd0; }
a.card { display: block; text-decoration: none; }
a.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.card .more { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

.checks { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.checks li { position: relative; padding: 12px 14px 12px 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: .95rem; }
.checks li::before { content: ''; position: absolute; left: 14px; top: 17px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 10px; }
.steps p { font-size: .95rem; color: var(--muted); }

.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
.faq-item p { color: var(--muted); }

.area-list { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.area-list li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 4px; padding: 16px 18px; }
.area-list strong { display: block; font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; color: var(--ink); }
.area-list span { font-size: .93rem; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { background: var(--steel); color: #e6e8ea; text-decoration: none; padding: 8px 16px; border-radius: 4px; font-size: .9rem; }
.links a:hover { background: var(--red); color: #fff; }

/* ── CALL BAND ── */
.call-band { background: var(--red); color: #fff; }
.call-band h2 { color: #fff; }
.call-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 36px; padding-bottom: 36px; }
.call-band h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.call-band p { margin-top: 4px; }

/* ── CONTACT ── */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.info-list { list-style: none; display: grid; gap: 16px; }
.info-list strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: 4px; background: var(--mist); }

/* ── FOOTER ── */
.site-footer { background: #111; color: #999; font-size: .92rem; padding: 44px 0 90px; }
.site-footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 26px; }
.site-footer h2 { font-size: .95rem; color: #fff; letter-spacing: .1em; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: #d6d8db; }
.site-footer .nap p { margin-bottom: 4px; }
.site-footer .fine { border-top: 1px solid #23262a; padding-top: 16px; font-size: .82rem; display: grid; gap: 6px; }
@media (min-width: 761px) { .site-footer { padding-bottom: 44px; } }

/* ── STICKY MOBILE CALL BAR ── */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; box-shadow: 0 -4px 14px rgba(0,0,0,.25); }
@media (min-width: 761px) { .call-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── SERVICES SUBMENU ── */
.sub-menu { list-style: none; }
@media (min-width: 1081px) {
  .has-sub { position: relative; }
  .has-sub > a { display: inline-block; padding: 23px 0; }
  .has-sub > a::after { content: ' ▾'; font-size: .8em; }
  .sub-menu { display: none; position: absolute; top: 100%; left: -18px; min-width: 270px; background: var(--ink); border-top: 3px solid var(--red); padding: 8px 0; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
  .sub-menu a { display: block; padding: 9px 18px; font-size: .85rem; }
  .sub-menu a:hover { background: var(--steel); }
}
@media (max-width: 1080px) {
  .sub-menu { padding: 0 0 6px 16px; }
  .sub-menu li { border-bottom: 0 !important; }
  .sub-menu a { min-height: 44px; font-size: .95rem !important; color: #b9bdc2 !important; }
}
