/* =============================================================
   SYDNEY 24 HOUR TOWING — Homepage (Dark Theme)
   ============================================================= */

/* -------------------------------------------------------------
   1. DARK BODY
   ------------------------------------------------------------- */
body.page-home {
  background: var(--ink);
  color: var(--snow);
  font-family: var(--font-body);
  padding-bottom: 70px;
}

/* Grain overlay */
body.page-home::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.5;
}

@keyframes wave {
  0%,100% { transform: scaleY(1); }
  50%     { transform: scaleY(1.8); }
}
@keyframes trust-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes expand {
  0%   { width: 200px; height: 200px; opacity: .6; }
  100% { width: 900px; height: 900px; opacity: 0; }
}
@keyframes grow { from { width: 0 !important; } }


/* -------------------------------------------------------------
   2. HERO
   ------------------------------------------------------------- */
.home-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative;
  overflow: hidden; padding: 60px 80px;
  gap: 48px; min-height: 90vh;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 50%, rgba(246,168,0,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5%  90%, rgba(232,35,42,.05) 0%, transparent 55%),
    linear-gradient(160deg,#08090b 0%,#0f1116 50%,#0d1018 100%);
}
.hero-bg::after {
  content: ''; position: absolute;
  right: -80px; top: 0; bottom: 0; width: 52%;
  background: linear-gradient(160deg,transparent 0%,var(--ink2) 100%);
  clip-path: polygon(12% 0,100% 0,100% 100%,0% 100%);
  border-left: 1px solid var(--edge);
}
.hero-stripe {
  position: absolute; left: calc(50% - 40px); top: 0; bottom: 0;
  width: 1px; z-index: 1;
  background: linear-gradient(180deg,transparent,rgba(246,168,0,.2) 30%,rgba(246,168,0,.2) 70%,transparent);
}

.hero-content { position: relative; z-index: 2; padding: 20px 0; }

.emg-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,35,42,.12); border: 1px solid rgba(232,35,42,.35);
  border-radius: 100px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ff6b6b;
  margin-bottom: 24px; animation: fadein .5s ease both;
}
.emg-chip .blink {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
}

.home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 92px);
  line-height: .95; font-weight: 700; letter-spacing: -.01em;
  animation: fadein .5s .08s ease both;
}
.home-hero h1 em { font-style: normal; color: var(--amber); display: block; }
.home-hero h1 .ghost {
  -webkit-text-stroke: 2px rgba(246,168,0,.45);
  color: transparent; display: block;
}

.hero-desc {
  font-size: 17px; color: var(--fog); line-height: 1.65;
  max-width: 480px; margin: 22px 0 0;
  animation: fadein .5s .16s ease both;
}
.hero-desc strong { color: var(--snow); }

.hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px; margin-top: 32px;
  animation: fadein .5s .22s ease both;
}

.btn-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber); color: var(--ink);
  text-decoration: none; padding: 18px 36px;
  border-radius: var(--r);
  font-family: var(--font-head); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; letter-spacing: .04em;
  transition: var(--t); box-shadow: 0 10px 40px rgba(246,168,0,.35);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-hero::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  animation: sheen 2.4s ease-in-out infinite;
}
.btn-hero:hover {
  background: var(--amber-h); transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 60px rgba(246,168,0,.55);
}

.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fog); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 6px 0;
  border-bottom: 1px solid var(--edge2); transition: var(--t); white-space: nowrap;
}
.btn-ghost-hero:hover { color: var(--snow); border-color: var(--fog); }

