:root {
  --primary-color: #0080ff;
  --secondary-color: #00ff80;
  --tertiary-color: #f7da00;
  --text-color: #ffffff;
  --background-dark: #1e1e1e;
  --card-bg: rgba(255, 255, 255, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-hover: linear-gradient(
    45deg,
    rgba(0, 128, 255, 0.1),
    rgba(0, 255, 128, 0.1),
    rgba(247, 218, 0, 0.1)
  );
  --glow-shadow: 0 0 15px rgba(0, 128, 255, 0.5),
    0 0 25px rgba(0, 255, 128, 0.3), 0 0 35px rgba(247, 218, 0, 0.2);
  --card-hover-transform: translateY(-10px) scale(1.02);
  --footer-gradient: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color),
    var(--tertiary-color)
  );
  --touch-glow-shadow: 0 0 12px rgba(0, 128, 255, 0.4),
    0 0 22px rgba(0, 255, 128, 0.2), 0 0 30px rgba(247, 218, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0066cc;
}

@media (max-width: 1024px) {
  ::-webkit-scrollbar {
    width: 10px;
  }
}

.info-container::-webkit-scrollbar,
.card-recomendacion-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.info-container::-webkit-scrollbar-track,
.card-recomendacion-content::-webkit-scrollbar-track {
  background: transparent;
}

.info-container::-webkit-scrollbar-thumb,
.card-recomendacion-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.info-container::-webkit-scrollbar-thumb:hover,
.card-recomendacion-content::-webkit-scrollbar-thumb:hover {
  background: #0066cc;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px;
  transition: all 0.3s ease;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: fixed;
  top: 20px;
  left: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.logo.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.logo-v {
  color: var(--primary-color);
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 128, 255, 0.7), 0 0 20px rgba(0, 128, 255, 0.5),
    0 0 30px rgba(0, 128, 255, 0.3);
  animation: lightning 3s infinite;
  position: relative;
}

@keyframes lightning {
  0%,
  100% {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.7),
      0 0 20px rgba(0, 128, 255, 0.5);
  }
  50% {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.7),
      0 0 20px rgba(0, 128, 255, 0.5);
  }
  51%,
  52% {
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(0, 128, 255, 0.9), 0 0 90px rgba(0, 128, 255, 0.8);
  }
  53%,
  54% {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.7),
      0 0 20px rgba(0, 128, 255, 0.5);
  }
  55%,
  56% {
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(0, 128, 255, 0.9), 0 0 90px rgba(0, 128, 255, 0.8);
  }
}

.logo-ia {
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--tertiary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 128, 0.7), 0 0 20px rgba(247, 218, 0, 0.5);
  animation: pulseLogo 2s infinite alternate;
  animation-delay: 0.5s;
}

@keyframes pulseLogo {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.5);
  }
}

.animated-phrase .logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
}

.animated-phrase .logo-text .logo-v,
.animated-phrase .logo-text .logo-ia {
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: #ffffff;
  background-clip: unset;
  animation: none;
}

