/* ==========================================================================
   SCREEN: Home Page (pages/home.php)
   Light Theme - Championship Gold & Obsidian Precision
   Hero, Trust Strip, About, Process, Booking Section
   Optimized for Desktop & Flawless Mobile Responsiveness
   ========================================================================== */

/* ---- Hero Section (AutoDetail Style with Background Image Under Header) ---- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 12, 19, 0.82) 0%, rgba(11, 12, 19, 0.58) 45%, rgba(11, 12, 19, 0.92) 100%),
    radial-gradient(circle at 75% 35%, rgba(255, 184, 51, 0.22) 0%, transparent 60%),
    url("../../images/hero_bg.jpg") center center / cover no-repeat;
  border-bottom: none;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 184, 51, 0.22) 0%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

.hero-in {
  display: flex;
  align-items: center;
  min-height: min(92vh, 840px);
  padding-top: calc(76px + 36px);
  padding-bottom: 120px;
}

.hero-c {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F8FAFC;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulseGlow 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.35em;
  line-height: 1.12;
  color: #FFFFFF;
}

.hero h1 .h-title-main {
  display: block;
  color: #FFFFFF;
}

.hero h1 .h-title-sub {
  display: block;
}

.hero h1 .h-title-sub.hl-grad {
  background: linear-gradient(135deg, #FFFFFF 40%, #E2E8F0 75%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p,
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 640px;
  color: #E2E8F0;
  line-height: 1.65;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 36px;
}

.hero-btn-main {
  height: 52px;
  padding: 0 28px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0B0C13;
  color: #FFFFFF;
  border: 1.5px solid var(--brand);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.hero-btn-main:hover {
  background: #1E202E;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-btn-sub {
  height: 52px;
  padding: 0 26px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.hero-btn-sub:hover {
  background: #FFFFFF;
  color: var(--black) !important;
  border-color: #FFFFFF;
}

/* ---- Trust & Metrics Strip Overlap ---- */
.strip {
  padding: 0;
  margin-top: -68px;
  position: relative;
  z-index: 10;
}

.strip-box {
  background: #FFFFFF;
  border: 1px solid var(--ln);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.strip-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0B0C13;
  color: #FFFFFF;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 4px 16px;
}

.strip-metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.sm-val {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sm-num {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sm-star {
  color: var(--brand);
  font-size: 1.15rem;
  line-height: 1;
}

.sm-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.strip-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #FFFFFF;
}

.strip-card {
  padding: 30px 24px;
  border-right: 1px solid var(--ln);
  transition: background-color 0.25s, transform 0.25s;
}

.strip-card:last-child {
  border-right: 0;
}

.strip-card:hover {
  background: var(--soft);
}

.strip-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F1117;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.strip-card:hover .ico {
  background: #0B0C13;
  color: #FFFFFF;
  border-color: #0B0C13;
}

.strip-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
  color: var(--tx);
}

.strip-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mu);
}

/* ---- About Section ---- */
.ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ab-img {
  position: relative;
}

.ab-img .im {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ln);
  background: var(--soft);
}

.about-experience {
  position: absolute;
  top: 28px;
  left: -28px;
  background: #0B0C13;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: 0 12px 32px rgba(11, 12, 19, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
}

.about-experience::before {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  border-top: 18px solid #000000;
  border-left: 28px solid transparent;
}

.exp-count {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
}

.exp-txt {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  color: #94A3B8;
}

.ab-txt h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 0.4em;
  color: var(--tx);
  line-height: 1.2;
}

.ab-txt p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--tx-dim);
}

.about-progress-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 26px 0 34px;
  position: relative;
  z-index: 1;
}

.about-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prog-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tx);
}

.prog-title-row b {
  color: #0B0C13;
  font-size: 0.98rem;
  font-weight: 800;
}

.prog-bar {
  width: 100%;
  height: 8px;
  background: var(--soft);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--ln);
}

.prog-fill {
  height: 100%;
  background: #0B0C13;
  border-radius: var(--radius-full);
  transition: width 1.2s ease-in-out;
}

