:root {
  /* Colores principales del logo */
  --color-primary: #04449b;   /* Azul oscuro principal */
  --color-secondary: #077d9b; /* Azul medio */
  --color-accent: #fb8d0d;    /* Naranja vibrante */
  
  /* Tonos complementarios y neutros */
  --color-light: #d1ddd9;     /* Gris muy claro */
  --color-dark: #043434;      /* Verde-azulado oscuro */
  --color-sky: #0dcdfc;       /* Celeste brillante */
  --color-blue-soft: #5e9fb5; /* Azul suave */
  --color-blue-pale: #7ab2cc; /* Azul pálido */

  /* Otros posibles */
  --text-color: var(--color-dark);
  --background-color: var(--color-light);
}
/* ======== PÁGINA DE DESTINO ======== */

/* ======== SECCIÓN FILTROS DESTINOS ======== */
.filtros-destinos {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background-color: var(--color-light);
}

.filtros-destinos h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Buscador */
.buscador {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto 2rem;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.buscador:focus-within {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.buscador input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--color-dark);
}

.buscador input::placeholder {
  color: #777;
}

.btn-search {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.btn-search:hover {
  background-color: var(--color-accent);
}

/* Filtros tipo chips */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.filtro {
  background-color: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filtro:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.filtro.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .filtros-destinos h2 {
    font-size: 1.6rem;
  }

  .buscador {
    max-width: 90%;
  }

  .filtro {
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
  }
}

/* ======== SECCIÓN REGIONES ======== */
.regiones {
  padding: 1rem 1rem;
  text-align: center;
  background-color: var(--color-light);
}

.regiones h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Grid de regiones */
.regiones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Tarjetas de región */
.region-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.region-card:hover img {
  transform: scale(1.1);
}

/* Overlay de información */
.region-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  transition: background 0.3s ease;
}

.region-overlay h3 {
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}

.region-overlay p {
  font-size: 0.9rem;
}

/* Hover general de tarjeta */
.region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .regiones h2 {
    font-size: 1.6rem;
  }

  .region-overlay h3 {
    font-size: 1.1rem;
  }

  .region-overlay p {
    font-size: 0.85rem;
  }

  .region-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .region-card img {
    height: 150px;
  }
}

.destinos-individuales {
  padding: 1rem 1rem;
  text-align: center;
  background-color: var(--color-light);
}

.destinos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Tarjeta sin fondo extra */
.destino-card {
  position: relative;
  width: 280px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destino-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.destino-card:hover img {
  transform: scale(1.05);
}

/* Overlay */
.destino-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
}

.destino-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.destino-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.destino-overlay .btn {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.destino-overlay .btn:hover {
  background-color: var(--color-primary);
}

.destino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .destino-card {
    width: 220px;
  }

  .destinos-individuales h2 {
    font-size: 1.6rem;
  }

  .destino-overlay h3 {
    font-size: 1.1rem;
  }

  .destino-overlay p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .destino-card {
    width: 90%;
  }
}
.cta-final {
  background-color: var(--color-primary); /* azul principal */
  color: #fff;
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
}

.cta-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.cta-text {
  flex: 1 1 400px;
  text-align: left;
}

.cta-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-cta {
  background-color: var(--color-accent); /* naranja */
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-cta:hover {
  background-color: var(--color-light); /* gris claro */
  color: var(--color-primary);
  transform: translateY(-2px);
}

.cta-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image img {
  width: 250px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

/* Animación flotante */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Responsive ---------- */

/* Tablets */
@media (max-width: 992px) {
  .cta-text {
    text-align: center;
  }

  .cta-text h2 {
    font-size: 2.2rem;
  }

  .cta-text p {
    font-size: 1rem;
  }

  .cta-image img {
    width: 200px;
  }
}

/* Móviles */
@media (max-width: 600px) {
  .cta-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 1.8rem;
  }

  .cta-text p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-image img {
    width: 140px;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
  }

  .btn-cta {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
  }
}
