/* ============================================
   DELRAM TECH SUPPORT — Rediseño 2026
   Paleta corporativa tecnológica
   ============================================ */

:root {
  --dr-bg-deep: #0a1929;
  --dr-bg-dark: #0f172a;
  --dr-bg-card: #1e293b;
  --dr-bg-elevated: #233449;
  --dr-blue-primary: #2563eb;
  --dr-blue-corporate: #1e3a8a;
  --dr-cyan-accent: #06b6d4;
  --dr-cyan-bright: #22d3ee;
  --dr-text-primary: #ffffff;
  --dr-text-secondary: #cbd5e1;
  --dr-text-muted: #94a3b8;
  --dr-text-dim: #64748b;
  --dr-border: rgba(37, 99, 235, 0.2);
  --dr-border-hover: rgba(6, 182, 212, 0.4);
  --dr-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --dr-font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --dr-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--dr-font-body);
  background-color: var(--dr-bg-deep);
  color: var(--dr-text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dr-font-heading);
  color: var(--dr-text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: var(--dr-cyan-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--dr-cyan-bright); }

/* ============ NAVBAR ============ */
.dr-navbar {
  background-color: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dr-border);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.dr-navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(10, 25, 41, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dr-navbar .navbar-brand img {
  max-height: 70px;
  width: auto;
  transition: transform 0.3s ease;
}

.dr-navbar.scrolled .navbar-brand img {
  max-height: 56px;
}

.dr-navbar .navbar-brand:hover img { transform: scale(1.05); }

.dr-navbar .nav-link {
  color: var(--dr-text-secondary) !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s ease;
}

.dr-navbar .nav-link:hover { color: var(--dr-cyan-bright) !important; }
.dr-navbar .nav-link.active { color: var(--dr-cyan-accent) !important; }

.dr-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--dr-cyan-accent);
  border-radius: 2px;
}

.dr-navbar .navbar-toggler {
  border: 1px solid var(--dr-border);
  padding: 0.4rem 0.6rem;
}

.dr-navbar .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--dr-cyan-accent); }

.dr-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2306b6d4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ============ HERO CARRUSEL ============ */
.dr-hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  background: var(--dr-bg-deep);
}

.dr-hero-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.dr-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  z-index: 1;
}

.dr-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Imagen de fondo de cada slide */
.dr-hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 7s ease-out;
}

.dr-hero-slide.active .dr-hero-slide-bg {
  transform: scale(1);
}

/* Overlay oscuro con gradiente para legibilidad */
.dr-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 41, 0.85) 0%,
    rgba(10, 25, 41, 0.65) 45%,
    rgba(10, 25, 41, 0.35) 100%
  );
  z-index: 1;
}

/* Patrón de puntos decorativo */
.dr-hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

/* Contenido de texto y botones sobre la imagen */
.dr-hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px; /* espacio para el navbar */
}

.dr-hero-slide-content .container {
  max-width: 1200px;
}

