/* ============================================================================
   POLISH LAYER — Acabado profesional del sitio público
   Cargado después de style.css y responsive-improvements.css.
   ============================================================================ */

:root {
  --brand-primary: #1e40af;
  --brand-primary-dark: #1e3a8a;
  --brand-accent: #fbbf24;
  --brand-accent-dark: #f59e0b;
  --brand-success: #10b981;
  --brand-text: #0f172a;
  --brand-text-soft: #475569;
  --brand-surface: #ffffff;
  --brand-surface-soft: #f8fafc;
  --brand-border: rgba(15, 23, 42, 0.08);
  --brand-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --brand-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --brand-shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --brand-radius: 18px;
  --brand-radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--brand-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

/* ============================================================================
   HEADER — glass efecto y contraste
   ============================================================================ */
.header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
}

.nav-link {
  font-weight: 500;
  color: var(--brand-text-soft);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary) !important;
}

.nav-link.active::after {
  background: var(--brand-primary) !important;
  height: 3px;
  border-radius: 3px;
}

.nav-phone {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

.nav-phone i {
  color: #10b981;
}

/* ============================================================================
   HERO SLIDER — imagen de fondo con parallax + overlay gradiente
   ============================================================================ */
.hero-slider {
  position: relative;
}

.hero-slider .slide:nth-child(1) .slide-bg {
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(30, 64, 175, 0.78) 50%, rgba(37, 99, 235, 0.7) 100%),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
  background-attachment: scroll, fixed !important;
}

.hero-slider .slide:nth-child(2) .slide-bg {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.78) 50%, rgba(51, 65, 85, 0.7) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
  background-attachment: scroll, fixed !important;
}

.hero-slider .slide:nth-child(3) .slide-bg {
  background:
    linear-gradient(135deg, rgba(19, 78, 74, 0.85) 0%, rgba(15, 118, 110, 0.78) 50%, rgba(17, 94, 89, 0.7) 100%),
    url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
  background-attachment: scroll, fixed !important;
}

.hero-slider .slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1' d='M30 0v60M0 30h60'/%3E%3C/svg%3E");
  z-index: 1;
}

.hero-slider .slide-bg::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%) !important;
}

/* Móvil: no usar background-attachment: fixed (rompe en iOS y es costoso) */
@media (max-width: 1024px) {
  .hero-slider .slide-bg {
    background-attachment: scroll, scroll !important;
  }
}

.slide-content {
  padding: 5rem 2rem !important;
}

.slide-text .hero-badge {
  background: rgba(251, 191, 36, 0.18) !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  color: #fde68a !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.75rem !important;
}

.slide-text .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem !important;
}

.slide-text .hero-subtitle {
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Stats dentro del hero — tarjetas con glass efecto */
.slide-text .hero-stats {
  gap: 1.25rem !important;
  margin: 2.5rem 0 !important;
}

.slide-text .stat-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25rem 1rem;
  border-radius: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.slide-text .stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.slide-text .stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800 !important;
}

.slide-text .stat-label {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Botones del hero */
.btn--primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 0.95rem 1.75rem !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
}

/* Flechas y dots del slider */
.slider-arrow {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  width: 54px !important;
  height: 54px !important;
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background: #fbbf24 !important;
  border-color: #fbbf24 !important;
  color: #1e3a8a !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.slider-dots .dot.active {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%) !important;
  width: 44px !important;
}

/* ============================================================================
   SECTIONS — fondos alternos y dividers suaves
   ============================================================================ */
section.services,
section.benefits,
section.faq,
section.testimonials,
section.process,
section#catalogo {
  padding: 5.5rem 0 !important;
  position: relative;
}

section.services {
  background: #ffffff;
}

/* Sección catálogo con textura sutil */
section#catalogo {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.97) 0%, rgba(241, 245, 249, 0.97) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(30,64,175,0.06)' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='1'/%3E%3Ccircle cx='0' cy='0' r='1'/%3E%3Ccircle cx='80' cy='0' r='1'/%3E%3Ccircle cx='0' cy='80' r='1'/%3E%3Ccircle cx='80' cy='80' r='1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
}

/* Proceso con fondo parallax sutil */
section.process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.97) 100%),
    url('https://images.unsplash.com/photo-1542362567-b07e54358753?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
  position: relative;
}

