/* =========================================================
   The Detailing Mafia, Bannerghatta | Landing page styles
   Palette: TDM brand (red / black / white)
   Fonts: Span (primary, headings) + Google Sans (secondary)
   ========================================================= */

/* Span is a licensed font: it is used when installed locally,
   or drop Span-*.woff2 files into assets/fonts and add url() sources here. */
@font-face { font-family: "Span"; font-weight: 400; font-display: swap; src: local("Span"), local("Span Regular"), local("Span-Regular"); }
@font-face { font-family: "Span"; font-weight: 500; font-display: swap; src: local("Span Medium"), local("Span-Medium"); }
@font-face { font-family: "Span"; font-weight: 600; font-display: swap; src: local("Span SemiBold"), local("Span-SemiBold"); }
@font-face { font-family: "Span"; font-weight: 700; font-display: swap; src: local("Span Bold"), local("Span-Bold"); }

:root {
  /* brand red */
  --red: #F80000;
  --red-hover: #DC0000;
  --red-press: #B50000;
  --red-ink: #C80000;
  --red-tint: #FFF0F0;
  --red-light: #FF4545;
  --red-glow: rgba(248, 0, 0, .45);

  /* blacks & greys */
  --ink: #0B0B0B;
  --band: #141414;
  --black: #000000;
  --muted: #555555;
  --line: #E7E7E7;
  --line-dark: rgba(255, 255, 255, .12);
  --tint: #F6F6F6;
  --white: #FFFFFF;

  /* accents */
  --wa: #25D366;
  --wa-hover: #1EBE5A;
  --gold: #FFC107;

  --font-primary: "Span", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-secondary: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-pad: clamp(76px, 9vw, 120px);
  --header-h: 84px;
  --logo-h: 52px;
  --radius-card: 20px;
  --radius-media: 24px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --shadow-sm: 0 2px 8px rgba(11, 11, 11, .05);
  --shadow-md: 0 18px 40px -18px rgba(11, 11, 11, .22);
  --shadow-red: 0 14px 30px -12px var(--red-glow);

  --z-header: 100;
  --z-progress: 110;
  --z-float: 200;
  --z-skip: 400;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* clip (not hidden) stops sideways panning on phones without breaking the fixed header or sticky elements */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
h1, h2, h3, h4 { font-family: var(--font-primary); margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
img, svg, iframe { display: block; max-width: 100%; }
.i { width: 20px; height: 20px; flex: 0 0 auto; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: fixed; top: 10px; left: 10px; z-index: var(--z-skip); padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-160%); transition: transform .25s; }
.skip:focus { transform: none; }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-light)); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-secondary); font-size: 16px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out); pointer-events: none;
}
.btn-sm { height: 46px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16.5px; }

.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:active { background: var(--red-press); transform: translateY(0) scale(.98); }

.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost .i { color: var(--red-light); }