.hero {
  height: 96vh;
  background-image: url("img/travel.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 128, 255, 0.3),
    0 15px 40px rgba(0, 255, 128, 0.2), 0 20px 50px rgba(247, 218, 0, 0.1);
  will-change: transform;
  font-weight: 500;
  animation: heroShadowGlow 8s infinite alternate;
}

@keyframes heroShadowGlow {
  0% {
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.3),
      0 15px 40px rgba(0, 255, 128, 0.2), 0 20px 50px rgba(247, 218, 0, 0.1);
  }
  50% {
    box-shadow: 0 15px 35px rgba(0, 128, 255, 0.4),
      0 20px 45px rgba(0, 255, 128, 0.3), 0 25px 55px rgba(247, 218, 0, 0.2);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.3),
      0 15px 40px rgba(0, 255, 128, 0.2), 0 20px 50px rgba(247, 218, 0, 0.1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phrases {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.phrase-container {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.animated-phrase {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUpFade 20s infinite;
  padding: 0 20px;
  margin: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes slideUpFade {
  0%,
  100% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(2px);
  }
  3% {
    filter: blur(1px);
  }
  3%,
  22% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  23% {
    filter: blur(0);
  }
  25%,
  97% {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
    filter: blur(2px);
  }
}

.animated-phrase:nth-child(1) {
  animation-delay: 0s;
}

.animated-phrase:nth-child(2) {
  animation-delay: 5s;
}

.animated-phrase:nth-child(3) {
  animation-delay: 10s;
}

.animated-phrase:nth-child(4) {
  animation-delay: 15s;
}

.scroll-area {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 90%;
  padding-bottom: 15px;
}

.scroll-text {
  color: var(--text-color);
  font-weight: 400;
  text-align: center;
  margin-bottom: 4px;
}

.scroll-indicator {
  animation: bounce 2s infinite;
  color: var(--text-color);
  line-height: 0;
}

.features {
  padding: 4rem 0;
}

.recommendation-section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.recommendation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.card,
.card-recomendacion,
.no-results-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--secondary-color);
}

.google-search-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1e1e1e;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 8px;
  text-decoration: none;
}

.google-search-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 18px;
  max-height: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

select,
input,
button {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
  font-family: "Montserrat", sans-serif;
}

select:hover,
input:hover {
  background: rgba(255, 255, 255, 0.2);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option {
  background-color: var(--background-dark);
  color: var(--text-color);
}

button {
  background: var(--primary-color);
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #0066cc;
}

.info-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.destination-title {
  color: var(--primary-color);
  margin-bottom: 0.2rem;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.card-recomendacion:hover .destination-title {
  color: var(--secondary-color);
}

.stars-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.2rem;
}

.stars {
  color: var(--tertiary-color);
  letter-spacing: 2px;
  animation: starsTwinkle 3s infinite alternate;
}

@keyframes starsTwinkle {
  0% {
    opacity: 0.8;
    text-shadow: 0 0 2px var(--tertiary-color);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 8px var(--tertiary-color);
  }
}

.rating-value {
  color: var(--text-color);
  opacity: 0.9;
}

.destination-meta {
  color: var(--text-color);
  display: flex;
  align-items: center;
  line-height: 1.2;
  gap: 6px;
  flex-wrap: wrap;
}

.bullet-separator {
  opacity: 0.7;
}

.footer {
  position: relative;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color),
    var(--tertiary-color)
  );
  color: var(--background-dark);
  text-align: center;
  padding: 0.6rem;
  margin-top: 3rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 200% 100%;
  animation: gradientFlow 8s linear infinite;
  overflow: hidden;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  box-shadow: 0 -10px 30px rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-25deg);
  animation: shimmer 6s infinite;
}