.about-btn-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
  position: relative;
  z-index: 2;
  clear: both;
}

.about-call-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0B0C13;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.about-call-box:hover .about-call-icon {
  transform: scale(1.06);
  background: #0B0C13;
  color: #FFFFFF;
  border-color: #0B0C13;
}

.about-call-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.about-call-txt small {
  font-size: 0.72rem;
  color: var(--mu);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-call-txt a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tx);
  transition: color 0.2s;
}

.about-call-txt a:hover {
  color: #0B0C13;
}

/* ---- Process Section ---- */
.process-sec {
  background: var(--bg2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.step {
  background: #FFFFFF;
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-xs);
}

.step:hover {
  transform: translateY(-4px);
  border-color: #0B0C13;
  box-shadow: 0 12px 28px rgba(11, 12, 19, 0.08);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: #94A3B8;
  transition: color 0.25s ease;
}

.step:hover .step-num {
  color: #0B0C13;
}

.step .ico {
  margin-bottom: 0;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
  color: var(--tx);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--mu);
}

/* ---- Booking Section ---- */
.booking-section {
  background: var(--bg);
}

.bk {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.bk-i h2 {
  margin-bottom: 0.35em;
  color: var(--tx);
}

.bk-i p {
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--tx-dim);
}

.bk-l {
  display: grid;
  gap: 14px;
}

.bk-link, .bk-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  background: #FFFFFF;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.bk-link:hover {
  border-color: var(--brand);
  transform: translateX(4px);
  background: var(--soft);
}

.bk-link small, .bk-info small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--mu);
}

.bk-link b, .bk-info b {
  font-size: 1.02rem;
  color: var(--tx);
}

.bk-wa .ico {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #059669;
}

.bk-form-card {
  background: #FFFFFF;
  border: 1px solid var(--ln);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}

/* ==========================================================================
   Responsive Adaptations for Home Page
   ========================================================================== */

