/* =========================================================
   Dawntown Detailing Studio · Mogappair
   Palette pulled from the logo: signal red, Mogappair red,
   near-black and white.
   ========================================================= */

:root {
  --red: #f00a19;          /* logo frame + dot */
  --red-deep: #d92027;     /* "MOGAPPAIR" wordmark */
  --red-ink: #c8151f;      /* red text on light backgrounds (AA) */
  --red-soft: rgba(240, 10, 25, .1);
  --black: #0b0b0c;
  --ink: #121214;
  --ink-2: #1b1b1e;
  --text: #17171a;
  --muted: #5d5d66;
  --paper: #f4f3f0;
  --white: #ffffff;
  --line: rgba(17, 17, 20, .1);
  --line-dark: rgba(255, 255, 255, .12);

  --font: "Google Sans", "Google Sans Text", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 32px;
  --radius: 18px;
  --radius-sm: 12px;
  --logo-h: 76px;           /* same logo size in header + footer */
  --header-h: 100px;
  --section-y: clamp(72px, 9vw, 120px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.05), 0 22px 48px -12px rgba(0,0,0,.18);
  --z-header: 50;
  --z-float: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
.i { width: 20px; height: 20px; flex: 0 0 auto; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }
: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-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: var(--text); }
.h2 span:not(.w):not(.wi), .hero-title span:not(.w):not(.wi) { color: var(--red); }
.section-light .h2 span:not(.w):not(.wi), .section-white .h2 span:not(.w):not(.wi) { color: var(--red-ink); }
.lead { margin-top: 18px; font-size: clamp(16.5px, 1.35vw, 18.5px); line-height: 1.65; color: var(--muted); max-width: 620px; }
.body { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  color: var(--red-ink); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 13px; border-radius: 999px;
  background: var(--red-soft); color: var(--red-ink);
  font-size: 14px; font-weight: 600; line-height: 1.3;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(240,10,25,.18); animation: dot 2.4s ease-in-out infinite; }
.badge-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes dot { 50% { box-shadow: 0 0 0 7px rgba(240,10,25,0); } }

