/* =============================================
   PhonesOnCredit.co.ke — Main Stylesheet
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a56db;
  --primary-dark: #1341b0;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #16a34a;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text: #374151;
  --muted: #6b7280;
  --light: #f8fafc;
  --border: #e5e7eb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --font: 'Inter', sans-serif;
  --transition: all 0.25s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font); color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--dark);
  font-size: 0.8rem;
  color: #94a3b8;
}
.top-bar a { color: #94a3b8; transition: var(--transition); }
.top-bar a:hover { color: #fff; }
.top-bar-item { display: flex; align-items: center; }
.whatsapp-btn-top {
  background: var(--whatsapp);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: var(--transition);
}
.whatsapp-btn-top:hover { background: var(--whatsapp-dark); }

/* ---------- Navbar ---------- */
#mainNav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1rem; color: var(--dark); }
.brand-sub { font-size: 0.7rem; color: var(--primary); font-weight: 600; }

.nav-link {
  font-weight: 500; color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.92rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: #eff6ff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff !important; }

.btn-apply {
  background: var(--primary);
  color: #fff !important;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-apply:hover { background: var(--primary-dark); color: #fff !important; }

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-overlay {
  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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.min-vh-hero { min-height: 540px; padding: 80px 0 40px; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.hero-accent { color: var(--accent); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 500px; }
.perk-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Hero CTA Buttons */
.btn-primary-cta {
  background: var(--primary);
  color: #fff !important;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 12px 28px;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-primary-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.4);
}
.btn-whatsapp-cta {
  background: var(--whatsapp);
  color: #fff !important;
  border: 2px solid var(--whatsapp);
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 12px 28px;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-whatsapp-cta:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* Hero Phone Float Cards */
.hero-phones-wrap { position: relative; height: 480px; }
.hero-phone-float { position: absolute; }
.hero-phone-1 { top: 60px; left: 0; }
.hero-phone-2 { top: 20px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-phone-3 { top: 60px; right: 0; }

.phone-card-hero {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px 20px;
  min-width: 180px;
  text-align: center;
  transition: var(--transition);
}
.phone-card-hero.featured {
  min-width: 240px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.phone-card-hero:hover { transform: translateY(-6px); }

.phone-img-placeholder {
  width: 80px; height: 105px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 2.4rem; color: rgba(255,255,255,0.75);
}
.phone-img-placeholder.lg { width: 130px; height: 170px; font-size: 3.8rem; }

.phone-info-hero { display: flex; flex-direction: column; gap: 4px; }
.phone-name-hero { font-size: 0.95rem; color: rgba(255,255,255,0.95); font-weight: 700; line-height: 1.3; }
.phone-price-hero { font-size: 1.05rem; font-weight: 800; }

/* Showroom Bar */
.showroom-bar {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Section Shared ---------- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.section-subtitle { color: var(--muted); font-size: 1rem; margin: 4px 0 0; }
.section-label {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-outline-view {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-outline-view:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ---------- Phone Cards ---------- */
.phone-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #dbeafe;
}
.phone-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.badge-hot-deal { background: #fee2e2; color: #dc2626; }
.badge-popular  { background: #fef9c3; color: #b45309; }
.badge-new      { background: #dcfce7; color: #16a34a; }
.badge-premium  { background: #ede9fe; color: #7c3aed; }
.badge-best-value { background: #dbeafe; color: #1d4ed8; }

.phone-img-wrap {
  height: 200px;
  background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.phone-img {
  max-height: 170px;
  object-fit: contain;
  transition: var(--transition);
}
.phone-card:hover .phone-img { transform: scale(1.05); }

.phone-img-fallback {
  width: 80px; height: 100px;
  background: #e2e8f0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #94a3b8;
}
.phone-img-fallback.lg {
  width: 120px; height: 160px;
  font-size: 3.5rem;
  background: #f1f5f9;
}

.phone-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.phone-brand { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.phone-card-name { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 4px 0 0; }

/* Price Row */
.phone-pricing {
  margin-top: 12px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
}
.price-row { display: flex; align-items: center; justify-content: space-between; }
.price-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.price-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.price-value { font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-top: 2px; }
.price-value.highlight { color: var(--primary); }
.price-divider { width: 1px; height: 30px; background: var(--border); margin: 0 4px; }

/* Card Buttons */
.btn-outline-details {
  border: 1.5px solid var(--border);
  color: var(--dark) !important;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}
.btn-outline-details:hover { border-color: var(--primary); color: var(--primary) !important; background: #eff6ff; }

.btn-get-phone {
  background: var(--primary);
  color: #fff !important;
  border: 1.5px solid var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}
.btn-get-phone:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ---------- How It Works ---------- */
.section-how { background: #f8fafc; }
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-card-center { border-color: var(--primary); }
.step-number {
  position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}
.step-card-center .step-number { background: var(--accent); }
.step-icon-wrap {
  width: 64px; height: 64px;
  background: #eff6ff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin: 0 auto 16px;
}
.step-icon-wrap.accent { background: #fef3c7; color: var(--accent-dark); }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.step-desc { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Why Choose Us ---------- */
.section-why { background: #fff; }
.why-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-card-featured {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.why-icon {
  width: 52px; height: 52px;
  background: #dbeafe;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.why-icon.accent { background: #fef3c7; color: var(--accent-dark); }
.why-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0 0 6px; }
.why-desc { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ---------- Testimonials ---------- */
.section-testimonials { background: #f8fafc; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-text {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.author-meta { font-size: 0.75rem; color: var(--muted); }

/* ---------- CTA Section ---------- */
.section-cta { background: #fff; }
.cta-box {
  background: linear-gradient(135deg, #0f172a, #1a56db);
  border-radius: 20px;
  padding: 60px 40px;
  color: #fff;
}
.cta-icons { font-size: 2rem; color: rgba(255,255,255,0.6); }
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin: 0 0 8px; }
.cta-subtitle { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 40px 0 32px;
}
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-header-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 6px; }
.page-header-subtitle { color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- Filter Sidebar ---------- */
.filter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-heading { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.filter-group { margin-bottom: 18px; }
.filter-label { font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; display: block; }
.brand-list .form-check { margin-bottom: 6px; }
.brand-list .form-check-label { font-size: 0.88rem; }

.filter-wa-cta {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

/* ---------- Phone Detail ---------- */
.phone-detail-img-wrap {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.phone-detail-img { max-height: 340px; object-fit: contain; }
.phone-detail-name { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--dark); margin: 0; }

.phone-detail-price-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.price-box-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex; flex-direction: column;
}
.price-box-item.featured { background: #eff6ff; border-color: #bfdbfe; }
.pbi-label { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.pbi-value { font-size: 1rem; font-weight: 800; color: var(--dark); margin-top: 4px; }
.pbi-value.accent { color: var(--primary); }

.phone-detail-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.phone-specs { background: #f8fafc; border-radius: var(--radius); padding: 16px; }
.specs-heading { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.spec-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex; flex-direction: column;
}
.spec-key { font-size: 0.7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.spec-val { font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-top: 2px; }

.trust-badges {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-item span { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

/* ---------- Apply Form ---------- */
.apply-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.apply-form-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); }

.plan-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.plan-btn {
  border: 2px solid var(--border) !important;
  color: var(--dark) !important;
  background: #f8fafc !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 0.88rem !important;
  flex: 1;
  min-width: 90px;
  transition: var(--transition) !important;
}
.btn-check:checked + .plan-btn {
  border-color: var(--primary) !important;
  background: #eff6ff !important;
  color: var(--primary) !important;
}

.apply-info-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.apply-info-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.apply-checklist { list-style: none; padding: 0; margin: 0; }
.apply-checklist li { padding: 6px 0; font-size: 0.88rem; color: var(--text); }
.apply-steps { padding-left: 20px; margin: 0; }
.apply-steps li { padding: 5px 0; font-size: 0.88rem; color: var(--text); }
.apply-wa-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 24px;
}

/* ---------- Success Page ---------- */
.success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: var(--shadow);
}
.success-icon { font-size: 5rem; line-height: 1; }
.success-steps { background: #f8fafc; border-radius: 12px; padding: 20px; }
.success-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.success-step:last-child { border-bottom: none; }
.ss-num {
  width: 28px; height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ss-text { font-size: 0.9rem; color: var(--text); padding-top: 4px; }

/* ---------- About Page ---------- */
.stat-pill {
  display: flex; flex-direction: column;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
}
.stat-pill strong { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.stat-pill span { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.about-img-wrap {
  background: #f1f5f9;
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #94a3b8;
}
.about-img-placeholder i { font-size: 5rem; }
.about-img-placeholder span { font-size: 0.9rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 42px; height: 42px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-icon.whatsapp { background: #f0fdf4; color: var(--whatsapp); }
.ci-content { display: flex; flex-direction: column; }
.ci-content strong { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.ci-content a, .ci-content span { font-size: 0.88rem; color: var(--muted); }
.ci-content a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.footer { background: var(--dark2); }
.footer-desc { color: #94a3b8; font-size: 0.88rem; line-height: 1.6; max-width: 320px; }
.footer-heading { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: #94a3b8; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #94a3b8; }
.footer-contact li i { margin-top: 2px; color: var(--primary); flex-shrink: 0; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 0; }
.footer-copy { font-size: 0.82rem; color: #64748b; }
.footer-badge { font-size: 0.75rem; color: #64748b; }
.footer-badge i { color: var(--primary); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
  color: #fff;
}
.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---------- Pagination ---------- */
.pagination-custom { gap: 4px; }
.pagination-custom .page-link {
  border-radius: 8px !important;
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  transition: var(--transition);
}
.pagination-custom .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination-custom .page-link:hover { background: #eff6ff; border-color: var(--primary); color: var(--primary); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 10px 14px;
  transition: var(--transition);
  color: var(--dark);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.input-group-text {
  background: #f8fafc;
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-phones-wrap { height: 360px; }
  .min-vh-hero { min-height: auto; padding: 60px 0 30px; }
}
@media (max-width: 767.98px) {
  .cta-box { padding: 40px 24px; }
  .apply-form-card { padding: 24px 18px; }
  .success-card { padding: 32px 20px; }
  .plan-selector { flex-direction: row; }
  .hero-phones-wrap { display: none !important; }
}
@media (max-width: 575.98px) {
  .section-featured, .section-how, .section-why, .section-testimonials { padding: 40px 0; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
}

/* ---------- Scroll Animations ---------- */
.animate-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 4-column featured grid — tighter card for smaller col width */
.section-featured .phone-img-wrap { height: 170px; }
.section-featured .phone-card-body { padding: 12px; }
.section-featured .phone-card-name { font-size: .9rem; }
@media (max-width: 575.98px) {
  .section-featured .phone-img-wrap { height: 140px; }
  .section-featured .price-label { font-size: .62rem; }
  .section-featured .price-value { font-size: .75rem; }
}

/* ---------- mt-6 utility ---------- */
.mt-6 { margin-top: 4rem !important; }

/* ---------- Hero Background Media ---------- */
.hero-bg-video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
}
.hero-bg-image {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Ensure overlay sits above bg media */
.hero-section { overflow: hidden; }
.hero-bg-overlay { z-index: 1; }
.hero-section .container { z-index: 2; }
.hero-section .showroom-bar { position: relative; z-index: 2; }