.dr-hero-slide-content .dr-hero-badge {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.dr-hero-slide-content h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.dr-hero-slide-content p.lead {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.dr-hero-slide-content .dr-hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
}

.dr-hero-slide.active .dr-hero-badge,
.dr-hero-slide.active h1,
.dr-hero-slide.active p.lead,
.dr-hero-slide.active .dr-hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Controles: flechas anterior/siguiente */
.dr-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(10, 25, 41, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: white;
}

.dr-hero-arrow:hover {
  background: var(--dr-cyan-accent);
  border-color: var(--dr-cyan-accent);
  transform: translateY(-50%) scale(1.1);
}

.dr-hero-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.dr-hero-arrow-prev { left: 24px; }
.dr-hero-arrow-next { right: 24px; }

/* Indicadores (puntos) */
.dr-hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dr-hero-dot {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dr-hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.dr-hero-dot.active {
  background: var(--dr-cyan-accent);
  width: 52px;
}

/* Responsive */
@media (max-width: 991px) {
  .dr-hero-carousel {
    min-height: 520px;
    max-height: 700px;
  }
  .dr-hero-slide::before {
    background: linear-gradient(
      180deg,
      rgba(10, 25, 41, 0.75) 0%,
      rgba(10, 25, 41, 0.55) 50%,
      rgba(10, 25, 41, 0.85) 100%
    );
  }
}

@media (max-width: 767px) {
  .dr-hero-carousel {
    height: 85vh;
    min-height: 480px;
  }
  .dr-hero-slide-content {
    text-align: center;
    padding-top: 70px;
  }
  .dr-hero-slide-content .dr-hero-buttons { justify-content: center; }
  .dr-hero-arrow {
    width: 42px;
    height: 42px;
  }
  .dr-hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .dr-hero-arrow-prev { left: 12px; }
  .dr-hero-arrow-next { right: 12px; }
  .dr-hero-dots { bottom: 20px; }
  .dr-hero-dot { width: 28px; }
  .dr-hero-dot.active { width: 40px; }
}

@media (max-width: 480px) {
  .dr-hero-carousel {
    height: 80vh;
    min-height: 420px;
  }
}

.dr-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.dr-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.dr-hero-content { position: relative; z-index: 2; }

.dr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--dr-cyan-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.dr-hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--dr-cyan-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.dr-hero h1,
.dr-hero-slide h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.dr-hero h1 .highlight,
.dr-hero-slide h1 .highlight {
  background: linear-gradient(135deg, var(--dr-cyan-accent), var(--dr-cyan-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dr-hero p.lead,
.dr-hero-slide p.lead {
  font-size: 1.125rem;
  color: var(--dr-text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.dr-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.dr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.dr-btn-primary {
  background: var(--dr-blue-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.dr-btn-primary:hover {
  background: var(--dr-cyan-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.dr-btn-outline {
  background: transparent;
  color: var(--dr-cyan-accent);
  border: 1px solid var(--dr-cyan-accent);
}

.dr-btn-outline:hover {
  background: var(--dr-cyan-accent);
  color: white;
  transform: translateY(-2px);
}

.dr-btn-white {
  background: white;
  color: var(--dr-blue-corporate);
}

.dr-btn-white:hover {
  background: var(--dr-cyan-bright);
  color: var(--dr-bg-deep);
  transform: translateY(-2px);
}

.dr-btn-whatsapp {
  background: #25D366;
  color: white;
}

.dr-btn-whatsapp:hover {
  background: #1ea855;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.dr-btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.825rem;
}

/* ============ SECTION TITLES ============ */
.dr-section { padding: 5rem 0; position: relative; }
.dr-section-dark { background-color: var(--dr-bg-dark); }

.dr-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.dr-section-tag {
  display: inline-block;
  color: var(--dr-cyan-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.dr-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.dr-section-subtitle {
  color: var(--dr-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ SERVICE CARDS ============ */
.dr-service-card {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dr-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dr-cyan-accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.dr-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--dr-border-hover);
  box-shadow: var(--dr-shadow);
}

.dr-service-card:hover::before { transform: translateX(0); }

.dr-service-icon {
  width: 52px;
  height: 52px;
  background: rgba(6, 182, 212, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.dr-service-card:hover .dr-service-icon {
  background: rgba(6, 182, 212, 0.2);
  transform: scale(1.05);
}

.dr-service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--dr-cyan-accent);
}

.dr-service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--dr-text-primary);
}

.dr-service-card p {
  color: var(--dr-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

/* ============ EQUIPOS CATEGORY CARDS (página EQUIPOS.html) ============ */
.dr-category-card {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.dr-category-card:hover {
  transform: translateY(-6px);
  border-color: var(--dr-border-hover);
  box-shadow: var(--dr-shadow);
  color: inherit;
}

.dr-category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(37, 99, 235, 0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dr-category-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--dr-cyan-accent);
}

.dr-category-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.dr-category-card p {
  color: var(--dr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dr-category-brands {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dr-category-brand-tag {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--dr-cyan-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ============ PRODUCT CARDS (páginas de equipos individuales) ============ */
.dr-product-card {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.dr-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--dr-border-hover);
  box-shadow: var(--dr-shadow);
}

.dr-product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.dr-product-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.dr-product-card:hover .dr-product-img img { transform: scale(1.05); }

/* ============ CARRUSEL DE IMÁGENES EN CARDS ============ */
.dr-product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.dr-product-carousel-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.dr-product-carousel-img.active {
  opacity: 1;
}

.dr-product-carousel-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.dr-product-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.dr-product-carousel-dot {
  width: 6px;
  height: 6px;
  background: rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dr-product-carousel-dot.active {
  background: var(--dr-blue-primary);
  width: 18px;
  border-radius: 3px;
}

.dr-product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  gap: 8px;
}

.dr-product-img-placeholder svg {
  width: 56px;
  height: 56px;
  stroke: #64748b;
  opacity: 0.6;
}

.dr-product-img-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.7;
}

.dr-product-brand-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 25, 41, 0.9);
  color: var(--dr-cyan-accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Badge "Destacado" para productos del carrusel infinito */
.dr-product-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
  z-index: 2;
}

/* Suave realce de borde para tarjetas destacadas */
.dr-featured-product .dr-product-card {
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.12);
}

.dr-product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dr-product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dr-text-primary);
  margin: 0 0 0.5rem;
}

.dr-product-desc {
  color: var(--dr-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.dr-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.dr-product-spec {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--dr-text-secondary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
}

.dr-product-actions {
  display: flex;
  gap: 8px;
}

.dr-product-actions .dr-btn { flex: 1; justify-content: center; }

/* ============ CTA BANNER ============ */
.dr-cta {
  background: linear-gradient(135deg, var(--dr-blue-corporate) 0%, var(--dr-blue-primary) 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

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

.dr-cta-content { position: relative; z-index: 2; }

.dr-cta h3 {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
  color: white;
}

.dr-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 1rem;
}

/* ============ FOOTER ============ */
.dr-footer {
  background: var(--dr-bg-deep);
  border-top: 1px solid var(--dr-border);
  padding: 3rem 0 0;
}

.dr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.dr-footer-brand img {
  max-height: 80px;
  margin-bottom: 1rem;
}

.dr-footer-brand p {
  color: var(--dr-text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.dr-footer h5 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--dr-cyan-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.dr-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dr-footer-list li { margin-bottom: 0.6rem; }

.dr-footer-list a {
  color: var(--dr-text-secondary);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.dr-footer-list a:hover { color: var(--dr-cyan-accent); }

.dr-footer-contact {
  color: var(--dr-text-secondary);
  font-size: 0.925rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.dr-footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--dr-cyan-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.dr-footer-bottom {
  border-top: 1px solid var(--dr-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--dr-text-dim);
  font-size: 0.85rem;
}

/* ============ REDES SOCIALES (FOOTER) ============ */
.dr-social-icons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.dr-social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  color: var(--dr-cyan-accent);
  transition: all 0.25s ease;
  text-decoration: none;
}

.dr-social-icon:hover {
  background: var(--dr-cyan-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
  border-color: var(--dr-cyan-accent);
}

.dr-social-icon.dr-social-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.dr-social-icon.dr-social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.dr-social-icon.dr-social-wa:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.dr-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============ PAGE HEADER ============ */
.dr-page-header {
  background: linear-gradient(135deg, var(--dr-bg-deep) 0%, var(--dr-blue-corporate) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.dr-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* ============ VARIANTE: page-header con banner Canon ============ */
.dr-page-header.dr-page-header-canon {
  background-image: url('../img/canon-banner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--dr-bg-deep);
  padding: 180px 0 100px;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* Overlay muy sutil solo para asegurar legibilidad del texto en el lado derecho */
.dr-page-header.dr-page-header-canon::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 41, 0) 0%,
    rgba(10, 25, 41, 0) 40%,
    rgba(10, 25, 41, 0.3) 70%,
    rgba(10, 25, 41, 0.5) 100%
  );
  background-image: linear-gradient(
    90deg,
    rgba(10, 25, 41, 0) 0%,
    rgba(10, 25, 41, 0) 40%,
    rgba(10, 25, 41, 0.3) 70%,
    rgba(10, 25, 41, 0.5) 100%
  );
  background-size: auto;
  pointer-events: none;
  z-index: 1;
}

/* No agregar ::after - la imagen ya trae el patrón de puntos */
.dr-page-header.dr-page-header-canon::after {
  display: none;
}

/* Contenido a la derecha donde el banner es más oscuro */
.dr-page-header.dr-page-header-canon .dr-page-header-content {
  text-align: right;
  margin-left: auto;
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.dr-page-header.dr-page-header-canon .dr-breadcrumb {
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .dr-page-header.dr-page-header-canon {
    background-position: 30% center;
    min-height: 380px;
    padding: 150px 0 60px;
  }
  .dr-page-header.dr-page-header-canon .dr-page-header-content {
    max-width: 100%;
    text-align: center;
  }
  .dr-page-header.dr-page-header-canon .dr-breadcrumb {
    justify-content: center;
  }
  .dr-page-header.dr-page-header-canon::before {
    background: linear-gradient(
      180deg,
      rgba(10, 25, 41, 0.4) 0%,
      rgba(10, 25, 41, 0.7) 100%
    );
    background-image: linear-gradient(
      180deg,
      rgba(10, 25, 41, 0.4) 0%,
      rgba(10, 25, 41, 0.7) 100%
    );
  }
}

@media (max-width: 575px) {
  .dr-page-header.dr-page-header-canon {
    min-height: 320px;
    padding: 120px 0 50px;
  }
}

.dr-page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.dr-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
}

.dr-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--dr-text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.dr-breadcrumb a { color: var(--dr-cyan-accent); }
.dr-breadcrumb .separator { color: var(--dr-text-dim); }

/* ============ ABOUT PAGE ============ */
.dr-about-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--dr-shadow);
}

.dr-about-card {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.dr-about-card:hover {
  border-color: var(--dr-border-hover);
  transform: translateY(-2px);
}

.dr-about-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dr-cyan-accent);
}

.dr-about-card h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--dr-cyan-accent);
}

.dr-about-card p {
  color: var(--dr-text-secondary);
  margin: 0;
  line-height: 1.75;
}

/* ============ MARCAS GRID ============ */
.dr-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.dr-brand-card {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dr-brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dr-brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--dr-border-hover);
  box-shadow: var(--dr-shadow);
}

.dr-brand-card:hover::before { opacity: 1; }

.dr-brand-card img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.dr-brand-card:hover img { filter: brightness(1.1); }

/* ============ SERVICIOS PAGE ============ */
.dr-servicio-item {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.dr-servicio-item:hover {
  transform: translateY(-4px);
  border-color: var(--dr-border-hover);
  box-shadow: var(--dr-shadow);
}

.dr-servicio-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dr-bg-elevated);
}

.dr-servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dr-servicio-item:hover .dr-servicio-img img { transform: scale(1.05); }

.dr-servicio-body { padding: 1.5rem; }
.dr-servicio-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.dr-servicio-body p { color: var(--dr-text-muted); font-size: 0.925rem; margin: 0; }

/* ============ CONTACTO PAGE ============ */
.dr-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dr-contact-info {
  background: var(--dr-bg-card);
  border: 1px solid var(--dr-border);
  border-radius: 12px;
  padding: 2.5rem;
}

.dr-contact-info h3 { font-size: 1.35rem; margin-bottom: 1.75rem; }

.dr-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--dr-border);
}

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

.dr-contact-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(6, 182, 212, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dr-contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--dr-cyan-accent);
}

.dr-contact-item-content h5 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--dr-cyan-accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.dr-contact-item-content a,
.dr-contact-item-content p {
  color: var(--dr-text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

.dr-contact-item-content a:hover { color: var(--dr-cyan-accent); }

.dr-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dr-border);
  height: 100%;
  min-height: 400px;
}

.dr-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.dr-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.dr-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FLOATING WHATSAPP ============ */
.dr-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2.5s infinite;
}

.dr-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.dr-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .dr-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .dr-contact-grid { grid-template-columns: 1fr; }
  .dr-map { min-height: 350px; }
  .dr-navbar { padding: 0.75rem 0; }

  .dr-navbar .navbar-collapse {
    background: var(--dr-bg-card);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--dr-border);
    max-height: 70vh;
    overflow-y: auto;
  }

  .dr-navbar .nav-link.active::after { display: none; }

  /* Mega menú en móvil: acordeón en lugar de dropdown */
  .dr-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(6, 182, 212, 0.05);
    margin: 4px 0 4px 12px;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border: none;
  }

  .dr-dropdown.open > .dr-dropdown-menu {
    max-height: 600px;
    padding: 8px;
  }

  .dr-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(6, 182, 212, 0.05);
    margin: 4px 0 4px 12px;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border: none;
  }

  .dr-dropdown-menu > li.open > .dr-submenu {
    max-height: 300px;
    padding: 8px;
  }

  .dr-submenu-arrow { transform: rotate(135deg); transition: transform 0.2s; }
  .dr-dropdown-menu > li.open .dr-submenu-arrow { transform: rotate(-45deg); }
}

@media (max-width: 767px) {
  .dr-hero { min-height: auto; padding: 110px 0 60px; text-align: center; }
  .dr-hero-buttons { justify-content: center; }
  .dr-section { padding: 3.5rem 0; }
  .dr-footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .dr-footer-brand p { margin-left: auto; margin-right: auto; }
  .dr-footer-contact { justify-content: center; }
  .dr-cta { text-align: center; padding: 3rem 0; }
  .dr-cta .dr-cta-button-wrap { margin-top: 1.5rem; display: flex; justify-content: center; }
  .dr-page-header { padding: 130px 0 60px; }
  .dr-contact-info { padding: 1.75rem; }
}

@media (max-width: 575px) {
  .dr-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .dr-brand-card { padding: 1.25rem 1rem; }
  .dr-whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .dr-product-actions { flex-direction: column; }
}

/* ============ PARTNERS BANNER (HP / CANON) ============ */
.dr-partners-banner {
  display: flex;
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #0a1929;
}

.dr-partners-half {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease;
}

/* Mitad azul HP con corte diagonal */
.dr-partners-half-hp {
  background: #0091DA;
  clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
  margin-right: -80px;
  z-index: 2;
  padding: 0.5rem 5rem 0.5rem 2rem;
}

/* Mitad roja Canon con corte diagonal */
.dr-partners-half-canon {
  background: #E60012;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  padding: 2rem 2rem 2rem 5rem;
}

/* Efecto hover: oscurecer ligeramente la mitad */
.dr-partners-half:hover {
  filter: brightness(0.92);
}

/* Logos PNG centrados encima del color */
.dr-partners-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* HP es un logo cuadrado (círculo) — necesita altura mayor */
.dr-partners-half-hp .dr-partners-logo {
  max-height: 240px;
  max-width: 75%;
}

/* Canon es un wordmark apaisado — se ve bien con altura menor */
.dr-partners-half-canon .dr-partners-logo {
  max-height: 100px;
  max-width: 75%;
}

.dr-partners-half:hover .dr-partners-logo {
  transform: scale(1.05);
}

/* Responsive: tablet */
@media (max-width: 991px) {
  .dr-partners-banner { height: 180px; }
  .dr-partners-half-hp .dr-partners-logo { max-height: 170px; }
  .dr-partners-half-canon .dr-partners-logo { max-height: 75px; }
  .dr-partners-half-hp {
    clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
    margin-right: -50px;
    padding: 1rem 3.5rem 1rem 1rem;
  }
  .dr-partners-half-canon {
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%);
    padding: 1rem 1rem 1rem 3.5rem;
  }
}

/* Responsive: móvil - mantener horizontal (lado a lado) más compacto */
@media (max-width: 767px) {
  .dr-partners-banner { height: 130px; }
  .dr-partners-half-hp .dr-partners-logo { max-height: 120px; }
  .dr-partners-half-canon .dr-partners-logo { max-height: 55px; }
  .dr-partners-half-hp {
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
    margin-right: -35px;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  }
  .dr-partners-half-canon {
    clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .dr-partners-banner { height: 100px; }
  .dr-partners-half-hp .dr-partners-logo { max-height: 90px; }
  .dr-partners-half-canon .dr-partners-logo { max-height: 42px; }
  .dr-partners-half-hp {
    clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%);
    margin-right: -25px;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
  }
  .dr-partners-half-canon {
    clip-path: polygon(25px 0, 100% 0, 100% 100%, 0 100%);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
  }
}

/* ============ BACK TO TOP ============ */
.dr-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 92px;
  width: 48px;
  height: 48px;
  background: rgba(10, 25, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  color: var(--dr-cyan-accent);
}

.dr-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dr-back-to-top:hover {
  background: var(--dr-cyan-accent);
  color: white;
  transform: translateY(-2px);
}

.dr-back-to-top svg { width: 20px; height: 20px; stroke: currentColor; }

@media (max-width: 575px) {
  .dr-back-to-top { right: 82px; width: 42px; height: 42px; bottom: 18px; }
}

/* ============ MARQUEE / CARRUSEL INFINITO DE EQUIPOS ============ */
.dr-marquee-section {
  background: linear-gradient(180deg, #06111f 0%, #0a1929 50%, #06111f 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}

.dr-marquee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.dr-marquee-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.dr-marquee-eyebrow {
  display: inline-block;
  color: var(--dr-cyan-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
}

.dr-marquee-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
}

.dr-marquee-subtitle {
  color: var(--dr-text-secondary);
  font-size: 1rem;
  margin: 0;
}

.dr-marquee {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.dr-marquee:last-child { margin-bottom: 0; }

.dr-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
  /* padding-right para compensar el gap en el loop */
  padding-right: 1.25rem;
}

.dr-marquee-left .dr-marquee-track {
  animation: dr-scroll-left 80s linear infinite;
}

.dr-marquee-right .dr-marquee-track {
  animation: dr-scroll-right 80s linear infinite;
}

@keyframes dr-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.625rem)); }
}

@keyframes dr-scroll-right {
  from { transform: translateX(calc(-50% - 0.625rem)); }
  to { transform: translateX(0); }
}

.dr-marquee:hover .dr-marquee-track {
  animation-play-state: paused;
}

.dr-marquee-item {
  flex-shrink: 0;
  width: 240px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(6, 182, 212, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dr-marquee-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.5);
}

.dr-marquee-item img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f8fafc;
  padding: 1rem;
  display: block;
}

/* Contenedor de imagen con efecto de cambio en hover */
.dr-marquee-img {
  position: relative;
  width: 100%;
  height: 160px;
  background: #f8fafc;
  overflow: hidden;
}

.dr-marquee-img img,
.dr-marquee-img picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.4s ease;
}

