* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button, a, [role="button"], label[for], select {
  touch-action: manipulation;
}

/* Notificación toast */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}

.notificacion {
  position: fixed;
  top: 20px;
  right: 16px;
  left: 16px;
  background: #4caf50;
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  z-index: 4000;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  pointer-events: none;
}

@media (min-width: 480px) {
  .notificacion {
    left: auto;
    right: 20px;
    width: auto;
    max-width: 320px;
    text-align: left;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 160px; /* espacio para barra inferior fija en mobile */
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  width: 125px;
  height: auto;
}

.highlight {
  color: #ff4444;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none; /* oculto en desktop */
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.subtitle h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #cccccc;
}

.subtitle p {
  color: #999999;
  font-size: 1rem;
}

/* Navigation */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a:hover {
  background: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
  border-color: #ff4444;
}

/* Estilo especial para el botón de Página Códigos */
.nav-menu a[href*="codigos.emstre.com"] {
  background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
  border-color: #ff4444;
}

.nav-menu a[href*="codigos.emstre.com"]:hover {
  background: linear-gradient(135deg, #cc3333 0%, #aa2222 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

/* Productos Grid */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

/* Tarjeta de producto */
.producto-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
              border-color 0.3s ease;
  position: relative;
}

.producto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 175, 80, 0.45);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 25px rgba(76, 175, 80, 0.12);
}

/* Zona de imagen */
.producto-imagen {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.producto-imagen::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

.producto-imagen img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
  border-radius: 10px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.producto-card:hover .producto-imagen img {
  transform: scale(1.08);
}

.default-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}

/* Botón info sobre la imagen */
@keyframes pulse-info {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.btn-info {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1;
  animation: pulse-info 2s ease-out infinite;
}

.btn-info:hover,
.btn-info:active {
  background: #388e3c;
  transform: scale(1.12);
  animation: none;
}

/* Info del producto */
.producto-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.producto-info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.descripcion {
  display: none;
  font-size: 0.8rem;
  color: #aaaaaa;
  line-height: 1.4;
}

.precio-container {
  display: none;
}

.precio {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4caf50;
  letter-spacing: -0.3px;
  text-shadow: 0 0 18px rgba(76,175,80,0.35);
  margin: 0;
}

.btn-agregar {
  margin-top: auto;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.btn-agregar:hover {
  background: linear-gradient(135deg, #56c25a 0%, #4caf50 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(76,175,80,0.4);
}

.btn-agregar:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-agregar i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Catálogo — títulos de sección y categoría */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.3px;
}

.categoria-section {
  margin-bottom: 40px;
}

.categoria-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}

.categoria-title i {
  font-size: 0.85rem;
  color: #ff4444;
}

/* Secciones */
.cotizacion,
.soporte {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  text-align: center;
}

.cotizacion h2,
.soporte h2 {
  margin-bottom: 20px;
  color: #ff4444;
}

#formCotizacion {
  max-width: 500px;
  margin: 0 auto;
}

#formCotizacion input,
#formCotizacion textarea,
#formCotizacion button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#formCotizacion input::placeholder,
#formCotizacion textarea::placeholder {
  color: #cccccc;
}

#formCotizacion button {
  background: #ff4444;
  cursor: pointer;
  transition: background 0.3s ease;
}

#formCotizacion button:hover {
  background: #cc3333;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 50px;
  backdrop-filter: blur(10px);
}

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

.footer-info p {
  color: #cccccc;
  font-size: 0.9rem;
}

.footer-developer p {
  color: #cccccc;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.developer-link {
  color: #00d4ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 15px;
  background: rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
}

.developer-link:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.developer-link i {
  font-size: 1.1rem;
}


/* Botones flotantes — desktop */
.floating-buttons {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.carrito-flotante,
.whatsapp-flotante {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  position: relative;
}

.carrito-flotante {
  background: #4caf50;
}

.whatsapp-flotante {
  background: #25d366;
}


.carrito-flotante:hover,
.whatsapp-flotante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.carrito-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border: 2px solid #1a1a1a;
}

/* Modales */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  color: #ffffff;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #cccccc;
}

.close:hover {
  color: #ff4444;
}

#carritoItems {
  margin: 20px 0;
}

