/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 72%;
  min-width: 760px;
  object-fit: cover;
  object-position: 70% 20%;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-power3);
}

.hero.is-ready .hero-bg img {
  transform: scale(1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-side), linear-gradient(0deg, rgba(5,5,4,0.9) 0%, rgba(5,5,4,0.05) 40%);
}

.hero-glow {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(232,184,75,0.18), transparent 70%);
  z-index: -1;
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  padding-top: 5rem;
}

.hero-content {
  max-width: 620px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-power3), transform 0.9s var(--ease-power3);
}

.hero.is-ready .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .hero-eyebrow { transition-delay: 0.1s; }
.hero.is-ready .hero-headline { transition-delay: 0.22s; }
.hero.is-ready .hero-sub { transition-delay: 0.4s; }
.hero.is-ready .hero-actions { transition-delay: 0.54s; }

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  color: var(--text);
}

.hero h1 .accent-line {
  color: var(--accent);
  text-shadow: 0 0 46px var(--accent-glow);
}

.hero-sub {
  margin-top: 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  font-weight: 300;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}

.hero-floating-stats {
  position: absolute;
  right: clamp(1rem, 6vw, 7rem);
  bottom: clamp(6rem, 12vh, 9rem);
  display: flex;
  gap: 1px;
  background: var(--surface-border);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

.hero-floating-stats .stat {
  background: rgba(10,9,8,0.55);
  padding: 1.1rem 1.5rem;
  text-align: center;
}

.hero-floating-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-floating-stats .stat span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

@media (max-width: 760px) {
  .hero-floating-stats { display: none; }
}

.scroll-indicator {
  position: absolute;
  left: var(--gutter);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 46px;
  background: var(--surface-border-strong);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

@media (max-width: 920px) {
  .hero-bg img {
    width: 100%;
    min-width: 0;
    object-position: 68% 15%;
    opacity: 0.55;
  }
  .hero-bg::after {
    background: linear-gradient(0deg, rgba(5,5,4,0.97) 10%, rgba(5,5,4,0.55) 60%, rgba(5,5,4,0.75) 100%);
  }
  .scroll-indicator { display: none; }
}

/* ---- Marquee strip under hero ---- */
.brand-marquee {
  position: relative;
  z-index: 1;
}

/* ---- Transformation split CTA ---- */
.transform-cta {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.transform-media {
  position: relative;
  overflow: hidden;
}

.transform-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transform: scale(1.12);
  transition: transform 1.2s var(--ease-power3);
}

.transform-cta:hover .transform-media img {
  transform: scale(1.0);
}

.transform-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,5,4,0.15), transparent 40%);
}

.transform-copy {
  background: #0c0b09;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 6rem);
  position: relative;
}

.transform-copy h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-block: 1.5rem;
}

.transform-copy h2 .accent-line { color: var(--accent); }

@media (max-width: 860px) {
  .transform-cta {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .transform-media { height: 50vh; }
  .transform-copy { padding: 3rem var(--gutter); }
}

/* ---- Reviews: scroll track animation ---- */
.review-track {
  will-change: transform;
}

/* ---- Google rating fallback card (no live data yet) ---- */
.reviews-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
}

.reviews-fallback[hidden] {
  display: none;
}

.reviews-fallback .g-logo {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

.reviews-fallback-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.reviews-fallback-text {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44ch;
  line-height: 1.6;
}

.reviews-fallback .btn {
  margin-top: 0.5rem;
}

/* ---- Review carousel: nav buttons + native touch-swipe scroll-snap ---- */
.review-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.review-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-strong);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}

.review-nav-btn svg {
  width: 18px;
  height: 18px;
}

.review-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.review-nav-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
  transform: none;
}
