/*=====================================
=            1. IMPORTACIONES         =
=====================================*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;1,400;1,700&display=swap');
@import url('https://fonts.cdnfonts.com/css/elemental-end');

/*=====================================
=            2. VARIABLES ROOT        =
=====================================*/
:root {
  /* Colores */
  --primary-color: #FDDD03;
  --primary-gradient: linear-gradient(45deg, #FBEF04, #FFD102);
  --white-color: #ffffff;
  --dark-color: #171819;
  --gray-color: #909090;
  --text-color: #666262;
  --link-color: #404040;

  /* Tipografías */
  --font-heading: 'Elemental End', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Pesos */
  --font-weight-bold: 700;
  --font-weight-normal: 400;

  /* Tamaños tipográficos */
  --h1-size: 48px;
  --h2-size: 36px;
  --h3-size: 28px;
  --h4-size: 24px;
  --h5-size: 22px;
  --h6-size: 20px;
  --p-size: 18px;

  /* Navegación */
  --menu-size: 0.9rem;
}

/*=====================================
=            3. RESET GENERAL         =
=====================================*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*=====================================
=            4. ESTILO BASE           =
=====================================*/
body {
  color: var(--text-color);
  line-height: 1.5;
  font-family: var(--font-body);
  font-weight: var(--font-weight-normal);
  background: linear-gradient(-45deg, #18191d, #000000, #18191d, #000000);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  background-attachment: fixed;
}

.fondo-animado {
  min-height: 100vh;
  background: inherit;
  background-size: inherit;
  animation: inherit;
}

/*=====================================
=       5. ANIMACIÓN FONDO            =
=====================================*/
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*=====================================
=            6. TIPOGRAFÍA            =
=====================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(45deg, #808080, #e7e7e7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 { font-size: var(--h1-size); font-style: italic; }
h2 { font-size: var(--h2-size); font-style: italic; }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }
h6 { font-size: var(--h6-size); }

p {
  font-family: var(--font-body);
  font-size: var(--p-size);
  color: #d0d0d0;
  line-height: 1.6;
  font-weight: var(--font-weight-normal);
}

/*=====================================
=            7. ENLACES               =
=====================================*/
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--primary-color); }

/*=====================================
=            8. UTILIDADES            =
=====================================*/
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }

