/* ============================= */
/* 🌿 SECCIÓN GENERAL */
/* ============================= */

body{
  font-family: 'Poppins', sans-serif;
}

/* FORZAR tamaño correcto: pega esto al final de tu CSS (o en un <style> después de main.css) */
.intro-content h2 {
  font-size: 2.5rem !important; 
     /* cambia a 1.8rem/1.6rem si aún quieres más pequeño */
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  line-height: 1.1 !important;
  text-transform: none !important; /* por si hay mayúsculas forzadas */
  
}

img{
  max-width:100%;
  height:auto;
}

.ruta-box{
  max-width:1200px;   /* ancho elegante */
  margin:80px auto;   /* centra y da aire arriba y abajo */
  padding:0 20px;     /* margen interno lateral */
}

.subtitulo-pro{
  font-weight:300;
   font-size: 20px;
   color: #555;
   font-family: 'Poppins', sans-serif;
}

.itinerario-card{
  margin:0 auto;
}

.lado-der{
  background:#f0f0f065;
  padding:40px;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(0,0,0,0.03);

  display:flex;
  flex-direction:column;
  gap:70px;
}

.lado-izq{
  background: linear-gradient(180deg,#f6f3f3,#ffffff);
  padding:40px;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(0,0,0,0.04);
  position:relative;

  display:flex;
  flex-direction:column;
  gap:20px;
}
.texto-descripcion{
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.itinerario-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.dia-badge{
  display:flex;
  align-items:center;
  gap:10px;
}

.dia-badge img{
  width:150px;
  height:150px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #fff;
  box-shadow:0 10px 25px rgba(2, 57, 113, 0.389);
}

.dia-badge span{
  font-size:25px;
  font-weight:700;
  letter-spacing:2px;
  padding:8px 22px;
  border-radius:50px;
  background:linear-gradient(135deg,#2c5063,#38637b);
  color:#fff;
  box-shadow:0 8px 20px rgba(14,89,146,.25);
  text-transform:uppercase;
}
.texto-itinerario{
  display:flex;
  align-items:center;
  gap:20px;
}

.texto-itinerario span{
  font-weight:600;
  color:#555;
}

.tabs-dias{
  display:flex;
  gap:10px;
}

.tabs-dias span{
  padding:8px 18px;
  border-radius:30px;
  background:#519cc45d;
  cursor:pointer;
  font-weight:500;
  transition:.3s;
}

.tabs-dias span:hover{
  background:#3a779888;
}

.tabs-dias .activo{
  background:#2c5063;
  color:#ffffff;
}


.imagenes-top{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.imagenes-top img{
  width:33%;
  height:100px;
  border-radius:12px;
  object-fit:cover;
}

.lado-izq h2{
  font-size:26px;
  font-weight:700;
  margin-bottom:10px;
  color:#1c1c1c;
}

.sub{
  font-size:12px;
  letter-spacing:2px;
  color:#2c5063;
  margin-bottom:15px;
}

.lado-izq p{
  font-size:14px;
  color:#555;
  line-height:1.6;
  margin-bottom:10px;
}

.dias{
  margin-top:15px;
  font-size:13px;
  font-weight:600;
  color:#333;
}

/* ============================= */
/* 💎 CARD PRINCIPAL */
/* ============================= */

.itinerario-card {
  background: #f0f0f0;
  border-radius: 28px;
  padding: 30px 70px 70px 70px;
  width: 100%;
  max-width: 1250px;
  box-shadow: 
    0 40px 80px rgba(14, 89, 164, 0.029),
    0 15px 30px rgba(13, 95, 149, 0.05);
  position: relative;
  overflow: hidden;
}


/* ============================= */
/* 🖼 IMÁGENES SUPERIORES */
/* ============================= */

.imagenes-top{
  display:flex;
  gap:15px;
  margin-bottom:35px;
}

.imagenes-top img{
  width:33%;
  height:130px;
  border-radius:18px;
  object-fit:cover;
  transition:all .4s ease;
}

.imagenes-top img:hover{
  transform:scale(1.07);
  box-shadow:0 20px 40px rgba(11, 74, 141, 0.15);
}

/* ============================= */
/* ✨ TITULOS */
/* ============================= */

.lado-izq h2{
  font-size:38px;
  font-weight:700;
  margin-bottom:15px;
  color:#2d2d2d;
}

.sub{
  font-size:13px;
  letter-spacing:3px;
  color:#888;
  margin-bottom:25px;
  text-transform:uppercase;
}

.dias{
  margin-top:30px;
  font-weight:600;
  letter-spacing:2px;
  color:#444;
}

/* ============================= */
/* TARJETA HORARIOS PRO */
/* ============================= */


.parada-info{
  position:relative;
  display:inline-block;
}

/* BOTÓN */
.btn-horarios{
  margin-top:15px;
  background:#2c5063;
  color:#fff;
  border:none;
  padding:8px 20px;
  font-size:14px;
  border-radius:25px;
  cursor:pointer;
  font-weight:500;
  box-shadow:0 5px 15px rgba(14,89,146,0.25);
  transition:.3s ease;
}

.btn-horarios:hover{
  background:#1d3746;
  transform:translateY(-2px);
}


/* TARJETA FLOTANTE */
.horarios-card{
  position:absolute;
  top:110%;
  left:50%;
  transform:translateX(-50%) scale(.95);
  width:240px;
  background:#f4f6f9;
  padding:15px;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,0.12);
  opacity:0;
  pointer-events:none;
  transition:.3s ease;
  z-index:10;
}

/* cuando está activa */
.horarios-card.active{
  opacity:1;
  transform:translateX(-50%) scale(1);
  pointer-events:auto;
}

/* HEADER */
.horarios-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:600;
  font-size:12px;
  color:#2c5063;
  padding-bottom:8px;
  border-bottom:1px solid #d9e1ea;
  margin-bottom:12px;
}

/* botón cerrar */
.cerrar{
  background:none;
  border:none;
  font-size:16px;
  cursor:pointer;
  color:#2c5063;
}

/* BLOQUES */
.bloque-dia{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#e9edf2;
  padding:10px;
  border-radius:12px;
  margin-bottom:8px;
}

.dia{
  font-size:11px;
  font-weight:600;
  color:#2e5f9e;
  width:40%;
}

.horas{
  width:60%;
  padding-left:8px;
  border-left:1px solid #cfd6df;
}

.horas p{
  margin:2px 0;
  font-size:12px;
}


.parada{
  background:#ffffff;
  padding:25px 30px;
  border-radius:18px;
  box-shadow:0 8px 25px rgba(0,0,0,0.04);
  transition:.3s ease;

  display:flex;
  align-items:center;
  gap:25px;
}

/* VENTANA FLOTANTE */
.ventana-horarios{
  position:fixed;
  top:200px;
  left:50%;
  transform:translateX(-50%);
  width:280px;
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 30px 60px rgba(0,0,0,0.25);
  display:none;
  z-index:9999;
  animation:fadeIn .3s ease;
}

/* Header arrastrable */
.ventana-header{
  background:#2c5063;
  color:white;
  padding:12px 15px;
  border-radius:18px 18px 0 0;
  cursor:move;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:15px;
  font-weight:600;
}

.ventana-header button{
  background:none;
  border:none;
  color:white;
  font-size:14px;
  cursor:pointer;
}

/* Body */
.ventana-body{
  padding:18px;
}

/* Grid */
.mini-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  font-size:14px;
}

.mini-grid strong{
  display:block;
  margin-bottom:5px;
  color:#2c5063;
}

.mini-grid p{
  margin:2px 0;
}

/* Animación */
@keyframes fadeIn{
  from{opacity:0; transform:translateX(-50%) scale(.9);}
  to{opacity:1; transform:translateX(-50%) scale(1);}
}

/* animación */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.itinerario-body{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.mini-grid p{
  font-size: 13px;
  margin: 1px 0;
  line-height: 1.2;
}

.mini-grid div{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-grid strong{
  margin-bottom: 8px; /* separación del título */
}
/* ============================= */
/* 🎨 CREA TU RUTA */
/* ============================= */


.crear-ruta{
  width: 100%;
  max-width: 1400px;
  margin: 90px auto;
  padding: 70px 30px;
  border-radius: 35px;

  background: #ffffff; /* 🔥 BLANCO TOTAL */
  box-shadow: none;    /* 🔥 QUITA EL SOMBREADO GRANDE */

  position: relative;
  overflow: hidden;
}



/* título más grande y elegante */
.titulo-ruta{
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color:#2c5063;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.titulo-ruta::after{
  content:"";
  display:block;
  width:250px;
  height:5px;
  margin: 15px auto 0 auto;
  border-radius:10px;
  background: linear-gradient(90deg, #2c5063, #5fa6c6);
}

/* grid más grande */
.builder-container{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

/* cards */
.lugares, .ruta-usuario{
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 25px;
  min-height: 520px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.07);
  border: 1px solid rgba(44,80,99,0.10);
}

/* títulos internos */
.lugares h4,
.ruta-usuario h4,
.titulo-simple{
  font-size: 22px;
  font-weight: 800;
  color: #2c5063;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* items lugares */
.lugar-item{
  display:flex;
  align-items:center;
  gap: 15px;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: grab;
  transition: 0.3s ease;
  margin-bottom: 12px;

  background: linear-gradient(135deg, #f3f7fb, #ffffff);
  border: 1px solid rgba(44,80,99,0.08);
}

.lugar-item img{
  width: 65px;
  height: 65px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.lugar-item span{
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.lugar-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.10);
  background: linear-gradient(135deg, #e8f3ff, #ffffff);
}

/* zona drop elegante */
.ruta-usuario{
  border: 2px dashed rgba(44,80,99,0.30);
}

.ruta-vacia{
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  padding: 30px;
  border-radius: 18px;
  background: rgba(44,80,99,0.04);
}

/* items ruta */
.ruta-item{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(44,80,99,0.10);

  background: white;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.ruta-item img{
  width: 65px;
  height: 65px;
  border-radius: 14px;
  object-fit: cover;
}

.ruta-item span{
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* botón descargar PRO */
.descargar-container{
  margin-top: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.btn-descargar{
  background: linear-gradient(135deg, #2c5063, #5fa6c6);
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 16px;
  border-radius: 35px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 1px;
  transition: 0.3s ease;
  box-shadow: 0 15px 35px rgba(44,80,99,0.25);
}

.btn-descargar:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(44,80,99,0.35);
}

/* RESPONSIVE */
@media(max-width: 992px){

  .crear-ruta{
    padding: 55px 20px;
    border-radius: 25px;
  }

  .builder-container{
    grid-template-columns: 1fr;
  }

  .titulo-ruta{
    font-size: 34px;
  }

  .lugares, .ruta-usuario{
    min-height: auto;
  }
}

@media(max-width: 576px){
  .titulo-ruta{
    font-size: 26px;
  }

  .lugar-item span{
    font-size: 14px;
  }
}
.video-ruta{
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.video-ruta video{
  width: 100%;
  max-width: 850px;
  height: 480px; /* antes auto */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* RESPONSIVO */
@media(max-width:992px){
  .builder-container{
    grid-template-columns:1fr;
  }
}


/* ============================= */
/* DÍAS */
/* ============================= */

.tabs-dias {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.tab {
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 20px;
  background: #eee;
  transition: 0.3s;
}

.tab.activo {
  background: #2c5063;
  color: white;
}

.itinerario {
  display: none;
  margin-top: 30px;
}

.itinerario.activo {
  display: block;

}

.notificacion-error{

  position: fixed; /* 🔥 CAMBIO CLAVE */

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) scale(.9);

  background: #ffe5e5;
  color: #a10000bd;

  padding: 16px 22px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 15px;
  font-weight: 500;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);

  opacity: 0;
  pointer-events: none;

  transition: all .35s ease;

  z-index: 99999; /* 🔥 MÁS ALTO */
}

.notificacion-error.mostrar{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ocultar-en-descarga {
  display: none !important;
}

#drop-zone {
  background: linear-gradient(180deg, #ffffff, #f5f5f5);
  padding: 20px;
  border-radius: 20px;
  border: 2px dashed #ccc;
}

.ruta-contenido {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ruta-item {
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* ============================= */
/* TABLA DE RECOMENDACIONES*/
/* ============================= */

.recomendaciones{
padding:60px 20px;
text-align:center;
}

.titulo-recomendaciones{
font-size:32px;
color:#244c55;
margin-bottom:10px;
font-weight:bold;   /* texto grueso */
}
.sub-recomendaciones{
color:#6b7b84;
margin-bottom:40px;
text-align:center;  /* texto centrado */
font-size:20px;
}

.grid-recomendaciones{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.card-lugar{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
transition:0.3s;
}

.card-lugar:hover{
transform:translateY(-5px);
}

.card-lugar img{
width:100%;
height:180px;
object-fit:cover;
}

.info-lugar{
padding:20px;
}

.info-lugar h3{
color:#244c55;
margin-bottom:15px;
font-weight:600; 

}

.info-lugar p{
font-size:16px;
color:#5f6f78;
margin-bottom:15px;
font-weight:400; 
}

.info-lugar a{
background:#244c55;
color:white;
padding:8px 15px;
border-radius:20px;
text-decoration:none;
font-size:13px;
}



.card-lugar{
width:250px;
}

.info-cards{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
margin-top:25px;
}

.card-info{
background:#f7f9fc;
border-radius:12px;
padding:15px;
display:flex;
align-items:center;
gap:10px;
font-size:14px;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

.card-info span{
font-size:18px;
}



.ruta-contenido{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.ruta-item{
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
  position: relative;
}

.ruta-item img{
  width: 55px;
  height: 55px;
  border-radius: 12px;
  object-fit: cover;
}

.ruta-item span{
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  flex: 1;
}
.btn-eliminar {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 22px;
  height: 22px;

  background: rgb(214, 34, 34); /* rojo moderno */
  color: white;

  border: none;
  border-radius: 6px;

  font-size: 12px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.25s ease;
}



.btn-eliminar:hover {
  background: #ba0b0b;
  transform: scale(1.1);
}


.ruta-item span{
  padding-right: 30px; /* 🔥 espacio para la X */
}
.ruta-vacia{
  text-align: center;
  color: gray;
  font-size: 14px;
  padding: 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
}


.btn-horarios i{
  margin-right: 6px;
  font-size: 14px;
}

.icono {
  margin-right: 6px;
  font-size: 15px;
  color: #2c5063;
}



/* ============================= */
/* 🌿 RESPONSIVE GLOBAL */
/* ============================= */

@media (max-width: 1200px){
  .itinerario-card{
    padding: 30px 40px;
  }

 
}

@media (max-width: 992px){

  /* CARD */
  .itinerario-card{
    padding: 25px 25px;
    border-radius: 20px;
  }



  /* DERECHA */
  .lado-der{
    max-width: 100%;
    padding: 30px;
  }

 
  /* QUITAR ALTERNADO EN CELULAR */
  .lado-der .parada:nth-child(odd){
    flex-direction: row;
    text-align: left;
  }

  /* IMAGEN PARADA */
  .img-circulo img{
    width: 100px;
    height: 100px;
  }

  /* TEXTO */
  .parada-info{
    max-width: 100%;
  }

  .parada-info p{
    font-size: 15px;
    line-height: 1.7;
  }

  /* TABS */
  .tabs-dias{
    flex-wrap: wrap;
    justify-content: center;
  }

  .dia-badge{
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
  }

  .itinerario-header{
    justify-content: center;
    text-align: center;
    gap: 15px;
  }

  /* CREAR RUTA */
  .crear-ruta{
    max-width: 100%;
    margin-top: 50px; /* QUITAMOS EL NEGATIVO */
  }

  .builder-container{
    grid-template-columns: 1fr;
  }

  .lugares, .ruta-usuario{
    width: 100%;
  }


  /* EXTRA INFO */
  .extra-info{
    margin-top: 40px; /* QUITAMOS EL NEGATIVO */
    max-width: 100%;
  }

  .extra-info img{
    border-radius: 18px;
  }

}

/* Celular pequeño */
@media (max-width: 576px){

  .lado-izq h2{
    font-size: 26px;
  }

  .pdf-titulo{
    font-size: 42px;
  }

  .pdf-slogan{
    font-size: 18px;
  }


  .img-circulo img{
    width: 110px;
    height: 110px;
  }

  .parada-info h3{
    font-size: 15px;
  }

  .parada-info p{
    font-size: 14px;
  }

  .titulo-ruta{
    font-size: 24px;
    text-align: center;
  }

}


/* ==========================
   SECCIÓN RECOMENDACIONES
========================== */

.recomendaciones{
  width: 100%;
  padding: 70px 20px;
  background: #f9f9f9;
  text-align: center;
}

.titulo-recomendaciones{
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0d4350;
  margin-bottom: 10px;
}

.sub-recomendaciones{
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}


/* TARJETAS */
.card-lugar{
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.12);
  transition: 0.3s ease;
  cursor: pointer;
}

.card-lugar:hover{
  transform: translateY(-8px);
}

/* IMAGEN */
.card-lugar img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.info-lugar{
  padding: 18px;
  text-align: left;
}

.info-lugar h3{
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0d4350;
}

.info-lugar p{
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* ==========================
   RESPONSIVE TABLET
========================== */
@media (max-width: 992px){
  .grid-recomendaciones{
    grid-template-columns: repeat(2, 1fr);
  }

  .titulo-recomendaciones{
    font-size: 2rem;
  }
}

/* ==========================
   RESPONSIVE CELULAR
========================== */
@media (max-width: 576px){
  .grid-recomendaciones{
    grid-template-columns: 1fr;
  }

  .titulo-recomendaciones{
    font-size: 1.7rem;
  }

  .sub-recomendaciones{
    font-size: 1rem;
  }

  .card-lugar img{
    height: 200px;
  }

  .info-lugar{
    text-align: center;
  }
}

@media (max-width: 576px){
  .travel-destination-details .section-header h2{
    font-size: 30px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}



/* ==========================
   CHATBOT FLOTANTE PRO
========================== */

.chatbot-container{
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

/* BOTÓN FLOTANTE */
.chatbot-btn{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4350, #5fa6c6);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0px 15px 40px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.chatbot-btn:hover{
  transform: scale(1.08);
}

.chatbot-btn img{
  width: 42px;
  height: 42px;
}

/* CAJA DEL CHAT */
.chatbot-box{
  width: 330px;
  height: 450px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 18px 50px rgba(0,0,0,0.25);

  position: absolute;
  bottom: 90px;
  right: 0;

  display: none;
  flex-direction: column;

  animation: fadeInUp 0.4s ease;
}

/* ANIMACIÓN */
@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(25px);
  }
  to{
    opacity: 1;
    transform: translateY(0px);
  }
}

/* HEADER */
.chatbot-header{
  background: linear-gradient(90deg, #0d4350, #5fa6c6);
  color: white;
  padding: 15px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-info{
  display: flex;
  gap: 10px;
  align-items: center;
}

.bot-info img{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  padding: 5px;
}

.bot-info h4{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.bot-info span{
  font-size: 12px;
  opacity: 0.9;
}

.chatbot-close{
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* MENSAJES */
.chatbot-messages{
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8fafc;
}

.bot-message{
  background: white;
  padding: 10px 12px;
  border-radius: 15px;
  margin-bottom: 12px;
  font-size: 13px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
}

.user-message{
  background: #0d4350;
  color: white;
  padding: 10px 12px;
  border-radius: 15px;
  margin-bottom: 12px;
  font-size: 13px;
  text-align: right;
  margin-left: auto;
  width: fit-content;
  max-width: 80%;
}

/* BOTONES DE OPCIONES */
.chat-options{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.chat-options button{
  background: rgba(13,67,80,0.1);
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.chat-options button:hover{
  background: rgba(95,166,198,0.25);
}

/* INPUT */
.chatbot-input{
  display: flex;
  padding: 12px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.chatbot-input input{
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 13px;
}

.chatbot-input button{
  margin-left: 10px;
  border: none;
  background: #0d4350;
  color: white;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.chatbot-input button:hover{
  background: #146377;
}

/* RESPONSIVE */
@media(max-width: 500px){
  .chatbot-box{
    width: 90vw;
    height: 430px;
    right: 0;
  }
}


/* NOTIFICACIÓN */
.chatbot-notification{
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3b3b;
  color: white;
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
}

/* EFECTO REBOTE DEL BOT */
.chatbot-btn{
  position: relative;
  animation: bounceBot 2s infinite;
}

@keyframes bounceBot{
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* MENSAJE ESCRIBIENDO */
.typing{
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: white;
  border-radius: 15px;
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
}

.typing span{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingDots 1s infinite;
}

.typing span:nth-child(2){ animation-delay: 0.2s; }
.typing span:nth-child(3){ animation-delay: 0.4s; }

@keyframes typingDots{
  0%, 100% { opacity: 0.3; transform: translateY(0px); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* ============================= */
/* 🌿 RESPONSIVE GLOBAL */
/* ============================= */

@media (max-width: 1200px){
  .itinerario-card{
    padding: 30px 40px;
  }
}

@media (max-width: 992px){

  /* CARD */
  .itinerario-card{
    padding: 25px 25px;
    border-radius: 20px;
  }

  /* IZQUIERDA */
  .lado-izq{
    max-width: 100%;
    padding: 30px;
  }

  /* DERECHA */
  .lado-der{
    max-width: 100%;
    padding: 30px;
  }

  /* PARADAS */
  .parada{
    flex-direction: row;
    text-align: left;
    gap: 18px;
  }

  /* QUITAR ALTERNADO EN CELULAR */
  .lado-der .parada:nth-child(odd){
    flex-direction: row;
    text-align: left;
  }

  /* IMAGEN PARADA */
  .img-circulo img{
    width: 100px;
    height: 100px;
  }

  /* TEXTO */
  .parada-info{
    max-width: 100%;
  }

  .parada-info p{
    font-size: 15px;
    line-height: 1.7;
  }

  /* TABS */
  .tabs-dias{
    flex-wrap: wrap;
    justify-content: center;
  }

  .dia-badge{
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
  }

  .itinerario-header{
    justify-content: center;
    text-align: center;
    gap: 15px;
  }

  /* CREAR RUTA */
  .crear-ruta{
    max-width: 100%;
    margin-top: 50px; /* QUITAMOS EL NEGATIVO */
  }

  .builder-container{
    grid-template-columns: 1fr;
  }

  .lugares, .ruta-usuario{
    width: 100%;
  }

  /* VIDEO */
  .video-ruta{
    width: 100%;
    margin-top: 40px;
  }

  .video-ruta video{
    height: auto;
    max-height: 620px;
  }

.col-izq{
  width: 65%;
}

.extra-info img{
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 18px;
}
/* 🔥 ESTA LLAVE FALTA */
}
/* Celular pequeño */
@media (max-width: 576px){

  .lado-izq h2{
    font-size: 26px;
  }

  .pdf-titulo{
    font-size: 42px;
  }

  .pdf-slogan{
    font-size: 18px;
  }

  .parada{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .parada-info h3{
    font-size: 15px;
  }

  .parada-info p{
    font-size: 14px;
  }

  .titulo-ruta{
    font-size: 24px;
    text-align: center;
  }

}

/* 📱 RESPONSIVE MÁS BONITO PARA LA IMAGEN */

@media (max-width: 768px){

  .img-circulo{
    width: 90px;
    height: 90px;

    /* 🔥 mueve la imagen más a la izquierda */
    margin-left: -15px;

    /* 🔥 evita que quede centrada rara */
    flex-shrink: 0;
  }

}
/* 📱 RESPONSIVE MÁS BONITO PARA LA IMAGEN */

@media (max-width: 768px){

  .img-circulo{
    width: 90px;
    height: 90px;
    margin-left: -15px;
    flex-shrink: 0;
  }

}

/* 📱 CELULARES PEQUEÑOS */
@media (max-width: 480px){

  .img-circulo{
    width: 85px;
    height: 85px;
    margin-left: -20px;
  }

}

/* =================================
   FIX RESPONSIVE LAYOUT RUTA
================================= */

@media (max-width: 992px){

  .layout-ruta{
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

}

@media (max-width: 992px){

  .itinerario-body{
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

@media (max-width: 576px){

  .parada{
    width: 100%;
    overflow: hidden;
  }

}

.col-izq{
  width: 65%;
}

.extra-info img{
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 18px;
}
/* 🔥 ESTA LLAVE FALTA */


@media (min-width: 1200px){

  .travel-destination-details .container{
    max-width: 1500px;
  }

}

.itinerario-body{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

@media(max-width: 991px){
  .itinerario-body{
    grid-template-columns: 1fr;
  }
}

.lado-izq{
  position: sticky;
  top: 120px;
  background: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}
/* ======================================
   FIX COMPLETO ITINERARIO PRO
====================================== */

/* GRID PRINCIPAL */
.itinerario-body{
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 45px;
  align-items: start;
}

/* RESPONSIVE */
@media(max-width: 991px){
  .itinerario-body{
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* IZQUIERDA */
.lado-izq{
  background: #ffffff;
  border-radius: 25px;
  padding: 35px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* STICKY SOLO EN PC */
@media(min-width: 992px){
  .lado-izq{
    position: sticky;
    top: 130px;
  }
}

/* QUITAR STICKY EN CELULAR */
@media(max-width: 991px){
  .lado-izq{
    position: relative;
    top: auto;
  }
}

/* IMÁGENES ARRIBA */
.imagenes-top{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.imagenes-top img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  transition: 0.35s ease;
}

.imagenes-top img:hover{
  transform: scale(1.06);
}
/* TEXTOS IZQUIERDA */
.lado-izq h2{
  font-size: 32px;
  font-weight: 800;
  color: #2c5063;
  margin: 0;
}
.sub{
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a7a7a;
  margin: 0;
}
.lado-izq h5{
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #222;
}
.lado-izq p{
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}
/* BLOQUE DÍAS */
.dias{
  background: #f4f6f9;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #2c5063;
}
.dias p{
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
/* IMAGEN EXTRA ABAJO */
.extra-info{
  margin-top: 20px;
}
.extra-info img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: block;
  transition: 0.4s ease;
}
.extra-info img:hover{
  transform: scale(1.04);
}
/* RESPONSIVE EXTRA IMG */
@media(max-width: 768px){
  .extra-info img{
    height: 180px;
  }
}
/* DERECHA */
.lado-der{
  background: rgba(240,240,240,0.45);
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  gap: 50px;
}
/* PARADAS */
.parada{
  background: white;
  padding: 25px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 25px;
  transition: 0.3s ease;
}
.parada:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
/* CIRCULO IMAGEN PERFECTO */
.img-circulo{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 6px solid white;
  outline: 4px solid rgba(19,84,100,0.20);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  background: white;
}
.img-circulo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* TEXTO PARADA */
.parada-info h3{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #2c5063;
  text-transform: uppercase;
}
.parada-info p{
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
/* RESPONSIVE PARADAS */
@media(max-width: 768px){
  .parada{
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .img-circulo{
    width: 105px;
    height: 105px;
  }
  .parada-info h3{
    font-size: 16px;
  }
  .parada-info p{
    font-size: 14px;
  }
}
.extra-info-vertical{
  margin-top: 35px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.extra-info-vertical img{
  width: 100%;
  max-width: 500px; /* tamaño vertical */
  height: 820px;    /* 🔥 alto para que se vea vertical */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  display: block;
}
/* RESPONSIVO */
@media(max-width: 768px){
  .extra-info-vertical img{
    max-width: 100%;
    height: 450px; /* en celular no tan alta */
  }
}


.mapa-coroneo{
  padding:90px 0;
  background:#f8fafc;
}

.titulo-mapa{
  text-align:center;
  max-width:850px;
  margin:auto;
  margin-bottom:40px;
}

.badge-mapa{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 20px;
  background:#898787;
  color:#fff;
  border-radius:50px;
  font-size:.85rem;
  font-weight:600;
  margin-bottom:20px;
}

.titulo-mapa h2{
  font-size:3rem;
  font-weight:800;
  color:#4d5252;
  margin-bottom:15px;
}

.titulo-mapa p{
  font-size:1.1rem;
  color:#6c757d;
}

.stats-mapa{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-bottom:35px;
}

.stat-card{
  background:#fff;
  padding:25px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
}

.stat-card:hover{
  transform:translateY(-5px);
}

.stat-card i{
  font-size:2rem;
  color:#30576b;
  margin-bottom:10px;
}

.stat-card h4{
  font-size:2rem;
  font-weight:700;
  margin:0;
}

.stat-card span{
  color:#6c757d;
}

.categorias-mapa{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin-bottom:35px;
}

.categorias-mapa span{
  background:white;
  padding:12px 20px;
  border-radius:50px;
  box-shadow:0 5px 15px rgba(0,0,0,.08);
  font-weight:600;
  color:#30576b;
}

.mapa-wrapper{
  overflow:hidden;
  border-radius:25px;
  box-shadow:0 20px 45px rgba(0,0,0,.12);
  border:6px solid white;
}

.mapa-wrapper iframe{
  width:100%;
  height:650px;
  border:none;
}