/* ---------- 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-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .45s var(--ease-soft), color .45s var(--ease-soft), border-color .45s var(--ease-soft);
}
.btn .i { width: 19px; height: 19px; }
.btn .i-arrow { transition: transform .35s var(--ease-out); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(240,10,25,.7); }
.btn-red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-line { color: var(--text); border-color: rgba(17,17,20,.2); background: transparent; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .i-arrow { transform: translateX(4px); }
  .btn-red:hover { background: var(--red-deep); box-shadow: 0 16px 34px -12px rgba(240,10,25,.75); }
  .btn-red:hover::before { transform: translateX(120%); }
  .btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
  .btn-line:hover { border-color: var(--text); background: var(--text); color: #fff; }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(240,10,25,.10), transparent 55%),
    repeating-linear-gradient(135deg, rgba(17,17,20,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #e9e7e3, #dcd9d3);
  color: rgba(17,17,20,.5);
}
.ph-dark, .ph-hero {
  background:
    radial-gradient(90% 70% at 80% 20%, rgba(240,10,25,.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #1d1d21, #0d0d0f);
  color: rgba(255,255,255,.42);
}
.ph-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.55); border: 1px dashed currentColor;
  font-size: 13px; font-weight: 500; letter-spacing: .01em; text-align: center;
}
.ph-dark .ph-tag, .ph-hero .ph-tag { background: rgba(0,0,0,.3); }
.ph-tag .i { width: 16px; height: 16px; }
.ph-fill { position: absolute; inset: 0; }
.ph-card { aspect-ratio: 4 / 3; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; transition: padding .4s var(--ease-out); }
.brand { display: block; height: var(--logo-h); aspect-ratio: 480 / 462; flex: 0 0 auto; transition: transform .4s var(--ease-out); }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-header.is-scrolled { background: rgba(11,11,12,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-scrolled .topbar { padding-block: 8px; }
.site-header.is-scrolled .brand { transform: scale(.86); transform-origin: left center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--black); overflow: hidden; }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph { transform: scale(1.06); animation: heroZoom 14s var(--ease-out) forwards; }
.ph-hero .ph-tag { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 72px); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 100%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 140px; }
.hero-badge { font-size: 14.5px; }
.hero-title { margin-top: 26px; max-width: 640px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.hero-title span:not(.w):not(.wi) { display: inline; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 42px; }
.hero-foot { bottom: 44px; }
.hero-foot .container { display: flex; justify-content: flex-end; padding-right: calc(var(--gutter) + 88px); }
.hero-tag { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: #fff; }
.hero-tag-rule { width: 3px; height: 26px; border-radius: 2px; background: var(--red); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-light { background: var(--paper); }
.section-white { background: var(--white); }
.section-dark { background: var(--black); color: #fff; }
.section-dark .h2 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-head { margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.icon-tile {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--red-soft); color: var(--red-ink);
  transition: background-color .5s var(--ease-soft), color .5s var(--ease-soft), transform .7s var(--ease-out);
}
.icon-tile .i { position: relative; z-index: 1; width: 24px; height: 24px; }
/* Hover: red fills the tile from below, the icon redraws its own lines */
.icon-tile { position: relative; overflow: hidden; isolation: isolate; }
.icon-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--red); border-radius: inherit;
  transform: translateY(101%); transition: transform .65s var(--ease-out);
}
@keyframes iconDraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@media (hover: hover) {
  :is(.service-card, .feature-card, a.contact-card):hover .icon-tile { color: #fff; }
  :is(.service-card, .feature-card, a.contact-card):hover .icon-tile::before { transform: none; }
  :is(.service-card, .feature-card, a.contact-card):hover .icon-tile .i { stroke-dasharray: 1; animation: iconDraw .9s var(--ease-out) .12s both; }
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out), border-color .6s var(--ease-soft);
}
.service-card .ph-card { transition: transform 1.2s var(--ease-out); }
.service-body { position: relative; flex: 1; padding: 0 26px 28px; }
.service-body .icon-tile { margin-top: -26px; position: relative; background: var(--white); box-shadow: 0 8px 22px -8px rgba(0,0,0,.22); }
.service-card h3 { margin-top: 18px; font-size: 20px; line-height: 1.3; }
.service-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(240,10,25,.25); }
  .service-card:hover .ph-card { transform: scale(1.05); }
}
.service-card { overflow: hidden; }
.service-card .ph-card { will-change: transform; }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
#ppf .split-media, #ceramic .split-media { aspect-ratio: 11 / 10; }
.split-media .ph-fill { transition: transform 1.4s var(--ease-out); }
@media (hover: hover) { .split-media:hover .ph-fill { transform: scale(1.04); } }
.media-chip {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: var(--black); color: #fff;
  font-size: 14.5px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}
.media-chip .i { color: var(--red); }
.split-copy .badge { margin-bottom: 18px; }

.feature-list { display: grid; gap: 14px; margin-top: 32px; }
.feature-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  transition: transform .7s var(--ease-out), border-color .5s var(--ease-soft), background-color .5s var(--ease-soft), box-shadow .7s var(--ease-out);
}
.feature-card h3 { font-size: 18px; line-height: 1.35; }
.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); background: var(--white); border-color: rgba(240,10,25,.3); box-shadow: var(--shadow-sm); }
}

/* About */
.about { overflow: hidden; }
.about::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,10,25,.18), transparent 65%); pointer-events: none;
}
.about .container { position: relative; }
/* Heading row: title left, intro + CTA right */
.about-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 24px clamp(40px, 6vw, 96px); }
.about .h2 { margin-top: 20px; }
.about-intro .lead { margin-top: 0; max-width: 440px; text-wrap: balance; }
.about-intro .btn { margin-top: 26px; }