@keyframes shimmer {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.footer p {
  color: var(--background-dark);
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  line-height: 1.3;
}

.footer-via {
  color: var(--background-dark);
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
}

.footer-dot {
  color: var(--background-dark);
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media print {
  .hero,
  .scroll-indicator,
  .footer {
    display: none;
  }

  body {
    background-color: #ffffff;
    color: #000000;
  }

  .card,
  .form-container {
    box-shadow: none;
    border: 1px solid #000000;
  }
}

@media (min-width: 769px) {
  ::-webkit-scrollbar {
    width: 14px;
  }

  @media (max-width: 1024px) {
    ::-webkit-scrollbar {
      width: 10px;
    }
  }

  .hero {
    background-attachment: fixed;
    border-radius: 0 0 100px 100px;
  }

  .hero::before {
    border-radius: 0 0 100px 100px;
  }

  @media (min-width: 1025px) {
    .hero {
      animation: zoomEffect 20s infinite alternate,
        heroShadowGlow 8s infinite alternate;
      background-size: 120% auto;
      background-position: center center;
    }

    @keyframes zoomEffect {
      0%,
      100% {
        background-size: 120% auto;
      }
      50% {
        background-size: 140% auto;
      }
    }
  }

  .animated-phrase {
    font-size: 4.5rem;
    min-height: 200px;
  }

  .animated-phrase:nth-child(4) {
    font-size: 5rem;
    white-space: nowrap;
    display: inline-flex;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .scroll-text {
    font-size: 0.9rem;
    opacity: 0.8;
  }

  .feature-cards {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }

  .card,
  .card-recomendacion,
  .no-results-card {
    flex: 1;
    animation: cardGradientGlow 8s ease-in-out infinite alternate;
    background-position: 0 0;
    background-size: 100% 100%;
    will-change: transform, box-shadow;
  }

  @keyframes cardGradientGlow {
    0% {
      box-shadow: 0 0 12px rgba(0, 128, 255, 0.4),
        0 0 20px rgba(0, 255, 128, 0.1), 0 0 28px rgba(247, 218, 0, 0.05);
      transform: translateY(-3px);
    }
    50% {
      box-shadow: 0 0 15px rgba(0, 128, 255, 0.2),
        0 0 25px rgba(0, 255, 128, 0.3), 0 0 32px rgba(247, 218, 0, 0.1);
      transform: translateY(-7px);
    }
    100% {
      box-shadow: 0 0 12px rgba(0, 128, 255, 0.4),
        0 0 20px rgba(0, 255, 128, 0.1), 0 0 28px rgba(247, 218, 0, 0.05);
      transform: translateY(-3px);
    }
  }

  .card::after,
  .card-recomendacion::after,
  .no-results-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0.3;
    border-radius: 15px;
    z-index: 0;
    animation: gradientMove 8s ease-in-out infinite alternate;
    pointer-events: none;
  }

  .card-image,
  .card-recomendacion img:not(.google-search-btn img) {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.95);
    position: relative;
    z-index: 1;
  }

  .card-content,
  .card-recomendacion-content,
  .no-results-card > * {
    position: relative;
    z-index: 1;
  }

  .card::before,
  .card-recomendacion::before,
  .no-results-card::before,
  .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0;
    transition: var(--transition);
    border-radius: 15px;
    pointer-events: none;
  }

  .card:hover,
  .card-recomendacion:hover,
  .no-results-card:hover,
  .form-container:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--glow-shadow);
    animation-play-state: paused;
  }

  .card:hover::before,
  .card-recomendacion:hover::before,
  .no-results-card:hover::before,
  .form-container:hover::before {
    opacity: 1;
  }

  .card:hover .card-image,
  .card-recomendacion:hover img:not(.google-search-btn img) {
    filter: brightness(1.1);
  }

  .section-title {
    font-size: 2.5rem;
  }

  .google-search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  }

  .form-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    animation: formGradientGlow 8s ease-in-out infinite alternate;
    background-position: 0 0;
    background-size: 100% 100%;
  }

  @keyframes formGradientGlow {
    0% {
      box-shadow: 0 0 15px rgba(0, 128, 255, 0.5),
        0 0 25px rgba(0, 255, 128, 0.2), 0 0 35px rgba(247, 218, 0, 0.1);
      transform: translateY(-5px);
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 128, 255, 0.3),
        0 0 30px rgba(0, 255, 128, 0.4), 0 0 40px rgba(247, 218, 0, 0.2);
      transform: translateY(-10px);
    }
    100% {
      box-shadow: 0 0 15px rgba(0, 128, 255, 0.5),
        0 0 25px rgba(0, 255, 128, 0.2), 0 0 35px rgba(247, 218, 0, 0.1);
      transform: translateY(-5px);
    }
  }

  .form-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0.4;
    border-radius: 15px;
    z-index: 0;
    animation: gradientMove 8s ease-in-out infinite alternate;
  }

  @keyframes gradientMove {
    0% {
      opacity: 0.2;
      background: linear-gradient(
        45deg,
        rgba(0, 128, 255, 0.1),
        rgba(0, 255, 128, 0.1),
        rgba(247, 218, 0, 0.1)
      );
    }
    50% {
      opacity: 0.3;
      background: linear-gradient(
        45deg,
        rgba(247, 218, 0, 0.1),
        rgba(0, 128, 255, 0.1),
        rgba(0, 255, 128, 0.1)
      );
    }
    100% {
      opacity: 0.2;
      background: linear-gradient(
        45deg,
        rgba(0, 255, 128, 0.1),
        rgba(247, 218, 0, 0.1),
        rgba(0, 128, 255, 0.1)
      );
    }
  }

  .form-container > * {
    position: relative;
    z-index: 1;
  }

  .recommendations-container {
    width: 100%;
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
  }

  .recommendations-1 {
    grid-template-columns: 320px;
  }

  .recommendations-2 {
    grid-template-columns: repeat(2, 320px);
  }

  .recommendations-3 {
    grid-template-columns: repeat(3, 320px);
  }

  @media (max-width: 1024px) {
    .recommendations-3 {
      grid-template-columns: repeat(2, 320px);
    }

    .section-title {
      font-size: 2rem;
    }
  }

  .recommendations-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .card-recomendacion,
  .no-results-card {
    width: 320px;
    height: 400px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .card-recomendacion-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 130px;
    position: relative;
    overflow-y: auto;
  }

  .destination-title {
    font-size: 1.5rem;
  }

  .stars {
    font-size: 1.2rem;
  }

  .rating-value {
    font-size: 0.9rem;
  }

  .destination-meta {
    font-size: 1rem;
  }

  .no-results-card {
    width: 320px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .no-results-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .no-results-card p {
    color: var(--text-color);
    opacity: 0.8;
  }

  .footer {
    border-radius: 100% 100% 0 0;
  }

  .footer::before {
    border-radius: 100% 100% 0 0;
  }
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 10px;
  }

  .hero {
    height: 96vh;
    background-attachment: scroll;
    background-size: cover;
    animation: none;
    background-position: center;
    border-radius: 0 0 50px 50px;
  }

  .hero::before {
    border-radius: 0 0 50px 50px;
  }

  .animated-phrase {
    font-size: 3rem;
    min-height: 150px;
  }

  .animated-phrase:nth-child(4) {
    font-size: 3.2rem;
    white-space: normal;
    flex-wrap: wrap;
  }

  .scroll-text {
    font-size: 0.9rem;
    opacity: 0.8;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .card,
  .card-recomendacion,
  .no-results-card {
    width: 100%;
    margin-bottom: 1rem;
    animation: cardGradientGlowMobile 8s ease-in-out infinite alternate;
    will-change: transform, box-shadow;
  }

  @keyframes cardGradientGlowMobile {
    0% {
      box-shadow: 0 0 10px rgba(0, 128, 255, 0.3),
        0 0 15px rgba(0, 255, 128, 0.1), 0 0 20px rgba(247, 218, 0, 0.05);
      transform: translateY(-2px);
    }
    50% {
      box-shadow: 0 0 12px rgba(0, 128, 255, 0.2),
        0 0 18px rgba(0, 255, 128, 0.2), 0 0 24px rgba(247, 218, 0, 0.1);
      transform: translateY(-5px);
    }
    100% {
      box-shadow: 0 0 10px rgba(0, 128, 255, 0.3),
        0 0 15px rgba(0, 255, 128, 0.1), 0 0 20px rgba(247, 218, 0, 0.05);
      transform: translateY(-2px);
    }
  }

  .card::after,
  .card-recomendacion::after,
  .no-results-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0.2;
    border-radius: 15px;
    z-index: 0;
    animation: gradientMoveMobile 8s ease-in-out infinite alternate;
    pointer-events: none;
  }

  .card-content,
  .card-recomendacion-content,
  .card-image,
  .card-recomendacion img,
  .no-results-card > * {
    position: relative;
    z-index: 1;
  }

  .card-image,
  .card-recomendacion img:not(.google-search-btn img) {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.95);
    transition: var(--transition);
    position: relative;
    z-index: 1;
  }

  .card::before,
  .card-recomendacion::before,
  .no-results-card::before,
  .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0;
    transition: var(--transition);
    border-radius: 15px;
    pointer-events: none;
    z-index: 0;
  }

  .google-search-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100 !important;
    pointer-events: auto !important;
  }

  .is-touch-device .card,
  .is-touch-device .card-recomendacion,
  .is-touch-device .no-results-card,
  .is-touch-device .form-container {
    will-change: transform, box-shadow;
  }

  .card:active,
  .card-recomendacion:active,
  .no-results-card:active,
  .form-container:active,
  .card.touch-active,
  .card-recomendacion.touch-active,
  .no-results-card.touch-active,
  .form-container.touch-active {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
  }

  .card:active::before,
  .card-recomendacion:active::before,
  .no-results-card:active::before,
  .form-container:active::before,
  .card.touch-active::before,
  .card-recomendacion.touch-active::before,
  .no-results-card.touch-active::before,
  .form-container.touch-active::before {
    opacity: 0.7;
  }

  .card:active h3,
  .card.touch-active h3 {
    color: var(--secondary-color);
  }

  .card-recomendacion:active .destination-title,
  .card-recomendacion.touch-active .destination-title {
    color: var(--secondary-color);
  }

  .form-container {
    width: 100%;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    animation: formGradientGlowMobile 8s ease-in-out infinite alternate;
  }

  @keyframes formGradientGlowMobile {
    0% {
      box-shadow: 0 0 12px rgba(0, 128, 255, 0.4),
        0 0 20px rgba(0, 255, 128, 0.2), 0 0 25px rgba(247, 218, 0, 0.1);
      transform: translateY(-3px);
    }
    50% {
      box-shadow: 0 0 15px rgba(0, 128, 255, 0.3),
        0 0 25px rgba(0, 255, 128, 0.3), 0 0 30px rgba(247, 218, 0, 0.2);
      transform: translateY(-7px);
    }
    100% {
      box-shadow: 0 0 12px rgba(0, 128, 255, 0.4),
        0 0 20px rgba(0, 255, 128, 0.2), 0 0 25px rgba(247, 218, 0, 0.1);
      transform: translateY(-3px);
    }
  }

  .form-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0.3;
    border-radius: 15px;
    z-index: 0;
    animation: gradientMoveMobile 8s ease-in-out infinite alternate;
  }

  @keyframes gradientMoveMobile {
    0% {
      opacity: 0.15;
      background: linear-gradient(
        45deg,
        rgba(0, 128, 255, 0.1),
        rgba(0, 255, 128, 0.1),
        rgba(247, 218, 0, 0.1)
      );
    }
    50% {
      opacity: 0.25;
      background: linear-gradient(
        45deg,
        rgba(247, 218, 0, 0.1),
        rgba(0, 128, 255, 0.1),
        rgba(0, 255, 128, 0.1)
      );
    }
    100% {
      opacity: 0.15;
      background: linear-gradient(
        45deg,
        rgba(0, 255, 128, 0.1),
        rgba(247, 218, 0, 0.1),
        rgba(0, 128, 255, 0.1)
      );
    }
  }

  .form-container > * {
    position: relative;
    z-index: 1;
  }

  .recommendations-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
  }

  .recommendations-container.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .card-recomendacion,
  .no-results-card {
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    transition: var(--transition);
  }

  .card-recomendacion-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    z-index: 2;
  }

  .destination-title {
    font-size: 1.3rem;
  }

  .stars {
    font-size: 1.1rem;
  }

  .rating-value {
    font-size: 0.85rem;
  }

  .destination-meta {
    font-size: 0.88rem;
  }

  .no-results-card {
    height: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .no-results-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }

  .no-results-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
  }

  .footer {
    border-radius: 50% 50% 0 0;
    background-size: 300% 100%;
    animation: gradientFlow 10s linear infinite;
  }

  .footer::before {
    border-radius: 50% 50% 0 0;
  }

  @media (max-width: 480px) {
    .hero {
      height: 96vh;
      border-radius: 0 0 30px 30px;
    }

    .hero::before {
      border-radius: 0 0 30px 30px;
    }

    .animated-phrase {
      font-size: 2.2rem;
      min-height: 120px;
    }

    .animated-phrase:nth-child(4) {
      font-size: 2.4rem;
    }

    .card-recomendacion,
    .no-results-card {
      height: 320px;
    }

    .card-image,
    .card-recomendacion img:not(.google-search-btn img) {
      height: 160px;
    }

    .destination-title {
      font-size: 1.2rem;
    }

    .stars {
      font-size: 1rem;
    }

    .rating-value {
      font-size: 0.8rem;
    }

    .destination-meta {
      font-size: 0.85rem;
    }

    .scroll-area {
      bottom: 20px;
      gap: 20px;
      padding-bottom: 15px;
    }

    .scroll-text {
      font-size: 0.8rem;
    }

    .form-container {
      padding: 1.2rem;
    }

    .section-title {
      font-size: 1.8rem;
    }

    .footer {
      border-radius: 35% 35% 0 0;
    }

    .footer::before {
      border-radius: 35% 35% 0 0;
    }

    .card {
      height: auto;
      margin-bottom: 1rem;
    }

    .card-content {
      padding: 1.2rem;
    }

    @keyframes cardGradientGlowMobile {
      0% {
        box-shadow: 0 0 8px rgba(0, 128, 255, 0.3),
          0 0 12px rgba(0, 255, 128, 0.1), 0 0 16px rgba(247, 218, 0, 0.05);
        transform: translateY(-1px);
      }
      50% {
        box-shadow: 0 0 10px rgba(0, 128, 255, 0.2),
          0 0 15px rgba(0, 255, 128, 0.2), 0 0 20px rgba(247, 218, 0, 0.1);
        transform: translateY(-3px);
      }
      100% {
        box-shadow: 0 0 8px rgba(0, 128, 255, 0.3),
          0 0 12px rgba(0, 255, 128, 0.1), 0 0 16px rgba(247, 218, 0, 0.05);
        transform: translateY(-1px);
      }
    }
  }
}
