/* ==========================================================
   LLAVE EXTRA – ESTILOS PRINCIPALES LIMPIOS Y OPTIMIZADOS
   ========================================================== */

/* ----------------------------------------------------------
   [1] TIPOGRAFÍA BASE Y AJUSTES GENERALES
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Poppins:wght@400;500&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 150px; /* Compensa header fijo */
}

/* ----------------------------------------------------------
   [2] ENCABEZADO Y NAVEGACIÓN PRINCIPAL
   ---------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #f47a0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  z-index: 1000;
  padding: 0.8rem 0 0.5rem;
  animation: fadeInDown 1.2s ease;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}

.logo:hover { transform: scale(1.05); }

.logo img {
  width: 55px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin: 0.3rem 0 0.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slogan {
  font-size: 1rem;
  color: #f47a0b;
  margin-top: 0.3rem;
  opacity: 0.9;
  animation: fadeIn 2s ease;
}

/* --- Navegación --- */
nav {
  margin-top: 0.4rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  color: #f47a0b;
}

nav a[href*="tiger"] { color: #f47a0b; }
nav a[href*="cumbre"] { color: #004C7D; }

@media (max-width: 768px) {
  nav ul { gap: 0.5rem; }
  nav a { font-size: 0.9rem; }
}

/* ----------------------------------------------------------
   [3] SECCIÓN PRINCIPAL: CARRUSEL DE IMÁGENES
   ---------------------------------------------------------- */
.bloques-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin: 60px 0;
}

.bloque-foto {
  position: relative;
  width: 90%;
  max-width: 1100px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.bloque-foto:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.bloque-foto .contenido {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.bloque-foto .emoji {
  font-size: 2em;
  margin-bottom: 10px;
  color: #f47a0b;
}

.bloque-foto p {
  font-size: 1.1em;
  line-height: 1.6em;
  margin: 5px 0;
}

/* --- Carrusel en versión móvil --- */
@media (max-width: 768px) {
  .bloques-foto {
    flex-direction: row !important;
    gap: 16px;
    padding: 12px;
    margin: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bloque-foto {
    flex: 0 0 88%;
    max-width: none;
    height: 280px;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
  }

  .bloques-foto::-webkit-scrollbar { display: none; }

  .bloque-foto .contenido {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  }

  .bloque-foto p {
    font-size: 0.9em;
    line-height: 1.4em;
    margin: 3px 0;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bloque-foto .emoji {
    font-size: 1.5em;
    margin-bottom: 4px;
  }

  .bloque-foto strong {
    display: block;
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 3px;
  }
}

/* ----------------------------------------------------------
   [4] NARRATIVA LLAVE EXTRA
   ---------------------------------------------------------- */
  .narrativa-fondo {
  background: url("imagenes/fondo-llaveros.webp") center/cover no-repeat;
  padding: 80px 20px; /* deja espacio arriba y abajo */
}
.narrativa-llaveextra {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 60px 30px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #111;
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1.2s ease forwards;
}

.narrativa-llaveextra h2 {
  font-size: 2.3em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #f47a0b;
}

.narrativa-llaveextra h3 {
  font-size: 1.7em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #222;
}

.narrativa-llaveextra p {
  font-size: 1.15em;
  line-height: 1.7em;
  margin: 0 auto 15px;
  max-width: 700px;
}

.narrativa-llaveextra .naranja {
  color: #f47a0b;
  font-weight: 600;
}

/* --- Responsive compacto para móviles --- */
@media (max-width: 768px) {
  .narrativa-llaveextra {
    margin: 20px 10px 35px;
    padding: 25px 15px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  }

  .narrativa-llaveextra h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
  }

  .narrativa-llaveextra h3 {
    font-size: 1.15em;
    margin-top: 18px;
    margin-bottom: 6px;
  }

  .narrativa-llaveextra p {
    font-size: 0.95em;
    line-height: 1.5em;
    margin-bottom: 10px;
  }
}


/* ----------------------------------------------------------
   [5] SECCIÓN DETALLE LLAVE EXTRA
   ---------------------------------------------------------- */
.llaveextra-detalle {
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  padding: 80px 20px;
  text-align: center;
  color: #222;
  font-family: "Montserrat", sans-serif;
  animation: fadeSlideUp 1.4s ease both;
}

.llaveextra-detalle .contenedor {
  max-width: 900px;
  margin: 0 auto;
}

.llaveextra-detalle h2 {
  font-size: 2em;
  color: #f47a0b;
  margin-bottom: 20px;
}

.llaveextra-detalle p {
  font-size: 1.1em;
  line-height: 1.8em;
  margin-bottom: 18px;
}

.llaveextra-detalle .bloque-destacado {
  background: rgba(244, 122, 11, 0.07);
  border-left: 4px solid #f47a0b;
  padding: 20px 25px;
  border-radius: 10px;
  margin: 35px auto;
  max-width: 600px;
  font-style: italic;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .llaveextra-detalle {
    padding: 60px 15px;
  }
  .llaveextra-detalle h2 { font-size: 1.6em; }
  .llaveextra-detalle p { font-size: 1em; }
}

/* ----------------------------------------------------------
   [6] FOOTER
   ---------------------------------------------------------- */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #000;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 2rem;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------------
   [7] ANIMACIONES GLOBALES
   ---------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.bloque-narrativa.visual h3 {
  font-size: 2em;
  color: #f47a0b;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-in-out;
}

.bloque-narrativa.visual p {
  font-size: 1.1em;
  line-height: 1.6em;
  color: #333;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 3;
    transform: translateY(0);
  }
}

.nota-legal {
  text-align: center;
  font-size: 0.85em;
  color: #777;
  margin-top: 15px;
  font-style: italic;
}



/* Caja modal */
.acceso-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Contenedor */
.acceso-contenedor {
  background: #fff;
  padding: 25px 30px;
  border-radius: 14px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Inputs */
#acceso-modal input {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#acceso-modal button {
  width: 48%;
  margin-top: 12px;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

#acceso-modal button[type="submit"] {
  background: #f47a0b;
  color: white;
}

#acceso-modal button#cancelar {
  background: #ccc;
}

.mensaje-error {
  color: #c00;
  margin-top: 10px;
  font-size: 0.9em;
}

.aviso-datos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9em;
  text-align: left;
  margin: 10px 0 15px;
  color: #444;
}

.aviso-datos a {
  color: #f47a0b;
  text-decoration: underline;
}

.aviso-datos a:hover {
  text-decoration: none;
}
.campo-clave {
  position: relative;
  display: flex;
  align-items: center;
}

.campo-clave input {
  width: 100%;
  padding-right: 40px;
}

.ojo {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 1.2em;
  user-select: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.ojo:hover {
  opacity: 1;
}

/* ----------------------------------------------------------
   BOTÓN DESTACADO RED TIGER
   ---------------------------------------------------------- */
.boton-redtiger {
  background: linear-gradient(90deg, #ff6600, #ff9444);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255,102,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.boton-redtiger:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255,102,0,0.45);
}

/* Versión móvil: botón centrado y más ancho */
@media (max-width: 768px) {
  .boton-redtiger {
    display: block;
    margin: 8px auto;
    text-align: center;
    width: 80%;
  }
}