section.benefits {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Testimonios con imagen de fondo parallax */
section.testimonials {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 100%),
    url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
  color: #ffffff;
  position: relative;
}

section.testimonials .section-title,
section.testimonials .section-subtitle {
  color: #ffffff !important;
}

section.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
}

section.testimonials .section-badge {
  background: rgba(251, 191, 36, 0.15) !important;
  color: #fde68a !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
}

section.faq {
  background: #ffffff;
}

/* Section headers */
.section-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--brand-primary);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.15);
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  margin-bottom: 1rem !important;
  color: var(--brand-text) !important;
}

.section-subtitle {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: var(--brand-text-soft) !important;
  max-width: 640px;
  margin: 0 auto !important;
}

/* ============================================================================
   SERVICIOS — cards con hover lift y colores alternos
   ============================================================================ */
.services-grid {
  gap: 1.5rem !important;
  margin-top: 3rem;
}

.service-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--brand-radius) !important;
  padding: 2rem !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  box-shadow: var(--brand-shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--brand-shadow-lg) !important;
  border-color: rgba(30, 64, 175, 0.2) !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.destacado {
  border: 2px solid var(--brand-primary) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(30, 64, 175, 0.02) 100%) !important;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15) !important;
}

.service-card.destacado::before {
  opacity: 1;
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.service-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
  color: var(--brand-primary) !important;
  font-size: 1.5rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem !important;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Alternar colores de íconos */
.services-grid .service-card:nth-child(2n) .service-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.05) 100%) !important;
  color: #059669 !important;
}

.services-grid .service-card:nth-child(3n) .service-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(249, 115, 22, 0.05) 100%) !important;
  color: #d97706 !important;
}

.services-grid .service-card:nth-child(4n) .service-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(124, 58, 237, 0.05) 100%) !important;
  color: #7c3aed !important;
}

.service-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  color: var(--brand-text);
}

.service-description {
  color: var(--brand-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem !important;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.service-features li {
  padding: 0.35rem 0;
  color: var(--brand-text-soft);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '\2713';
  color: var(--brand-success);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card .btn {
  width: 100%;
  justify-content: center;
  background: var(--brand-surface-soft) !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--brand-border) !important;
  font-weight: 600;
  box-shadow: none !important;
}

.service-card .btn:hover {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  transform: none;
}

/* ============================================================================
   CATÁLOGO / VEHÍCULOS — cards más premium
   ============================================================================ */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2.5rem 0;
}

.catalog-filters select,
.catalog-filters .filter-btn {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  color: var(--brand-text);
  transition: all 0.2s ease;
  box-shadow: var(--brand-shadow-sm);
}

.catalog-filters select:hover,
.catalog-filters .filter-btn:hover {
  border-color: var(--brand-primary);
}

.vehicles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 1.75rem !important;
  margin-top: 1rem;
}

.vehicle-card {
  background: #ffffff;
  border-radius: var(--brand-radius) !important;
  overflow: hidden;
  box-shadow: var(--brand-shadow-sm) !important;
  border: 1px solid var(--brand-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow-lg) !important;
}

.vehicle-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f1f5f9;
}

.vehicle-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.45s ease;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.05);
}

.vehicle-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.vehicle-info {
  padding: 1.35rem 1.25rem 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.vehicle-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--brand-text) !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.vehicle-details {
  font-size: 0.82rem !important;
  color: var(--brand-text-soft) !important;
  margin: 0 !important;
  text-transform: capitalize;
}

.vehicle-price {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--brand-primary) !important;
  margin-top: 0.35rem !important;
  letter-spacing: -0.02em;
}

.vehicle-financing {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--brand-text-soft);
  padding: 0.55rem 0.8rem;
  background: var(--brand-surface-soft);
  border-radius: 10px;
  margin-top: 0.25rem;
}

.vehicle-financing strong {
  color: var(--brand-success);
  font-weight: 700;
  font-size: 0.95rem;
}

.vehicle-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.vehicle-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
}

.vehicle-actions .btn--primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #2563eb 100%) !important;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.vehicle-actions .btn--primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, var(--brand-primary) 100%) !important;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.vehicle-actions .btn--outline {
  background: #ffffff !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--brand-border) !important;
}