.hero-guarantee {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 18px; font-size: 13px; color: var(--fog);
  animation: fadein .5s .28s ease both; line-height: 1.5;
}
.hero-guarantee svg   { color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.hero-guarantee strong { color: var(--snow); }

/* Dispatch card */
.hero-card-col { position: relative; z-index: 2; }
.dispatch-card {
  background: var(--ink2); border: 1px solid var(--edge);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(246,168,0,.07);
  position: relative; animation: fadein .6s .18s ease both;
}
.dispatch-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--red),var(--amber));
}
.dispatch-panel {
  background: linear-gradient(135deg,#0e1018,#131824);
  padding: 28px; border-bottom: 1px solid var(--edge);
  position: relative; overflow: hidden;
}
.dispatch-panel::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%,rgba(246,168,0,.07),transparent);
}
.dispatch-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--fog2); margin-bottom: 10px;
}
.dispatch-num {
  font-family: var(--font-head); font-size: 64px; font-weight: 700;
  color: var(--amber); line-height: 1; letter-spacing: -.02em;
  position: relative; z-index: 1;
}
.dispatch-num span { font-size: 24px; font-weight: 400; color: var(--fog); margin-left: 6px; }
.dispatch-note { font-size: 13px; color: var(--fog); margin-top: 6px; position: relative; z-index: 1; }
.waveform {
  display: flex; align-items: center; gap: 3px;
  margin-top: 16px; position: relative; z-index: 1;
}
.waveform span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--amber); opacity: .4;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.waveform span:nth-child(2)  { height: 18px; animation-delay: .1s; }
.waveform span:nth-child(3)  { height: 28px; animation-delay: .2s; }
.waveform span:nth-child(4)  { height: 14px; animation-delay: .3s; }
.waveform span:nth-child(5)  { height: 34px; animation-delay: .4s; }
.waveform span:nth-child(6)  { height: 22px; animation-delay: .3s; }
.waveform span:nth-child(7)  { height: 16px; animation-delay: .2s; }
.waveform span:nth-child(8)  { height: 30px; animation-delay: .1s; }
.waveform span:nth-child(9)  { height: 12px; animation-delay: 0s; }
.waveform span:nth-child(10) { height: 24px; animation-delay: .15s; }
.waveform .active { opacity: 1; }

.dispatch-rows { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.d-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--ink3); border: 1px solid var(--edge);
}
.d-row.hl { background: rgba(246,168,0,.07); border-color: rgba(246,168,0,.25); }
.d-ico {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.d-ico.a { background: rgba(246,168,0,.15); }
.d-ico.g { background: rgba(34,197,94,.12); }
.d-ico.r { background: rgba(232,35,42,.12); }
.d-txt strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.d-txt span   { font-size: 11px; color: var(--fog); margin-top: 2px; display: block; }
.dispatch-cta {
  margin: 4px 24px 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); text-decoration: none;
  border-radius: var(--r);
  font-family: var(--font-head); font-size: 20px; font-weight: 600;
  letter-spacing: .04em; padding: 16px; gap: 8px;
  transition: var(--t); box-shadow: 0 8px 28px rgba(246,168,0,.3);
  position: relative; overflow: hidden; white-space: nowrap;
}
.dispatch-cta::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  animation: sheen 2s ease-in-out infinite;
}
.dispatch-cta:hover { background: var(--amber-h); }


/* -------------------------------------------------------------
   3. TRUST STRIP
   ------------------------------------------------------------- */
.trust-outer {
  background: var(--ink2); overflow: hidden; position: relative;
  border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
}
.trust-outer::before, .trust-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.trust-outer::before { left: 0;  background: linear-gradient(90deg,var(--ink2),transparent); }
.trust-outer::after  { right: 0; background: linear-gradient(270deg,var(--ink2),transparent); }
.trust-track {
  display: flex; width: max-content;
  animation: trust-scroll 28s linear infinite; padding: 18px 0;
}
.trust-track:hover { animation-play-state: paused; }
.t-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px; border-right: 1px solid var(--edge);
  flex-shrink: 0; white-space: nowrap;
}
.t-item:last-child { border-right: none; }
.t-icon  { font-size: 20px; }
.t-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--snow); }
.t-text span   { font-size: 11px; color: var(--fog); }


/* -------------------------------------------------------------
   4. HOW IT WORKS
   ------------------------------------------------------------- */