.dr-marquee-img picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  display: block;
}

.dr-marquee-img-front {
  opacity: 1;
  z-index: 2;
}

.dr-marquee-img-back {
  opacity: 0;
  z-index: 1;
}

.dr-marquee-item:hover .dr-marquee-img-front {
  opacity: 0;
}

.dr-marquee-item:hover .dr-marquee-img-back {
  opacity: 1;
}

/* Si la imagen está dentro de <picture>, el efecto hover se aplica al <picture> padre */
.dr-marquee-item:hover picture:has(.dr-marquee-img-front) {
  opacity: 0;
}

.dr-marquee-item:hover picture:has(.dr-marquee-img-back) {
  opacity: 1;
}

.dr-marquee-img picture:has(.dr-marquee-img-front) {
  opacity: 1;
  z-index: 2;
}

.dr-marquee-img picture:has(.dr-marquee-img-back) {
  opacity: 0;
  z-index: 1;
}

/* En dispositivos táctiles (sin hover real), no cargamos la imagen secundaria */
@media (hover: none) {
  .dr-marquee-img-back,
  .dr-marquee-img picture:has(.dr-marquee-img-back) {
    display: none;
  }
}

.dr-marquee-item-info {
  padding: 0.75rem 1rem 1rem;
  background: white;
  text-align: center;
}

