/* Ascension Auto Lab
   Black, white and lime (#A5CD2E). Lime is reserved for primary actions. */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f4f5;
  --text-2: #c9c9ce;
  --muted: #8e8e96;
  --accent: #a5cd2e;
  --accent-ink: #0a0a0b;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Type */
h1, h2, h3, .h3, .h4 { margin: 0 0 .5em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.028em; }
h3, .h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.012em; }
.h4 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 620px; }
.muted { color: var(--muted); font-size: .95rem; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head p { margin: 0; color: var(--muted); max-width: 420px; }

/* Inline links in running text */
.prose a, .lede a, .faq a, .section p a, .muted a {
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(165, 205, 46, .55);
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover, .lede a:hover, .faq a:hover, .section p a:hover { text-decoration-color: var(--accent); }

/* Layout */
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.alt { background: var(--bg-2); }
.grid { display: grid; gap: 20px; }
.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.four { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1.25fr 1fr; align-items: start; }
.split.media { grid-template-columns: 1fr 1fr; align-items: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: flex; align-items: center; margin: 0; }
.logo img { display: block; height: 44px; width: auto; }
.top nav { margin-left: auto; }
.menu, .menu ul, .plain { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; gap: 30px; }
.menu > li > a { color: var(--text-2); text-decoration: none; font-size: .93rem; font-weight: 500; transition: color .15s; }
.menu a:hover { color: var(--text); }
.has-sub { position: relative; }
.has-sub > ul { display: none; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 230px; padding: 8px; background: rgba(23, 23, 26, .97); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.has-sub > ul::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }
.has-sub ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: .93rem; }
.has-sub ul a:hover { background: var(--surface-2); color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; font: 600 .95rem/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b6dd3d; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--text); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(86vh, 860px); padding: 140px 0 72px; background: var(--hero-img, none) center / cover no-repeat, #000; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 11, .96) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .25) 100%), linear-gradient(to right, rgba(10, 10, 11, .75), rgba(10, 10, 11, 0) 65%); }
.hero-sm { min-height: min(60vh, 600px); padding: 120px 0 56px; }
.hero h1 { max-width: 900px; }
.hero .lede { margin-bottom: 0; }
.crumbs + .hero { margin-top: -48px; }
.crumbs { position: relative; z-index: 2; height: 48px; display: flex; align-items: center; font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Price */
.price-note { margin: 20px 0 0; color: var(--text-2); font-size: .95rem; }
.price-note strong { color: var(--text); }
.price-tag { display: inline-flex; align-items: baseline; gap: 14px; margin: 0 0 20px; }
.price-tag span { color: var(--muted); }
.price-tag strong { font-size: 2rem; letter-spacing: -.03em; color: var(--text); }

/* Brand strip */
.brands { padding: 28px 0; border-bottom: 1px solid var(--line); }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 14px 20px; flex-wrap: wrap; }
.brands-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.brand-badge { background: #fff; border-radius: 6px; padding: 6px 12px; display: inline-flex; }
.brand-badge img { height: 20px; width: auto; display: block; }

/* Service tiles (photo-led) */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); grid-column: span 2; background: var(--surface); }
.tile:nth-child(-n+2) { grid-column: span 3; min-height: 400px; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .88) 5%, rgba(0, 0, 0, .15) 65%); }
.tile:hover img { transform: scale(1.04); }
.tile h3 { font-size: 1.45rem; margin: 0 0 6px; }
.tile p { margin: 0; color: var(--text-2); font-size: .97rem; max-width: 420px; }
.tile .arrow { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 1rem; transition: background .15s; }
.tile:hover .arrow { background: var(--accent); color: var(--accent-ink); }

/* Shop list */
.shops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.shop { padding: 28px 28px 8px 0; }
.shop + .shop { padding-left: 28px; border-left: 1px solid var(--line); }
.shop h3 { font-size: 1.35rem; margin-bottom: 14px; }
.shop h3 a { text-decoration: none; }
.shop h3 a:hover { color: var(--accent); }
.shop address { font-style: normal; color: var(--text-2); margin-bottom: 14px; line-height: 1.5; }
.shop .phone a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.shop .hours { color: var(--muted); font-size: .9rem; margin: 2px 0 20px; }
.shop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.shop-actions a:not(.btn) { color: var(--text-2); font-size: .9rem; text-decoration: none; }
.shop-actions a:not(.btn):hover { color: var(--text); }

