/* ==========================================================
   Cabsia — Custom Stylesheet
   Tokens: Primary #0F172A · Secondary #2563EB · Accent #F59E0B
   Background #F8FAFC · Card #FFFFFF · Text #475569 · Border #E2E8F0
   ========================================================== */

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: #0F172A; }

::selection { background: #2563EB; color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F8FAFC; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2563EB; }

/* ---------- Nav ---------- */
.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.nav-link.scrolled { color: #0F172A; text-shadow: none; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: #F59E0B;
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-nav-link {
  padding: 12px 8px;
  font-weight: 600;
  color: #0F172A;
  border-bottom: 1px solid #E2E8F0;
}

.header-phone { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: color 0.25s ease; }
.header-phone.scrolled { color: #0F172A; text-shadow: none; }
.header-burger { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.header-burger.scrolled { color: #0F172A; text-shadow: none; }

/* ---------- Buttons ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F59E0B;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(245,158,11,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(245,158,11,0.45);
  background: #fbb130;
}
.btn-cta:active { transform: translateY(0) scale(0.98); }
.btn-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563EB;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  transition: all 0.25s ease;
}
.btn-primary-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,0.4); }

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(160deg, #0F172A 0%, #132244 45%, #1B3A75 100%);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(37,99,235,0.35), transparent 45%),
                     radial-gradient(circle at 85% 75%, rgba(245,158,11,0.18), transparent 40%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 70%);
  pointer-events: none;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-badges .badge-item i { color: #F59E0B; }

/* ---------- Glassmorphism Quote Form ---------- */
.quote-form-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.form-input {
  width: 100%;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}
.form-input.glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.form-input.glass::placeholder { color: rgba(255,255,255,0.55); }
.form-input.glass:focus { border-color: #F59E0B; background: rgba(255,255,255,0.14); }
.form-input.glass option { color: #0F172A; }

.form-input.card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
}
.form-input.card::placeholder { color: #94A3B8; }
.form-input.card:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

.form-input-error { border-color: #EF4444 !important; }
.form-error { color: #FCA5A5; font-size: 0.75rem; margin-top: 4px; }
.card .form-error, .form-input.card ~ .form-error { color: #DC2626; }

.form-success {
  margin-top: 12px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #86EFAC;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 8px;
}
.form-error-box {
  margin-top: 12px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #FCA5A5;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Cards ---------- */
.card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hover-lift { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.hover-lift:hover { box-shadow: 0 20px 45px rgba(15,23,42,0.1); border-color: #2563EB33; }

.icon-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563EB, #1B3A75);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
}

/* ---------- Route line (signature motif, echoes logo) ---------- */
.route-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.route-pin {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
}

/* ---------- Floating buttons ---------- */
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.float-btn:hover { transform: scale(1.08); }

/* ---------- Footer ---------- */
.footer-link { transition: color 0.2s ease; }
.footer-link:hover { color: #F59E0B; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.25s ease;
}
.social-icon:hover { background: #F59E0B; color: #0F172A; transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #E2E8F0; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  color: #0F172A;
}
.faq-icon { transition: transform 0.3s ease; color: #2563EB; }
.faq-icon.rotate { transform: rotate(45deg); }

/* ---------- Section eyebrow labels ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 12px;
}

/* ---------- Testimonial cards ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  height: 100%;
}

/* ---------- Utility ---------- */
.gradient-text {
  background: linear-gradient(90deg, #F59E0B, #FCD34D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 767px) {
  .hero-section { padding-top: 130px; padding-bottom: 60px; }
}