.btn-wa { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa .i { color: var(--wa); width: 22px; height: 22px; }
.btn-wa:active { transform: scale(.98); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { left: 120%; }
  .btn-primary:hover { background: var(--red-hover); box-shadow: 0 18px 36px -12px var(--red-glow); }
  .btn-primary:hover .i:last-child { transform: translateX(4px); }
  .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .btn-ghost:hover .i { color: var(--red); }
  .btn-wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); box-shadow: 0 14px 30px -12px rgba(37,211,102,.55); }
  .btn-wa:hover .i { color: #fff; transform: rotate(-8deg) scale(1.08); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  color: #fff;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), color .4s var(--ease-out), transform .45s var(--ease-out);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .4s var(--ease-out); }
.site-header.is-scrolled { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0,0,0,.25); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header.is-scrolled .topbar { height: 72px; }
.brand { display: inline-flex; align-items: center; }
.header-cta { opacity: 0; transform: translateY(-8px); animation: fadeDown .8s var(--ease-out) .5s forwards; }

/* ---------- logo placeholder (header + footer share --logo-h so both are the same size) ---------- */
.logo { display: inline-flex; align-items: center; height: var(--logo-h); }
.logo-ph { gap: calc(var(--logo-h) * .22); font-family: var(--font-primary); white-space: nowrap; }
.logo-ph__mark {
  display: grid; place-items: center start; height: 100%;
  padding-left: calc(var(--logo-h) * .2); border-left: calc(var(--logo-h) * .07) solid var(--red);
  font-size: calc(var(--logo-h) * .27); font-weight: 800; line-height: 1.02; letter-spacing: -.01em;
}
.logo-ph__sep { width: 1.5px; height: 62%; background: currentColor; opacity: .35; }
.logo-ph__loc { color: var(--red); font-size: calc(var(--logo-h) * .3); font-weight: 800; letter-spacing: .01em; }
.site-header:not(.is-scrolled) .logo-ph__loc { color: var(--red-light); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  /* fills the screen on desktop (600px floor for very short windows) */
  min-height: max(600px, 100vh);
  min-height: max(600px, 100svh);
  background: var(--black); color: #fff;
}
/* banner: full-bleed photo, car kept on the right; a slow settle-in zoom on load */
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-img, .hero-img img { display: block; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 100% 50%; transform: scale(1.06); transform-origin: 100% 50%; }
.is-loaded .hero-img img { transform: none; transition: transform 2.8s var(--ease-out); }
/* the left of the photo is light wall and floor, so it is darkened for the white heading */
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.35) 54%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 24%),
    linear-gradient(0deg, rgba(0,0,0,.45) 0%, transparent 24%),
    radial-gradient(55% 60% at 0% 100%, rgba(248,0,0,.22), transparent 70%);
}
.hero-inner { padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(120px, 18vh, 190px); }
.hero-content { max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.92);
}
.hero-badge-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-badge-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ping 2.2s var(--ease-out) infinite; }

.hero-title { margin-top: 24px; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--red); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }


/* hero entrance */
.js [data-hero] { opacity: 0; transform: translateY(18px); }
.js .hero-title .line > span { transform: translateY(110%); }
.is-loaded [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) var(--hd, 0ms), transform 1s var(--ease-out) var(--hd, 0ms); }
.is-loaded .hero-title .line > span { transform: none; transition: transform 1.1s var(--ease-expo) var(--hd, 0ms); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-pad); }
.section { --wipe: var(--white); }
.section--tint { background: var(--tint); --wipe: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 5vw, 64px); text-align: center; display: grid; justify-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  background: var(--red-tint); color: var(--red-ink);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.pill--dark { background: rgba(248,0,0,.12); color: var(--red-light); }

.section-title { margin-top: 18px; font-size: clamp(30px, 3.6vw, 48px); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.7; max-width: 640px; }

/* icon badge: dark disc inside a thin gauge ring; on hover a red arc sweeps the ring */
@property --arc { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.icon-tile {
  position: relative; display: grid; place-items: center; flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a2a2a 0%, var(--ink) 70%); color: var(--red);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--line);
  transition: color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.icon-tile::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from -90deg, var(--red) var(--arc), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  transition: --arc .8s var(--ease-out);
  pointer-events: none;
}
.icon-tile .i { position: relative; width: 26px; height: 26px; transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .svc-card:hover .icon-tile, .why-card:hover .icon-tile, .feature-card:hover .icon-tile { color: #fff; }
  .svc-card:hover .icon-tile::before, .why-card:hover .icon-tile::before, .feature-card:hover .icon-tile::before { --arc: 360deg; }
  .svc-card:hover .icon-tile .i, .why-card:hover .icon-tile .i, .feature-card:hover .icon-tile .i { transform: translateY(-2px); }
}

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px 30px 30px; border-radius: var(--radius-card);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.svc-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(248,0,0,.08), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc-card .icon-tile { margin-bottom: 8px; }
.svc-card h3 { font-size: 21px; }
.svc-card p { color: var(--muted); font-size: 16px; line-height: 1.65; padding-right: 36px; }
.svc-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-primary); font-size: 14px; font-weight: 700; color: #C9C9C9; letter-spacing: .06em; transition: color .4s; }
.card-go {
  position: absolute; right: 24px; bottom: 24px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-out);
}
.card-go .i { width: 17px; height: 17px; }
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(248,0,0,.22); }
  .svc-card:hover::before { transform: scaleX(1); }
  .svc-card:hover::after { opacity: 1; }
  .svc-card:hover .svc-num { color: var(--red); }
  .svc-card:hover .card-go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
}

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.split-content .section-sub { max-width: 560px; }
.split-media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-media); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media--tall { aspect-ratio: 4 / 5; }
.split-media picture { display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .split-media:hover picture { transform: scale(1.05); } }
.media-tag {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(11,11,11,.82); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600;
}
.media-tag .i { width: 17px; height: 17px; color: var(--red-light); }
.split--reverse .split-media { order: 2; }