/* Three numbered pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; }
.pillar { position: relative; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out);
}
.pillar-no {
  display: block; font-size: clamp(44px, 4.4vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.3);
  transition: color .6s var(--ease-soft), -webkit-text-stroke-color .6s var(--ease-soft);
}
.pillar h3 { margin-top: 22px; font-size: 21px; line-height: 1.3; }
.pillar p { margin-top: 10px; max-width: 330px; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.65; text-wrap: balance; transition: color .5s var(--ease-soft); }
@media (hover: hover) {
  .pillar:hover::before { transform: scaleX(1); }
  .pillar:hover .pillar-no { color: var(--red); -webkit-text-stroke-color: var(--red); }
  .pillar:hover p { color: rgba(255,255,255,.86); }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .35s, box-shadow .45s var(--ease-out);
}
.faq-item[open] { border-color: rgba(240,10,25,.35); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px 20px 24px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq-item summary:hover { color: var(--red-ink); } }
.faq-ico { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--text); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.faq-ico .i { width: 16px; height: 16px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; padding: 0 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq-item[open] .faq-a > p { padding-bottom: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.contact-panel { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact-intro h3 { font-size: 22px; }
.contact-intro p { margin-top: 6px; color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .7s var(--ease-out), border-color .5s var(--ease-soft), box-shadow .7s var(--ease-out);
}
a.contact-card:hover { transform: translateY(-3px); border-color: rgba(240,10,25,.3); box-shadow: var(--shadow-sm); }
.contact-card .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
.contact-card .icon-tile .i { width: 21px; height: 21px; }
.card-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-value { display: block; margin-top: 2px; font-size: 16.5px; font-weight: 600; color: var(--text); }
.contact-panel .btn-row { margin-top: auto; padding-top: 28px; }
.contact-panel .btn-row .btn { flex: 0 0 auto; min-height: 48px; padding: 0 22px; font-size: 15px; }
.map { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9e7e3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-open {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--black); color: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .3s, transform .35s var(--ease-out);
}
.map-open .i { width: 16px; height: 16px; }
@media (hover: hover) { .map-open:hover { background: var(--red); transform: translateY(-2px); } }

/* ---------- Footer (matches TDM Poonamallee structure) ---------- */
.footer { padding: clamp(48px, 5.5vw, 64px) 0 100px; 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: block; height: var(--logo-h); aspect-ratio: 480 / 462; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand p { margin: 20px 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: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.66); font-size: 14.5px;
}
.footer-bottom p { 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; 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; }
}

/* ---------- Floating Call / WhatsApp ---------- */
.fab {
  position: fixed; bottom: 28px; z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(24px) scale(.8);
  animation: fabIn .7s var(--ease-out) .6s forwards;
  transition: gap .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .3s;
}
.fab--call { left: 28px; background: var(--red); }
.fab--wa { right: 28px; background: #25d366; animation-delay: .75s; }
.fab-ico { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.fab-ico .i { width: 24px; height: 24px; }
.fab--call .fab-ico { animation: ring 3.2s ease-in-out 1.6s infinite; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease-out); }
.fab-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.fab-ring::before, .fab-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid currentColor; opacity: 0;
  animation: pulse 2.6s var(--ease-out) infinite;
}
.fab--call .fab-ring { color: var(--red); }
.fab--wa .fab-ring { color: #25d366; }
.fab-ring::after { animation-delay: 1.3s; }
@media (hover: hover) {
  .fab:hover { gap: 10px; padding: 0 22px 0 18px; }
  .fab:hover .fab-label { max-width: 120px; }
}
@keyframes fabIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(-16deg); } 68% { transform: rotate(14deg); }
  72% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 80% { transform: rotate(0); }
}

.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
/* Base: crisp slide-up, no blur */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease-soft), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="rise"] { transform: translate3d(0, 40px, 0); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Headings: words rise from behind a mask, one after another */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 55ms); }
.js [data-reveal="words"].is-in .wi { transform: none; }

/* Images / media: curtain wipe upward + gentle settle of the content */
.js [data-reveal="zoom"] { opacity: 1; transform: none; transition: box-shadow 1.2s var(--ease-soft) calc(var(--d, 0s) + .5s), border-color 1.2s var(--ease-soft); }
.js [data-reveal="zoom"]:not(.is-in) { box-shadow: none; border-color: transparent; }
.js [data-reveal="zoom"] > * {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="zoom"] > .ph-fill, .js [data-reveal="zoom"] > iframe {
  transform: scale(1.18);
  transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1), transform 1.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="zoom"] > .media-chip, .js [data-reveal="zoom"] > .map-open { transition: clip-path .9s cubic-bezier(.77, 0, .18, 1) calc(var(--d, 0s) + .55s), background-color .3s, transform .35s var(--ease-out); }
