/* --- Source: ../assets/css/main.css --- */
/* Estilos generales */
:root {
  --primary-color: #1a73e8;
  --secondary-color: #f1f1f1;
  --text-color: #333;
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --border-color: #ddd;
  --success-color: #28a745;
  --error-color: #dc3545;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

body.dark-mode {
  --primary-color: #64b5f6;
  --secondary-color: #333;
  --text-color: #e0e0e0;
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --border-color: #444;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 20px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.3s;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* Navbar */
.navbar {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--font-heading);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1001;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
}

.dropdown-content li a:hover {
  background-color: var(--secondary-color);
  border-bottom: 3px solid #3498db;
}

.carousel-container {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: 0.3s;
}

/* Sections Utility */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 15px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: white;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 15px 0 10px;
  color: var(--text-color);
  padding: 0 15px;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
  padding: 0 15px;
}

.btn-details {
  display: inline-block;
  margin: 0 15px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-details:hover {
  background-color: #1557b0;
  color: white;
}

/* Responsive Product Grid */
/* Desktop grande (1200px+) - 4 columnas */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-card img {
    height: 240px;
  }
}

/* Laptop/Desktop (992px - 1199px) - 3 columnas */
@media (min-width: 992px) and (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .product-card img {
    height: 220px;
  }
}

/* Tablet (768px - 991px) - 2 columnas */
@media (min-width: 768px) and (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card img {
    height: 200px;
  }
}

/* Móvil grande (480px - 767px) - 2 columnas con imágenes más grandes */
@media (min-width: 480px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card img {
    height: 220px;
    padding: 1px;
  }

  .product-card h3 {
    font-size: 0.9rem;
    min-height: 38px;
    padding: 0 10px;
    line-height: 1.3;
  }

  .product-card p {
    font-size: 0.85rem;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .btn-details {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin: 0 10px;
  }
}

/* Móvil pequeño (menos de 480px) - 2 columnas */
@media (max-width: 479px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-card img {
    height: 200px;
    padding: 1px;
  }

  .product-card h3 {
    font-size: 0.85rem;
    min-height: auto;
    padding: 0 8px;
    line-height: 1.3;
  }

  .product-card p {
    font-size: 0.8rem;
    padding: 0 8px;
  }

  .btn-details {
    padding: 10px 12px;
    font-size: 0.75rem;
    margin: 0 8px;
  }
}

/* Testimonios */

/* =============================================
   STATS SECTION - MODERN DESIGN
   ============================================= */

.stats-section {
  background: linear-gradient(135deg, #1a2a6c 0%, #2c5f7c 50%, #1a73e8 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.stats-section .title {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Stats Grid - Responsive Layout */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* Stat Card - Modern Design */
.stat-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid transparent;
}

/* Gradient border effect */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #4fc3f7, #1a73e8);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 40px rgba(26, 115, 232, 0.25);
  border-top-color: #1a73e8;
}

/* Icon Styling - Circular Background */
.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a73e8, #4fc3f7);
  border-radius: 50%;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
  position: relative;
}

.stat-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8, #4fc3f7);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.stat-card:hover .stat-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.4);
}

.stat-card:hover .stat-icon::after {
  opacity: 0.6;
}

/* Number Styling */
.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #1a73e8, #0052cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  font-family: var(--font-heading);
}

/* Label Styling */
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
  .stats-section {
    padding: 4rem 1.5rem;
  }

  .stats-section .title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    padding: 2rem 1.2rem;
  }

  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

/* Mobile: 2 columns (NUEVO - según solicitud del usuario) */
@media (max-width: 480px) {
  .stats-section {
    padding: 3rem 1rem;
  }

  .stats-section .title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 0.8rem;
    border-radius: 12px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }
}

/* Dark Mode Support */
body.dark-mode .stats-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a2332 50%, #0d47a1 100%);
}