.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* feature cards (why us + contact) */
.feature-cards { display: grid; gap: 14px; margin-top: 34px; }
.feature-card {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .35s;
}
.feature-card h3 { font-size: 18.5px; }
.feature-card p { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (hover: hover) {
  .feature-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(248,0,0,.25); }
}

/* ---------- why us (3 equal cards under a centred head) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 34px 30px 32px; border-radius: var(--radius-card);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.why-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.why-card .icon-tile { margin-bottom: 10px; }
.why-card h3 { font-size: 20px; }
.why-card p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.why-num { position: absolute; top: 18px; right: 24px; font-family: var(--font-primary); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #E2E2E2; transition: -webkit-text-stroke-color .4s, transform .5s var(--ease-out); }
@media (hover: hover) {
  .why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(248,0,0,.22); }
  .why-card:hover::after { transform: scaleX(1); }
  .why-card:hover .why-num { -webkit-text-stroke-color: rgba(248,0,0,.45); transform: translateY(-3px); }
}

/* ---------- about (dark) ---------- */
.about {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section-pad);
  background: var(--ink); color: #fff;
}
.about::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(248,0,0,.16), transparent 65%); }
.about::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 70% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 70% 50%, #000, transparent); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; gap: clamp(44px, 6vw, 88px); }
.about .section-sub { color: rgba(255,255,255,.72); }
.about-features { display: grid; gap: 0; margin-top: 34px; }
.about-feature { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.about-feature:last-child { border-bottom: 1px solid var(--line-dark); }
.about-feature h3 { font-size: 19px; }
.about-feature p { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 15.5px; }
.check { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(248,0,0,.14); color: var(--red-light); transition: background-color .35s, color .35s, transform .45s var(--ease-out); }
.check .i { width: 16px; height: 16px; }
@media (hover: hover) { .about-feature:hover .check { background: var(--red); color: #fff; transform: scale(1.1); } }

.stat-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(30px, 3.4vw, 44px); border-radius: 26px;
  background: linear-gradient(160deg, #1b1b1b 0%, var(--band) 60%);
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-light), transparent); }
.stat-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--band), 0 0 0 6px rgba(248,0,0,.35), var(--shadow-red); }
.stat-icon .i { width: 26px; height: 26px; }
.stat-title { margin-top: 24px; font-size: clamp(24px, 2.4vw, 30px); }
.stat-sub { margin-top: 8px; color: rgba(255,255,255,.62); font-size: 15.5px; }
.stat-list { display: grid; align-self: stretch; margin-top: auto; padding-top: 26px; }
.stat-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-dark); font-size: 16px; color: rgba(255,255,255,.88); }
.stat-row .dot { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--red-light); }
.stat-row .dot .i { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .35s, box-shadow .45s var(--ease-out); }
.faq-item.is-open { border-color: rgba(248,0,0,.28); box-shadow: var(--shadow-md); }
.faq-q { font-size: inherit; letter-spacing: normal; }
.faq-q button {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 22px 22px 22px 26px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-primary); font-size: 17.5px; font-weight: 600; line-height: 1.4; color: var(--ink);
  transition: color .3s;
}
.faq-ico { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--ink); transition: transform .45s var(--ease-out), background-color .35s, color .35s; }
.faq-ico .i { width: 18px; height: 18px; }
.faq-item.is-open .faq-ico { transform: rotate(45deg); background: var(--red); color: #fff; }
@media (hover: hover) { .faq-q button:hover { color: var(--red-ink); } .faq-q button:hover .faq-ico { background: var(--red-tint); color: var(--red); } .faq-item.is-open .faq-q button:hover .faq-ico { background: var(--red-hover); color: #fff; } }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.map { position: relative; min-height: 480px; border-radius: var(--radius-media); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-md); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-open { position: absolute; right: 18px; bottom: 18px; }
.contact-right { display: flex; flex-direction: column; justify-content: center; }
.contact-right h3 { font-size: clamp(24px, 2.4vw, 30px); }
.contact-right .lede { margin-top: 10px; color: var(--muted); font-size: 17px; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { padding-right: 70px; }
.card-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.card-value { display: block; margin-top: 4px; font-size: 16.5px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.contact-card .card-go { top: 50%; bottom: auto; right: 20px; margin-top: -19px; }
.card-wa { position: absolute; z-index: 2; top: 50%; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgba(37,211,102,.7); transition: background-color .3s, transform .4s var(--ease-out); }
.card-wa .i { width: 22px; height: 22px; }
@media (hover: hover) {
  .card-wa:hover { background: var(--wa-hover); transform: scale(1.08) rotate(-6deg); }
  .contact-card:hover .card-go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
}

/* ---------- footer (Poonamallee structure) ---------- */
.footer { padding: clamp(64px, 7vw, 84px) 0 32px; background: var(--black); color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start; gap: 48px; }
.footer-logo { display: inline-block; color: #fff; }
.footer-brand p { margin: 26px 0 0; max-width: 400px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.footer-label { margin: 0 0 12px; color: var(--red); font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.footer-links { display: grid; gap: 6px; max-width: 400px; }
.footer-links a { display: inline-flex; align-items: flex-start; gap: 12px; padding-block: 9px; margin-block: -3px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.6; transition: color .25s; }
.footer-links .i { width: 18px; height: 18px; margin-top: 4px; color: var(--red); }
@media (hover: hover) { .footer-links a:hover { color: var(--red); } }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.66); font-size: 14.5px; }
.footer-bottom p { margin: 0; text-wrap: balance; }
.profitcast-link { transition: color .25s; }
@media (hover: hover) { .profitcast-link:hover { color: #fff; } }

/* ---------- floating call / whatsapp ---------- */
.fab {
  position: fixed; bottom: 28px; z-index: var(--z-float);
  display: inline-flex; align-items: center;
  height: 60px; padding: 0 9px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 15.5px;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.45);
  opacity: 0;
  transition: padding .45s var(--ease-out), background-color .3s, transform .4s var(--ease-out);
}
.fab--call { left: 24px; background: var(--red); animation: fabInLeft .9s var(--ease-expo) .9s forwards; }
.fab--wa { right: 24px; background: var(--wa); flex-direction: row-reverse; animation: fabInRight .9s var(--ease-expo) 1.05s forwards; }
.fab-ico { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.fab-ico .i { width: 24px; height: 24px; }
.fab--wa .fab-ico .i { width: 27px; height: 27px; }
.fab--call .fab-ico .i { animation: ring 2.8s ease-in-out 2s infinite; }
.fab::before, .fab::after { /* pulse rings */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: inherit; opacity: .5; animation: pulse 2.4s var(--ease-out) infinite;
}
.fab::after { animation-delay: 1.2s; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease-out), opacity .35s, margin .45s var(--ease-out); }
@media (hover: hover) {
  .fab:hover { padding: 0 22px 0 9px; transform: translateY(-3px); }
  .fab--wa:hover { padding: 0 9px 0 22px; background: var(--wa-hover); }
  .fab--call:hover { background: var(--red-hover); }
  .fab:hover .fab-label { max-width: 120px; opacity: 1; margin-left: 6px; }
  .fab--wa:hover .fab-label { margin-left: 0; margin-right: 6px; }
}
.mobile-bar { display: none; }

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms), clip-path 1.2s var(--ease-expo) var(--d, 0ms);
}
.js [data-reveal="rise"] { transform: translateY(30px); }
.js [data-reveal="blur"] { transform: translateY(16px); filter: blur(8px); }
.js [data-reveal="pop"] { transform: scale(.88); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: scale(.94) translateY(20px); }
/* wipe: a section-coloured panel slides up off the media. Nothing is clipped,
   so lazy images still load and the observer still sees the target. */
.js [data-reveal="wipe-up"] { opacity: 1; }
.js [data-reveal="wipe-up"]::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--wipe, #fff); transform-origin: 50% 0;
  transition: transform 1.3s var(--ease-expo) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="wipe-up"].is-in::after { transform: scaleY(0); }

/* ---------- keyframes ---------- */
@keyframes fadeDown { to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); } }
@keyframes fabInLeft { from { opacity: 0; transform: translateX(-140%); } to { opacity: 1; transform: none; } }
@keyframes fabInRight { from { opacity: 0; transform: translateX(140%); } to { opacity: 1; transform: none; } }
@keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* tablet landscape */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

/* tablet portrait */
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--reverse .split-media { order: -1; }
  .split-media, .split-media--tall { aspect-ratio: 16 / 10; }
  .split-content .section-sub { max-width: none; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; gap: 14px; }
  .why-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 6px; padding: 24px 24px 26px; }
  .why-card .icon-tile { grid-row: span 2; align-self: start; margin: 0; }
  .why-card h3 { padding-right: 54px; }
  .why-num { font-size: 40px; top: 16px; right: 20px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 380px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-content { max-width: 640px; }
}

/* tablet (Varthur pattern): full-height banner behind a narrow copy column,
   car pulled to the right, buttons stacked */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero { min-height: min(100svh, 760px); }
  .hero-inner { padding-top: calc(var(--header-h) + 34px); padding-bottom: 90px; }
  .hero-content { max-width: 470px; }
  .hero-img img { object-position: 56% 50%; transform-origin: 56% 50%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.25) 100%),
      linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 22%),
      radial-gradient(60% 60% at 0% 100%, rgba(248,0,0,.22), transparent 70%);
  }
  .hero-title { font-size: 38px; line-height: 1.1; }
  .hero-cta { display: inline-grid; gap: 12px; }
}