.home-how {
  padding: 100px 80px; background: var(--ink); position: relative; overflow: hidden;
}
.home-how-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 600px; height: 600px;
  background: radial-gradient(ellipse,rgba(246,168,0,.04),transparent 70%);
  pointer-events: none;
}
.home-how-header { text-align: center; margin-bottom: 64px; }
.home-how-header .l-sub { margin: 0 auto; }
.dark-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 10px; display: block;
}
.dark-heading {
  font-family: var(--font-head);
  font-size: clamp(32px,4.5vw,60px);
  font-weight: 700; line-height: .97; letter-spacing: -.01em;
  color: var(--snow); margin-bottom: 14px;
}
.dark-sub { font-size: 16px; color: var(--fog); line-height: 1.65; }

.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--edge);
  border-radius: 18px; overflow: hidden;
}
.step-card {
  background: var(--ink2); padding: 44px 36px;
  position: relative; overflow: hidden; transition: background .3s;
}
.step-card:hover { background: var(--ink3); }
.step-num-bg {
  font-family: var(--font-head); font-size: 100px; font-weight: 700;
  color: rgba(246,168,0,.05); line-height: 1;
  position: absolute; top: -10px; right: 16px;
  pointer-events: none; transition: color .3s;
}
.step-card:hover .step-num-bg { color: rgba(246,168,0,.1); }
.step-icon-box {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(246,168,0,.1); border: 1px solid rgba(246,168,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px; position: relative; z-index: 1;
}
.step-card h3 {
  font-family: var(--font-head); font-size: 22px; font-weight: 600;
  margin-bottom: 10px; position: relative; z-index: 1;
}
.step-card p { font-size: 14px; color: var(--fog); line-height: 1.65; position: relative; z-index: 1; }
.step-underline {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--amber),transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.step-card:hover .step-underline { transform: scaleX(1); }


/* -------------------------------------------------------------
   5. SERVICES PREVIEW
   ------------------------------------------------------------- */
.home-services {
  padding: 100px 80px; background: var(--ink2);
}
.home-services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 24px; flex-wrap: wrap;
}
.home-services-header .view-all {
  color: var(--amber); text-decoration: none;
  font-size: 14px; font-weight: 700;
  border-bottom: 1px solid rgba(246,168,0,.3);
  padding-bottom: 2px; transition: var(--t); white-space: nowrap;
}
.home-services-header .view-all:hover { border-color: var(--amber); }

.services-preview-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  background: var(--edge); border-radius: 16px; overflow: hidden;
}
.sp-card {
  background: var(--ink3); padding: 32px 28px;
  position: relative; overflow: hidden; transition: var(--t); cursor: pointer;
}
.sp-card:hover { background: var(--ink4); }
.sp-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--amber),transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.sp-card:hover::after { transform: scaleX(1); }
.sp-card.featured { background: rgba(246,168,0,.06); border: 1px solid rgba(246,168,0,.15); }
.sp-icon { font-size: 36px; margin-bottom: 16px; display: block; transition: transform .3s; }
.sp-card:hover .sp-icon { transform: scale(1.1) rotate(-5deg); }
.sp-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sp-desc  { font-size: 13px; color: var(--fog); line-height: 1.6; }
.sp-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 30px; height: 30px; border: 1px solid var(--edge);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--fog); transition: var(--t);
}
.sp-card:hover .sp-arrow { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: rotate(45deg); }


/* -------------------------------------------------------------
   6. REVIEWS
   ------------------------------------------------------------- */
