/* ==========================================================
   The Detailing Mafia, Varthur | Landing page
   Palette pulled from the logo: red #FE0000, black, white
   ========================================================== */
:root {
  --red: #fe0000;
  --red-deep: #d10000;
  --red-soft: #fff0f0;
  --black: #0a0a0a;
  --ink: #141414;
  --charcoal: #1b1b1b;
  --text: #2a2a2a;
  --muted: #5e5e5e;
  --line: #e6e6e6;
  --tint: #f6f6f6;
  --white: #ffffff;

  --font-primary: "Spline Sans", "Google Sans", system-ui, sans-serif;
  --font-secondary: "Google Sans", "Spline Sans", system-ui, sans-serif;

  --logo-h: 56px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-primary);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.wa-glyph { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-secondary); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 22px rgba(254, 0, 0, .28); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254, 0, 0, .36); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn-ghost:hover svg { transform: none; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: var(--logo-h); width: auto; }

/* ---------- Image placeholders ---------- */
.img-ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ececec, #dcdcdc);
  display: flex; align-items: center; justify-content: center;
}
.img-ph::before {
  content: ""; width: 44px; height: 44px; margin-bottom: 30px; opacity: .35;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 17l-5-5-9 8'/%3E%3C/svg%3E");
}
.ph-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 14px);
  font-size: .8rem; font-weight: 500; color: rgba(0, 0, 0, .45); letter-spacing: .02em; text-align: center; white-space: nowrap;
}
.img-ph--dark { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px), radial-gradient(120% 90% at 75% 30%, #2a2a2a, #0b0b0b 70%); }
.img-ph--dark::before { filter: invert(1); opacity: .25; }
.img-ph--dark .ph-label { color: rgba(255, 255, 255, .35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background: var(--black); color: var(--white); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; display: block; background: #111; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .25) 100%),
    radial-gradient(60% 60% at 0% 100%, rgba(254, 0, 0, .22), transparent 70%);
}
.hero-content { max-width: 1200px; }
.hero h1 { color: var(--white); max-width: 20ch; margin: 20px 0 32px; line-height: 1.18; }
.hero h1 .accent { color: var(--red); display: block; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(254, 0, 0, .7); animation: dotPulse 2s infinite; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollCue 1.8s var(--ease) infinite; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; overflow-x: clip; }
.section--tint { background: var(--tint); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin: 0 0 36px; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-primary); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.lead { margin-top: 16px; font-size: 1.08rem; color: var(--muted); text-wrap: balance; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Service cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card-media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tint); transition: transform .7s var(--ease); }
.card-body { position: relative; padding: 26px 26px 30px; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-num {
  position: absolute; top: -22px; right: 22px;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-primary); font-weight: 700; font-size: .95rem; color: var(--white); background: var(--red);
  box-shadow: 0 8px 18px rgba(254, 0, 0, .3);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover .card-media { transform: scale(1.04); }
.service-card { position: relative; }
/* Services: bento of photo cards, text over a dark fade (ref: YLLW / TIDAL on Mobbin) */
.services-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 330px; gap: 20px; }
.svc { position: relative; overflow: hidden; border-radius: 20px; background: var(--black); color: var(--white); isolation: isolate; display: flex; align-items: flex-end; }
.svc--feature { grid-column: span 2; grid-row: span 2; }
.svc--wide { grid-column: span 2; }
.svc-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .9) 100%); transition: background-color .5s var(--ease); }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc-body { padding: 24px; width: 100%; }
.svc-num { position: absolute; top: 18px; left: 18px; font-family: var(--font-primary); font-weight: 700; font-size: .85rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.svc h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.svc p { color: rgba(255, 255, 255, .8); font-size: .94rem; line-height: 1.55; }
.svc--feature .svc-body { padding: 36px; }
.svc--feature h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.svc--feature p { font-size: 1.05rem; max-width: 420px; }
.svc--feature .svc-num { top: 24px; left: 24px; background: var(--red); border-color: var(--red); }
.svc--wide p { max-width: 420px; }
.svc:hover .svc-media { transform: scale(1.06); }
.svc:hover::after { transform: scaleX(1); }
.svc:hover .svc-num { background: var(--red); border-color: var(--red); }
.svc .img-ph--dark::before { margin-bottom: 120px; }
.svc .img-ph--dark .ph-label { top: 30%; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }

/* Why us features */
.feature {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; text-align: center; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin: 0 auto 22px;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature:hover .feature-icon { background: var(--red); color: var(--white); transform: rotate(-6deg); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); text-wrap: balance; }
#why .grid-3 { grid-template-columns: repeat(3, 1fr); }

/* About (dark) */
.about { background: var(--charcoal); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 0, 0, .18), transparent 65%); pointer-events: none; }
.about h2, .about h3 { color: var(--white); }
.about .lead { color: rgba(255, 255, 255, .7); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; }
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.about-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.about-list li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(254, 0, 0, .45); }
.about-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.check { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.check svg { width: 18px; height: 18px; stroke-width: 2.6; }
.stat-box { background: var(--white); color: var(--text); border-radius: 20px; padding: 40px 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); position: relative; }
.stat-box::before { content: ""; position: absolute; left: 34px; top: 0; width: 56px; height: 4px; background: var(--red); border-radius: 0 0 4px 4px; }
.stat-label { font-family: var(--font-primary); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.stat-sub { color: var(--muted); margin-top: 8px; }
.stat-lines { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; }
.stat-lines li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.stat-lines li:last-child { border-bottom: 1px solid var(--line); }
.stat-lines svg { color: var(--red); width: 22px; height: 22px; }
.br-m { display: none; }
.br-d { display: inline; }

/* Detail sections */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-grid--rev .detail-media { order: 2; }
.detail-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: var(--tint); }
.detail-copy h2 { margin-bottom: 20px; }
.detail-copy p:not(.eyebrow) { font-size: 1.05rem; color: var(--muted); }
.detail-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item[open] { border-color: rgba(254, 0, 0, .35); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 24px; font-family: var(--font-primary); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); flex-shrink: 0; transition: background-color .3s var(--ease), transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--red); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.visit-card { background: var(--tint); border-radius: 20px; padding: 40px; border: 1px solid var(--line); }
.visit-sub { color: var(--muted); margin-top: 8px; }
.visit-card h3 { font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.contact-list span, .contact-list a { font-weight: 500; color: var(--ink); }
.contact-list a:hover { color: var(--red); }
.ci { width: 46px; height: 46px; border-radius: 12px; background: var(--white); color: var(--red); display: grid; place-items: center; border: 1px solid var(--line); flex-shrink: 0; }
.map-wrap { border-radius: 20px; overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--tint); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-wrap { position: relative; }
/* Leaves the top-left corner free so Google's place card stays clickable */
.map-link { position: absolute; inset: 0; z-index: 1; clip-path: polygon(0 170px, 330px 170px, 330px 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: flex-end; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0); transition: background-color .35s var(--ease); }
.map-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 600; font-size: .95rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .35s var(--ease); }
.map-chip svg { width: 18px; height: 18px; }
.map-link:hover .map-chip { transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .72); }
.footer-inner { padding: 80px 24px 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.footer-tagline { max-width: 460px; margin-top: 24px; font-size: 1.05rem; line-height: 1.7; }
.footer-reach { justify-self: end; max-width: 380px; }
.footer-title { color: var(--red); font-family: var(--font-primary); font-size: 1.15rem; font-weight: 600; margin-bottom: 22px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer-list li { display: flex; gap: 14px; align-items: flex-start; }
.footer-list svg { color: var(--red); width: 22px; height: 22px; margin-top: 2px; }
.footer-list a, .footer-list span { color: var(--white); font-size: 1.02rem; line-height: 1.6; transition: color .3s var(--ease); }
.footer-list a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p:last-child { color: rgba(255, 255, 255, .85); }
.credit-link { color: var(--white); font-weight: 600; position: relative; transition: color .3s var(--ease); }
.credit-link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.credit-link:hover { color: var(--red); }
.credit-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Floating CTAs ---------- */
.float-btn {
  position: fixed; bottom: 28px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  opacity: 0; transform: translateY(24px) scale(.8);
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s var(--ease);
}
.float-btn.is-visible { opacity: 1; transform: none; }
.float-btn svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.float-btn svg.wa-glyph { width: 30px; height: 30px; }
.float-btn::before, .float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: ripple 2.4s var(--ease) infinite; }
.float-btn::after { animation-delay: 1.2s; }
.float-call { left: 28px; background: var(--red); }
.float-call svg { animation: ring 2.4s ease-in-out infinite; }
.float-wa { right: 28px; background: #25d366; }
.float-btn:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .32); }
.float-btn.is-visible:hover { transform: translateY(-3px) scale(1.06); }
.float-tip {
  position: absolute; bottom: 50%; transform: translateY(50%) translateX(-6px); white-space: nowrap;
  background: var(--ink); color: var(--white); font-size: .85rem; font-weight: 500; padding: 7px 14px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.float-call .float-tip { left: 72px; }
.float-wa .float-tip { right: 72px; transform: translateY(50%) translateX(6px); }
.float-btn:hover .float-tip { opacity: 1; transform: translateY(50%) translateX(0); }

/* Mobile sticky CTA bar */
.mobile-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.js .reveal.reveal-left { transform: translateX(-44px); }
.js .reveal.reveal-right { transform: translateX(44px); }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-16deg); } 68% { transform: rotate(14deg); } 72% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 80% { transform: rotate(0); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(254, 0, 0, .7); } 70% { box-shadow: 0 0 0 10px rgba(254, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 0, 0, 0); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --logo-h: 50px; --header-h: 78px; }
  .hero { min-height: min(100svh, 760px); }
  .hero-ctas { display: inline-grid; gap: 12px; }
  .services-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(280px, auto); gap: 16px; }
  .svc--feature { grid-column: span 2; grid-row: span 1; min-height: 360px; }
  .svc--wide { grid-column: span 1; }
  .section { padding: 84px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .detail-grid, .faq-grid { gap: 44px; }
  .about-grid { grid-template-columns: 1fr; }
  .stat-box { max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature { padding: 30px 20px; }
}
@media (max-width: 900px) {
  #why .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-reach { justify-self: start; }
}
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid--rev .detail-media { order: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --logo-h: 42px; --header-h: 70px; }
  .container { padding: 0 16px; }
  .header-inner { justify-content: center; }
  .header-cta { display: none; }
  /* Hero: photo fills the section; text sits over the workshop wall, car shows below the buttons */
  .hero { min-height: auto; display: block; padding: calc(var(--header-h) + 48px) 0 56vw; }
  .hero-content { position: relative; z-index: 1; }
  .hero-media { position: absolute; inset: auto 0 0 0; height: 100vw; z-index: -2; }
  .hero-media img { object-position: center bottom; }
  .hero-media { background: transparent; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 8%, rgba(0, 0, 0, .3) 28%, rgba(0, 0, 0, .85) 48%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, transparent 8%, rgba(0, 0, 0, .3) 28%, rgba(0, 0, 0, .85) 48%, #000 60%); }
  .hero-overlay { display: none; }
  .hero h1 { margin: 18px 0 28px; }
  .hero-ctas { display: inline-grid; gap: 12px; }
  .hero-ctas .btn { padding: 13px 26px; font-size: .98rem; }
  /* Solid so it stays readable over the banner photo */
  .hero-ctas .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--white); backdrop-filter: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
  .hero-ctas .btn-ghost svg { color: var(--red); }
  .scroll-cue { display: none; }
  .badge { font-size: .8rem; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .grid-3 { grid-template-columns: 1fr; }
  .services-bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .svc, .svc--feature, .svc--wide { grid-column: auto; grid-row: auto; min-height: 270px; }
  .svc--feature { min-height: 340px; }
  .svc-body, .svc--feature .svc-body { padding: 22px; }
  .svc--feature h3 { font-size: 1.5rem; }
  .feature { padding: 30px 24px; }
  .stat-box { padding: 34px 24px; }
  .br-m { display: inline; }
  .br-d { display: none; }
  .stat-lines li { font-size: .95rem; line-height: 1.5; }
  .detail-ctas .btn { flex: 1 1 auto; }
  .visit-card { padding: 30px 22px; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .faq-item summary { padding: 18px 18px; font-size: 1rem; }
  .faq-body p { padding: 0 18px 18px; }
  .footer-inner { padding: 56px 16px 36px; gap: 36px; }
  .footer-reach { justify-self: start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: calc(22px + 76px + env(safe-area-inset-bottom)); }

  /* Floating Call & WhatsApp sit just above the sticky booking bar */
  .float-btn { width: 54px; height: 54px; bottom: calc(76px + 14px + env(safe-area-inset-bottom)); opacity: 1; transform: none; animation: floatIn .6s var(--ease) both .5s; }
  .float-btn.is-visible:hover { transform: none; }
  .float-call { left: 16px; }
  .float-wa { right: 16px; }
  .float-btn svg { width: 24px; height: 24px; }
  .float-btn svg.wa-glyph { width: 28px; height: 28px; }
  .float-tip { display: none; }

  .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .1);
    animation: barIn .6s var(--ease) both .3s;
  }
  .mcta { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; color: var(--white); background: var(--red); box-shadow: 0 8px 20px rgba(254, 0, 0, .3); position: relative; overflow: hidden; }
  .mcta svg { width: 20px; height: 20px; }
  .mcta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
  .mcta:active { background: var(--red-deep); }
}
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