/* mobile */
@media (max-width: 767.98px) {
  :root { --gutter: 18px; --header-h: 70px; --logo-h: 42px; --section-pad: 68px; }
  body { font-size: 16px; }

  /* header: white, logo centred, pinned to the top while scrolling */
  .site-header, .site-header.is-scrolled { position: fixed; top: 0; left: 0; right: 0; transform: translateZ(0); background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0,0,0,.3); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
  .topbar, .site-header.is-scrolled .topbar { justify-content: center; height: var(--header-h); }
  .site-header:not(.is-scrolled) .logo-ph__loc { color: var(--red); }
  .header-cta { display: none; }

  /* hero: Varthur mobile structure. Height = 400px + 64vw
     (118 top pad + 37 badge + 18 + 76 heading + 28 + 124 buttons + 64vw bottom pad),
     with a 100vw square photo anchored to the bottom and fading in behind the buttons.
     Varthur uses 56vw; the extra 8vw sits the photo lower (the car fills the photo's bottom edge) */
  .hero { display: block; min-height: auto; padding: calc(var(--header-h) + 48px) 0 64vw; }
  .hero-inner { padding-block: 0; position: relative; z-index: 1; }
  .hero-media { inset: auto 0 0 0; height: 100vw; -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-img img { object-position: 50% 50%; }
  .hero-overlay { background: radial-gradient(80% 45% at 0% 0%, rgba(248,0,0,.16), transparent 70%); }
  .hero-badge { font-size: 12.8px; padding: 7px 16px 7px 13px; line-height: 20.8px; }
  .hero-title { margin-top: 18px; font-size: min(30px, 8vw); line-height: 37.76px; }
  .hero-title .line { padding-bottom: 0; }
  .hero-cta { display: inline-grid; gap: 12px; margin-top: 28px; }
  .hero-cta .btn { height: 56px; padding: 0 26px; font-size: 15.68px; }
  .hero-cta .btn-ghost { background: #fff; color: var(--ink); border-color: #fff; backdrop-filter: none; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
  .hero-cta .btn-ghost .i { color: var(--red); }

  .section-head { margin-bottom: 36px; }
  .section-title { margin-top: 14px; font-size: clamp(28px, 7.6vw, 34px); }
  .section-sub { margin-top: 14px; font-size: 16px; }
  .pill { font-size: 12px; }

  .services-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .svc-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 16px; padding: 22px 20px 24px; }
  .svc-card .icon-tile { width: 48px; height: 48px; margin: 0 4px; }
  .svc-card .icon-tile .i { width: 24px; height: 24px; }
  .svc-card h3 { font-size: 18px; padding-right: 30px; }
  .svc-card p { grid-column: 1 / -1; font-size: 15.5px; padding-right: 0; }
  .svc-num { top: 22px; right: 20px; font-size: 13px; }
  .card-go { display: none; }

  .feature-cards { margin-top: 28px; gap: 12px; }
  .why-card { padding: 20px 18px 22px; column-gap: 14px; }
  .why-card .icon-tile { width: 46px; height: 46px; margin-left: 4px; }
  .why-card .icon-tile .i { width: 22px; height: 22px; }
  .why-card h3 { font-size: 17.5px; padding-right: 36px; }
  .why-card p { font-size: 15px; }
  .why-num { font-size: 32px; }
  .feature-card { align-items: flex-start; gap: 14px; padding: 16px; }
  .feature-card .icon-tile { width: 46px; height: 46px; margin-left: 4px; }
  .feature-card .icon-tile .i { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 15px; }

  .about-feature { gap: 14px; padding: 18px 0; }
  .about-feature h3 { font-size: 17.5px; }
  .stat-row { font-size: 15.5px; }

  /* sideways reveals become vertical so nothing sits past the screen edge */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(24px); }

  .detail-cta { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
  .faq-actions { justify-self: stretch; }
  .faq-actions .btn { flex: 1 1 0; padding: 0 16px; }
  .media-tag { left: 14px; bottom: 14px; font-size: 13px; padding: 8px 13px; }

  .faq-q button { padding: 18px 16px 18px 18px; font-size: 16px; gap: 14px; }
  .faq-a p { padding: 0 18px 20px; font-size: 15px; }

  .map { min-height: 300px; }
  .map-open { right: 12px; bottom: 12px; }
  .contact-card { align-items: center; padding-right: 66px; }
  .card-value { font-size: 15.5px; }
  .contact-card .card-go { display: grid; }

  .footer { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .footer-grid { justify-items: start; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 44px; font-size: 14px; }

  /* floating buttons sit above the sticky bar, one on each side */
  .fab { bottom: calc(82px + env(safe-area-inset-bottom)); height: 54px; width: 54px; padding: 0; justify-content: center; }
  .fab--call { left: 14px; }
  .fab--wa { right: 14px; }
  .fab-ico { width: 54px; height: 54px; }
  .fab-label { display: none; }

  /* sticky bottom CTA bar */
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(0,0,0,.1);
    transform: translateY(100%); animation: barIn .7s var(--ease-expo) .3s forwards;
  }
  .mb-btn { position: relative; overflow: hidden; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 12px; font-weight: 600; font-size: 16px; white-space: nowrap; }
  .mb-btn .i { width: 20px; height: 20px; }
  .mb-btn--book { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(248,0,0,.3); }
  .mb-btn--book::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; }
  .mb-btn--book:active { background: var(--red-press); }
}

/* small phones (iPhone SE / 320-380px) */
@media (max-width: 380px) {
  :root { --gutter: 16px; --logo-h: 38px; }
  .section-title { font-size: 26px; }
  .svc-card, .why-card { padding-inline: 16px; }
  .faq-actions .btn { padding: 0 12px; font-size: 15px; }
  .map-open { padding: 0 14px; }
  .contact-card { padding-right: 60px; }
}

/* 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; }
  .js [data-reveal="wipe-up"]::after { display: none; }
  .js [data-reveal], .js [data-hero], .js .hero-title .line > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}