.home-reviews { padding: 100px 80px; background: var(--ink); }
.reviews-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 14px; gap: 16px; flex-wrap: wrap;
}
.g-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink2); border: 1px solid var(--edge);
  border-radius: 100px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.g-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#4285F4 0 25%,#EA4335 25% 50%,#FBBC04 50% 75%,#34A853 75%);
}
.stars-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 48px; }
.stars { color: var(--amber); font-size: 18px; letter-spacing: 2px; }
.stars-label { font-size: 13px; color: var(--fog); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.rev-card {
  background: var(--ink2); border: 1px solid var(--edge);
  border-radius: var(--r2); padding: 24px; transition: var(--t);
}
.rev-card:hover { border-color: rgba(246,168,0,.2); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.rev-card.big { grid-column: span 2; }
.rev-stars { color: var(--amber); font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
.rev-quote { font-size: 14px; line-height: 1.7; color: #b8bdd0; margin-bottom: 18px; font-style: italic; }
.rev-quote::before { content: '\201C'; font-size: 28px; color: rgba(246,168,0,.3); line-height: 0; vertical-align: -.4em; margin-right: 3px; }
.rev-author { display: flex; align-items: center; gap: 10px; }
.rev-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,var(--amber),var(--amber-h));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--ink); flex-shrink: 0;
}
.rev-name { font-size: 13px; font-weight: 700; }
.rev-verified { font-size: 10px; color: var(--fog); display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.rev-verified svg { color: #22c55e; }


/* -------------------------------------------------------------
   7. FINAL CTA
   ------------------------------------------------------------- */
.home-cta {
  padding: 120px 80px; background: var(--ink2);
  text-align: center; position: relative; overflow: hidden;
}
.home-cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%,rgba(246,168,0,.07) 0%,transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 80%,rgba(232,35,42,.04) 0%,transparent 55%);
}
.ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(246,168,0,.06); border-radius: 50%;
  animation: expand 4s ease-out infinite;
}
.ring:nth-child(2) { animation-delay: 1.3s; }
.ring:nth-child(3) { animation-delay: 2.6s; }
.home-cta-inner { position: relative; z-index: 1; }
.final-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,35,42,.12); border: 1px solid rgba(232,35,42,.3);
  border-radius: 100px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ff6b6b; margin-bottom: 24px;
}
.home-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(36px,6vw,80px); font-weight: 700;
  line-height: .95; letter-spacing: -.01em; color: var(--snow);
}
.home-cta h2 em { font-style: normal; color: var(--amber); }
.big-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--amber); color: var(--ink); text-decoration: none;
  padding: 24px 56px; border-radius: var(--r2);
  font-family: var(--font-head); font-size: clamp(26px,4vw,44px);
  font-weight: 700; letter-spacing: .04em;
  margin: 40px auto 18px; transition: var(--t);
  box-shadow: 0 20px 70px rgba(246,168,0,.4);
  position: relative; overflow: hidden; white-space: nowrap; max-width: 100%;
}
.big-cta-btn::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  animation: sheen 2s ease-in-out infinite;
}
.big-cta-btn:hover { background: var(--amber-h); transform: scale(1.04); box-shadow: 0 30px 90px rgba(246,168,0,.6); }
.cta-note { font-size: 14px; color: var(--fog); line-height: 1.7; }
.cta-note strong { color: var(--snow); }


/* -------------------------------------------------------------
   8. RESPONSIVE — Homepage
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .home-hero     { grid-template-columns: 1fr; padding: 40px 28px 32px; min-height: auto; gap: 32px; }
  .hero-bg::after { display: none; }
  .hero-stripe   { display: none; }
  .home-how, .home-services, .home-reviews, .home-cta { padding: 70px 28px; }
  .steps-grid    { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid  { grid-template-columns: 1fr 1fr; }
  .rev-card.big  { grid-column: span 1; }
}

@media (max-width: 640px) {
  .home-hero     { padding: 28px 16px 20px; }
  .home-hero h1  { font-size: clamp(36px, 10vw, 50px); }
  .hero-ctas     { flex-direction: column; align-items: stretch; }
  .btn-hero      { width: 100%; font-size: 22px; justify-content: center; }
  .home-how, .home-services, .home-reviews, .home-cta { padding: 56px 16px; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .big-cta-btn   { width: 100%; font-size: 24px; padding: 20px 16px; }
  .dispatch-rows { padding: 14px 16px; }
  .dispatch-cta  { margin: 4px 16px 16px; }
}
