/* ==========================================================================
   The Detailing Mafia Bommanahalli | Landing Page
   Palette: TDM brand red #F80000 with blacks and greys (matches lp.tdmpoonamallee.in).
   Fonts: primary "Span" (if installed), secondary Google Sans.
   ========================================================================== */

:root{
  /* brand red */
  --red:        #F80000;   /* buttons, icons, call button */
  --red-600:    #DC0000;   /* hover */
  --red-700:    #B50000;   /* pressed */
  --red-ink:    #C80000;   /* red words on white, section labels */
  --red-soft:   #FFF0F0;   /* behind red icons */
  --red-light:  #FF4545;   /* red words on dark */
  --red-glow:   rgba(248, 0, 0, .45);

  /* blacks and greys */
  --ink:        #0B0B0B;
  --ink-2:      #141414;
  --black:      #000000;
  --muted:      #555555;
  --line:       #E7E7E7;
  --surface:    #FFFFFF;
  --tint:       #F6F6F6;

  /* accents */
  --wa:         #25D366;
  --wa-600:     #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(72px, 8.5vw, 112px);
  --logo-h: 70px;            /* header and footer logo, always the same */
  --header-h: 94px;
  --radius-card: 20px;
  --radius-media: 20px;

  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);

  --z-header: 100;
  --z-progress: 110;
  --z-float: 200;
}

