/* ============================================
   LANDING PAGE - Proyecto Cobranza
   ============================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1b263b;
}

/* ---------- HERO ---------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 193, 7, 0.18), transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(13, 110, 253, 0.20), transparent 45%),
    linear-gradient(135deg, #0d1b2a 0%, #1b263b 55%, #2d4059 100%);
  overflow: hidden;
}

/* Patrón sutil de puntos */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
}

/* Navegación transparente */
.hero-nav {
  background: transparent !important;
  padding: 1.25rem 0;
  position: relative;
  z-index: 10;
}

.hero-nav .navbar-brand {
  padding: 0;
}

.hero-nav .logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.hero-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.hero-nav .nav-link:hover,
.hero-nav .nav-link.active {
  color: #ffc107 !important;
}

.hero-nav .btn-outline-light {
  border-width: 1.5px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: all 0.25s;
}

.hero-nav .btn-outline-light:hover {
  background: #ffc107;
  border-color: #ffc107;
  color: #0d1b2a;
}

/* Contenido del hero */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem 5rem;
  position: relative;
  z-index: 5;
  animation: fadeUp 1s ease;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 900px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  color: rgba(255,255,255,0.85);
}

.hero-content .badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #ffc107;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content .btn-lg {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
}

.hero-content .btn-light:hover {
  background: #ffc107;
  color: #0d1b2a;
}

/* Flecha scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.75rem;
  animation: bounce 2s infinite;
  z-index: 5;
}

/* ---------- TÍTULOS DE SECCIÓN ---------- */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #ff8f00);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-eyebrow {
  display: inline-block;
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ---------- NOSOTROS ---------- */
#nosotros {
  padding: 6rem 0;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e9ecef;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.08);
  border-color: #ffc107;
}

.stat-card .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0d6efd;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- BENEFICIOS ---------- */
#beneficios {
  padding: 6rem 0;
  background: #f8f9fa;
  position: relative;
}

#beneficios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #ffc107, #ff8f00);
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.10);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
}

.feature-card:nth-child(2n) .feature-icon {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.35);
  color: #0d1b2a;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #6c757d;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- TESTIMONIOS ---------- */
#testimonios {
  padding: 6rem 0;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid #ffc107;
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.06);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.10);
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: #ffc107;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-card .testimonial-text {
  color: #495057;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.testimonial-avatar.gold {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  color: #0d1b2a;
}

.testimonial-avatar.green {
  background: linear-gradient(135deg, #20c997, #0f9d6b);
}

.testimonial-author .name {
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-author .role {
  color: #6c757d;
  font-size: 0.85rem;
  margin: 0;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* ---------- CTA FINAL (opcional) ---------- */
.cta-band {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,193,7,0.15), transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0a1420;
  color: #adb5bd;
  padding: 4rem 0 0;
}

.site-footer .footer-logo {
  height: 44px;
  margin-bottom: 1rem;
}

.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #ffc107;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.65rem;
}

.site-footer .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s;
}

.site-footer .social-links a:hover {
  background: #ffc107;
  color: #0d1b2a;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #6c757d;
}

.footer-bottom a {
  color: #adb5bd;
  margin-left: 1rem;
}

/* ---------- ANIMACIONES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .hero-nav .navbar-collapse {
    background: rgba(13, 27, 42, 0.98);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .hero-nav .nav-link { padding: 0.6rem 0.75rem !important; }
  .hero-nav .btn-outline-light { margin-top: 0.75rem; width: 100%; }
  .hero-content { padding-top: 2rem; }
}