/* Tablet (max-width: 1000px) */
@media (max-width: 1000px) {
  .strip { margin-top: 24px !important; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-card:nth-child(2) { border-right: 0; }
  .strip-card:nth-child(-n+2) { border-bottom: 1px solid var(--ln); }
  .ab, .bk { grid-template-columns: 1fr; gap: 40px; }
  .ab-badge { left: 16px; bottom: 16px; }
  .about-experience { position: static !important; margin-top: 16px; left: auto; top: auto; }
  .about-experience::before { display: none !important; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 820px) {
  .hero-in { min-height: 0; padding-top: 52px; padding-bottom: 110px; }
  .strip { margin-top: 20px !important; }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Hero Section Mobile - Full Viewport Height with AutoDetail Image Overlay */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(11, 12, 19, 0.84) 0%, rgba(11, 12, 19, 0.62) 45%, rgba(11, 12, 19, 0.94) 100%),
      radial-gradient(circle at 75% 30%, rgba(255, 184, 51, 0.20) 0%, transparent 60%),
      url("../../images/hero_bg.jpg") center center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-bg-glow {
    top: 0;
    right: 0;
    width: 280px;
    height: 280px;
    filter: blur(40px);
  }

  .hero-in {
    padding-top: calc(72px + 20px);
    padding-bottom: 92px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  .hero-c {
    width: 100%;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    gap: 8px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F8FAFC;
  }

  .pulse-dot {
    width: 7px;
    height: 7px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.6vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
  }

  .hero h1 .h-title-main {
    color: #FFFFFF;
  }

  .hero h1 .h-title-sub {
    margin-top: 2px;
  }

  .hero p,
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #E2E8F0;
    margin-bottom: 20px;
    max-width: 100%;
  }

  /* Actions: Sleek, minimal, proportional buttons */
  .hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    width: 100%;
  }

  .hero-btn-main {
    flex: 1;
    height: 42px;
    font-size: 0.85rem;
    font-weight: 700;
    justify-content: center;
    border-radius: 8px;
    background: #0B0C13;
    color: #FFFFFF;
    border: 1.5px solid var(--brand);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    padding: 0 12px;
    gap: 6px;
    white-space: nowrap;
  }

  .hero-btn-sub {
    flex: 1;
    height: 42px;
    font-size: 0.85rem;
    font-weight: 600;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    padding: 0 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
  }

  /* Trust & Proof Strip: Mobile */
  .strip {
    margin-top: 16px;
    padding: 0;
  }

  .strip-box {
    background: #FFFFFF;
    border: 1px solid var(--ln);
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }

  .strip-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
    padding: 16px 10px;
    background: #0B0C13;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .strip-metric {
    padding: 4px 8px;
  }

  .strip-metric:nth-child(1)::after,
  .strip-metric:nth-child(3)::after {
    display: block;
    right: 0;
  }

  .strip-metric:nth-child(2)::after,
  .strip-metric:nth-child(4)::after {
    display: none;
  }

  .sm-num {
    font-size: 1.35rem;
  }

  .sm-star {
    font-size: 0.95rem;
  }

  .sm-lbl {
    font-size: 0.65rem;
  }

  .strip-in {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
  }

  .strip-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--ln);
  }

  .strip-card:last-child {
    border-bottom: 0;
  }

  .strip-card .ico {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #0F1117;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .strip-card-body {
    flex: 1;
    min-width: 0;
  }

  .strip-card h3 {
    font-size: 0.94rem;
    font-weight: 800;
    margin: 0 0 2px;
    line-height: 1.25;
    color: var(--tx);
  }

  .strip-card p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--mu);
    margin: 0;
  }

  /* About Section */
  .ab {
    gap: 24px;
  }

  .ab-img .im {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
  }

  .about-experience {
    position: static;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #0B0C13;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .about-experience::before {
    display: none;
  }

  .exp-count {
    font-size: 1.85rem;
  }

  .exp-txt {
    font-size: 0.72rem;
    margin-top: 0;
  }

  .ab-txt h2 {
    font-size: 1.45rem;
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .ab-txt p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .about-progress-box {
    margin: 16px 0 20px;
    gap: 12px;
  }

  .prog-title-row {
    font-size: 0.84rem;
  }

  .about-btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .about-btn-row .btn {
    width: 100%;
    height: 38px;
    font-size: 0.82rem;
    padding: 0 16px;
    border-radius: 8px;
  }

  .about-call-box {
    justify-content: center;
    padding: 10px 14px;
    background: var(--soft);
    border: 1px solid var(--ln);
    border-radius: var(--radius-sm);
  }

  /* 4-Step Process */
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    padding: 16px 16px;
    border-radius: var(--radius-sm);
  }

  .step-head {
    margin-bottom: 8px;
  }

  .step-num {
    font-size: 1.25rem;
  }

  .step .ico {
    width: 36px;
    height: 36px;
  }

  .step h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
    font-weight: 800;
  }

  .step p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* Booking Section */
  .bk {
    gap: 28px;
  }

  .bk-i h2 {
    font-size: 1.42rem;
    line-height: 1.22;
    margin-bottom: 8px;
  }

  .bk-i p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .bk-l {
    gap: 10px;
  }

  .bk-link, .bk-info {
    padding: 12px 14px;
    gap: 12px;
    border-radius: var(--radius-sm);
  }

  .bk-link .ico, .bk-info .ico {
    width: 38px;
    height: 38px;
  }

  .bk-link b, .bk-info b {
    font-size: 0.92rem;
  }

  .bk-link small, .bk-info small {
    font-size: 0.68rem;
  }

  .bk-form-card {
    padding: 20px 16px;
    border-radius: var(--radius);
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .hero-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero-stats {
    gap: 8px;
    padding: 10px;
  }
  .h-stat {
    padding: 8px 8px;
  }
  .h-num {
    font-size: 1.15rem;
  }
  .h-lbl {
    font-size: 0.62rem;
  }
}

