/* Star Service Center — industrial performance-garage theme */
:root {
  --ink: #0b0f17;
  --ink-2: #10151f;
  --ink-3: #161c28;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --line-d: #1f2634;
  --line: #e7e9ee;
  --accent: #e11d48;
  --accent-2: #f43f5e;
  --accent-dark: #be123c;
  --amber: #fbbf24;
  --text-d: #c3cad6;
  --muted-d: #7e8795;
  --text: #28303d;
  --muted: #68717f;
  --r: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text-d);
  line-height: 1.65;
}
h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.grad { background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 60%, var(--amber) 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Topbar */
.topbar { background: #000; color: #8d95a3; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--line-d); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; }

/* Header — dark industrial */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(11,15,23,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); transition: box-shadow 0.25s; }
header.site.scrolled { box-shadow: 0 10px 34px rgba(0,0,0,0.55); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: 0.06em; color: #fff; text-transform: uppercase; }
.logo .star { color: var(--accent-2); font-size: 26px; }
nav.main { display: flex; gap: 28px; font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
nav.main a { color: var(--muted-d); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a.active { color: #fff; border-color: var(--accent); }
.call-btn { background: linear-gradient(92deg, var(--accent), var(--accent-2)); color: #fff !important; font-weight: 700; padding: 11px 22px; border-radius: var(--r); white-space: nowrap; box-shadow: 0 6px 20px rgba(225,29,72,0.4); position: relative; overflow: hidden; transition: transform 0.2s; }
.call-btn:hover { transform: translateY(-2px); }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #fff; }

/* Hero — asymmetric, stat rail right, diagonal bottom */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1000px 480px at 90% -20%, rgba(225,29,72,0.28), transparent 60%),
    linear-gradient(165deg, var(--ink) 20%, var(--ink-2) 85%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
  padding-bottom: 34px;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(760px 480px at 75% 10%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; padding: 72px 22px 84px; display: grid; grid-template-columns: 1.25fr auto; gap: 48px; align-items: center; }
.hero-left > * { animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) both; }
.hero-left > *:nth-child(2) { animation-delay: 0.1s; }
.hero-left > *:nth-child(3) { animation-delay: 0.2s; }
.hero-left > *:nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero .eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--amber)); }
.hero h1 { font-size: clamp(44px, 6.6vw, 78px); font-weight: 700; max-width: 640px; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--accent-2), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 32px; font-size: 18px; color: var(--muted-d); max-width: 560px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; padding: 16px 30px; border-radius: var(--r); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(92deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 30px rgba(225,29,72,0.45); }
.btn.primary::after, .call-btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left 0.5s; }
.btn.primary:hover::after, .call-btn:hover::after { left: 130%; }
.btn.ghost { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn.ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Vertical stat rail */
.stats.rail { border: 0; background: none; }
.stats.rail .wrap { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 0 0 0 34px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--accent), var(--amber)) 1; text-align: left; }
.stats.rail b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 54px; color: #fff; line-height: 1; }
.stats.rail span { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-d); }

/* Trust strip (marquee) */
.strip { background: #000; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.strip .track { display: inline-block; animation: slide 28s linear infinite; }
.strip span { font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; color: #717a89; padding: 0 18px; }
.strip i { color: var(--accent-2); font-style: normal; padding: 0 4px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 78px 0; }
section.block.light { background: var(--paper); color: var(--text); }
section.block.light h2, section.block.light h3 { color: var(--ink); }
section.block.darker { background: var(--ink-2); }
.shead { display: flex; align-items: center; gap: 20px; margin-bottom: 44px; }
.shead .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; margin: 0; text-align: left; }
.shead h2.title { font-size: clamp(30px, 4.5vw, 46px); margin: 0; text-align: left; }
.shead::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

/* Numbered service rows */
.srow-list { border-top: 1px solid var(--line-d); }
section.block.light .srow-list { border-color: var(--line); }
.srow { display: grid; grid-template-columns: 86px 1fr 1.6fr; gap: 24px; align-items: baseline; padding: 26px 10px; border-bottom: 1px solid var(--line-d); transition: background 0.25s, transform 0.25s; }
section.block.light .srow { border-color: var(--line); }
.srow:hover { background: rgba(225,29,72,0.05); transform: translateX(6px); }
.srow .num { font-family: "Barlow Condensed", sans-serif; font-size: 40px; font-weight: 700; background: linear-gradient(180deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.srow h3 { font-size: 24px; }
.srow p { font-size: 15.5px; color: var(--muted-d); }
section.block.light .srow p { color: var(--muted); }

/* Cards (why/FAQ wrappers reuse .card for reveal) */
.grid { display: grid; gap: 20px; }
.grid.why { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r); padding: 30px 28px; transition: transform 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(225,29,72,0.5); }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted-d); }
.why .num { font-family: "Barlow Condensed", sans-serif; font-size: 34px; font-weight: 700; color: var(--amber); display: block; margin-bottom: 10px; }
section.block.light .card { background: var(--paper); border-color: var(--line); }
section.block.light .card p { color: var(--muted); }