body.dark-mode .stat-card {
  background: rgba(42, 42, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .stat-card::before {
  background: linear-gradient(90deg, #64b5f6, #90caf9, #64b5f6);
}

body.dark-mode .stat-card:hover {
  background: rgba(51, 51, 51, 0.98);
  border-color: #64b5f6;
  box-shadow: 0 16px 40px rgba(100, 181, 246, 0.2);
}

body.dark-mode .stat-icon {
  background: linear-gradient(135deg, #64b5f6, #90caf9);
  box-shadow: 0 8px 20px rgba(100, 181, 246, 0.3);
}

body.dark-mode .stat-card:hover .stat-icon {
  box-shadow: 0 12px 28px rgba(100, 181, 246, 0.4);
}

body.dark-mode .stat-number {
  background: linear-gradient(135deg, #64b5f6, #90caf9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .stat-label {
  color: #b0b0b0;
}

/* =============================================
   MAPA
   ============================================= */
.map-section {
  margin-top: 2rem;
  text-align: center;
}

.map-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #003366;
}

iframe {
  border: 0;
  border-radius: 12px;
  width: 100%;
  height: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a2a6c, #2c3e50);
  color: #fff;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

.footer-section p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 18px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: #FFFFFF;
  transform: translateX(5px);
}

.footer-section a i {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}

/* Social Icons - Professional & Dynamic */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* Efecto de brillo de fondo */
.social-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.social-icons a:hover::before {
  width: 100%;
  height: 100%;
}

/* Hover general */
.social-icons a:hover {
  transform: translateY(-8px) scale(1.15) rotate(5deg);
  border-color: transparent;
}

/* Facebook - Color oficial #1877F2 */
.social-icons a.facebook:hover {
  background: linear-gradient(135deg, #1877F2, #0d5dbf);
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.5);
  color: #fff;
}

/* TikTok - Colores oficiales negro y rosa */
.social-icons a.tiktok:hover {
  background: linear-gradient(135deg, #000000, #EE1D52);
  box-shadow: 0 12px 30px rgba(238, 29, 82, 0.5);
  color: #69C9D0;
}

/* Animación de pulso sutil */
@keyframes pulse-subtle {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.social-icons a:hover i {
  animation: pulse-subtle 1.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding: 50px 15px 35px;
  }

  .footer-container {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .footer-section h3 {
    font-size: 1.3rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* =============================================
   COPYRIGHT SECTION
   ============================================= */
.copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0;
  margin-top: 40px;
}

.copyright-divider {
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.3) 20%,
      rgba(255, 255, 255, 0.3) 80%,
      transparent);
  margin-bottom: 25px;
}

.copyright-content {
  text-align: center;
  padding: 25px 20px;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.copyright-text strong {
  color: #fff;
  font-weight: 600;
}

.copyright-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.copyright-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.copyright-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.copyright-link:hover {
  color: #fff;
}

.copyright-link:hover::after {
  width: 100%;
}

.copyright-links .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* Responsive Copyright */
@media (max-width: 768px) {
  .copyright {
    margin-top: 30px;
  }

  .copyright-content {
    padding: 20px 15px;
  }

  .copyright-text {
    font-size: 0.85rem;
  }

  .copyright-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .copyright-text {
    font-size: 0.8rem;
  }

  .copyright-links {
    flex-direction: column;
    gap: 8px;
  }

  .copyright-links .separator {
    display: none;
  }
}

/* libro de reclamasiones */
.container-lr {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

header p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.form-section {
  padding: 30px 20px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.required {
  color: var(--error-color);
  font-weight: 500;
}

.boton {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.boton:hover {
  background-color: #1557b0;
}

.boton-block {
  width: 100%;
  margin-top: 10px;
}

.form-footer {
  text-align: center;
  padding: 20px 20px 30px;
  background-color: var(--secondary-color);
  border-top: 1px solid var(--border-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.valid {
  border-color: var(--success-color) !important;
}

.invalid {
  border-color: var(--error-color) !important;
}

.required-field {
  position: relative;
}

.required-field::after {
  content: "*";
  color: var(--error-color);
  margin-left: 4px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group .small-label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
  display: block;
}

@media (max-width: 768px) {
  .container-lr {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  header h1 {
    font-size: 1.5rem;
  }

  .form-section {
    padding: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 15px;
  }

  header h1 {
    font-size: 1.3rem;
  }

  .form-group {
    margin-bottom: 16px;
  }

  input,
  select,
  textarea {
    padding: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/*agente vendedor, convenio, horario de atencion */
.agent-convenio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .agent-convenio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .agent-convenio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.agent-section,
.images-section,
.schedule-section {
  flex: 1;
  min-width: 250px;
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.agent-section h2,
.images-section h2,
.schedule-section h2 {
  border-bottom: 2px solid #3498db;
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
  text-align: center;
}

.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.agent-table th,
.agent-table td {
  padding: 6.5px;
  text-align: center;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-color);
}

.agent-table th {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.agent-table tr:hover {
  background-color: var(--bg-color);
}

.images-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.images-section img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  background-color: white;
  padding: 10px;
  border: 1px solid var(--border-color);
}

.images-section img:hover {
  transform: scale(1.05);
}

.schedule-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dias {
  text-align: center;
  color: var(--primary-color);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.schedule-item:last-child {
  border-bottom: none;
}

.shift {
  font-weight: 600;
  color: var(--success-color);
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }



  .product-card {
    padding: 10px;
  }

  .product-card img {
    height: 80px;
  }

}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .top-bar {
    font-size: 0.8rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .image-row {
    flex-direction: column;
    gap: 10px;
  }

  .image-row img {
    height: 150px;
  }
}

@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   DARK MODE TOGGLE
   ============================================= */
.dark-mode-btn {
  background: none;
  border: none;
  color: #1a73e8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  transition: transform 0.3s ease;
}

.dark-mode-btn:hover {
  transform: rotate(20deg);
}

body.dark-mode .dark-mode-btn {
  color: #ffeb3b;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background-color: #005599;
  transform: translateY(-5px);
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: var(--card-bg);
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s;
  overflow: hidden;
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary-color);
  text-decoration: none;
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
}

.modal-image {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.modal-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.modal-info p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 25px;
}

.modal-actions {
  margin-top: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    padding: 20px;
    min-height: 200px;
  }

  .modal-image img {
    max-height: 250px;
  }

  .modal-info {
    padding: 25px;
  }
}

/* =============================================
   HAMBURGER MENU - ENHANCED (Opción 2)
   ============================================= */
/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
  z-index: 1000;
}

.hamburger:hover {
  background: rgba(26, 115, 232, 0.1);
}

body.dark-mode .hamburger:hover {
  background: rgba(100, 181, 246, 0.1);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.dark-mode .menu-overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* =============================================
   MOBILE NAVIGATION - ENHANCED
   ============================================= */
@media (max-width: 768px) {

  /* Enhanced Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: calc(100vh - 80px);
    background-color: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
    gap: 0;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 998;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.active {
    left: 0;
  }

  /* Menu Items with Stagger Animation */
  .nav-links>li {
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }

  .nav-links.active>li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active>li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-links.active>li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav-links.active>li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-links.active>li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav-links.active>li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .nav-links.active>li:nth-child(6) {
    transition-delay: 0.3s;
  }

  .nav-links>li>a {
    width: 100%;
    padding: 15px 25px;
    display: block;
    color: var(--text-color);
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-links>li>a:hover {
    background: rgba(26, 115, 232, 0.1);
    border-left-color: var(--primary-color);
    padding-left: 30px;
  }

  /* Active Page Indicator */
  .nav-links>li>a.active {
    background: rgba(26, 115, 232, 0.15);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
  }

  /* Dropdown in Mobile - Accordion Style */
  .nav-links .dropdown {
    width: 100%;
  }

  .nav-links .dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 25px;
    color: var(--text-color);
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-links .dropdown>a i.fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
  }

  .nav-links .dropdown.active>a i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .nav-links .dropdown>a:hover {
    background: rgba(26, 115, 232, 0.1);
    border-left-color: var(--primary-color);
  }

  .nav-links .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    background: rgba(26, 115, 232, 0.05);
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links .dropdown.active .dropdown-content {
    display: block;
    max-height: 500px;
  }

  .nav-links .dropdown-content li {
    width: 100%;
  }

  .nav-links .dropdown-content a {
    padding: 12px 25px 12px 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }

  .nav-links .dropdown-content a:hover {
    background: rgba(26, 115, 232, 0.1);
    padding-left: 50px;
    border-left-color: var(--primary-color);
  }

  .nav-links .dropdown-content a i {
    font-size: 0.9rem;
    color: var(--primary-color);
    min-width: 20px;
  }

  .nav-links .dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 5px 25px 5px 45px;
  }

  body.dark-mode .nav-links .dropdown-divider {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Dark Mode Toggle in Mobile */
  .nav-links .dark-mode-btn {
    margin: 10px 25px;
    width: calc(100% - 50px);
    justify-content: center;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
  }

  .nav-links .dark-mode-btn:hover {
    background: #0d5dbf;
  }

  /* Hamburger Button */
  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* =============================================
   PRODUCT MODAL STYLES
   ============================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: var(--card-bg);
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary-color);
  background: rgba(26, 115, 232, 0.1);
}

.modal-body {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 30px;
}

.modal-image {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 20px;
}

.modal-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 300px;
}

.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-info h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

/* Product Details Sections */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.product-details::-webkit-scrollbar {
  width: 6px;
}

.product-details::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.product-details::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.detail-section {
  background: rgba(26, 115, 232, 0.03);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.detail-section h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
}

.detail-section h4 i {
  font-size: 1.2rem;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.features-list li i {
  color: #28a745;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 10px 5px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.specs-table td:first-child {
  width: 40%;
  color: #666;
}

.specs-table td:last-child {
  font-weight: 500;
}

/* Credit Info Section */
.credit-info {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(26, 115, 232, 0.03));
  border-left-color: #28a745;
}

.credit-info .highlight {
  background: white;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: #28a745;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.credit-info .highlight i {
  font-size: 1.2rem;
}

.credit-info .price-tag {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modal Actions */
.modal-actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.modal-actions .btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  border-radius: 10px;
  transition: all 0.3s;
}

.modal-actions .btn-primary:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.modal-actions .btn-primary i {
  font-size: 1.3rem;
}

/* Dark Mode Support */
body.dark-mode .modal-image {
  background: #2a2a2a;
}

body.dark-mode .detail-section {
  background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .credit-info .highlight {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .specs-table tr {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .specs-table td:first-child {
  color: #999;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-body {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .modal-image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .modal-info h2 {
    font-size: 1.4rem;
  }

  .product-details {
    max-height: 300px;
  }

  .detail-section {
    padding: 15px;
  }

  .detail-section h4 {
    font-size: 1rem;
  }

  .features-list li,
  .specs-table td {
    font-size: 0.9rem;
  }
}

/* =============================================
   CATALOG SYSTEM STYLES
   ============================================= */

/* Breadcrumbs */
.breadcrumbs {
  background: var(--secondary-color);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--primary-color);
  transition: opacity 0.3s;
}

.breadcrumbs a:hover {
  opacity: 0.7;
}

.breadcrumbs .separator {
  color: var(--text-color);
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--text-color);
  font-weight: 600;
}

/* Catalog Wrapper */
.catalog-wrapper {
  background: var(--bg-color);
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.filters-header h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-filters {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-clear-filters:hover {
  background: rgba(220, 53, 69, 0.1);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group label:first-child,
.filter-group .filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
  background: var(--bg-color);
  color: var(--text-color);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s;
}

.filter-checkbox:hover {
  background: rgba(26, 115, 232, 0.05);
}

.filter-checkbox input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.filter-checkbox span {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Catalog Main */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-count {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.product-count span {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.toolbar-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sort-select {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--bg-color);
  color: var(--text-color);
  transition: border-color 0.3s;
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-toggle-filters {
  display: none;
  padding: 10px 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-toggle-filters:hover {
  background: #1557b0;
}

/* No Results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--card-bg);
  border-radius: 12px;
}

.no-results i {
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.no-results p {
  color: var(--text-color);
  opacity: 0.7;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.page-btn {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  min-width: 45px;
}

.page-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.page-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-dots {
  padding: 0 5px;
  color: var(--text-color);
  opacity: 0.5;
}

/* Responsive Catalog */
@media (max-width: 992px) {
  .catalog-container {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .filters-sidebar.active {
    left: 0;
  }

  .btn-toggle-filters {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .toolbar-actions {
    flex-direction: column;
    width: 100%;
  }

  .sort-select,
  .btn-toggle-filters {
    width: 100%;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .page-btn {
    min-width: 40px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .catalog-wrapper {
    padding: 20px 0;
  }

  .breadcrumbs-container {
    font-size: 0.85rem;
  }

  .filters-sidebar {
    width: 90%;
  }

  /* Optimización específica para tarjetas de productos en catálogo móvil */
  .catalog-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 8px;
  }

  .catalog-main .product-card {
    padding: 10px 8px 12px;
    border-radius: 12px;
  }

  .catalog-main .product-card img {
    height: 140px;
    padding: 8px;
    margin-bottom: 8px;
  }

  .catalog-main .product-card h3 {
    font-size: 0.8rem;
    min-height: auto;
    padding: 0 6px;
    margin-bottom: 6px;
    line-height: 1.3;
    font-weight: 600;
  }

  .catalog-main .product-card p {
    font-size: 0.75rem;
    padding: 0 6px;
    margin-bottom: 8px;
    font-weight: 700;
  }

  /* Botón "Ver detalles" mejorado para móvil */
  .catalog-main .btn-details {
    width: calc(100% - 12px);
    margin: 0 6px 6px;
    padding: 10px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    min-height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(26, 115, 232, 0.25);
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  .catalog-main .btn-details:active {
    transform: scale(0.97);
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
  }

  .catalog-main .btn-details i {
    font-size: 0.85rem;
  }
}

/* Tablet específico para catálogo */
@media (min-width: 481px) and (max-width: 768px) {
  .catalog-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .catalog-main .product-card {
    padding: 12px;
  }

  .catalog-main .product-card img {
    height: 180px;
  }

  .catalog-main .btn-details {
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

/* --- Source: ../assets/css/fase1-mejoras.css --- */
/* =============================================
   FASE 1 - NUEVAS SECCIONES OPTIMIZADAS
   ============================================= */

/* Hero Section Nueva - Optimizada para Conversión */
.hero-section-new {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 80px 20px 60px;
  /* background removed to show video */
}

/* Background Video Styles */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

/* Overlay to darken video for text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 42, 108, 0.75);
  /* Dark blue transparency matching brand */
  z-index: 1;
}

/* Specific adjustment for hero container to sit on top */
.hero-container-new {
  position: relative;
  z-index: 2;
  /* Higher than overlay */
}

.hero-section-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container-new {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title-new {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.highlight-yellow {
  color: #fbbc04;
  text-shadow: 0 2px 10px rgba(251, 188, 4, 0.4);
  display: inline-block;
}

.hero-subtitle-new {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 400;
}

.hero-benefits-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.benefit-item-new {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.benefit-item-new i {
  color: #34a853;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-ctas-new {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-hero-primary {
  background: #fbbc04;
  color: #1a2a6c;
  box-shadow: 0 4px 15px rgba(251, 188, 4, 0.4);
}

.btn-hero-primary:hover {
  background: #f9ab00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 188, 4, 0.6);
}

.btn-hero-secondary {
  background: #34a853;
  color: white;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
}

.btn-hero-secondary:hover {
  background: #2d9248;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.6);
}

.hero-image-new {
  position: relative;
}

/* Calculadora Section */
.calculadora-section {
  background: var(--bg-color);
  padding: 80px 20px;
}

.subtitle-calc {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: -20px;
  margin-bottom: 40px;
}

.calculadora-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.calc-input-group {
  margin-bottom: 30px;
}

.calc-input-group label,
.calc-input-group .input-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 1rem;
}

.calc-input-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.1rem;
  transition: border-color 0.3s;
  background: var(--bg-color);
  color: var(--text-color);
}

.calc-input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.cuotas-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cuota-btn {
  padding: 12px;
  border: 2px solid var(--border-color);
  background: var(--bg-color);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--text-color);
  font-size: 0.9rem;
}

.cuota-btn:hover {
  border-color: var(--primary-color);
  background: rgba(26, 115, 232, 0.05);
}

.cuota-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.calc-result {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  margin: 30px 0;
}

body.dark-mode .calc-result {
  background: linear-gradient(135deg, #1a2a6c, #2c5f7c);
}

.result-label {
  font-size: 1rem;
  color: #1a2a6c;
  margin-bottom: 10px;
  font-weight: 500;
}

body.dark-mode .result-label {
  color: #bbdefb;
}

.result-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 10px 0;
  text-shadow: 0 2px 10px rgba(26, 115, 232, 0.2);
}

.result-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

body.dark-mode .result-note {
  color: #aaa;
}

.btn-solicitar-credito {
  width: 100%;
  padding: 18px;
  background: #34a853;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.btn-solicitar-credito:hover {
  background: #2d9248;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.5);
}

.btn-solicitar-credito:active {
  transform: translateY(0);
}

/* Beneficios Section */
.beneficios-section {
  padding: 80px 20px;
  background: var(--bg-color);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.beneficio-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.beneficio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.beneficio-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.beneficio-card:hover .beneficio-icon {
  transform: scale(1.1);
}

.beneficio-icon i {
  font-size: 2.5rem;
  color: white;
}

.beneficio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 700;
}

.beneficio-card p {
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.9;
}

/* Responsive - Hero Section Nueva */
@media (max-width: 992px) {
  .hero-container-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title-new {
    font-size: 2.5rem;
  }

  .hero-subtitle-new {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section-new {
    padding: 60px 20px 40px;
  }

  .hero-title-new {
    font-size: 2rem;
  }

  .hero-subtitle-new {
    font-size: 1rem;
  }

  .hero-benefits-new {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item-new {
    font-size: 0.95rem;
  }

  .hero-ctas-new {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Calculadora móvil */
  .calculadora-card {
    padding: 30px 20px;
  }

  .cuotas-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-amount {
    font-size: 2.5rem;
  }

  .btn-solicitar-credito {
    font-size: 1.1rem;
    padding: 16px;
  }

  /* Beneficios móvil */
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .beneficio-card {
    padding: 25px 15px;
  }

  .beneficio-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .beneficio-icon i {
    font-size: 2rem;
  }

  .beneficio-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .beneficio-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Fix para títulos largos */
  .beneficios-section .title {
    font-size: 1.8rem;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .hero-title-new {
    font-size: 1.75rem;
  }

  .hero-subtitle-new {
    font-size: 0.95rem;
  }

  .benefit-item-new {
    font-size: 0.9rem;
  }

  .btn-hero {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .result-amount {
    font-size: 2rem;
  }
}

/* --- Source: ../assets/css/fase2-features.css --- */
/* =============================================
   FASE 2 - TRUST & ENGAGEMENT FEATURES
   ============================================= */

/* Subtítulos generales */
.subtitle-section {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: -20px;
  margin-bottom: 50px;
}

/* ¿Cómo Funciona? Section */
.como-funciona-section {
  padding: 80px 20px;
  background: var(--secondary-color);
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.paso-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.paso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.paso-numero {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fbbc04, #f9ab00);
  color: #1a2a6c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(251, 188, 4, 0.4);
}

.paso-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 20px;
  background: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.paso-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 700;
}

.paso-card p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.cta-funciona {
  text-align: center;
  margin-top: 40px;
}

.btn-iniciar-solicitud {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: #34a853;
  color: white;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
  transition: all 0.3s;
}

.btn-iniciar-solicitud:hover {
  background: #2d9248;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.6);
}

/* Sectores Section */
.sectores-section {
  padding: 80px 20px;
  background: var(--secondary-color);
}

.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--text-color);
  min-width: 140px;
}

.tab-btn i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  background: rgba(26, 115, 232, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover i {
  transform: scale(1.1);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.tab-btn.active i {
  color: white;
}

.tabs-content-container {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tab-image {
  text-align: center;
}

.tab-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.tab-info h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 700;
}

.beneficios-list {
  list-style: none;
  margin-bottom: 30px;
}

.beneficios-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-color);
  line-height: 1.6;
}

.beneficios-list i {
  color: #34a853;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-sector {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #34a853;
  color: white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
  transition: all 0.3s;
}

.btn-sector:hover {
  background: #2d9248;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.5);
}

/* Testimonios Section */
.testimonios-section {
  padding: 80px 20px;
  background: var(--bg-color);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-container {
  overflow: hidden;
  border-radius: 16px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 10px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #fbbc04;
  font-size: 1.5rem;
  margin: 0 3px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
  font-style: italic;
  text-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 700;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: var(--card-bg);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  z-index: 10;
}

.testimonial-nav:hover {
  background: var(--primary-color);
  color: white;
}

.testimonial-prev {
  left: -60px;
}

.testimonial-next {
  right: -60px;
}

/* Responsive - Fase 2 */
@media (max-width: 992px) {
  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-prev {
    left: -20px;
  }

  .testimonial-next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .pasos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tabs-buttons {
    gap: 10px;
  }

  .tab-btn {
    padding: 15px 20px;
    min-width: 110px;
  }

  .tab-btn i {
    font-size: 1.5rem;
  }

  .tab-btn span {
    font-size: 0.85rem;
  }

  .tab-content-grid {
    padding: 30px 20px;
  }

  .tab-info h3 {
    font-size: 1.5rem;
  }

  .beneficios-list li {
    font-size: 0.95rem;
  }

  .btn-sector,
  .btn-iniciar-solicitud {
    width: 100%;
    justify-content: center;
  }

  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonial-prev {
    left: 10px;
  }

  .testimonial-next {
    right: 10px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  .como-funciona-section,
  .sectores-section,
  .testimonios-section {
    padding: 60px 20px;
  }

  .pasos-grid {
    gap: 15px;
  }

  .tab-btn {
    flex: 1;
    min-width: 90px;
    padding: 12px 15px;
  }

  .tab-btn i {
    font-size: 1.3rem;
  }

  .tab-btn span {
    font-size: 0.8rem;
  }

  .paso-card {
    padding: 25px 15px;
  }

  .paso-card h3 {
    font-size: 1.1rem;
  }

  .paso-card p {
    font-size: 0.9rem;
  }

  .paso-numero {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: -12px;
  }

  .paso-icon {
    width: 60px;
    height: 60px;
    margin: 15px auto 15px;
  }

  .paso-icon i {
    font-size: 2rem;
  }

  .btn-iniciar-solicitud {
    font-size: 1rem;
    padding: 14px 28px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* --- Source: ../assets/css/fase3-optimizations.css --- */
/* =============================================
   FASE 3 - OPTIMIZACIONES Y MEJORAS FINALES
   ============================================= */

/* WhatsApp Widget Flotante Mejorado */
.whatsapp-widget-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-widget-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  position: relative;
}

.whatsapp-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget-btn i {
  font-size: 2rem;
  color: white;
}

.whatsapp-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: #ff3b30;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.whatsapp-widget-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}

.whatsapp-widget-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-popup-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  padding: 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.whatsapp-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.whatsapp-header-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.whatsapp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin: 4px 0 0;
  opacity: 0.95;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.status-dot.online {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.whatsapp-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.whatsapp-popup-body {
  padding: 20px;
}

.whatsapp-message {
  background: rgba(37, 211, 102, 0.1);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.whatsapp-message p {
  margin: 5px 0;
  color: var(--text-color);
  line-height: 1.5;
}

.whatsapp-time {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 8px !important;
}

.whatsapp-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-color);
  font-size: 0.9rem;
  text-align: left;
}

.quick-action-btn:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  transform: translateX(5px);
}

.quick-action-btn i {
  color: #25d366;
  font-size: 1.1rem;
}

.whatsapp-popup-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 16px 16px;
}

.whatsapp-horario {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.8;
}

.whatsapp-horario i {
  color: var(--primary-color);
}

/* Botón Scroll to Top Mejorado */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
  transition: all 0.3s;
  z-index: 9998;
}

#backToTop:hover {
  background: #1557b0;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
}

#backToTop.show {
  display: flex;
}

/* Loading Spinner para imágenes */
.img-loading {
  position: relative;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Mejoras de Performance */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Responsive WhatsApp Widget */
@media (max-width: 768px) {
  .whatsapp-widget-popup {
    width: calc(100vw - 40px);
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .whatsapp-widget-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-widget-btn {
    width: 55px;
    height: 55px;
  }

  .whatsapp-widget-btn i {
    font-size: 1.8rem;
  }

  .whatsapp-widget-popup {
    bottom: 75px;
    right: -10px;
  }

  #backToTop {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}

/* Mejoras de Accesibilidad */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  z-index: 10000;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus visible para navegación por teclado */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Mejoras de contraste para dark mode */
body.dark-mode .whatsapp-widget-popup {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.dark-mode .quick-action-btn {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .quick-action-btn:hover {
  background: rgba(37, 211, 102, 0.15);
}

/* --- Source: ../assets/css/policy-dark-mode.css --- */
/* =============================================
   DARK MODE STYLES FOR POLICY PAGES
   ============================================= */

/* Dark Mode Variables */
body.dark-mode {
  --bg-color: #1a1a1a;
  --text-color: #e0e0e0;
  --heading-color: #ffffff;
  --card-bg: #2a2a2a;
  --border-color: #404040;
  --link-color: #64b5f6;
  --link-hover: #90caf9;
}

/* Dark Mode - Container and Main Elements */
body.dark-mode .container-lr {
  background-color: var(--bg-color);
  color: var(--text-color);
}

body.dark-mode .container-lr header h1 {
  color: var(--heading-color);
  background: linear-gradient(135deg, #1a73e8 0%, #4fc3f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .container-lr header p {
  color: #b0b0b0;
}

/* Dark Mode - Form Sections */
body.dark-mode .form-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

body.dark-mode .section-title {
  color: var(--heading-color);
  border-bottom-color: var(--border-color);
}

body.dark-mode .form-section h2 {
  color: var(--heading-color);
}

body.dark-mode .form-section p,
body.dark-mode .form-section li {
  color: var(--text-color);
}

body.dark-mode .form-section strong {
  color: #ffffff;
}

/* Dark Mode - Links */
body.dark-mode .form-section a {
  color: var(--link-color);
}

body.dark-mode .form-section a:hover {
  color: var(--link-hover);
}

/* Dark Mode - Lists */
body.dark-mode .form-section ul {
  color: var(--text-color);
}

/* Dark Mode - Footer in Form */
body.dark-mode .form-footer {
  background-color: var(--card-bg);
  border-top-color: var(--border-color);
  color: var(--text-color);
}

body.dark-mode .form-footer p {
  color: #b0b0b0;
}

/* Dark Mode - Footer */
body.dark-mode footer {
  background-color: #1a1a1a;
  border-top: 1px solid var(--border-color);
}

body.dark-mode footer h3 {
  color: var(--heading-color);
}

body.dark-mode footer p,
body.dark-mode footer li,
body.dark-mode footer a {
  color: var(--text-color);
}

body.dark-mode footer a:hover {
  color: var(--link-hover);
}

/* Dark Mode - Copyright */
body.dark-mode .copyright {
  background-color: #0f0f0f;
  border-top-color: var(--border-color);
}

body.dark-mode .copyright-text {
  color: var(--text-color);
}

body.dark-mode .copyright-link {
  color: var(--link-color);
}

body.dark-mode .copyright-link:hover {
  color: var(--link-hover);
}

/* Dark Mode - Back to Top Button */
body.dark-mode #backToTop {
  background-color: #1a73e8;
  color: #ffffff;
}

body.dark-mode #backToTop:hover {
  background-color: #1557b0;
}