.dr-marquee-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dr-blue-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

.dr-marquee-item-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .dr-marquee-section { padding: 60px 0 40px; }
  .dr-marquee-item { width: 180px; }
  .dr-marquee-item img { height: 120px; padding: 0.75rem; }
  .dr-marquee-img { height: 120px; }
  .dr-marquee-item-info { padding: 0.6rem 0.8rem 0.8rem; }
  .dr-marquee-item-info h4 { font-size: 0.8rem; }
  .dr-marquee-track { gap: 1rem; }
}

@media (max-width: 480px) {
  .dr-marquee-item { width: 150px; }
  .dr-marquee-item img { height: 100px; }
  .dr-marquee-img { height: 100px; }
}

/* ============ CARRUSEL DE MARCAS / LOGOS ============ */
.dr-brands-marquee {
  background: linear-gradient(180deg, #0a1929 0%, #06111f 100%);
  padding: 60px 0 70px;
  overflow: hidden;
  position: relative;
}

.dr-brands-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.dr-brands-strip {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.dr-brands-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: dr-scroll-left 80s linear infinite;
  will-change: transform;
}

.dr-brands-strip:hover .dr-brands-track {
  animation-play-state: paused;
}

.dr-brand-logo-card {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dr-brand-logo-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.5);
}

.dr-brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