.js [data-reveal="zoom"].is-in > * { clip-path: inset(0 0 0 0); transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root { --gutter: 28px; --logo-h: 68px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .split, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .about-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split--reverse .split-media { order: 0; }
  .split-media, #ppf .split-media, #ceramic .split-media { aspect-ratio: 16 / 10; }
  .faq-intro { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 380px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; }
}

@media (max-width: 767.98px) {
  :root { --gutter: 20px; --logo-h: 58px; --header-h: 82px; --section-y: 68px; }
  html { scroll-padding-top: 82px; }
  body { font-size: 15.5px; }

  /* Sticky centered logo */
  .site-header { background: rgba(11,11,12,.0); }
  .topbar { justify-content: center; padding-block: 12px; }
  .site-header.is-scrolled .topbar { padding-block: 8px; }
  .site-header.is-scrolled .brand { transform: scale(.88); transform-origin: center; }
  .header-cta { display: none; }

  /* Hero, mobile pattern */
  .hero { align-items: center; }
  .hero-inner { padding-top: 128px; padding-bottom: calc(232px + env(safe-area-inset-bottom)); }
  .hero-badge { font-size: 13px; padding: 9px 16px 9px 13px; }
  .hero-title { margin-top: 20px; font-size: clamp(28px, 7.8vw, 36px); line-height: 1.12; }
  .hero-title span:not(.w):not(.wi) { display: block; }
  .hero-cta { display: none; }
  .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.62) 40%, rgba(0,0,0,.72) 68%, rgba(0,0,0,.88) 100%); }
  .ph-hero .ph-tag { top: 150px; right: 50%; transform: translateX(50%); white-space: nowrap; font-size: 12px; }
  .hero-foot { bottom: calc(166px + env(safe-area-inset-bottom)); }
  .hero-foot .container { padding-right: var(--gutter); }
  .hero-tag { gap: 10px; font-size: 14px; }
  .hero-tag-rule { width: 8px; height: 8px; border-radius: 50%; }

  .section-head.center { text-align: left; }
  .section-head.center .eyebrow::after { display: none; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { flex-direction: row; flex-wrap: wrap; }
  .service-card .ph-card { width: 100%; aspect-ratio: 16 / 9; }
  .service-body { padding: 0 20px 22px; }
  .service-card h3 { font-size: 18.5px; }

  .split-media, #ppf .split-media, #ceramic .split-media { aspect-ratio: 4 / 3.4; }
  .feature-card { gap: 14px; padding: 16px; }
  .feature-card .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
  .feature-card h3 { font-size: 17px; }

  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
  .pillar { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; padding: 24px 0; }
  .pillar-no { grid-row: span 2; font-size: 40px; }
  .pillar h3 { margin-top: 0; font-size: 18.5px; }
  .pillar p { margin-top: 6px; font-size: 15px; }
  .about-intro .btn { width: 100%; }

  .btn-row .btn { flex: 1 1 auto; }
  .faq-item summary { padding: 18px 16px 18px 18px; font-size: 16px; gap: 14px; }
  .faq-a > p { padding: 0 18px; font-size: 15px; }
  .faq-item[open] .faq-a > p { padding-bottom: 20px; }
  .faq-actions .btn { flex: 1 1 0; }

  .contact-panel { padding: 22px 18px; }
  .contact-panel .btn-row .btn { flex: 1 1 auto; }
  .map { min-height: 300px; }

  .footer { padding-top: 44px; padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; justify-items: start; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 32px; font-size: 14px; }

  /* Floating buttons sit above the sticky bar */
  .fab { bottom: calc(88px + env(safe-area-inset-bottom)); height: 54px; padding: 0 15px; }
  .fab--call { left: 16px; }
  .fab--wa { right: 16px; }

  /* 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(10,10,12,.92); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(100%); animation: barIn .6s var(--ease-out) .4s forwards;
  }
  .mobile-bar .btn { flex: 1 1 0; min-height: 52px; padding: 0 12px; font-size: 14.5px; gap: 8px; }
  .mobile-bar .btn-red { flex-grow: 1.25; }
  .mobile-bar .i { width: 17px; height: 17px; }
}
@keyframes barIn { to { transform: none; } }

@media (max-width: 380px) {
  .mobile-bar .btn { font-size: 13.5px; padding: 0 10px; }
  .ph-tag { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none !important; }
  .wi, .js [data-reveal="zoom"] > * { transform: none !important; clip-path: none !important; }
  .fab, .mobile-bar { opacity: 1; transform: none; }
}