/*=====================================
=      9. BOTONES CRISTAL GLOBALES    =
=====================================*/
.btn-cta, .btn-emtag {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 13px;
  text-transform: uppercase;
  padding: 8px 28px;
  border: 1px solid rgba(255, 221, 3, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 221, 3, 0.8);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-cta:hover, .btn-emtag:hover {
  background: rgba(255, 221, 3, 0.15);
  color: #FDDD03;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 221, 3, 0.4);
}

.btn-cta:active, .btn-emtag:active {
  background: rgba(255, 221, 3, 0.25);
  color: #111;
  border-color: #FDDD03;
  transform: scale(1.06);
  box-shadow: inset 0 0 8px rgba(255, 221, 3, 0.3);
}

.btn-cta:focus, .btn-emtag:focus {
  outline: 2px solid rgba(255, 221, 3, 0.6);
  outline-offset: 3px;
}

.btn-emtag-sm {
  padding: 6px 20px;
  font-size: 12px;
}

/* =====================================
   NAVBAR PRINCIPAL EMTAG
===================================== */
.navbar {
  background: #0a0a0a;
  padding: 1rem 2rem;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: var(--menu-size, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ===============================
   LINKS DE NAVEGACIÓN
=============================== */
.navbar-nav .nav-link {
  color: #bfbfbf;
  margin-right: 1rem;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffdd03;
  text-shadow: 0 0 8px rgba(255, 221, 3, 0.5);
}

/* ===============================
   BOTÓN HAMBURGUESA
=============================== */
.navbar-toggler {
  border: none;
  background: transparent;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 25px;
  height: 2px;
  background: #bfbfbf;
  position: relative;
  transition: all 0.3s ease;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 25px;
  height: 2px;
  background: #bfbfbf;
  transition: all 0.3s ease;
}
.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

.navbar-toggler.open .navbar-toggler-icon {
  background: transparent;
}
.navbar-toggler.open .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler.open .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===============================
   DROPDOWN PRINCIPAL (RINES)
=============================== */
.navbar-nav .dropdown-menu {
  background: #0d0d0d !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  min-width: 200px;
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: #bfbfbf;
  font-size: 10px;
  font-weight: 300;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}
.navbar-nav .dropdown-menu .dropdown-item:hover {
  background: rgba(255, 221, 3, 0.1);
  color: #ffdd03;
  transform: translateX(3px);
}
.menu-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
}

/* ===============================
   TELÉFONO Y REDES
=============================== */
.phone-social-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-container,
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.phone-number,
.phone-container i,
.social-icons i {
  color: #bfbfbf;
  font-size: 0.85rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.phone-number:hover,
.phone-container i:hover,
.social-icons i:hover {
  color: #ffdd03;
  text-shadow: 0 0 6px rgba(255, 221, 3, 0.6);
}

/* ======================================
   SUBMENÚ PERSONALIZADO - ESTILO EMTAG
   Versión Sticky (fija al hacer scroll)
====================================== */

.submenu-container {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, #0b0b0b 0%, #111 100%);
  padding: 0.8rem 0;
  border-top: 1px solid rgba(253, 221, 3, 0.2);
  border-bottom: 1px solid rgba(253, 221, 3, 0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.submenu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ===== BOTONES ===== */
.submenu-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #FDDD03;
  border: 1px solid rgba(253, 221, 3, 0.4);
  border-radius: 8px;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(253, 221, 3, 0.15);
}

/* Efecto de brillo animado */
.submenu-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(253, 221, 3, 0.35),
    transparent
  );
  transition: all 0.6s ease;
}

.submenu-btn:hover::before {
  left: 130%;
}

/* Hover */
.submenu-btn:hover {
  background: rgba(253, 221, 3, 0.15);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(253, 221, 3, 0.35);
}

/* Activo / Foco */
.submenu-btn:active,
.submenu-btn:focus {
  outline: none;
  background: rgba(253, 221, 3, 0.25);
  color: #fff;
  box-shadow: inset 0 0 10px rgba(253, 221, 3, 0.3);
}

/* ===== DROPDOWN PERSONALIZADO ===== */
.dropdown-menu {
  background-color: #111;
  border: 1px solid rgba(253, 221, 3, 0.3);
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(253, 221, 3, 0.15);
  padding: 0.5rem 0;
  min-width: 160px;
  margin-top: 0.5rem;
  z-index: 2000;
}

.dropdown-item {
  color: #ccc;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  transition: all 0.25s ease;
}

.dropdown-item:hover {
  background-color: rgba(253, 221, 3, 0.15);
  color: #fff;
}

/* ===== EFECTO AL HACER SCROLL ===== */
.submenu-container.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 14px rgba(253, 221, 3, 0.2);
  backdrop-filter: blur(10px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .submenu {
    gap: 0.8rem;
  }

  .submenu-btn {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .dropdown-menu {
    min-width: 140px;
  }
}



/*=============================================
= SECCIÓN DESTACADA EMTAG (Optimizada) =
=============================================*/

.highlight-section {
  position: relative;
  padding: 2rem 0;
  background: linear-gradient(180deg, #111 0%, #000 100%);
  color: #fff;
  overflow: hidden;
  z-index: 1;
}

.highlight-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/dest.jpg') center/cover no-repeat fixed;
  opacity: 0.9;
  z-index: -1;
}

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

.highlight-box {
  flex: 1 1 300px;
  text-align: center;
}

@media (min-width: 992px) {
  .highlight-box.left { text-align: left; }
  .highlight-box.right { text-align: right; }
}

.highlight-title {
  font-family: 'Elemental End', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight-subtext {
  font-family: 'Montserrat', sans-serif;
  color: #ccc;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
}

.highlight-image-wrapper {
  flex: 1 1 280px;
  text-align: center;
}

.highlight-img {
  max-width: 100%;
  width: 300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
  border-radius: 10px;
}

.highlight-img:hover {
  transform: scale(1.06);
}

.counter {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FDDD03;
  letter-spacing: 1px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .highlight-title {
    font-size: 1.6rem;
  }
  .highlight-subtext {
    font-size: 1rem;
  }
  .highlight-img {
    width: 220px;
  }
}


/* ============================================= */
/* HERO RINES PREMIUM (Optimizado)               */
/* ============================================= */
.hero-rines {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Video de fondo */
.video-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.video-fondo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.fallback-img {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
}
.fallback-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay oscuro */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Contenido principal */
.contenido-hero {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 15px;
}
.titulo-seccion {
  font-size: 2.8rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
}

.texto-amarillo {
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.texto-plateado {
  background: linear-gradient(90deg, #e0e0e0, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Botón CTA */
.btn-emtag {
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  color: #000;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 30px;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-emtag:hover {
  background: linear-gradient(90deg, #ffaa00, #ff6600);
  color: #fff;
}

/* ============================================= */
/* PRODUCTOS PREMIUM (Tarjetas)                  */
/* ============================================= */
.producto-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.producto-card img {
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease;
}
.producto-card:hover img {
  transform: scale(1.08);
}
.producto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.producto-card .card-body {
  padding: 15px;
}
.producto-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.producto-card .card-text {
  font-size: 0.9rem;
  color: #555;
}
.producto-card .btn {
  border-radius: 30px;
  font-size: 0.85rem;
  padding: 6px 14px;
  transition: all 0.3s ease;
}
.producto-card .btn:hover {
  background-color: #000;
  color: #fff;
}

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 992px) {
  .titulo-seccion { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .titulo-seccion { font-size: 1.8rem; }
  .producto-card .card-title { font-size: 0.9rem; }
  .producto-card .card-text { font-size: 0.8rem; }
}
@media (max-width: 576px) {
  .titulo-seccion { font-size: 1.5rem; }
  .btn-emtag {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .fallback-img { display: block; }
  .video-fondo { display: none; }
}


/* ============================================= */
/* SECCIÓN PREMIUM EMTAG                         */
/* ============================================= */
.premium-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #18191d 0%, #000 100%);
  color: #fff;
}

/* CONTENEDOR DE TARJETAS */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* TARJETA INDIVIDUAL */
.card {
  background-color: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

/* IMAGEN */
.card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.card:hover .card-image img {
  transform: scale(1.05);
}

/* CONTENIDO DE LA TARJETA */
.card-content {
  padding: 30px 20px 40px;
  text-align: center;
}

/* TÍTULO */
.card-title {
  font-family: 'Elemental End', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-title .texto-amarillo {
  background: linear-gradient(90deg, #FDDD03, #fff300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
}
.card-title .texto-amarillo:hover {
  opacity: 0.85;
}

/* DESCRIPCIÓN */
.card-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #d0d0d0;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* BOTÓN CTA */
.cta-button {
  display: inline-block;
  font-family: 'Elemental End', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid #FDDD03;
  color: #FDDD03;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}
.cta-button:hover {
  background-color: #FDDD03;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 15px #FDDD03aa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .card-content {
    padding: 20px 15px 30px;
  }
  .card-title {
    font-size: 1.5rem;
  }
  .card-description {
    font-size: 0.95rem;
  }
}


/* =============================================
   SECCIÓN: VENTAJAS (con efecto neón EMTAG)
============================================= */
.seccion-ventajas {
  background: linear-gradient(180deg, #0d0d0d 0%, #18191d 100%);
  color: #fff;
  padding: 80px 20px;
}

.seccion-ventajas .h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.seccion-ventajas .texto-amarillo {
  background: linear-gradient(90deg, #FDDD03, #FFD102);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.seccion-ventajas .texto-blanco {
  color: #ffffff;
  font-weight: 700;
}

.descripcion-rines {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #d0d0d0;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* === CONTENEDOR DE VENTAJAS === */
.contenedor-ventajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ventaja {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 221, 3, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  width: 220px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ventaja:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 221, 3, 0.6);
  box-shadow: 0 8px 20px rgba(255, 221, 3, 0.25);
}

/* === ÍCONO CON EFECTO NEÓN === */
.ventaja i {
  color: #FDDD03;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(253, 221, 3, 0.4);
}

.ventaja:hover i {
  transform: scale(1.2);
  color: #FFE53B;
  text-shadow: 
    0 0 8px rgba(253, 221, 3, 0.6),
    0 0 16px rgba(253, 221, 3, 0.4),
    0 0 30px rgba(255, 255, 150, 0.2);
}

.ventaja p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .seccion-ventajas {
    padding: 60px 15px;
  }
  .ventaja {
    width: 45%;
    padding: 25px 15px;
  }
}

@media (max-width: 576px) {
  .seccion-ventajas {
    padding: 50px 10px;
  }
  .seccion-ventajas .h3 {
    font-size: 1.6rem;
  }
  .ventaja {
    width: 100%;
    padding: 20px;
  }
  .ventaja p {
    font-size: 0.9rem;
  }
}

/* =============================================
   SECCIÓN: CATÁLOGO DE RINES
============================================= */
.rines-marca {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  padding: 60px 15px;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.rines-marca h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
}

.rines-marca h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #FDDD03, #ffb703);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* === TARJETAS DE PRODUCTO === */
.producto {
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px 15px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.producto:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 221, 3, 0.5);
  box-shadow: 0 6px 20px rgba(253, 221, 3, 0.25);
}

/* Imagen del rin */
.imagen-rin {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.producto:hover .imagen-rin {
  transform: scale(1.05);
}

/* Nombre del rin */
.nombre-rin {
  font-family: var(--font-body);
  color: #f5f5f5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.producto:hover .nombre-rin {
  color: #FDDD03;
}

/* Logo de marca */
.producto img[alt^="Logo"] {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.producto:hover img[alt^="Logo"] {
  opacity: 1;
}

/* Separación uniforme entre tarjetas */
.rines-marca .row.g-4 {
  gap: 30px 20px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .rines-marca {
    padding: 50px 10px;
  }
  .nombre-rin {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .rines-marca {
    padding: 40px 5px;
  }
  .producto {
    padding: 20px 10px 25px;
  }
  .nombre-rin {
    font-size: 0.8rem;
  }
}
/* =============================================
   BOTÓN MOSTRAR MÁS / MENOS - ESTILO EMTAG
============================================= */
#toggleRinesBtn {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 36px;
  color: #FDDD03;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(253, 221, 3, 0.6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(253, 221, 3, 0.2);
  position: relative;
  overflow: hidden;
}

/* efecto de brillo suave que pasa por encima del botón */
#toggleRinesBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(253, 221, 3, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}

#toggleRinesBtn:hover::before {
  left: 125%;
}

/* efecto hover */
#toggleRinesBtn:hover {
  background: rgba(253, 221, 3, 0.15);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(253, 221, 3, 0.4);
}

/* estado activo */
#toggleRinesBtn:active {
  transform: scale(1.03);
  background: rgba(253, 221, 3, 0.25);
  box-shadow: inset 0 0 10px rgba(253, 221, 3, 0.3);
}

/* responsive */
@media (max-width: 576px) {
  #toggleRinesBtn {
    padding: 8px 28px;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
  }
}


/* ============================================= */
/* GALERÍA PREMIUM (vista principal + miniaturas) */
/* ============================================= */
.galeria-premium {
  background-color: #000;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

/* CONTENEDOR PRINCIPAL */
.galeria-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* IMAGEN / VIDEO PRINCIPAL */
.galeria-principal {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background-color: #111;
}
.galeria-principal img,
.galeria-principal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

/* MINIATURAS */
.galeria-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.galeria-thumb {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.galeria-thumb img,
.galeria-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.galeria-thumb:hover {
  transform: scale(1.08);
  border-color: #FDDD03;
}
.galeria-thumb.active {
  border-color: #ff8800;
}

/* ICONO DE VIDEO EN MINIATURA */
.galeria-thumb.video::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .galeria-principal {
    max-width: 90%;
    aspect-ratio: 4 / 3;
  }
  .galeria-thumb {
    width: 80px;
    height: 60px;
  }
}
@media (max-width: 480px) {
  .galeria-thumb {
    width: 70px;
    height: 55px;
  }
}

/* ==============================
   MODALES DE PRODUCTOS PREMIUM
   Compatible con Bootstrap 5
   Autor: Saddam - EMTAG Style
============================== */

/* Animación suave del modal */
.modal.fade .modal-dialog {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(0.95);
}
.modal.show .modal-dialog {
  transform: scale(1);
}

/* Contenedor del contenido */
.modal-content {
  background: linear-gradient(180deg, #18191d 0%, #000000 100%);
  color: #fff;
  border-radius: 18px;
  border: 1px solid #2b2b2b;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.75);
}

/* Botón cerrar (Bootstrap .btn-close personalizado) */
.modal .btn-close {
  filter: invert(1);
  position: absolute;
  top: 14px;
  right: 18px;
  width: 2rem;
  height: 2rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.modal .btn-close:hover {
  filter: invert(0) sepia(1) saturate(10) hue-rotate(50deg);
  transform: rotate(90deg) scale(1.1);
  opacity: 1;
}

/* ==============================
   MEDIA PRINCIPAL (imagen o video)
============================== */
.main-media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.main-media img,
.main-media video {
  width: 100%;
  border-radius: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ==============================
   MINIATURAS
============================== */
.thumb {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #0d0d0d;
}
.thumb:hover,
.thumb.active {
  border-color: #FDDD03;
  transform: scale(1.06);
  box-shadow: 0 0 10px #fddd03aa;
}

/* ==============================
   TITULO CON GRADIENTE EMTAG
============================== */
.modal-body h3,
.modal-body h2,
.modal-body .title-gradient {
  font-family: 'Elemental End', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #FDDD03 0%, #fff56b 25%, #e6ca00 50%, #fff56b 75%, #FDDD03 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: left;
}

/* ==============================
   DESCRIPCIONES Y DETALLES
============================== */
.modal-body p,
.modal-body li,
.modal-body small {
  font-family: 'Montserrat', sans-serif;
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}

.modal-body ul li {
  margin-bottom: 0.4rem;
}

/* ==============================
   ICONOS DE ATRIBUTOS
============================== */
.modal-body .fa-2x {
  margin-bottom: 0.4rem;
  transition: transform 0.3s ease;
}
.modal-body .fa-2x:hover {
  transform: scale(1.2);
  color: #fff300;
}

/* ==============================
   BOTONES PERSONALIZADOS
============================== */
.modal-body .btn {
  font-family: 'Elemental End', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.modal-body .btn.btn-warning {
  background: linear-gradient(90deg, #FDDD03, #fff300);
  color: #18191d;
  border: none;
}
.modal-body .btn.btn-warning:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #FDDD03cc;
}

.modal-body .btn-outline-warning {
  color: #fff300;
  border-color: #fff300;
}
.modal-body .btn-outline-warning:hover {
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 0 15px #25D366;
  transform: scale(1.05);
}

/* ==============================
   RESPONSIVE (MÓVIL / TABLET)
============================== */
@media (max-width: 992px) {
  .modal-body h3,
  .modal-body h2,
  .modal-body .title-gradient {
    font-size: 1.7rem;
    text-align: center;
  }
  .modal-body p,
  .modal-body li,
  .modal-body small {
    text-align: center;
  }
  .thumb {
    width: 60px;
    height: 60px;
  }
  .modal-body .d-flex.flex-column.flex-sm-row {
    flex-direction: column !important;
    align-items: center;
  }
}


/* === MODAL PREMIUM EMTAG === */
.modal-content {
  background-color: #000;
  color: #fff;
  border-radius: 20px;
  border: none;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.modal-content .btn-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  color: #fff;
  filter: invert(1);
  opacity: 0.7;
  transition: 0.3s;
}

.modal-content .btn-close:hover {
  opacity: 1;
}

/* --- Estructura del cuerpo --- */
.modal-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.modal-body > .col-lg-6 {
  flex: 1 1 45%;
  max-width: 48%;
}

/* --- Imagen principal --- */
.main-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background-color: #111;
  padding: 10px;
  object-fit: contain;
}

/* --- Miniaturas --- */
.thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background-color: #111;
  object-fit: contain;
  padding: 4px;
}

.thumb:hover,
.thumb.active {
  border-color: #ffc400;
}

/* --- Título con gradiente --- */
.title-gradient {
  background: linear-gradient(90deg, #ffc400, #ffea00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}

/* --- Texto y lista --- */
.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.modal-body ul li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.modal-body ul li strong {
  color: #ffc400;
}

/* --- Botones --- */
.btn {
  font-weight: 700;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  transition: 0.3s ease;
}

.btn-warning {
  background-color: #ffc400;
  border: none;
  color: #000;
}

.btn-warning:hover {
  background-color: #ffda29;
  color: #000;
}

.btn-outline-warning {
  border: 2px solid #ffc400;
  color: #ffc400;
}

.btn-outline-warning:hover {
  background-color: #ffc400;
  color: #000;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .modal-body {
    flex-direction: column;
    text-align: center;
  }

  .modal-body > .col-lg-6 {
    max-width: 100%;
  }

  .thumb {
    width: 60px;
    height: 60px;
  }
}


/* ==============================
   FOOTER PRINCIPAL
============================== */

.site-footer {
  background: linear-gradient(180deg, #18191d 0%, #000000 100%);
  color: #fff;
  font-family: 'Goldman', sans-serif;
  font-size: 15px;
  padding: 2.5rem 0 2rem;
  text-align: left;
}

/* === Enlaces === */
.site-footer a {
  color: #ffffffd9;
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: #FFD102;
}

/* === Títulos === */
.site-footer h6 {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 16px;
  background: linear-gradient(90deg, #ccc, #eee, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Listas === */
.site-footer .footer-links,
.site-footer .footer-contact {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .footer-links li,
.site-footer .footer-contact li {
  margin-bottom: 8px;
}

/* === Iconos de contacto === */
.site-footer ul li i {
  background: #18191d;
  border-radius: 50%;
  padding: 6px;
  width: 30px;
  text-align: center;
  margin-right: 10px;
  color: #FFD102;
  box-shadow: 2px 2px 4px #0a0a0a, -2px -2px 4px #22242a;
}

/* === Redes Sociales === */
.site-footer .social-icons {
  margin-top: 1rem;
}

.site-footer .social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 50%;
  background: #18191d;
  color: #fff;
  font-size: 14px;
  box-shadow: 4px 4px 8px #0a0a0a, -4px -4px 8px #22242a;
  transition: all 0.3s ease;
}

.site-footer .social-icons a:hover {
  background: #FFD102;
  color: #000;
  transform: scale(1.1);
  box-shadow: inset 4px 4px 6px #c6a900, inset -4px -4px 6px #ffe744;
}

/* === Separadores en pantallas grandes === */
@media (min-width: 992px) {
  .site-footer .col-lg-2,
  .site-footer .col-lg-3,
  .site-footer .col-lg-5 {
    border-right: 1px solid #2e2e2e;
  }
  .site-footer .col-lg-5 {
    border-right: none;
  }
}

/* === Tooltip del mapa === */
.tooltip-map {
  position: relative;
  display: inline-block;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
}
.tooltip-map:hover {
  color: #fff;
}

.tooltip-content {
  visibility: hidden;
  opacity: 0;
  width: 340px;
  background-color: #1a1a1a;
  padding: 8px;
  border-radius: 10px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease;
  z-index: 100;
}
.tooltip-map:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}
.tooltip-content iframe {
  border-radius: 8px;
  width: 100%;
  height: 200px;
}

/* === Responsivo === */
@media screen and (max-width: 992px) {
  .site-footer {
    text-align: center;
  }
  .site-footer .social-icons {
    justify-content: center;
  }
  .site-footer .col-lg-2,
  .site-footer .col-lg-3,
  .site-footer .col-lg-5 {
    border-right: none;
  }
}

@media screen and (max-width: 768px) {
  .site-footer h6 {
    font-size: 15px;
  }
  .tooltip-content {
    width: 280px;
  }
}