.vehicle-actions .btn--outline:hover {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
}

.catalog-cta {
  text-align: center;
  margin-top: 3rem;
}

.catalog-cta .btn {
  padding: 1rem 2.5rem !important;
}

/* ============================================================================
   PROCESO — timeline refinada
   ============================================================================ */
.process-timeline {
  margin-top: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.25), transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
}

.step-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.25rem;
  background: #ffffff !important;
  border: 2px solid rgba(30, 64, 175, 0.15);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.1);
  transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.08);
  border-color: var(--brand-primary);
}

.step-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--brand-text) !important;
  margin-bottom: 0.5rem !important;
}

.step-description {
  font-size: 0.88rem !important;
  color: var(--brand-text-soft) !important;
  line-height: 1.6 !important;
}

.step-time {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05));
  color: #c2410c;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================================
   BENEFICIOS — iconos con gradiente alterno
   ============================================================================ */
.benefits-grid {
  gap: 1.5rem !important;
  margin-top: 3rem;
}

.benefit-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--brand-radius) !important;
  padding: 2rem 1.5rem !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--brand-shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--brand-shadow-md) !important;
  border-color: rgba(30, 64, 175, 0.2) !important;
}

.benefit-icon {
  width: 70px !important;
  height: 70px !important;
  margin: 0 auto 1.25rem !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6) !important;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.25);
}

.benefits-grid .benefit-card:nth-child(2) .benefit-icon {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
}

.benefits-grid .benefit-card:nth-child(3) .benefit-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
}

.benefits-grid .benefit-card:nth-child(4) .benefit-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25);
}

.benefits-grid .benefit-card:nth-child(5) .benefit-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.25);
}

.benefits-grid .benefit-card:nth-child(6) .benefit-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.25);
}

.benefit-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--brand-text) !important;
  margin-bottom: 0.5rem !important;
}

.benefit-description {
  color: var(--brand-text-soft) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

/* ============================================================================
   TESTIMONIOS — fondo oscuro con tarjetas blancas
   ============================================================================ */
.testimonials-slider {
  gap: 1.5rem !important;
  margin-top: 3rem;
}

.testimonial-card {
  background: #ffffff !important;
  color: var(--brand-text) !important;
  border-radius: var(--brand-radius) !important;
  padding: 2rem !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--brand-accent);
  font-weight: 700;
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.15rem;
}

.testimonial-text {
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  color: var(--brand-text) !important;
  font-style: italic;
  margin-bottom: 1.25rem !important;
}

.testimonial-vehicle {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 999px;
  display: inline-block;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-border);
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  color: var(--brand-text);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--brand-text-soft);
  margin-top: 0.15rem;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.testimonial-btn:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #0f172a;
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonials-dots .dot.active {
  background: var(--brand-accent);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================================
   FAQ — refinamientos no destructivos
   faq.php y home.php ya traen su propio CSS de acordeón (max-height toggle + chevron)
   Aquí solo pulimos márgenes, bordes y hover sin romper el toggle nativo.
   ============================================================================ */
.faq-list,
.faq-container {
  max-width: 860px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(30, 64, 175, 0.25);
}

.faq-item.active {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.1);
}

/* NO tocamos padding/display/content en .faq-question ni .faq-answer
   porque rompe el comportamiento colapsable de faq.php (max-height: 0 + overflow). */

/* ============================================================================
   CONTACT CTA — banda final más llamativa
   ============================================================================ */
.contact-cta {
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(37, 99, 235, 0.85) 50%, rgba(59, 130, 246, 0.8) 100%),
    url('https://images.unsplash.com/photo-1511919884226-fd3cad34687c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed !important;
  padding: 4.5rem 0 !important;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

.contact-cta .cta-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: -0.02em;
}

.contact-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-cta .hero-actions,
.contact-cta .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   FOOTER — detalles
   ============================================================================ */
.footer {
  background: #0f172a !important;
  color: #cbd5e1 !important;
  padding-top: 4rem !important;
}

.footer h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-links a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--brand-accent) !important;
}

.footer-description {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 0.92rem;
}