/* Cards (packages, info) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card h3 a { text-decoration: none; }
.card p { color: var(--text-2); margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
a.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
a.card .more { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 600; font-size: .92rem; }
.info { position: sticky; top: calc(var(--header-h) + 24px); }
.info address { font-style: normal; color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
.info address strong { color: var(--text); }
.info .phone a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.info .hours { color: var(--text-2); }
.info .btn { width: 100%; margin-top: 8px; }
.info a:not(.btn) { color: var(--text-2); }
.phone { margin-bottom: 6px; }
.hours { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }

/* Pills (service links on shop pages) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.pills a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: .92rem; color: var(--text-2); transition: border-color .15s, color .15s; }
.pills a:hover { border-color: var(--accent); color: var(--text); }

/* Lists */
.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 2px; background: var(--accent); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .55em; color: var(--text-2); }
.prose li::marker { color: var(--muted); }
.prose p { color: var(--text-2); }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.9em 0 .55em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose strong { color: var(--text); }

/* How we work */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--accent); font-weight: 600; font-size: .9rem; padding-top: 3px; }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-2); grid-column: 2; }

/* Photos */
.photo { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.gallery { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery img:first-child { grid-row: span 2; }
.gallery img:nth-child(4) { grid-column: span 2; }

/* On-this-page */
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 48px; }
.toc .h4 { margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 8px; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; font-size: .95rem; }
.toc a:hover { color: var(--text); }

/* Values (about) */
.values { margin: 0; }
.values dt { font-weight: 700; margin-top: 22px; }
.values dd { margin: 4px 0 0; color: var(--text-2); }

/* Tables */
.table-scroll { overflow-x: auto; }
.law { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: .97rem; }
.law th, .law td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.law td { color: var(--text-2); }
.law th[scope="row"] { color: var(--text); font-weight: 600; width: 40%; }
.compare th[scope="row"] { width: 24%; }
.compare thead th { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; border-bottom-color: var(--line-strong); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--text-2); }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 680px; }

/* Quote + booking embeds */
.quote { background: var(--bg-2); }
.quote .split { align-items: center; }
.quote .checks { max-width: 440px; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 10px; min-height: 551px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.booking-card { min-height: 760px; max-width: 900px; }
.booking-card iframe { min-height: 740px; }
.booking .wrap > p { color: var(--text-2); max-width: 640px; }
/* GoHighLevel's form_embed.js hides forms/calendars off-screen until they report
   "loaded", which sometimes never happens (seen on phones), leaving a blank box.
   Always show them; the script still auto-adjusts their height. */
.form-card iframe { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; position: relative !important; left: auto !important; }

/* Footer */
.foot { padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--bg); font-size: .93rem; }
.foot .logo img { height: 64px; margin-bottom: 18px; }
.foot p { color: var(--muted); }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .h4 { margin-bottom: 16px; }
.plain li { margin-bottom: 10px; }
.fine { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .four { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile:nth-child(-n+2) { grid-column: span 1; min-height: 280px; }
  .tile:first-child { grid-column: span 2; }
  .shops { grid-template-columns: 1fr; }
  .shop, .shop + .shop { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
}
@media (max-width: 820px) {
  .split, .split.media { grid-template-columns: 1fr; }
  .info { position: static; }
  .menu { gap: 18px; }
  .bar > .btn-sm { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery img:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 60px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .bar { gap: 16px; }
  .logo img { height: 36px; }
  .menu { gap: 14px; }
  .menu > li > a { font-size: .85rem; }
  .has-sub > ul { left: -8px; }
  .hero { min-height: 78vh; padding: 110px 0 44px; }
  .hero-sm { min-height: 0; padding: 100px 0 40px; }
  .btn { height: 48px; padding: 0 22px; }
  .cta-row .btn { flex: 1 1 auto; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile:first-child, .tile:nth-child(-n+2) { grid-column: span 1; min-height: 240px; }
  .four { grid-template-columns: 1fr; gap: 32px; }
  .toc ul { columns: 1; }
  .faq summary { font-size: 1rem; }
}
@media (max-width: 380px) {
  .menu { gap: 10px; }
  .menu > li > a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .btn { transition: none; }
}

/* Service-area city grid */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; border-top: 1px solid var(--line-strong); }
.areas li { border-bottom: 1px solid var(--line); }
.areas a, .areas span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 0; text-decoration: none; font-weight: 500; color: var(--text); }
.areas a::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); margin-right: 4px; transition: border-color .15s, transform .15s; }
.areas a:hover { color: var(--accent); }
.areas a:hover::after { border-color: var(--accent); transform: translateX(3px) rotate(45deg); }
.areas span { color: var(--accent); }
.other-shops { margin-top: -40px; margin-bottom: 80px; }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .areas { grid-template-columns: repeat(2, 1fr); column-gap: 20px; } .other-shops { margin-top: -24px; margin-bottom: 56px; } }

/* Buttons inside paragraphs never get the inline-link underline */
.section p a.btn, .prose a.btn { text-decoration: none; }
.info p .btn + .btn { margin-top: 10px; }