.carrito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.carrito-total {
  text-align: center;
  font-size: 1.5rem;
  margin: 20px 0;
  color: #4caf50;
}

.btn-finalizar {
  width: 100%;
  padding: 15px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-finalizar:hover {
  background: #cc3333;
}

#formCheckout input,
#formCheckout select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#formCheckout input::placeholder {
  color: #cccccc;
}

#formCheckout button {
  width: 100%;
  padding: 15px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#formCheckout button:hover {
  background: #1ea952;
}

/* ─── MOBILE (≤768px) ─── */
@media (max-width: 768px) {
  .container {
    padding: 12px 8px 0;
  }

  /* Mostrar hamburger, ocultar nav */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 20px 16px;
    border-radius: 16px;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    z-index: 1100;
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
  }

  .nav-menu.active {
    display: flex;
    animation: slideDown 0.25s ease-out;
  }

  .nav-menu a {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
    justify-content: center;
    width: 100%;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Ocultar floating-buttons de desktop */
  .floating-buttons {
    position: fixed;
    right: unset;
    top: unset;
    transform: none;
    /* se convierte en bottom nav bar */
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    z-index: 1000;
  }

  /* Barra de búsqueda mobile — dentro del bottom nav */
  .floating-buttons::before {
    content: '';
    display: none;
  }

  .carrito-flotante,
  .whatsapp-flotante {
    position: relative;
    width: auto;
    flex: 1;
    height: auto;
    padding: 8px 12px;
    font-size: 1.25rem;
    border-radius: 14px;
    flex-direction: column;
    gap: 4px;
  }

  .float-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #fff;
    line-height: 1;
  }

  /* Dar espacio al contenido para no quedar detrás del nav */
  body::after {
    content: '';
    display: block;
    height: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  /* Grilla — 1 columna en móvil, tarjetas grandes */
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Tarjeta horizontal en móvil */
  .producto-card {
    flex-direction: row;
    border-radius: 18px;
    min-height: 130px;
  }

  .producto-imagen {
    width: 130px;
    min-width: 130px;
    aspect-ratio: 1 / 1;
    border-radius: 18px 0 0 18px;
  }

  .producto-imagen::after { display: none; }

  .producto-info {
    padding: 14px 16px;
    gap: 8px;
    justify-content: center;
  }

  .producto-info h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .precio { font-size: 1.25rem; }

  .btn-agregar {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  /* Badge popular se reposiciona en horizontal */
  .badge-popular {
    top: 8px;
    left: 8px;
    font-size: 0.62rem;
  }

  /* Botón info en tarjeta horizontal */
  .btn-info {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  /* Header */
  .logo { width: 100px; }

  .subtitle h2 { font-size: 1.1rem; }
  .subtitle p  { font-size: 0.88rem; }

  .section-title { font-size: 1.25rem; margin-bottom: 18px; }
  .categoria-title { font-size: 0.8rem; letter-spacing: 1.2px; }

  /* Modal */
  .modal-content {
    width: 96%;
    margin: 4% auto;
    padding: 20px;
    max-height: 88vh;
    border-radius: 18px;
  }

  /* Modal ocupa pantalla casi completa en phones muy pequeños */
  @media (max-height: 600px) {
    .modal-content {
      margin: 2% auto;
      max-height: 95vh;
    }
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ─── SMALL PHONES (≤480px) ─── */
@media (max-width: 480px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  /* Tarjeta un poco más compacta en phones muy pequeños */
  .producto-card  { min-height: 115px; }
  .producto-imagen { width: 115px; min-width: 115px; }

  .footer { padding: 18px 0; }
  .footer-info p { font-size: 0.78rem; }
}

/* ─── TABLET (≥600px) — vuelve a vertical multi-columna ─── */
@media (min-width: 600px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .producto-card  { flex-direction: column; min-height: unset; }
  .producto-imagen { width: 100%; min-width: unset; aspect-ratio: 1/1; border-radius: 20px 20px 0 0; }
  .producto-imagen::after { display: block; }
  .producto-info  { padding: 14px 14px 16px; gap: 10px; justify-content: flex-start; }
  .producto-info h3 { font-size: 0.88rem; }
  .precio { font-size: 1.35rem; }
  .btn-agregar { padding: 10px 12px; font-size: 0.82rem; }
  .btn-info { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 0.85rem; }
}

/* ─── DESKTOP (≥900px) — auto-fill ─── */
@media (min-width: 900px) {
  .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
}

/* Estilos específicos para área de revendedores */
.precios {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.precio-normal {
  font-size: 0.8rem;
  color: #cccccc;
  text-decoration: line-through;
  margin: 0;
}

.precio-reseller {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4caf50;
  margin: 0;
}

/* ══════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════ */
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.trust-item i {
  color: #4caf50;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════
   CÓMO FUNCIONA
══════════════════════════════════════════ */
.como-funciona {
  margin: 50px 0;
  text-align: center;
}

.pasos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  flex-wrap: wrap;
}

.paso {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px 24px;
  width: 220px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.paso:hover {
  transform: translateY(-4px);
  border-color: rgba(76,175,80,0.3);
}

.paso-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50, #388e3c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 8px 20px rgba(76,175,80,0.35);
}

.paso-numero {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.paso h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.paso p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.paso-conector {
  color: rgba(255,255,255,0.15);
  font-size: 1.2rem;
  padding: 0 12px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   BADGE POPULAR + PRECIO TACHADO + GARANTÍA
══════════════════════════════════════════ */
.badge-popular {
  position: absolute;
  top: -1px;
  left: 12px;
  background: linear-gradient(135deg, #ff4444, #cc2222);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.3px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(255,68,68,0.4);
}

.precio-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.precio-original {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
}

.garantia-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #4caf50;
  font-weight: 500;
}

.garantia-tag i {
  font-size: 0.7rem;
}

/* Animación botón al agregar */
.btn-agregado {
  background: linear-gradient(135deg, #388e3c, #2e7d32) !important;
  transform: scale(0.97) !important;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════ */
.testimonios {
  margin: 50px 0;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.testimonio-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76,175,80,0.25);
}

.testimonio-estrellas {
  color: #ffd700;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonio-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonio-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonio-autor strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.testimonio-autor small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════
   FOOTER MEJORADO
══════════════════════════════════════════ */
.footer-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-trust i {
  color: #4caf50;
  font-size: 0.8rem;
}

/* Google Rating Banner */
.google-rating-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.google-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.google-rating-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.google-stars {
  color: #ffd700;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.google-rating-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(66,133,244,0.15);
  border: 1px solid rgba(66,133,244,0.35);
  color: #7ab3f5;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.btn-google-reviews:hover {
  background: rgba(66,133,244,0.28);
  border-color: rgba(66,133,244,0.6);
  color: #aaccff;
}

.testimonio-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4285f4 !important;
  font-size: 0.7rem !important;
}

.google-badge i {
  font-size: 0.65rem;
}

/* Mobile - secciones nuevas */
@media (max-width: 768px) {
  .pasos-grid {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .paso {
    width: 100%;
    max-width: 340px;
    padding: 22px 20px;
  }

  .paso-conector {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-strip {
    gap: 8px 16px;
    padding: 12px 14px;
  }

  .trust-item {
    font-size: 0.76rem;
  }

  .footer-trust {
    justify-content: center;
    gap: 14px;
  }
}

/* Modal de descripción (móvil) */
.descripcion-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  backdrop-filter: blur(5px);
}

.descripcion-modal.show {
  display: block;
}

.descripcion-modal-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  margin: 20% auto;
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalFadeIn 0.3s ease;
}

.descripcion-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.descripcion-modal-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
  flex: 1;
}

.descripcion-modal-close {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.descripcion-modal-close:hover {
  background: rgba(255, 68, 68, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

.descripcion-modal-body {
  color: #cccccc;
  line-height: 1.5;
  font-size: 0.9rem;
  text-align: left;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

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

  .descripcion-modal-header h3 { font-size: 1rem; }

  .descripcion-modal-close {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .descripcion-modal-body { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .descripcion-modal-content {
    width: 95%;
    margin: 40% auto;
    padding: 15px;
  }

  .descripcion-modal-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .descripcion-modal-header h3 { font-size: 0.9rem; }

  .descripcion-modal-close {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}