/* Prose */
.prose { max-width: 780px; font-size: 17px; display: grid; gap: 18px; }
section.block.light .prose { color: var(--text); }
.prose h3 { font-size: 24px; margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; color: var(--ink); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* Review band */
.review-band { background: radial-gradient(700px 300px at 15% 0%, rgba(225,29,72,0.22), transparent 60%), #000; color: #fff; }
.review-band .wrap { padding: 70px 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.review-band .stars { color: var(--amber); font-size: 26px; letter-spacing: 5px; }
.review-band h2 { font-size: clamp(28px, 4vw, 44px); margin: 12px 0 10px; }
.review-band p { color: #9aa2b1; max-width: 520px; }
.review-band .btn { justify-self: start; }

/* Panels / hours */
.split { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.panel .head { background: var(--ink); color: #fff; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.1em; font-size: 17px; padding: 15px 22px; border-left: 3px solid var(--accent); }
.hours-row { display: flex; justify-content: space-between; padding: 13px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.hours-row:first-of-type { border-top: 0; }
.hours-row b { font-weight: 600; color: var(--ink); }
.hours-row span { color: var(--muted); }
.contact-list { padding: 22px; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--r); font-weight: 700; border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.contact-list a.phone { background: linear-gradient(92deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
.contact-list a.addr:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Checklist */
.check-list { max-width: 800px; display: grid; gap: 12px; }
.check-list li { list-style: none; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--r); padding: 15px 20px 15px 46px; position: relative; font-size: 15.5px; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 17px; top: 14px; color: var(--accent); font-weight: 800; }
.check-list li b { color: var(--ink); }
section.block.darker .check-list li { background: var(--ink-3); border-color: var(--line-d); border-left-color: var(--amber); color: var(--text-d); }
section.block.darker .check-list li b { color: #fff; }

/* Map */
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--r); filter: grayscale(0.2) contrast(1.05); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ink) 40%, #26101a 130%); text-align: left; padding: 70px 0; border-top: 1px solid var(--line-d); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 48px); }

/* Gallery */
.grid.gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ph { aspect-ratio: 1; border-radius: var(--r); background: linear-gradient(145deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; font-size: 40px; transition: transform 0.3s; }
.ph:hover { transform: scale(1.04); }

/* Footer */
footer.site { background: #000; color: #8d95a3; font-size: 14px; border-top: 1px solid var(--line-d); }
footer.site .wrap { padding: 46px 22px 32px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h4 { color: #fff; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
footer.site a { color: #b9c0cc; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
.footnote { border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #6f7684; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; text-align: left; padding: 18px 24px; }
footer.site .footnote a.credit { display: inline-block; padding: 0; color: #8d95a3; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
footer.site .footnote a.credit:hover { color: #fff; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* Sticky mobile call bar */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(0,0,0,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d); }
.callbar a { flex: 1; text-align: center; font-weight: 800; padding: 13px 10px; border-radius: var(--r); font-size: 16px; }
.callbar .cb-call { background: linear-gradient(92deg, var(--accent), var(--accent-2)); color: #fff; }
.callbar .cb-dir { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

/* Page hero (inner pages) */
.page-head { background: linear-gradient(160deg, var(--ink) 30%, var(--ink-2)); border-bottom: 1px solid var(--line-d); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
.page-head .wrap { padding: 60px 22px 70px; }
.page-head h1 { font-size: clamp(38px, 5.5vw, 60px); }
.page-head p { color: var(--muted-d); max-width: 620px; margin-top: 12px; font-size: 17px; }

/* Mobile */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .stats.rail .wrap { grid-template-columns: repeat(3, auto); gap: 24px; border-left: 0; padding: 22px 0 0; border-top: 2px solid; border-image: linear-gradient(90deg, var(--accent), var(--amber)) 1; }
  .stats.rail b { font-size: 36px; }
  .srow { grid-template-columns: 56px 1fr; }
  .srow p { grid-column: 2; }
  .review-band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line-d); padding: 8px 22px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; border-bottom: 0; font-size: 16px; }
  .menu-toggle { display: block; }
  .hero .wrap { padding: 52px 22px 62px; }
  .shead { flex-wrap: wrap; gap: 10px; }
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .footnote { justify-content: center; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  .hero-left > * { animation: none; }
  .strip .track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .btn, .call-btn, .ph, .card, .srow { transition: none; }
}


/* Photo hero + gallery images */
.hero { background: linear-gradient(100deg, rgba(11,15,23,0.94) 30%, rgba(11,15,23,0.78)), url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1600&q=72") center/cover no-repeat; }
.ph { overflow: hidden; padding: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.ph:hover img { transform: scale(1.06); }

/* Live status pill */
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-pill.is-open { color: #4ade80; border: 1px solid rgba(74,222,128,0.35); background: rgba(74,222,128,0.08); }
.status-pill.is-open i { background: #4ade80; }
.status-pill.is-closed { color: #fda4af; border: 1px solid rgba(253,164,175,0.3); background: rgba(253,164,175,0.07); }
.status-pill.is-closed i { background: #fda4af; }
@media (max-width: 900px) { .status-pill { display: none; } }

/* Complete rows: fixed column counts so no grid ever shows an orphan last row
   (.grid.why and footer hold 3 items -> 3 or 1 cols; gallery holds 6 -> 3 or 2 cols) */
.grid.why { grid-template-columns: repeat(3, 1fr); }
.grid.gallery { grid-template-columns: repeat(3, 1fr); }
footer.site .wrap { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid.why { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid.gallery { grid-template-columns: repeat(2, 1fr); }
}