@media (max-width: 767px) {
  .dr-brands-marquee { padding: 50px 0 60px; }
  .dr-brand-logo-card { width: 140px; height: 80px; padding: 1rem 1.25rem; }
  .dr-brands-track { gap: 1rem; }
}

@media (max-width: 480px) {
  .dr-brand-logo-card { width: 120px; height: 70px; padding: 0.75rem 1rem; }
}

/* ============ MEGA MENU (panel ancho con 10 categorías en grid 5x2) ============ */
.dr-megamenu {
  position: static; /* el panel se posiciona relativo al navbar */
}

.dr-megamenu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #06111f;
  background-image:
    linear-gradient(180deg, rgba(10, 25, 41, 0.92) 0%, rgba(6, 17, 31, 0.95) 100%),
    url('../img/equipos-banner.jpg');
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
  border-top: 1px solid rgba(6, 182, 212, 0.25);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1029;
  padding: 2.5rem 0;
}

.dr-megamenu:hover .dr-megamenu-panel,
.dr-megamenu:focus-within .dr-megamenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dr-megamenu-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Grid 5 columnas × 2 filas para 10 categorías */
.dr-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 2rem;
}

.dr-megamenu-col {
  min-width: 0;
}

.dr-megamenu-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dr-cyan-accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  white-space: nowrap;
}