/* ============================== base ============================== */
*,
*::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;
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }
h1, h2, h3{ font-family: var(--font-primary); margin: 0; color: var(--ink); text-wrap: balance; }
h2{ font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h3{ font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p{ margin: 0; }
svg{ width: 1em; height: 1em; }
figure{ margin: 0; }
.accent{ color: var(--red-ink); }
.accent-block{ display: block; }
.nowrap{ white-space: nowrap; }
.only-phone{ display: none; }
:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container{ width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section{ padding: var(--section-pad) 0; }
.section--tint{ background: var(--tint); }
.section--dark{ position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }

.section-head{ max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center{ margin-inline: auto; text-align: center; }
.section-head .lead{ margin-top: 18px; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  color: var(--red-ink);
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(248, 0, 0, .15); }
.eyebrow--light{ color: var(--red-light); }
.lead{ color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; text-wrap: pretty; }
.service-body p,
.why-item p,
.stat-label{ text-wrap: pretty; }

/* ============================== buttons ============================== */
.btn{
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font-secondary); font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn .ico{ width: 19px; height: 19px; flex: none; }
.btn .arrow{ width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
/* light sweep on hover */
.btn::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn-sm{ min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-lg{ min-height: 58px; padding: 0 30px; font-size: 16.5px; }
.btn-primary{ background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px var(--red-glow); }
.btn-dark{ background: var(--ink); color: #fff; }
.btn-wa{ background: var(--wa); color: #fff; box-shadow: 0 10px 24px -14px rgba(37, 211, 102, .6); }
.btn-ghost{ border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-outline{ border-color: var(--ink); color: var(--ink); }
@media (hover: hover){
  .btn:hover{ transform: translateY(-3px); }
  .btn:hover::before{ transform: translateX(120%); }
  .btn:hover .arrow{ transform: translateX(4px); }
  .btn-primary:hover{ background: var(--red-600); box-shadow: 0 18px 34px -14px var(--red-glow); }
  .btn-dark:hover{ background: #262626; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
  .btn-wa:hover{ background: var(--wa-600); box-shadow: 0 18px 34px -14px rgba(37, 211, 102, .6); }
  .btn-ghost:hover{ background: #fff; color: var(--ink); border-color: #fff; }
  .btn-outline:hover{ background: var(--ink); color: #fff; }
}
.btn:active{ transform: translateY(0) scale(.97); }
.btn-primary:active{ background: var(--red-700); }

/* ============================== progress ============================== */
.progress{ position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress span{ display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; }

/* ============================== header ============================== */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease-out), border-color .35s;
}
.site-header.is-scrolled{ border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25); }
.topbar{ display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand{ display: block; flex: none; transition: transform .4s var(--ease-out); }
.brand img{ height: var(--logo-h); width: auto; }
@media (hover: hover){ .brand:hover{ transform: translateY(-2px); } }
.header-actions{ display: flex; align-items: center; }
.header-cta .ico{ width: 17px; height: 17px; }

/* ============================== image placeholders ============================== */
/* swap each .ph for an <img> when the photos arrive; the sizes are in each tag */
.ph{
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  width: 100%;
  border-radius: var(--radius-media);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(248, 0, 0, .14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #EDEDED, #D9D9D9);
}
.ph::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: phShine 3.8s ease-in-out infinite;
}
.ph--dark{
  background:
    radial-gradient(70% 80% at 80% 30%, rgba(248, 0, 0, .22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #262626, #121212);
}
.ph--dark::after{ background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%); }
.ph-tag{
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 14px; padding: 7px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .88); color: #444;
  font-size: 12.5px; font-weight: 500; letter-spacing: .01em; line-height: 1.3;
}
.ph-tag svg{ width: 16px; height: 16px; flex: none; color: var(--red-ink); }
.ph--dark .ph-tag{ background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .14); }
.ph--dark .ph-tag svg{ color: var(--red-light); }
@keyframes phShine{ 0%, 40%{ transform: translateX(-100%); } 100%{ transform: translateX(100%); } }

/* ============================== hero ============================== */
.hero{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; background: var(--black);
}
.hero-media{ position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* wide screens: keep the car to the right of the copy */
@media (min-width: 1081px){ .hero-img{ object-position: 30% 50%; } }
.hero-overlay{
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .25) 72%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 35%),
    radial-gradient(55% 60% at 0% 100%, rgba(248, 0, 0, .2), transparent 70%);
}
.hero-inner{ padding-top: calc(var(--header-h) + 56px); padding-bottom: 96px; }
.hero-content{ max-width: 760px; }
.hero-title{
  margin-top: 0;
  color: #fff;
  font-size: clamp(32px, 3.5vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em;
}
.hero-title .accent{ display: block; color: var(--red); }
/* balance: three even lines on desktop, no short last line */
.hero-sub{ max-width: 620px; margin-top: 22px; color: rgba(255, 255, 255, .8); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; text-wrap: balance; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-rating{ display: flex; align-items: center; gap: 12px; margin-top: 30px; color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.hero-rating strong{ color: #fff; font-weight: 700; }
.stars{ display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg{ width: 17px; height: 17px; }

/* ============================== trust strip ============================== */
.trust{
  position: relative; overflow: hidden;
  padding: 20px 0;
  background: var(--ink); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.trust-track{ display: flex; width: max-content; }
.trust-list{ display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.trust-list li{
  display: inline-flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-family: var(--font-primary); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
}
.trust-list li::after{
  content: ""; width: 12px; height: 12px; flex: none;
  background: var(--red);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* ============================== services ============================== */
.service-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card{
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.service-card::before{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease-out);
}
.service-body{ position: relative; flex: 1; padding: 34px 30px 32px; }
.service-ico{
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 0 22px;
  border-radius: 16px; background: var(--red); color: #fff;
  box-shadow: 0 12px 24px -12px var(--red-glow);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.service-ico svg{ width: 24px; height: 24px; }
.service-body h3{ margin-bottom: 10px; }
.service-body p{ color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (hover: hover){
  .service-card:hover{ transform: translateY(-8px); border-color: transparent; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .35); }
  .service-card:hover .service-ico{ transform: rotate(-8deg) scale(1.08); background: var(--ink); }
  .service-card:hover::before{ transform: scaleX(1); }
}
.section-cta{ display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(40px, 5vw, 56px); }

/* ============================== why us ============================== */
.why-grid{ display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-intro h2{ max-width: 500px; }
.stats-card{
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px;
  margin-top: 36px; padding: 32px 34px;
  border-radius: var(--radius-card);
  background: var(--ink-2); color: #fff;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55);
}
.stats-card::before{
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 0, 0, .35), transparent 65%);
  animation: glowDrift 9s ease-in-out infinite alternate;
}
.stats-divider{ width: 1px; height: 100%; min-height: 110px; background: rgba(255, 255, 255, .14); }
.stat{ display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.stat-num{ font-family: var(--font-primary); font-size: clamp(48px, 5vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #fff; }
.stat-g{ display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700; font-size: 14px; line-height: 1; }
.stat-label{ color: rgba(255, 255, 255, .75); font-size: 15.5px; line-height: 1.4; }

.why-list{ display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.why-item{
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 26px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.why-item::before{
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: top center;
  transition: transform .5s var(--ease-out);
}
.why-ico{
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: var(--red-soft); color: var(--red-ink);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.why-ico svg{ width: 26px; height: 26px; }
.why-item h3{ margin-bottom: 6px; transition: color .3s; }
.why-item p{ color: var(--muted); font-size: 16px; }
@media (hover: hover){
  .why-item:hover{ transform: translateX(6px); border-color: transparent; box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .35); }
  .why-item:hover::before{ transform: scaleY(1); }
  .why-item:hover .why-ico{ background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
  .why-item:hover h3{ color: var(--red-ink); }
}

/* ============================== split (PPF / coating) ============================== */
.split{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
.split--reverse .split-media{ order: 2; }
.split-media{ position: relative; isolation: isolate; }
/* solid red frame offset behind the photo */
.split-media::before{
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid var(--red); border-radius: var(--radius-media); opacity: .3;
  transition: transform .7s var(--ease-out), opacity .4s;
}
.split--reverse .split-media::before{ inset: 22px 22px -22px -22px; }
.split-photo{ overflow: hidden; aspect-ratio: 6 / 5; border-radius: var(--radius-media); background: #1a1a1a; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45); }
.split-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1.2s var(--ease-out); }
.split-photo--coat img{ object-position: 50% 60%; }
@media (hover: hover){
  .split-media:hover .split-photo img{ transform: scale(1.05); }
  .split-media:hover::before{ transform: translate(-10px, -10px); opacity: .55; }
  .split--reverse .split-media:hover::before{ transform: translate(10px, -10px); }
}

.split-copy h2{ margin-bottom: 20px; }
.split-copy > p{ color: var(--muted); font-size: 17px; line-height: 1.7; }
.split-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ============================== car wash & sun film (dark) ============================== */
.section--dark::before{
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -260px; bottom: -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 0, 0, .22), transparent 65%);
  animation: glowDrift 11s ease-in-out infinite alternate;
}
.section--dark h2{ color: #fff; }
.section--dark h2 .accent{ color: var(--red-light); }
.wash-grid{ display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
.wash-copy h2{ margin-bottom: 20px; }
.wash-copy > p{ color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.7; text-wrap: balance; }

.wash-media{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.wash-tile{ position: relative; overflow: hidden; border-radius: var(--radius-media); }
.wash-tile--offset{ margin-top: 56px; }
.tile-photo{ aspect-ratio: 4 / 5; background: #1a1a1a; }
.tile-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile-photo--wash img{ object-position: 38% 50%; }
.tile-photo--film img{ object-position: 55% 50%; }
@media (hover: hover){ .wash-tile:hover .tile-photo img{ transform: scale(1.06); } }

/* ============================== FAQ ============================== */
.faq-grid{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-intro{ position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.faq-list{ display: grid; gap: 14px; }
.faq{
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  transition: border-color .3s, box-shadow .4s var(--ease-out);
}
.faq[open]{ border-color: rgba(248, 0, 0, .35); box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .35); }
.faq summary{
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px;
  cursor: pointer; list-style: none;
  font-family: var(--font-primary); font-size: 18px; font-weight: 600; line-height: 1.4;
  transition: color .25s;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary:hover{ color: var(--red-ink); }
.faq summary i{
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--tint); color: var(--ink);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.faq summary i svg{ width: 18px; height: 18px; }
.faq[open] summary i{ transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a{ overflow: hidden; }
.faq-a p{ padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; }

/* ============================== contact ============================== */
.contact-grid{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; align-items: stretch; }
.contact-card{
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.contact-rows{ display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.contact-rows li{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.row-ico{ display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red-ink); transition: background-color .3s, color .3s; }
.row-ico svg{ width: 21px; height: 21px; }
.contact-rows li:hover .row-ico{ background: var(--red); color: #fff; }
.row-label{ margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-rows address{ font-style: normal; font-size: 16.5px; line-height: 1.6; transition: color .25s; }
.contact-rows a:hover address,
.row-value:hover{ color: var(--red-ink); }
.row-value{ font-family: var(--font-primary); font-size: 22px; font-weight: 700; letter-spacing: -.01em; transition: color .25s; }
.hours{ display: flex; flex-direction: column; gap: 2px; margin: 0; }
.hours-days{ font-size: 16px; font-weight: 500; }
.hours-time{ font-family: var(--font-primary); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.contact-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 32px; }
.map{ position: relative; min-height: 460px; border-radius: var(--radius-card); overflow: hidden; background: #e5e5e5; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45); }
.map iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ============================== footer (matches lp.tdmpoonamallee.in) ============================== */
/* extra bottom space so the floating buttons rest below the last line, never over it */
.footer{ padding: clamp(64px, 7vw, 84px) 0 112px; background: var(--black); color: #fff; }
.footer-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: start;
  gap: 48px;
}
/* same --logo-h as the header logo */
.footer-logo{ display: inline-block; transition: transform .4s var(--ease-out); }
.footer-logo img{ height: var(--logo-h); width: auto; }
@media (hover: hover){ .footer-logo:hover{ transform: translateY(-3px); } }
.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-contact{ font-style: normal; }
.footer-links{ display: grid; gap: 6px; max-width: 400px; margin: 0; padding: 0; list-style: none; }
.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{ flex: none; 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{ position: relative; color: rgba(255, 255, 255, .85); transition: color .25s; }
.profitcast-link::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--red);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover){
  .profitcast-link:hover{ color: var(--red); }
  .profitcast-link:hover::after{ transform: scaleX(1); transform-origin: left center; }
}

/* ============================== floating call + WhatsApp ============================== */
.fab{
  position: fixed; bottom: 28px; z-index: var(--z-float);
  display: inline-flex; align-items: center;
  height: 60px; padding: 0 18px;
  border-radius: 999px; color: #fff;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45);
  -webkit-tap-highlight-color: transparent;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .25s, bottom .4s var(--ease-out);
}
.fab--call{ left: 28px; background: var(--red); }
.fab--wa{ right: 28px; background: var(--wa); flex-direction: row-reverse; }
/* two ripple rings */
.fab::before,
.fab::after{
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: inherit; opacity: 0; pointer-events: none;
}
.fab-ico{ display: grid; place-items: center; width: 24px; height: 24px; }
.fab-ico svg{ width: 24px; height: 24px; }
.fab-label{
  max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font-weight: 600; font-size: 15.5px;
  transition: max-width .45s var(--ease-out), opacity .3s, margin .45s var(--ease-out);
}
@media (hover: hover){
  .fab:hover{ transform: translateY(-4px); }
  .fab--call:hover{ background: var(--red-600); box-shadow: 0 20px 40px -14px var(--red-glow); }
  .fab--wa:hover{ background: var(--wa-600); box-shadow: 0 20px 40px -14px rgba(37, 211, 102, .55); }
  .fab:hover .fab-label{ max-width: 120px; opacity: 1; }
  .fab--call:hover .fab-label{ margin-left: 10px; }
  .fab--wa:hover .fab-label{ margin-right: 10px; }
  .fab:hover::before,
  .fab:hover::after{ animation: none; opacity: 0; }
}
.fab:active{ transform: scale(.95); }

/* phone sticky CTA bar (hidden above 768px) */
.mbar{ display: none; }

/* ============================== motion ============================== */
@media (prefers-reduced-motion: no-preference){
  .js [data-reveal]{
    opacity: 0; transform: translate3d(0, 34px, 0);
    transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-expo) var(--d, 0ms);
  }
  .js [data-reveal="zoom"]{ transform: scale(.94); }
  .js [data-reveal].is-in{ opacity: 1; transform: none; }

  .js .hero-img{ animation: heroZoom 2.4s var(--ease-expo) both; }
  .js .hero [data-hero]{ animation: heroIn 1.1s var(--ease-expo) var(--hd, 0ms) both; }

  .trust-track{ animation: marquee 34s linear infinite; }
  .trust:hover .trust-track{ animation-play-state: paused; }

  .js .site-header{ animation: headerIn .9s var(--ease-expo) both; }
  .js .fab{ animation: fabIn .9s var(--ease-expo) 1s backwards; }
  .fab::before{ animation: fabRipple 2.8s var(--ease-out) 1.8s infinite; }
  .fab::after{ animation: fabRipple 2.8s var(--ease-out) 2.75s infinite; }
  .fab--call .fab-ico{ animation: phoneRing 4.2s ease-in-out 1.6s infinite; }
  .fab--wa .fab-ico{ animation: iconPulse 4.2s var(--ease-out) 3.7s infinite; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@keyframes heroZoom{ from{ transform: scale(1.12); } to{ transform: scale(1); } }
@keyframes heroIn{ from{ opacity: 0; transform: translate3d(0, 26px, 0); } to{ opacity: 1; transform: none; } }
@keyframes headerIn{ from{ transform: translateY(-100%); } to{ transform: none; } }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes glowDrift{ from{ transform: translate(0, 0) scale(1); } to{ transform: translate(-40px, 30px) scale(1.12); } }
@keyframes fabIn{ from{ opacity: 0; transform: translate3d(0, 28px, 0) scale(.6); } to{ opacity: 1; transform: none; } }
@keyframes fabRipple{ 0%{ opacity: .55; transform: scale(1); } 100%{ opacity: 0; transform: scale(1.6); } }
@keyframes phoneRing{
  0%, 70%, 100%{ transform: rotate(0); }
  73%, 79%, 85%{ transform: rotate(-14deg); }
  76%, 82%, 88%{ transform: rotate(14deg); }
}
@keyframes iconPulse{ 0%, 75%, 100%{ transform: scale(1); } 80%{ transform: scale(1.22); } 87%{ transform: scale(.95); } 93%{ transform: scale(1.08); } }
@keyframes mbarIn{ from{ transform: translateY(110%); } to{ transform: none; } }
@keyframes shine{ 0%, 55%{ left: -60%; } 100%{ left: 130%; } }

/* ============================== laptop ============================== */
@media (max-width: 1180px){
  .wash-grid{ grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .wash-copy > p{ font-size: 16px; }
}

/* ============================== tablet ============================== */
@media (max-width: 1080px){
  .hero{ min-height: min(100svh, 860px); }
  .hero-content{ max-width: 640px; }
  /* stacked, equal-width buttons */
  .hero-cta{ display: inline-grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .service-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 991.98px){
  :root{ --logo-h: 60px; --header-h: 84px; }
  .why-grid,
  .split,
  .wash-grid,
  .faq-grid,
  .contact-grid{ grid-template-columns: minmax(0, 1fr); }
  .why-intro{ text-align: center; }
  .why-intro h2{ margin-inline: auto; }
  .stats-card{ max-width: 560px; margin-inline: auto; text-align: left; }
  .split--reverse .split-media{ order: 0; }
  .split-media::before{ display: none; }
  .split-photo{ aspect-ratio: 16 / 10; }
  .wash-media{ max-width: 640px; }
  .faq-intro{ position: static; text-align: center; }
  .faq-intro-cta{ justify-content: center; }
  .map{ min-height: 380px; }
  .footer-grid{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ============================== phone ============================== */
@media (max-width: 767.98px){
  :root{ --gutter: 16px; --logo-h: 54px; --header-h: 74px; --section-pad: 68px; }
  body{ font-size: 16px; }
  h3{ font-size: 19px; }

  /* logo centred and sticky; CTA moves to the bottom bar */
  .topbar{ justify-content: center; }
  .header-actions{ display: none; }

  /* hero as lp.thedetailingmafiavarthur.com on phones: copy and buttons on black at the top,
     the car photo sits at the bottom (100vw tall) and fades up into the black */
  .hero{ display: block; min-height: 0; padding: calc(var(--header-h) + 40px) 0 62vw; background: var(--ink); }
  .hero-inner{ position: relative; z-index: 1; padding-top: 0; padding-bottom: 0; }
  .hero-media{ inset: auto 0 0 0; height: 100vw; }
  .hero-img{
    object-position: 71% 50%;
    -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; }
  .only-desk{ display: none; }
  .only-phone{ display: inline; }
  .hero-title{ font-size: clamp(25px, 6.8vw, 30px); line-height: 1.18; }
  .hero-sub{ margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .76); }
  .hero-cta{ display: grid; margin-top: 26px; gap: 12px; }
  .hero-cta .btn{ min-height: 54px; padding: 0 20px; font-size: 16px; }
  .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 .ico{ color: var(--red); }
  .hero-rating{ margin-top: 20px; font-size: 14px; flex-wrap: wrap; gap: 6px 10px; }
  .stars svg{ width: 15px; height: 15px; }

  .trust{ padding: 15px 0; }
  .trust-list li{ gap: 22px; padding-right: 22px; }
  .trust-list li::after{ width: 10px; height: 10px; }

  .section-head{ margin-bottom: 36px; }
  .eyebrow{ font-size: 13px; }
  .service-grid{ grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-body{ padding: 26px 22px 24px; }
  .service-ico{ width: 52px; height: 52px; margin-bottom: 16px; }
  .section-cta,
  .faq-intro-cta{ display: none; }

  .stats-card{ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; padding: 26px 22px; margin-top: 28px; }
  .stats-divider{ min-height: 96px; }
  .stat-num{ font-size: 44px; }
  .why-item{ gap: 16px; padding: 20px 18px; align-items: start; }
  .why-ico{ width: 50px; height: 50px; border-radius: 14px; }
  .why-ico svg{ width: 23px; height: 23px; }
  .why-item h3{ font-size: 18px; }
  .why-item p{ font-size: 15.5px; }

  .split{ gap: 36px; }
  .split-photo{ aspect-ratio: 4 / 3; }
  .split-copy > p,
  .wash-copy > p{ font-size: 16px; }
  .split-cta .btn,
  .contact-cta .btn{ flex: 1 1 100%; }

  .wash-media{ gap: 12px; }
  .wash-tile--offset{ margin-top: 36px; }

  .faq summary{ padding: 18px 18px; font-size: 16.5px; gap: 14px; }
  .faq summary i{ width: 32px; height: 32px; }
  .faq-a p{ padding: 0 18px 18px; font-size: 15.5px; }
  .contact-rows{ gap: 22px; }
  .row-value,
  .hours-time{ font-size: 20px; }
  .map{ min-height: 320px; }

  /* footer: one column, left aligned; bottom padding clears the bar + buttons */
  .footer{ padding-bottom: calc(157px + 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 just above the sticky bar, icon only */
  .fab{ bottom: calc(86px + env(safe-area-inset-bottom)); height: 54px; width: 54px; padding: 0; justify-content: center; }
  .fab--call{ left: 16px; }
  .fab--wa{ right: 16px; }
  .fab-label{ display: none; }

  .mbar{
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    display: grid; grid-template-columns: 1fr;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .3);
  }
  .mbar-btn{
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 56px; border-radius: 14px;
    background: var(--red); color: #fff; font-weight: 600; font-size: 16.5px;
    box-shadow: 0 8px 20px rgba(248, 0, 0, .3);
    transition: transform .25s var(--ease-out), background-color .25s;
  }
  .mbar-btn svg{ width: 20px; height: 20px; }
  .mbar-btn::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);
  }
  .mbar-btn:active{ transform: scale(.97); background: var(--red-700); }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: no-preference){
  .js .mbar{ animation: mbarIn .8s var(--ease-expo) .8s backwards; }
  .mbar-btn::after{ animation: shine 3.2s ease-in-out infinite; }
}
@media (max-width: 374px){
  .hero-cta .btn{ font-size: 14px; }
  .hero-cta .btn .ico{ display: none; }
  .stat-num{ font-size: 38px; }
  .mbar-btn{ font-size: 15px; }
}
