/* The Detail Den | Landing page
   Palette pulled from the logo: brand orange #E35D16 on deep charcoal, white letterforms. */

:root {
  --orange: #e35d16;
  --orange-hi: #f2742f;
  --orange-deep: #b8470c;
  --orange-soft: rgba(227, 93, 22, 0.14);
  --orange-glow: rgba(227, 93, 22, 0.35);

  --bg: #0b0b0c;
  --bg-alt: #111113;
  --surface: #161618;
  --surface-2: #1d1d20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2ef;
  --muted: rgba(245, 242, 239, 0.68);
  --white: #ffffff;
  --wa: #25d366;

  --font-head: "Spline Sans", "Google Sans", system-ui, sans-serif;
  --font-body: "Google Sans", "Spline Sans", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --logo-h: 64px;
  --header-h: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 50;
  --z-float: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body, main { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
address { font-style: normal; }
.nowrap { white-space: nowrap; }
.accent { color: var(--orange); }
.i { width: 18px; height: 18px; flex: 0 0 auto; }

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .i { width: 19px; height: 19px; transition: transform .35s var(--ease); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16.5px; }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 28px -10px var(--orange-glow); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-wa { background: var(--wa); color: #06210f; }
.i-wa { color: var(--wa); }
.btn-wa .i-wa { color: currentColor; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-3px); }
  .btn-primary:hover { background: var(--orange-hi); box-shadow: 0 16px 36px -12px var(--orange-glow); }
  .btn-primary:hover::after { left: 125%; }
  .btn-ghost:hover, .btn-outline:hover { border-color: var(--orange); background: var(--orange-soft); }
  .btn-wa:hover { box-shadow: 0 16px 36px -14px rgba(37, 211, 102, .55); }
  .btn:hover .i { transform: scale(1.1) rotate(-6deg); }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled { background: rgba(11, 11, 12, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 12px); }
.brand { display: block; height: var(--logo-h); aspect-ratio: 497 / 600; }
.brand img, .footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 22px; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(227, 93, 22, .16), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1f1f23, #121214);
  color: rgba(255,255,255,.34);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: calc(50% + 34px); transform: translateX(-50%);
  font-size: 12.5px; letter-spacing: .04em; white-space: nowrap; color: rgba(255,255,255,.4);
}
.ph-icon { width: 44px; height: 44px; transition: transform .6s var(--ease), color .4s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; animation: heroZoom 14s var(--ease-out) both; }
.hero-media::after { top: auto; bottom: 120px; left: auto; right: 6%; transform: none; }
.hero-media .ph-icon { position: absolute; right: calc(6% + 50px); bottom: 150px; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.7) 45%, rgba(11,11,12,.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    radial-gradient(55% 60% at 0% 100%, rgba(227, 93, 22, .22), transparent 70%);
}
.hero-content { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s var(--ease-out) infinite; }
.hero-title { max-width: 19ch; margin: 24px 0 36px; color: var(--white); }
.hero-title .accent { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.hero-rating strong { color: var(--white); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .i { width: 16px; height: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); border-radius: 1px; }
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); text-wrap: balance; }
.section-head.center .lead { max-width: 640px; margin-inline: auto; }
h2 + p:not(.lead) { margin-top: 20px; }

.icon-tile {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--orange-soft); color: var(--orange); border: 1px solid rgba(227, 93, 22, .25);
  transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--lg { width: 58px; height: 58px; border-radius: 16px; }