.dr-megamenu-heading svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dr-megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dr-megamenu-list li {
  margin-bottom: 0.15rem;
}

.dr-megamenu-list a {
  display: block;
  padding: 0.35rem 0.5rem;
  color: var(--dr-text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dr-megamenu-list a:hover {
  background: rgba(6, 182, 212, 0.08);
  color: white;
  padding-left: 0.75rem;
}

/* Responsive: tablet — pasar a 3 columnas */
@media (max-width: 1199px) {
  .dr-megamenu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Responsive: tablet/móvil — pasar a click en lugar de hover */
@media (max-width: 991px) {
  .dr-megamenu-panel {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .dr-megamenu.dr-mobile-open .dr-megamenu-panel {
    max-height: 2000px;
    padding: 1rem 0;
  }

  .dr-megamenu-content {
    padding: 0 1rem;
  }

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

  .dr-megamenu-col {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
  }
}

@media (max-width: 575px) {
  .dr-megamenu-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BARRA DE BÚSQUEDA (INLINE dentro del navbar)
   Entre el logo y los items de navegación
   ============================================================ */

/* La barra ya no es una sección flotante: vive dentro del navbar */
.dr-searchbar.dr-searchbar-inline {
  position: relative;
  flex: 1 1 auto;
  max-width: 480px;
  margin: 0 1.5rem;
  display: flex;
  align-items: center;
}

/* Form: input + botones, compacto para caber en el navbar */
.dr-searchbar-form {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 40px;
}

.dr-searchbar-form:focus-within {
  border-color: var(--dr-cyan-corporate, #06b6d4);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

/* Botón "Todos" */
.dr-searchbar-cat {
  background: linear-gradient(135deg, #0a1929 0%, #06111f 100%);
  color: #ffffff;
  border: 0;
  padding: 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border-right: 1px solid rgba(6, 182, 212, 0.35);
  min-width: 90px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.dr-searchbar-cat:hover,
.dr-searchbar-cat.is-open {
  background: linear-gradient(135deg, #0d2540 0%, #0a1929 100%);
}

.dr-searchbar-cat-label {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
}

.dr-searchbar-cat-arrow {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.dr-searchbar-cat.is-open .dr-searchbar-cat-arrow {
  transform: rotate(180deg);
}

/* Input */
.dr-searchbar-input {
  flex: 1;
  border: 0;
  padding: 0 0.9rem;
  font-size: 0.875rem;
  outline: none;
  color: #0f172a;
  background: transparent;
  min-width: 0;
  height: 100%;
}

.dr-searchbar-input::placeholder {
  color: #64748b;
}

/* Botón "Buscar" */
.dr-searchbar-submit {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #ffffff;
  border: 0;
  padding: 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
  transition: filter 0.2s ease;
  white-space: nowrap;
}

.dr-searchbar-submit:hover { filter: brightness(1.12); }
.dr-searchbar-submit:active { filter: brightness(0.95); }

/* ============================================================
   DROPDOWN DE CATEGORÍAS — UNA SOLA COLUMNA, BIEN ORDENADO
   ============================================================ */
.dr-searchbar-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 2rem);
  max-height: 480px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0a1929 0%, #06111f 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 1050;
}

.dr-searchbar-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scrollbar custom */
.dr-searchbar-dropdown::-webkit-scrollbar {
  width: 7px;
}
.dr-searchbar-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.dr-searchbar-dropdown::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.45);
  border-radius: 8px;
}
.dr-searchbar-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.7);
}

/* "Todos" arriba */
.dr-searchbar-dd-all {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  margin: 0 0.4rem 0.3rem;
  border-radius: 6px;
  transition: background 0.18s ease;
  text-decoration: none;
}

.dr-searchbar-dd-all:hover,
.dr-searchbar-dd-all.is-active {
  background: rgba(6, 182, 212, 0.2);
  color: #ffffff;
}

.dr-searchbar-dd-separator {
  height: 1px;
  background: rgba(6, 182, 212, 0.18);
  margin: 0.25rem 0.8rem 0.4rem;
}

/* Encabezado de categoría padre — MAYÚSCULA cyan */
.dr-searchbar-dd-heading {
  color: var(--dr-cyan-corporate, #06b6d4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.6rem 1rem 0.25rem;
  text-transform: uppercase;
}

/* Subcategorías hijas — una por línea, bien ordenadas */
.dr-searchbar-dd-item {
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.42rem 1rem 0.42rem 1.5rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  text-transform: none;
  text-decoration: none;
}

.dr-searchbar-dd-item:hover {
  background: rgba(6, 182, 212, 0.12);
  color: #ffffff;
  padding-left: 1.7rem;
}

/* ============================================================
   RESPONSIVE: tablet — barra más compacta
   ============================================================ */
@media (max-width: 1199px) {
  .dr-searchbar.dr-searchbar-inline {
    max-width: 360px;
    margin: 0 1rem;
  }
  .dr-searchbar-cat {
    min-width: 80px;
    padding: 0 0.7rem;
  }
  .dr-searchbar-submit {
    padding: 0 0.9rem;
  }
}

/* ============================================================
   RESPONSIVE: móvil (<992px) — la barra pasa a una segunda fila
   debajo del logo (Bootstrap colapsa el navbar a partir de aquí)
   ============================================================ */
@media (max-width: 991px) {
  .dr-navbar .container {
    flex-wrap: wrap;
  }
  .dr-searchbar.dr-searchbar-inline {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin: 0.75rem 0 0.25rem;
  }
  .dr-searchbar-dropdown {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .dr-searchbar-cat {
    min-width: auto;
    padding: 0 0.7rem;
  }
  .dr-searchbar-cat-label {
    display: none;
  }
  .dr-searchbar-cat::before {
    content: "≡";
    font-size: 1rem;
    line-height: 1;
  }
  .dr-searchbar-input {
    padding: 0 0.7rem;
    font-size: 0.85rem;
  }
  .dr-searchbar-submit {
    padding: 0 0.85rem;
    font-size: 0.7rem;
  }
}

/* ============================================================
   FILTRO LATERAL POR MARCA + GRID DE PRODUCTOS (páginas de categoría)
   ============================================================ */
.dr-catalog-section {
  background: linear-gradient(180deg, #06111f 0%, #0a1929 100%);
}

.dr-filter-sidebar {
  position: relative;
}

.dr-filter-box {
  background: rgba(10, 25, 41, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 180px;     /* Debajo del navbar + searchbar fijos */
  backdrop-filter: blur(8px);
}

.dr-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
}

.dr-filter-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.dr-filter-title svg {
  color: var(--dr-cyan-corporate, #06b6d4);
}

.dr-filter-clear {
  background: transparent;
  border: 0;
  color: var(--dr-cyan-corporate, #06b6d4);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
}

.dr-filter-clear:hover {
  background: rgba(6, 182, 212, 0.12);
  color: #ffffff;
}

.dr-filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dr-filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  transition: background 0.15s ease;
  user-select: none;
}

.dr-filter-option:hover {
  background: rgba(6, 182, 212, 0.08);
}

.dr-filter-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dr-filter-checkmark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(6, 182, 212, 0.5);
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.dr-filter-checkbox:checked + .dr-filter-checkmark {
  background: var(--dr-cyan-corporate, #06b6d4);
  border-color: var(--dr-cyan-corporate, #06b6d4);
}

.dr-filter-checkbox:checked + .dr-filter-checkmark::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid #0a1929;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dr-filter-checkbox:focus-visible + .dr-filter-checkmark {
  outline: 2px solid var(--dr-cyan-corporate, #06b6d4);
  outline-offset: 2px;
}

.dr-filter-label {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.dr-filter-option:hover .dr-filter-label,
.dr-filter-checkbox:checked ~ .dr-filter-label {
  color: #ffffff;
}

.dr-filter-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 182, 212, 0.18);
  text-align: center;
}

.dr-filter-count {
  color: #94a3b8;
  font-size: 0.8rem;
}

#dr-filter-shown {
  color: var(--dr-cyan-corporate, #06b6d4);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mensaje "no hay equipos" */
.dr-no-results {
  text-align: center;
  padding: 4rem 1rem;
  color: #94a3b8;
}

.dr-no-results svg {
  color: rgba(6, 182, 212, 0.5);
  margin-bottom: 1rem;
}

.dr-no-results h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dr-no-results p {
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .dr-filter-box {
    position: relative;
    top: 0;
    margin-bottom: 1.5rem;
  }
}