.contact-item {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.contact-item i {
  color: var(--brand-accent);
  margin-right: 0.5rem;
}

.contact-item a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--brand-accent) !important;
}

.social-media {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: var(--brand-accent);
  color: #0f172a !important;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.5rem 0 2rem !important;
  margin-top: 2.5rem;
}

.footer-copyright p {
  color: #64748b;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--brand-accent) !important;
}

/* ============================================================================
   CHAT WIDGET & BACK TO TOP
   ============================================================================ */
.chat-button {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4) !important;
}

.chat-button:hover {
  transform: scale(1.08);
}

.back-to-top {
  background: var(--brand-primary) !important;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35) !important;
}

/* ============================================================================
   RESPONSIVE — celulares
   ============================================================================ */
@media (max-width: 768px) {
  section.services,
  section.benefits,
  section.faq,
  section.testimonials,
  section.process,
  section#catalogo {
    padding: 3.5rem 0 !important;
  }

  .section-title {
    font-size: 1.7rem !important;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
    padding: 0 1rem;
  }

  .slide-content {
    padding: 3rem 1.25rem !important;
  }

  .slide-text .hero-title {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }

  .slide-text .hero-subtitle {
    font-size: 0.98rem !important;
  }

  .slide-text .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.6rem !important;
  }

  .slide-text .stat-item {
    padding: 0.75rem 0.4rem;
  }

  .slide-text .stat-number {
    font-size: 1.3rem !important;
  }

  .slide-text .stat-label {
    font-size: 0.65rem !important;
  }

  .slide-text .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .slide-text .hero-actions .btn {
    width: 100%;
  }

  .services-grid,
  .benefits-grid,
  .vehicles-grid,
  .testimonials-slider {
    grid-template-columns: 1fr !important;
  }

  .process-timeline {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--brand-radius-sm);
    box-shadow: var(--brand-shadow-sm);
  }

  .service-card,
  .benefit-card {
    padding: 1.5rem 1.25rem !important;
  }

  .vehicle-price {
    font-size: 1.35rem !important;
  }

  .contact-cta {
    padding: 3rem 0 !important;
  }

  .contact-cta h2 {
    font-size: 1.6rem !important;
  }

  .slider-arrow {
    width: 42px !important;
    height: 42px !important;
  }

  .nav-brand img,
  .nav-brand .nav-logo-img {
    max-height: 40px;
  }

  .footer {
    padding-top: 2.5rem !important;
  }
}

@media (max-width: 480px) {
  .slide-text .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
  }

  .slide-text .stat-item {
    padding: 0.6rem 0.25rem;
  }

  .slide-text .stat-number {
    font-size: 1.1rem !important;
  }
}

/* ============================================================================
   PARALLAX OFF en tablet / móvil (iOS/Android no soporta background-attachment: fixed bien)
   ============================================================================ */
@media (max-width: 1024px) {
  section.process,
  section.testimonials,
  .contact-cta {
    background-attachment: scroll, scroll !important;
  }
}

/* ============================================================================
   PÁGINAS LEGALES (terminos / privacidad / servicio / aviso-legal)
   ============================================================================ */
.legal-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem 3rem 2.5rem;
  border-radius: var(--brand-radius);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-md);
}

.legal-intro {
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(59, 130, 246, 0.03) 100%);
  border-left: 4px solid var(--brand-primary);
  border-radius: 10px;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-text);
}

.legal-item {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--brand-border);
}

.legal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-item h2 {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary);
  margin-bottom: 1rem !important;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-item h2::before {
  content: '';
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, var(--brand-primary), #3b82f6);
  border-radius: 3px;
}

.legal-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-item p {
  color: var(--brand-text-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.legal-item ul,
.legal-item ol {
  margin: 1rem 0 1.25rem 0;
  padding: 0;
  list-style: none;
  color: var(--brand-text-soft);
}

.legal-item ul li,
.legal-item ol li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
  list-style: none;
}

.legal-item ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.legal-item ol {
  counter-reset: legal-ol;
}

.legal-item ol li {
  counter-increment: legal-ol;
  padding-left: 2.25rem;
}

.legal-item ol li::before {
  content: counter(legal-ol);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.legal-item strong {
  color: var(--brand-text);
  font-weight: 600;
}

.legal-footer {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--brand-surface-soft);
  border-radius: 12px;
  text-align: center;
  color: var(--brand-text-soft);
  font-size: 0.9rem;
}

/* ============================================================================
   CONTACTO — formulario y tarjetas de método
   ============================================================================ */
.contact-main {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-section,
.contact-form-section {
  background: #ffffff;
  border-radius: var(--brand-radius);
  padding: 2.25rem;
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-sm);
}

.contact-info-section h3,
.contact-form-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-card {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--brand-surface-soft);
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--brand-shadow-md);
  border-color: rgba(30, 64, 175, 0.2);
  color: inherit !important;
}