.icon-tile--lg svg { width: 28px; height: 28px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.svc-media { aspect-ratio: 10 / 7; }
.svc-media::after { top: calc(50% + 30px); }
.svc-body { position: relative; flex: 1; padding: 0 26px 28px; }
.svc-body .icon-tile { margin-top: -24px; margin-bottom: 18px; background: #26170e; border-color: rgba(227, 93, 22, .4); }
.svc-body h3 { margin-bottom: 10px; }
.svc-body p { color: var(--muted); font-size: 16px; }
@media (hover: hover) {
  .svc:hover { transform: translateY(-8px); border-color: rgba(227, 93, 22, .45); box-shadow: 0 26px 50px -28px rgba(227, 93, 22, .45); }
  .svc:hover .ph-icon { transform: scale(1.15); color: var(--orange); }
  .svc:hover .icon-tile { background: var(--orange); color: var(--white); transform: rotate(-8deg); }
}

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature {
  position: relative; padding: 38px 32px 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s;
}
.feature::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.feature-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.05); transition: color .4s; }
.feature h3 { margin: 24px 0 10px; }
.feature p { color: var(--muted); font-size: 16px; }
@media (hover: hover) {
  .feature:hover { transform: translateY(-6px); border-color: rgba(227, 93, 22, .35); }
  .feature:hover::before { transform: scaleX(1); }
  .feature:hover .feature-num { color: rgba(227, 93, 22, .22); }
  .feature:hover .icon-tile { background: var(--orange); color: var(--white); transform: scale(1.06); }
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.about-media { position: relative; }
.ph--tall { aspect-ratio: 9 / 10.5; border-radius: var(--radius); border: 1px solid var(--line); }
.about-chip {
  position: absolute; right: -22px; bottom: 36px;
  display: grid; justify-items: start; gap: 2px;
  padding: 18px 22px; border-radius: 16px;
  background: rgba(22,22,24,.9); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.8);
  animation: floaty 5s ease-in-out infinite;
}
.about-chip strong { font-family: var(--font-head); font-size: 32px; line-height: 1.1; }
.about-chip span:last-child { font-size: 14px; color: var(--muted); }
.point-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.point {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .4s, background-color .4s;
}
.point h3 { font-size: 18px; margin-bottom: 4px; }
.point p { font-size: 15.5px; color: var(--muted); }
@media (hover: hover) {
  .point:hover { transform: translateX(6px); border-color: rgba(227, 93, 22, .4); background: var(--surface-2); }
  .point:hover .icon-tile { background: var(--orange); color: var(--white); }
}

/* Stats */
.stats { position: relative; padding: clamp(64px, 7vw, 90px) 0; overflow: hidden;
  background:
    radial-gradient(60% 120% at 100% 50%, rgba(227, 93, 22, .18), transparent 60%),
    linear-gradient(180deg, #141012, #0f0d0d);
}
.stats-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.stats-head h2 { max-width: 14ch; }
.stat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stat {
  padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong);
  transition: transform .5s var(--ease), border-color .4s;
}
.stat-num { display: flex; align-items: baseline; font-family: var(--font-head); font-size: clamp(48px, 5.4vw, 68px); font-weight: 700; line-height: 1; color: var(--white); }
.stat-num em { font-style: normal; color: var(--orange); }
.stat .stars, .g-mark { margin: 14px 0 12px; }
.stat .stars .i { width: 18px; height: 18px; }
.g-mark { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 45%, #fbbc05 45% 62%, #4285f4 62% 78%, #34a853 78% 88%, #ea4335 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted); font-size: 15.5px; }
@media (hover: hover) { .stat:hover { transform: translateY(-6px); border-color: rgba(227, 93, 22, .45); } }

/* Split (PPF / Ceramic) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.split--reverse .split-copy { order: 2; }
.split-copy p:not(.eyebrow) { color: var(--muted); }
.split-copy p + p:not(.eyebrow) { margin-top: 14px; }
.ph--wide { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); }
.split-media { position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; z-index: -1;
  border: 1px solid rgba(227, 93, 22, .35); border-radius: var(--radius);
  transition: transform .6s var(--ease);
}
.split--reverse .split-media::before { inset: 24px 24px -18px -18px; }
@media (hover: hover) {
  .split-media:hover::before { transform: translate(-8px, -8px); }
  .split--reverse .split-media:hover::before { transform: translate(8px, -8px); }
  .split-media:hover .ph-icon { transform: scale(1.15); color: var(--orange); }
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.chips li { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color .3s, color .3s, transform .35s var(--ease); }
@media (hover: hover) { .chips li:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); } }
.split-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease), transform .9s var(--ease);
}
.faq-item.reveal { transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease) calc(var(--d, 0) * 110ms), transform .9s var(--ease) calc(var(--d, 0) * 110ms); }
.faq-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange);
  transform: scaleY(0); transform-origin: top; transition: transform .55s var(--ease);
}
.faq-item.is-open { border-color: rgba(227, 93, 22, .4); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 24px 50px -32px rgba(227, 93, 22, .55); }
.faq-item.is-open::before { transform: scaleY(1); }
.faq-q { margin: 0; font-size: inherit; }
.faq-q button {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; background: none; border: 0; color: var(--text); cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 17.5px; font-weight: 600; line-height: 1.4;
}
.faq-num { flex: 0 0 auto; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: .04em; transition: color .4s; }
.faq-text { flex: 1; transition: color .4s; }
.faq-item.is-open .faq-num { color: var(--orange); }
.faq-icon { position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-soft); border: 1px solid rgba(227, 93, 22, .3); transition: background-color .4s, transform .5s var(--ease); }
.faq-icon i { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--orange); transition: transform .5s var(--ease), background-color .4s; }
.faq-icon i:last-child { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--orange); transform: rotate(180deg); }
.faq-item.is-open .faq-icon i { background: var(--white); }
.faq-item.is-open .faq-icon i:last-child { transform: rotate(0deg); }
@media (hover: hover) {
  .faq-item:not(.is-open):hover { border-color: rgba(227, 93, 22, .3); background: var(--surface-2); }
  .faq-item:hover .faq-text { color: var(--white); }
  .faq-item:not(.is-open):hover .faq-icon { transform: rotate(90deg); }
}
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 24px 24px 58px; color: var(--muted); font-size: 16px;
  opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .5s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .12s; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.visit-card { display: flex; flex-direction: column; padding: 32px; background: radial-gradient(120% 80% at 100% 0%, rgba(227, 93, 22, .12), transparent 60%), var(--surface); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.visit-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.visit-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; color: var(--text); transition: color .3s; }
.visit-row + .visit-row { border-top: 1px solid var(--line); }
div.visit-row { color: var(--muted); }
@media (hover: hover) { .visit-row:hover { color: var(--orange); } .visit-row:hover .icon-tile { background: var(--orange); color: var(--white); } }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 24px; }
.visit-ctas .btn { flex: 1 1 auto; }
.map { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Footer (matches reference structure) ---------- */
.footer { padding: clamp(64px, 7vw, 84px) 0 32px; background: #000; color: var(--white); }
.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: 497 / 600; }
.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(--orange); font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.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 { width: 18px; height: 18px; margin-top: 4px; color: var(--orange); }
.footer-hours { 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; }
.footer-hours .i { width: 18px; height: 18px; margin-top: 4px; color: var(--orange); }
@media (hover: hover) { .footer-links a:hover { color: var(--orange); } }
.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(--orange); transform: scaleX(0); transform-origin: right center; transition: transform .4s var(--ease-out); }
@media (hover: hover) {
  .profitcast-link:hover { color: var(--orange); }
  .profitcast-link:hover::after { transform: scaleX(1); transform-origin: left center; }
}

