/* =========================================================
   Time2Shine Automotive: PPF & Ceramic Coating landing page
   Brand: black / white / Star Gold (#FFC116), see BRAND-GUIDELINES.md
   Type: Spline Sans (primary, headings) + Google Sans (secondary, body)
   ========================================================= */

:root {
  /* Brand colour */
  --gold: #FFC116;
  --gold-hi: #FFD24F;
  --gold-deep: #D99E00;
  --gold-soft: rgba(255, 193, 22, 0.12);
  --gold-line: rgba(255, 193, 22, 0.38);
  --gold-glow: rgba(255, 193, 22, 0.32);

  --black: #000000;
  --bg: #050505;
  --bg-alt: #0E0E0F;
  --surface: #141415;
  --surface-2: #1B1B1D;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #FFFFFF;
  --muted: #C2C2C2;       /* brand grey on black */
  --muted-2: #8E8E8E;
  --wa: #25D366;
  --wa-ink: #06210F;

  /* Type */
  --font-head: "Spline Sans", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Google Sans", "Spline Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 112px;
  --radius: 18px;
  --radius-sm: 12px;
  --logo-h: 56px;          /* same in header + footer */
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 50;
  --z-float: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--black); }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-wa { fill: currentColor; stroke: none; }
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--text); }
h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.accent { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft);
}
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
p { color: var(--muted); }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--alt::before,
.stats::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 18px; }
.section-head .lead { max-width: 640px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
/* light sweep on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--gold); color: var(--black);
  box-shadow: 0 12px 30px -12px var(--gold-glow);
}
.btn-primary:hover { background: var(--gold-hi); box-shadow: 0 18px 36px -12px rgba(255,193,22,.5); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.btn-ghost::after, .btn-outline::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); }
.btn-ghost:hover { border-color: var(--wa); background: rgba(37,211,102,.1); }
.btn-ghost .i-wa, .btn-outline .i-wa { color: var(--wa); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--wa); background: rgba(37,211,102,.08); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { box-shadow: 0 16px 34px -14px rgba(37,211,102,.6); }
.btn-lg { --h: 58px; padding: 0 32px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Icon tile ---------- */
.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 13px;
  color: var(--gold); background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.icon-tile .i { width: 22px; height: 22px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 15px; }
.icon-tile--lg .i { width: 26px; height: 26px; }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 16px; text-align: center; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(255,193,22,.08), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(160deg, #1d1d1f 0%, #0f0f10 100%);
  color: var(--muted-2);
}
.ph::before { /* subtle grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.ph::after { /* moving sheen */
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.06) 50%, transparent 58%);
  animation: sheen 6s var(--ease) infinite;
}
.ph-tag {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #d9d9d9;
}
.ph-tag .i { width: 18px; height: 18px; color: var(--gold); }
.ph-note { position: relative; z-index: 1; font-size: 12.5px; color: var(--muted-2); }
@keyframes sheen { 0% { transform: translateX(-30%); } 60%, 100% { transform: translateX(30%); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(0,0,0,.9);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img, .footer-logo img { height: var(--logo-h); width: auto; }
.header-cta { --h: 46px; padding: 0 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 900px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  background: var(--black);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .ph { animation: heroZoom 2.4s var(--ease-out) both; }
.ph--hero { justify-content: center; align-items: flex-end; padding: 0 max(40px, 9vw) 0 0; }
.ph--hero .ph-tag, .ph--hero .ph-note { align-self: flex-end; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.66) 46%, rgba(0,0,0,.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 35%);
}
.hero-content { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold-glow); animation: dotPulse 2.4s ease-out infinite;
}
.hero-title {
  margin: 24px 0 36px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08; letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-title .accent { display: block; white-space: nowrap; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px; font-size: 15.5px; color: var(--muted);
}
.hero-trust strong { color: var(--text); font-family: var(--font-head); font-weight: 700; }
.trust-icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line);
}
.trust-icon .i { width: 15px; height: 15px; stroke-width: 2.6; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.4);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite;
}

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(255,193,22,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255,193,22,0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,193,22,.07), transparent 55%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.svc::after { /* gold glow that warms up on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 70% at 100% 0%, rgba(255,193,22,.16), transparent 60%);
  transition: opacity .5s var(--ease);
}
.svc-body { position: relative; z-index: 1; flex: 1; padding: 34px 30px 32px; }
.svc-body .icon-tile { margin-bottom: 22px; }
.svc-body h3 { margin-bottom: 10px; }
.svc-body p { font-size: 16px; line-height: 1.65; }
.svc:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 30px 60px -34px rgba(255,193,22,.35); }
.svc:hover::after { opacity: 1; }
.svc:hover .icon-tile { transform: translateY(-3px) rotate(-6deg); background: var(--gold); color: var(--black); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  position: relative; overflow: hidden;
  padding: 38px 32px 36px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  transition: transform .5s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.feature::before { /* gold top rule that grows on hover */
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.feature-num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--font-head); font-size: 48px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,.06); transition: color .4s var(--ease);
}
.feature .icon-tile { margin-bottom: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 16px; }
.feature:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.feature:hover::before { transform: scaleX(1); }
.feature:hover .feature-num { color: rgba(255,193,22,.22); }
.feature:hover .icon-tile { transform: scale(1.06); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-copy .lead { margin-top: 18px; max-width: 460px; }
.point-list { display: grid; gap: 16px; }
.point {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 26px 28px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.point h3 { font-size: 19px; margin-bottom: 6px; }
.point p { font-size: 16px; }
.point:hover { transform: translateX(6px); border-color: var(--gold-line); background: #18160f; }
.point:hover .icon-tile { background: var(--gold); color: var(--black); }

/* ---------- Stats ---------- */
.stats {
  position: relative; overflow: hidden; padding-block: 96px;
  background:
    radial-gradient(60% 120% at 100% 50%, rgba(255,193,22,.10), transparent 60%),
    var(--black);
}
.stats-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat {
  padding: 34px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.035); border: 1px solid var(--line-strong);
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.stat-num {
  display: flex; align-items: baseline;
  font-family: var(--font-head); font-size: clamp(48px, 5vw, 68px); font-weight: 700; line-height: 1;
  color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.stat-num em { font-style: normal; color: var(--gold); margin-left: 2px; }
.stat p { margin-top: 16px; font-size: 16px; }
.stat:hover { transform: translateY(-6px); border-color: var(--gold-line); }

/* ---------- Split (PPF / Ceramic) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split-copy { order: 2; }
.split--reverse .split-media { order: 1; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy > p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li {
  padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chips li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.split-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.media-frame {
  position: relative; aspect-ratio: 6 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
}
.media-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,193,22,0); transition: box-shadow .5s var(--ease);
}
.media-frame .ph { transition: transform .9s var(--ease); }
.media-frame:hover .ph { transform: scale(1.05); }
.media-frame:hover::after { box-shadow: inset 0 0 0 1px var(--gold-line); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: calc(880px + var(--gutter) * 2); }
.faq-wrap .section-head { margin-bottom: 44px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.is-open { border-color: var(--gold-line); box-shadow: 0 24px 50px -34px rgba(255,193,22,.55); background: #121110; }
.faq-q button {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; text-align: left;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq-num { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .04em; flex: none; }
.faq-text { flex: 1; }
.faq-icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .45s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.faq-icon i {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), background-color .3s;
}
.faq-icon i:last-child { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq-item.is-open .faq-icon i { background: var(--black); }
.faq-item.is-open .faq-icon i:last-child { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px 62px; font-size: 16.5px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.visit-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.visit-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.visit-row {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0; color: var(--text); font-size: 16px; line-height: 1.55;
  border-bottom: 1px solid var(--line);
}
.visit-row:last-of-type { border-bottom: 0; }
.visit-row address, .visit-row span:not(.icon-tile) { color: var(--muted); }
a.visit-row:hover address, a.visit-row:hover span:not(.icon-tile) { color: var(--text); }
a.visit-row:hover .icon-tile { background: var(--gold); color: var(--black); }
.hours-pending { font-style: italic; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 22px; }
.visit-ctas .btn { flex: 1 1 180px; }
.map {
  min-height: 420px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.map iframe {
  width: 100%; height: 100%; min-height: 420px; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
  transition: filter .6s var(--ease);
}
.map:hover iframe { filter: none; }

/* ---------- Footer (matches lp.tdmpoonamallee.in) ---------- */
.footer { background: var(--black); color: var(--text); padding: 84px 0 104px; } /* bottom room so the floating buttons never cover the copyright line */
.footer-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.footer-logo { display: inline-block; }
.footer-brand p { max-width: 400px; margin-top: 22px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.78); }
.footer-label {
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  color: var(--gold); margin-bottom: 6px;
}
.footer-links { display: grid; gap: 6px; }
.footer-links a {
  display: inline-flex; align-items: flex-start; gap: 12px; padding: 9px 0;
  font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.9);
  transition: color .3s var(--ease);
}
.footer-links .i { width: 18px; height: 18px; color: var(--gold); margin-top: 1px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom p { font-size: 14.5px; color: rgba(255,255,255,.66); }
.profitcast-link { font-size: 14.5px; color: rgba(255,255,255,.85); transition: color .3s var(--ease); }
.profitcast-link:hover { color: var(--gold); }

/* ---------- Floating Call + WhatsApp ---------- */
.float-btn {
  position: fixed; bottom: 24px; z-index: var(--z-float);
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(24px) scale(.8);
  animation: floatIn .7s var(--ease) .8s forwards;
  transition: box-shadow .35s var(--ease);
}
.float-btn .i { width: 26px; height: 26px; position: relative; z-index: 1; }
.float-btn .i-wa { width: 30px; height: 30px; }
.float-btn::before { /* pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; z-index: 0;
  animation: ring 2.2s var(--ease-out) 1.6s infinite;
}
.float-call { left: 24px; background: var(--gold); color: var(--black); }
.float-call .i { animation: wiggle 3.2s ease-in-out 2s infinite; }
.float-wa { right: 24px; background: var(--wa); color: #fff; }
.float-btn:hover { box-shadow: 0 18px 36px -10px rgba(0,0,0,.8); }
.float-btn:hover .i { animation-play-state: paused; }
.float-tip {
  position: absolute; bottom: 50%; translate: 0 50%;
  padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: #fff; background: #151515;
  border: 1px solid var(--line-strong);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.float-call .float-tip { left: calc(100% + 12px); transform: translateX(-6px); }
.float-wa .float-tip { right: calc(100% + 12px); transform: translateX(6px); }
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: none; }

@keyframes floatIn { to { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wiggle {
  0%, 82%, 100% { transform: rotate(0); }
  85% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); }
  91% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); }
}

/* ---------- Mobile sticky CTA (hidden on desktop) ---------- */
.mobile-cta { display: none; }
.mobile-cta .i-arrow { margin-left: auto; }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal--left, .reveal--right {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal { transform: translateY(28px); }
.reveal.reveal--left { transform: translateX(-36px); }
.reveal.reveal--right { transform: translateX(36px); }
.reveal.is-in { opacity: 1; transform: none; }
/* Hover transforms on revealed cards should not wait for the reveal delay */
.svc.is-in, .feature.is-in, .point.is-in, .stat.is-in, .faq-item.is-in {
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .5s var(--ease),
              border-color .4s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease);
}
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-y: 92px; --logo-h: 50px; --header-h: 76px; }
  .hero { min-height: min(100svh, 780px); }
  .ph--hero { justify-content: flex-end; align-items: center; padding: 0 24px 96px; }
  .ph--hero .ph-tag, .ph--hero .ph-note { align-self: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature { padding: 32px 24px 30px; }
  .feature-num { font-size: 40px; top: 22px; right: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-copy { text-align: center; }
  .about-copy .lead { max-width: 620px; margin-inline: auto; }
  .stats-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .stat-num { justify-content: center; }
  .stat-cards { max-width: 720px; width: 100%; margin-inline: auto; }
  .split { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 340px; gap: 40px; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-copy, .split--reverse .split-media { order: 0; }
  .split-media { max-width: 640px; width: 100%; margin-inline: auto; }
  .media-frame { aspect-ratio: 16 / 10; }
  .split-copy { text-align: center; max-width: 640px; margin-inline: auto; }
  .chips, .split-ctas { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 360px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 18px; --section-y: 72px; --logo-h: 44px; --header-h: 68px; }
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  /* Header: always solid, sticky, logo centred, no header CTA */
  .site-header, .site-header.is-scrolled {
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
  }
  .header-inner { justify-content: center; }
  .header-cta { display: none; }

  /* Hero: content on top, image anchored below and fading into black (lp.thedetailingmafiavarthur.com) */
  .hero {
    display: block; min-height: auto;
    padding: calc(var(--header-h) + 40px) 0 62vw;
  }
  .hero-media { inset: auto 0 0; height: 100vw; }
  .hero-media .ph {
    mask-image: linear-gradient(180deg, transparent 0%, transparent 8%, rgba(0,0,0,.3) 28%, rgba(0,0,0,.85) 48%, #000 60%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 8%, rgba(0,0,0,.3) 28%, rgba(0,0,0,.85) 48%, #000 60%);
  }
  .ph--hero { align-items: center; justify-content: flex-end; padding: 0 16px 28px; }
  .ph--hero .ph-tag, .ph--hero .ph-note { align-self: center; }
  .hero-overlay { display: none; }
  .badge { font-size: 12.8px; padding: 8px 16px 8px 12px; }
  /* sized so "Paint Protection Film" (about 9.5em wide) always fits on one line */
  .hero-title { margin: 18px 0 28px; font-size: clamp(26px, calc((100vw - 2 * var(--gutter)) / 9.8), 40px); line-height: 1.12; max-width: none; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 320px; }
  .hero-ctas .btn { --h: 56px; width: 100%; }
  .hero-ctas .btn-ghost { background: #fff; color: #141414; border-color: #fff; }
  .hero-ctas .btn-ghost .i-wa { color: #1fae55; }
  .hero-trust { margin-top: 24px; font-size: 14.5px; }
  .scroll-cue { display: none; }

  .section-head { margin-bottom: 40px; }
  .lead { font-size: 16.5px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-body { padding: 28px 24px 26px; }
  .feature { padding: 30px 24px 28px; }
  .point { padding: 22px 20px; gap: 16px; }
  .point h3 { font-size: 18px; }
  .stats { padding-block: 72px; }
  .stat-cards { grid-template-columns: 1fr; gap: 16px; }
  .stat { padding: 28px 24px; }
  .split-ctas .btn, .visit-ctas .btn { flex: 1 1 100%; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; max-width: 320px; margin-inline: auto; text-align: center; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .faq-q button { padding: 20px 18px; gap: 14px; font-size: 16.5px; }
  .faq-a p { padding: 0 18px 20px 50px; font-size: 15.5px; }
  .faq-icon { width: 30px; height: 30px; }
  .visit-card { padding: 26px 22px; }
  .visit-title { font-size: 20px; }
  .map, .map iframe { min-height: 300px; }

  /* Footer stacks */
  .footer { padding: 64px 0 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }

  /* Floating buttons sit above sticky bar */
  .float-btn { width: 54px; height: 54px; bottom: calc(76px + 14px + env(safe-area-inset-bottom)); }
  .float-call { left: 16px; }
  .float-wa { right: 16px; }
  .float-btn .i { width: 24px; height: 24px; }
  .float-btn .i-wa { width: 28px; height: 28px; }
  .float-tip { display: none; }

  /* Sticky bottom CTA */
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -10px 30px rgba(0,0,0,.5);
    animation: barIn .6s var(--ease) .3s both;
  }
  .mobile-cta .btn { --h: 56px; justify-content: flex-start; padding: 0 22px; font-size: 16.5px; }
}

@keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal, .reveal--left, .reveal--right { opacity: 1; transform: none; }
  .float-btn { opacity: 1; transform: none; }
}