.contact-method-card i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(59, 130, 246, 0.06));
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-method-card strong {
  display: block;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.contact-method-card span,
.contact-method-card p {
  color: var(--brand-text-soft);
  font-size: 0.88rem;
}

.contact-form .form-group,
.contact-form label {
  margin-bottom: 1.1rem;
  display: block;
}

.contact-form label {
  font-weight: 600;
  color: var(--brand-text);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--brand-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: var(--brand-text-soft);
  font-size: 0.9rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  accent-color: var(--brand-primary);
}

.extended-hours {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.04));
  border-left: 3px solid var(--brand-success);
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.day {
  font-weight: 600;
  color: var(--brand-text);
}

/* ============================================================================
   SERVICIOS DETALLADO (servicios.php — services-detailed)
   ============================================================================ */
.services-detailed {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.services-detailed .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-header {
  margin-bottom: 1.25rem;
}

.service-content .service-features {
  margin: 1rem 0 1.5rem;
}

.service-price {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(59, 130, 246, 0.02));
  border-radius: 12px;
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.price-from {
  font-size: 0.8rem;
  color: var(--brand-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.85rem;
  color: var(--brand-text-soft);
  margin-left: 0.25rem;
}

/* ============================================================================
   FAQ — categorías y CTA
   ============================================================================ */
.faq-section {
  padding: 5rem 0 !important;
  background: #ffffff;
}

.faq-categories {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0;
}

.category-btn {
  padding: 0.55rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  color: var(--brand-text-soft);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(30, 64, 175, 0.04);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.faq-content {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.faq-content.active {
  display: block;
}

/* El componente .cta-section ya viene con fondo oscuro desde faq.php inline;
   aquí solo pulimos el layout sin tocar colores (para no romper contraste). */
.cta-section .cta-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cta-section p {
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cta-section .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   TESTIMONIOS — página dedicada
   ============================================================================ */
section.hero-testimonials {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.85) 100%),
    url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed !important;
  padding: 5rem 0 !important;
  position: relative;
}

.hero-testimonials .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-testimonials .hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.hero-testimonials .hero-stats .stat-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 1rem;
  border-radius: 14px;
}

.hero-testimonials .hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-testimonials {
  padding: 5rem 0;
  background: #ffffff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--brand-shadow-sm);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow-md);
  border-color: rgba(30, 64, 175, 0.2);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.categories-grid .category-card:nth-child(2) .category-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.categories-grid .category-card:nth-child(3) .category-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.categories-grid .category-card:nth-child(4) .category-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-rating {
  color: var(--brand-accent);
  margin: 0.75rem 0;
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.95rem;
}

.category-quotes {
  color: var(--brand-text-soft);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ============================================================================
   PRE-APROBACIÓN — formulario con beneficios
   ============================================================================ */
.pre-aprobacion-section,
section.pre-aprobacion {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ============================================================================
   BLOG — tarjetas
   ============================================================================ */
.blog-section {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--brand-radius);
  border: 1px solid var(--brand-border);
  overflow: hidden;
  box-shadow: var(--brand-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--brand-shadow-lg);
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.04);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.blog-category {
  display: inline-block;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.05));
  color: var(--brand-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.35;
}

.blog-excerpt {
  color: var(--brand-text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--brand-text-soft);
  border-top: 1px solid var(--brand-border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.blog-link {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================================================
   RESPONSIVE — páginas internas en móvil
   ============================================================================ */
@media (max-width: 768px) {
  .legal-content {
    padding: 1.75rem 1.25rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info-section,
  .contact-form-section {
    padding: 1.5rem;
  }

  .legal-item h2 {
    font-size: 1.2rem !important;
  }

  .categories-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .faq-categories {
    gap: 0.4rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* ============================================================================
   UTILIDADES — animaciones de entrada (opcional, suaves)
   ============================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header,
.service-card,
.vehicle-card,
.benefit-card,
.process-step,
.testimonial-card,
.faq-item {
  animation: fadeInUp 0.6s ease-out backwards;
}

.section-header {
  animation-delay: 0.05s;
}

.services-grid > :nth-child(1),
.vehicles-grid > :nth-child(1),
.benefits-grid > :nth-child(1) { animation-delay: 0.1s; }
.services-grid > :nth-child(2),
.vehicles-grid > :nth-child(2),
.benefits-grid > :nth-child(2) { animation-delay: 0.15s; }
.services-grid > :nth-child(3),
.vehicles-grid > :nth-child(3),
.benefits-grid > :nth-child(3) { animation-delay: 0.2s; }
.services-grid > :nth-child(4),
.vehicles-grid > :nth-child(4),
.benefits-grid > :nth-child(4) { animation-delay: 0.25s; }
.services-grid > :nth-child(5),
.vehicles-grid > :nth-child(5),
.benefits-grid > :nth-child(5) { animation-delay: 0.3s; }
.services-grid > :nth-child(6),
.vehicles-grid > :nth-child(6),
.benefits-grid > :nth-child(6) { animation-delay: 0.35s; }

/* ============================================================================
   NAV TOGGLE (hamburguesa) — visibilidad garantizada en móvil
   ============================================================================ */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: background 0.2s ease;
  z-index: 1001;
}

.nav-toggle span {
  display: block !important;
  width: 24px !important;
  height: 3px !important;
  background: #1e3a8a !important;
  border-radius: 3px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.nav-toggle:hover {
  background: rgba(30, 58, 138, 0.08);
}

.nav-toggle:active {
  background: rgba(30, 58, 138, 0.15);
}

.nav-toggle.active span {
  background: #dc2626 !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
  }
}

/* En hero / header transparente sobre imagen, asegurar contraste */
.header.scrolled .nav-toggle span,
.nav-toggle span {
  background: #1e3a8a !important;
}

/* ============================================================================
   SEGURIDAD MOBILE — pantallas muy chicas (≤ 480px)
   Evita overflow y garantiza tipografía legible + áreas de toque de 44px
   ============================================================================ */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100%;
  }

  h1,
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    word-wrap: break-word;
  }

  h2,
  .section-title {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem) !important;
  }

  h3 {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem) !important;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Inputs: 16px evita zoom automático de iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }

  textarea {
    min-height: 100px;
  }

  .service-card,
  .vehicle-card,
  .benefit-card,
  .testimonial-card,
  .faq-item,
  .contact-method-card,
  .location-card-v2,
  .mv-card,
  .why-card {
    padding: 1.25rem 1rem !important;
  }

  /* Tablas: scroll horizontal en vez de romper layout */
  table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  a {
    word-break: break-word;
  }
}

/* ============================================================================
   TOUCH — mejora de usabilidad en dispositivos táctiles (sin mouse hover)
   ============================================================================ */
@media (hover: none) and (pointer: coarse) {
  /* Desactivar hover-lift en touch (evita sticky-hover en iOS/Android) */
  .service-card:hover,
  .vehicle-card:hover,
  .benefit-card:hover,
  .mv-card:hover,
  .why-card:hover,
  .contact-method-card:hover,
  .testimonial-card:hover,
  .blog-card:hover,
  .category-card:hover,
  .faq-accordion-item:hover {
    transform: none !important;
  }

  /* Áreas de toque mínimas: 44×44px (recomendación accesibilidad) */
  .btn,
  .nav-link,
  .category-btn,
  .checkbox-item,
  .faq-accordion-q {
    min-height: 44px;
  }
}

/* ============================================================================
   ORIENTACIÓN — landscape en móviles chicos: permitir que el hero no sea 100vh
   ============================================================================ */
@media (max-width: 812px) and (orientation: landscape) {
  .hero-slider,
  .slider-container {
    min-height: auto;
    height: auto;
  }

  .slide {
    min-height: 110vh;
  }
}