/* ---------- Floating Call & WhatsApp ---------- */
.fab {
  position: fixed; bottom: 26px; z-index: var(--z-float);
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  color: var(--white); box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
  animation: fabIn .8s var(--ease) both .6s;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.fab svg { position: relative; z-index: 1; width: 26px; height: 26px; }
.fab--call { left: 26px; background: var(--orange); }
.fab--call svg { animation: ring 2.6s ease-in-out infinite 1.6s; }
.fab--wa { right: 26px; background: var(--wa); animation-delay: .75s; }
.fab--wa svg { width: 30px; height: 30px; }
.fab-ring { position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.2s var(--ease-out) infinite; z-index: 0; }
.fab--wa .fab-ring { animation-delay: 1.1s; }
.fab-tip {
  position: absolute; bottom: 50%; transform: translateY(50%) scale(.9); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--white); color: #111; font-size: 14px; font-weight: 600;
  transition: opacity .3s, transform .35s var(--ease);
}
.fab--call .fab-tip { left: calc(100% + 12px); }
.fab--wa .fab-tip { right: calc(100% + 12px); }
@media (hover: hover) {
  .fab:hover { transform: translateY(-4px) scale(1.06); }
  .fab:hover .fab-tip { opacity: 1; transform: translateY(50%) scale(1); }
}
.mobile-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-left, .no-js .reveal-right { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-16deg); } 78% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } }
@keyframes fabIn { from { opacity: 0; transform: translateY(30px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --logo-h: 56px; --header-h: 80px; }
  .hero { min-height: min(100svh, 700px); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .why-grid { gap: 16px; }
  .feature { padding: 30px 22px 28px; }
  .feature-num { font-size: 36px; top: 18px; right: 18px; }
  .about-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-grid { gap: 18px; }
  .visit-card { padding: 26px 22px; }
  .split--reverse .split-copy { order: 0; }
  .about-media { max-width: 620px; }
  .ph--tall { aspect-ratio: 16 / 11; }
  .about-chip { right: 18px; }
  .stats-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stats-head h2 { max-width: none; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-intro { position: static; }
  .map { min-height: 400px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  :root { --gutter: 16px; --logo-h: 52px; --header-h: 72px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 80px; }

  /* Sticky, centred logo */
  .site-header { background: rgba(11, 11, 12, .9); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
  .header-inner { justify-content: center; }
  .site-header.is-scrolled .header-inner { height: var(--header-h); }
  .header-actions { display: none; }

  /* Hero: copy on top, image fades in from the bottom (reference layout) */
  .hero { min-height: auto; display: block; padding: calc(var(--header-h) + 44px) 0 62vw; }
  .hero-media { inset: auto 0 0; height: 100vw; animation: none; border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 6%, rgba(0,0,0,.35) 26%, rgba(0,0,0,.85) 46%, #000 60%);
            mask-image: linear-gradient(180deg, transparent 0%, transparent 6%, rgba(0,0,0,.35) 26%, rgba(0,0,0,.85) 46%, #000 60%); }
  .hero-media::after { left: 50%; right: auto; bottom: 18%; transform: translateX(-50%); }
  .hero-media .ph-icon { left: 50%; right: auto; bottom: calc(18% + 30px); margin-left: -22px; }
  .hero-overlay { background: radial-gradient(80% 50% at 0% 0%, rgba(227, 93, 22, .16), transparent 70%); }
  .badge { font-size: 13px; padding: 8px 14px 8px 12px; }
  .hero-title { margin: 20px 0 28px; font-size: clamp(32px, 9vw, 42px); line-height: 1.12; }
  .hero-ctas { display: inline-grid; gap: 12px; }
  .hero-ctas .btn { height: 52px; padding: 0 26px; font-size: 16px; justify-content: flex-start; }
  .hero-ctas .btn-ghost { background: var(--white); color: #111; border-color: var(--white); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
  .hero-rating { margin-top: 26px; font-size: 14px; flex-wrap: wrap; gap: 8px 10px; }
  .scroll-cue { display: none; }
  .reveal-left { transform: translateX(-24px); }
  .reveal-right { transform: translateX(24px); }
  .reveal-left.is-in, .reveal-right.is-in { transform: none; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 16.5px; }
  .br-d { display: none; }
  .services-grid, .why-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svc-media { aspect-ratio: 16 / 9; }
  .svc-body { padding: 0 20px 22px; }
  .feature { padding: 28px 22px; }
  .feature h3 { margin-top: 18px; }
  .about-grid, .split { gap: 36px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ph--tall { aspect-ratio: 4 / 3.4; }
  .about-chip { right: 12px; bottom: 16px; padding: 14px 16px; }
  .about-chip strong { font-size: 26px; }
  .point { padding: 16px; gap: 14px; }
  .point .icon-tile { width: 44px; height: 44px; }
  .stat-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .stat { padding: 22px 16px; }
  .stat-num { font-size: 44px; }
  .stat .stars .i { width: 14px; height: 14px; }
  .stat p { font-size: 14px; }
  .split-media::before { inset: 14px -8px -10px 14px; }
  .split--reverse .split-media::before { inset: 14px 14px -10px -8px; }
  .split-ctas .btn, .visit-ctas .btn { flex: 1 1 auto; }
  .faq-q button { padding: 18px 16px; font-size: 16px; gap: 12px; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-a p { padding: 0 18px 20px 46px; font-size: 15px; }
  .visit-card { padding: 22px 18px; }
  .map { min-height: 300px; }

  .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 */
  .fab { width: 54px; height: 54px; bottom: calc(80px + 12px + env(safe-area-inset-bottom)); }
  .fab--call { left: 16px; }
  .fab--wa { right: 16px; }
  .fab svg { width: 24px; height: 24px; }
  .fab--wa svg { width: 28px; height: 28px; }
  .fab-tip { display: none; }

  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 12, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    animation: barIn .6s var(--ease) both .3s;
  }
  .mcta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 58px; border-radius: 14px;
    background: var(--orange); color: var(--white);
    font-weight: 600; font-size: 17px;
    box-shadow: 0 10px 24px -8px var(--orange-glow);
  }
  .mcta svg { width: 20px; height: 20px; }
  .mcta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
  .mcta:active { background: var(--orange-deep); }
}

@media (max-width: 380px) {
  .stat-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
