/* ============================================================
   landing-home.css — Homepage-Specific Styles (Batch 04)
   Appended to or loaded after landing.css
   Lawu Vista | lawuvista.com
   ============================================================ */

/* ─── TRUSTED SECTION (inside hero): reset landing.css overrides ─── */
.hero .trusted-section,
.hero-content .trusted-section {
  background: transparent;
  border-bottom: none;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 0;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── HERO: Avatar Stack ─── */
.avatar-stack {
  display: flex;
  flex-direction: row-reverse; /* reverse so first avatar appears leftmost */
}
.avatar-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--white);
  margin-left: -8px;
  flex-shrink: 0;
}
.avatar-bubble:last-child { margin-left: 0; }

/* ─── HERO: Trust Mini Badges ─── */
.hero-trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
.trust-badge-item {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

/* ─── TRUSTED BY: Text logos fallback ─── */
.trusted-logo-text {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: .5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition);
}
.trusted-logo-item:hover .trusted-logo-text,
.trusted-logo-text:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── PACKAGES GRID: Homepage override (3 equal cols) ─── */
@media (min-width: 768px) {
  .packages-section .packages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 767px) {
  .packages-section .packages-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── FAQ GRID: 2-column on desktop ─── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 768px) {
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── BENEFIT GRID: 5-column on large screens ─── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px)  { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(5, 1fr); } }

/* ─── TESTIMONIAL: View all link ─── */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
}
.view-all-link:hover { gap: .75rem; }
.view-all-link svg { width: 18px; height: 18px; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #5b21b6 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .cta-inner { grid-template-columns: 1.2fr 1fr; }
}
.cta-left h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: .875rem;
}
.cta-left p { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.75; }
.cta-right {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(16px);
  text-align: center;
}
.cta-right-icon {
  width: 64px;
  height: 64px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.cta-right h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .375rem; }
.cta-hours { color: rgba(255,255,255,.65); font-size: .875rem; margin-bottom: 1.25rem; }
.cta-phone {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--wa-green);
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
}
.cta-right .btn { width: 100%; justify-content: center; }


/* ================================================================
   MOBILE FIXES — Batch 05 Kroscek
   ================================================================ */

/* ─── 1. Hero: prevent grid cell from overflowing viewport ─── */
.hero-inner > * {
  min-width: 0;
}

/* ─── 2. Hero CTA Buttons: full-width on mobile, no overflow ─── */
@media (max-width: 639px) {
  .hero-cta-row {
    flex-direction: column;
    gap: .75rem;
  }
  .hero-cta-row .btn {
    width: 100%;
    min-width: unset;
    white-space: normal;
    text-align: center;
    flex-direction: column;
    gap: .2rem;
  }
  .hero-cta-row .btn small {
    display: block;
    line-height: 1.3;
  }
}

/* ─── 3. Avatar Stack: fix order (1→2→3→4 kiri ke kanan) ─── */
.avatar-stack {
  flex-direction: row;
}
.avatar-bubble {
  margin-left: 0;
  margin-right: -8px;
}
.avatar-bubble:last-child {
  margin-right: 0;
}
/* z-index: item pertama di atas */
.avatar-bubble:nth-child(1) { z-index: 4; position: relative; }
.avatar-bubble:nth-child(2) { z-index: 3; position: relative; }
.avatar-bubble:nth-child(3) { z-index: 2; position: relative; }
.avatar-bubble:nth-child(4) { z-index: 1; position: relative; }

/* ─── 4. Trusted Logos: rapi di mobile ─── */
@media (max-width: 639px) {
  .trusted-logos {
    gap: .5rem .75rem;
  }
  .trusted-stat-number {
    font-size: 1.375rem;
  }
  .trusted-stats-row {
    gap: 1.25rem;
  }
}

/* ─── 5. Hero rating row: wrap cleanly di mobile ─── */
@media (max-width: 480px) {
  .hero-social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .hero-rating-text {
    font-size: .78rem;
  }
}

/* ─── 6. Hero trust mini: clamp overflow ─── */
.hero-trust-mini {
  max-width: 100%;
  overflow: hidden;
}
