* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;
    max-width: 1600px;
    justify-content: center;
    margin: 0 auto;
}

/* Header */
.header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e396a;
}

.logo .highlight {
    color: #c8112d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #c8112d;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #570410;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #c8112d;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/img/portada.jpg') center/cover;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    background: rgba(255, 255, 255, 0.85); /* blanco con 85% opacidad */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 80%;
}


.hero-title {
    font-size: 1.2rem;
    color: #2196F3;
    margin-bottom: 1.5rem;
    /* text-align: center; */
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #2196F3;
}

.search-btn {
    background: #c8112d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #570410;
}

/* --- Modo móvil --- */
@media (max-width: 768px) {
    .search-form .form-group:not(:first-child),
    .search-btn {
        display: none; /* oculta los demás campos y el botón */
    }
    .hero-content {
        
        width: 100%;
    }

    .search-form.active .form-group,
    .search-form.active .search-btn {
        display: flex; /* muestra todo cuando esté activo */
        animation: fadeIn 0.4s ease-in-out;
    }

    .search-form.active {
        grid-template-columns: 1fr; /* en mobile, inputs en una columna */
    }
}

/* Animación de aparición */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Promotional Banner */
.promo-banner {
    background: #c8112d;
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.promo-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.promo-item {
    display: flex;
    align-items: center;
    margin-right: 3rem;
    font-weight: bold;
    white-space: nowrap;
}

.promo-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


.carousel {
    padding: 2rem;
    position: relative;
    /* max-width: 1000px; */
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
  }
  
  .slides {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
  }
  
  .slide {
    flex: 0 0 auto;
  }
  
  .slide img {
    height: 300px;
    width: auto;
    border-radius: 15px;
    margin-right: 16px;
    object-fit: cover;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  
  /* Botones */
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .prev { left: 10px; }
  .next { right: 10px; }
  
  /* Indicadores */
  .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .indicator.active {
    background: #333;
  }
  
  
  

/* Bottom Section */
.bottom-section {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
}

.bottom-title {
    font-size: 2.5rem;
    color: #2196F3;
    font-weight: bold;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.contact-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
  }
  
  .contact-modal-content {
    background: #fff;
    margin: 8% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
    
  }
  
  .contact-modal-content h2 {
    margin-bottom: 1rem;
    color: #2196F3;
    border-bottom: 2px solid #c8112d;
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
  }
  
  .contact-modal-content p {
    margin: 0.6rem 0;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .contact-modal-content i {
    color: #c8112d;
    font-size: 1rem;
    margin-top: 3px;
    min-width: 20px;
  }
  
  .contact-modal-content a {
    color: #2196F3;
    text-decoration: none;
  }
  
  .contact-modal-content a:hover {
    text-decoration: underline;
  }
  
  .contact-close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #c8112d;
    transition: color 0.3s;
  }
  
  .contact-close:hover {
    color: #570410;
  }
  
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
  }
  
  @media (max-width: 500px) {
    .contact-modal-content {
      margin: 20% auto;
      padding: 1.5rem;
    }
    .contact-modal-content h2 {
      font-size: 1.2rem;
    }
  }

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .bottom-title {
        font-size: 2rem;
    }
}

.travel-section {
    padding: 4rem 2rem;
    background: #fff;
  }
  
  .travel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .travel-image {
    flex: 1 1 45%;
    position: relative;
  }
  
  .travel-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10%;
    object-fit: cover;
    /* clip-path: path("M 250 20 C 350 -30, 480 80, 460 200 C 440 350, 200 500, 80 400 C -20 300, 100 70, 50 20 Z"); */
    /* blob effect */
  }
  
  .travel-content {
    flex: 1 1 45%;
    font-size: 1rem;
    color: #333;
  }
  
  .travel-content h2 {
    font-size: 2rem;
    color: #004aad;
    margin-bottom: 1.5rem;
  }
  
  .travel-content h2 span {
    color: #007bff;
    font-weight: bold;
  }
  
  .travel-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
  }
  
  .travel-content i {
    color: #007bff;
    font-size: 1.2rem;
    margin-top: 3px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .travel-container {
      flex-direction: column;
      text-align: center;
    }
    .travel-content {
      font-size: 0.95rem;
    }
    .travel-content p {
      justify-content: center;
    }
    .travel-image img {
        /* clip-path: none; */
        border-radius: 10%; /* o mantener circular */
      }
    
  }

  .benefits-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
  }
  
  .benefits-title {
    font-size: 24px;
    font-weight: 700;
    color: #0056d6;
    margin-bottom: 30px;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .benefit-item {
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  
  .benefit-item:hover {
    transform: translateY(-5px);
  }
  
  .benefit-item i {
    font-size: 32px;
    color: #28aebd;
    margin-bottom: 10px;
  }
  
  .benefit-item p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
  }
  
  .benefits-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
  }
  
  .benefits-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
  }
  
  .benefits-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .benefits-button:hover {
    background: #0056d6;
  }

    @media (max-width: 1024px) {
        .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        }
    }

    .steps-section {
        text-align: center;
        padding: 60px 20px;
        background: #fff;
      }
      
      .steps-header h2 {
        font-size: 28px;
        color: #0066cc;
        margin-bottom: 10px;
      }
      
      .steps-header p {
        color: #666;
        margin-bottom: 40px;
      }
      
      .steps-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
      }
      
      .step-card {
        background: #fff;
        border: 2px dashed #2a9d8f; 
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08);
        text-align: left;
      }
      
      .step-icon {
        font-size: 28px;
        margin-bottom: 15px;
      }
      
      .step-icon.blue { color: #0066cc; }
      .step-icon.red { color: #e63946; }
      .step-icon.green { color: #2a9d8f; }
      
      .steps-cta .cta-btn {
        background: #c7f2ec;
        padding: 14px 30px;
        border-radius: 10px;
        color: #0066cc;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.3s ease;
      }
      
      .steps-cta .cta-btn:hover {
        background: #a8e6dc;
      }
      
      .multitrip-section {
        background: linear-gradient(135deg, #1a1fb9, #0f154a); /* Degradado moderno */
        padding: 80px 20px;
        color: #bdfdff;
        position: relative;
        overflow: hidden;
      }
      
      /* Decoración burbuja */
      .multitrip-section::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        z-index: 0;
      }
      
      .multitrip-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        max-width: 1200px;
        margin: auto;
        position: relative;
        z-index: 1;
      }
      
      .multitrip-text {
        flex: 1;
      }
      
      .multitrip-text h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
        font-weight: 700;
        line-height: 1.2;
        color: #ffffff;
      }
      
      .multitrip-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        color: #dff9ff;
      }
      
      .btn-multitrip {
        display: inline-block;
        padding: 14px 26px;
        background: #aaf0e2;
        color: #001d66;
        font-weight: bold;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      }
      
      .btn-multitrip:hover {
        background: #7de0cd;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      }
      
      .multitrip-images {
        position: relative;
        flex: 1;
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: center;
      }
      
      .multitrip-images img {
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        transition: transform 0.3s ease;
      }
      
      .multitrip-images img:hover {
        transform: scale(1.05);
      }
      
      .img-circle {
        width: 180px;
        height: 275px;
        border-radius: 35%;
        object-fit: cover;
      }
      
      .img-oval {
        width: 480px;
        height: 300px;
        border-radius: 50% / 70%;
        object-fit: cover;
      }
      
      @media (max-width: 768px) {
        .multitrip-container {
            flex-direction: column;
            text-align: center;
        }
        .multitrip-images {
            flex-direction: column;
           
        }

        .multitrip-images img{
            width: 100%;    
        }
        .img-circle, .img-oval {
            width: 100%;
            height: auto;
        }
      }
      
      .experience-section {
  background: linear-gradient(to bottom, #f5f7fa, #e0f7f9); /* Fondo suave */
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.experience-header h2 {
  font-size: 2.2rem;
  color: #0050d1;
  margin-bottom: 10px;
}

.experience-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.experience-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.experience-card .icon {
  font-size: 2rem;
  color: #2a1fb9;
  margin-bottom: 15px;
}

.experience-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}

.experience-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.experience-btn {
  margin-top: 20px;
}

.btn-primary {
  display: inline-block;
  background: #aaf0e2;
  color: #003366;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #7de0cd;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.offers-carousel {
    background: linear-gradient(to right, #d72638, #6a0f1c);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
  }
  
  .carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
  }
  
  .carousel-item {
    flex: 0 0 100%; /* 🔥 Siempre ocupa 100% */
    box-sizing: border-box;
    padding: 40px 20px;
  }
  
  .carousel-item h6 {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
  }
  
  .carousel-item h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .carousel-item p {
    font-size: 1.1rem;
    opacity: 0.9;
  }
  
  /* 📱 Responsive */
  @media (max-width: 768px) {
    .carousel-item h2 {
      font-size: 1.4rem;
    }
    .carousel-item p {
      font-size: 1rem;
    }
  }
  
  @media (min-width: 1200px) {
    .carousel-item h2 {
      font-size: 2.3rem;
    }
    .carousel-item p {
      font-size: 1.2rem;
    }
  }
  
  .payment-section {
    background: #f5f5f5;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
  }
  
  .payment-container {
    background: #f2f2f2;
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .payment-container h2 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 20px;
  }
  
  .payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .payment-logos img {
    max-height: 45px;
    object-fit: contain;
  }
  
  .payment-text {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
  }
  
  .payment-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .payment-text a:hover {
    text-decoration: underline;
  }
  
  .payment-button {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .payment-button:hover {
    background: #0056b3;
  }
  
  /* 📱 Responsive */
  @media (max-width: 600px) {
    .payment-logos {
      gap: 15px;
    }
    .payment-logos img {
      max-height: 35px;
    }
    .payment-container h2 {
      font-size: 1.2rem;
    }
  }
  .faq-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
    align-items: flex-start;
    justify-content: center;
  }
  
  /* Lado izquierdo */
  .faq-left {
    flex: 1;
    min-width: 300px;
  }
  
  .faq-icon {
    font-size: 2rem;
    color: #00bcd4;
    margin-bottom: 10px;
  }
  
  .faq-left h2 {
    color: #0056b3;
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .faq-btn {
    display: inline-block;
    padding: 12px 20px;
    border: 2px solid #007bff;
    border-radius: 8px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .faq-btn:hover {
    background: #007bff;
    color: #fff;
  }
  
  /* Acordeón */
  .faq-right {
    flex: 2;
    min-width: 300px;
  }
  
  .faq-item {
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    overflow: hidden;
  }
  
  .faq-question {
    width: 100%;
    background: #f7f7f7;
    border: none;
    outline: none;
    padding: 15px;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
  }
  
  .faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
    font-size: 0.95rem;
    color: #333;
  }
  
  .faq-item.active .faq-answer {
    display: block;
  }
  
  .faq-item.active .arrow {
    transform: rotate(180deg);
  }
  
  .arrow {
    transition: transform 0.3s;
  }
  /* Contenedor */
.travel-slider-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
  }
  
  .travel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .travel-card {
    flex: 0 0 calc(100% / 3); /* default desktop */
    box-sizing: border-box;
    padding: 10px;
  }
  
  .travel-card img {
    width: 100%;
    border-radius: 10px;
  }
  
  /* Botones */
  button.travel-prev, button.travel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
  }
  button.travel-prev { left: 10px; }
  button.travel-next { right: 10px; }
  
  /* Botón link */
  .btn-travel-link {
    display: inline-block;
    margin-top: 10px;
    background: #c8112d;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
  }
  .btn-travel-link:hover {
    background: #a50d24;
    transform: scale(1.05);
  }
  
  /* Dots */
  .travel-dots {
    text-align: center;
    margin-top: 15px;
  }
  .travel-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  .travel-dots span.active {
    background: #333;
  }

  @media (max-width: 768px) {
    .travel-card {
      flex: 0 0 calc(100% / 2); /* tablet */
    }
  }
  
  @media (max-width: 480px) {
    .travel-card {
      flex: 0 0 100%; /* móvil */
    }
  
}/* ============ NEWSLETTER SECTION ============ */
.newsletter-section {
    background: linear-gradient(to right, #d72638, #6a0f1c);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .newsletter-title {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .newsletter-subtitle {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .newsletter-input {
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 15px;
    min-width: 280px;
    max-width: 350px;
  }
  
  .newsletter-button {
    background: linear-gradient(135deg, #a6f0d1, #82d6c2);
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #003d2e;
    font-weight: bold;
  }
  
  .newsletter-button:hover {
    background: linear-gradient(135deg, #82d6c2, #5ac7a7);
    transform: translateY(-2px);
  }

  .custom-footer {
    background: #fff;
    padding: 40px 20px;
    border-top: 2px solid #0066ff;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
  }
  
  /* --- Social --- */
  .footer-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .social-icons a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid #007bff;
    border-radius: 8px;
    color: #007bff;
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background: #007bff;
    color: #fff;
  }
  
  /* --- Idiomas --- */
  .footer-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .lang-btn {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    background: #f5f5f5;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .lang-btn.active {
    background: #fff;
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: bold;
  }
  
  .lang-btn:hover {
    background: #e9e9e9;
  }
  
  /* --- Links --- */
  .footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .footer-links .col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links a {
    color: #0066ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #0041aa;
    font-weight: 900;
    text-decoration: underline;
  }
  
  /* 📱 Responsive */
  @media (max-width: 1024px) {
    .footer-container {
      justify-content: left;
      gap: 40px;
    }
    .footer-links {
      gap: 40px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: left;
      text-align: left;
    }
    .footer-links {
      flex-direction: column;
      gap: 20px;
      align-items: left;
    }
    .footer-links .col {
      align-items: left;
    }
    .footer-lang {
      justify-content: left;
    }
  }
  
  @media (max-width: 480px) {
    .social-icons a {
      width: 32px;
      height: 32px;
      font-size: 16px;
    }
    .footer-links a {
      font-size: 13px;
    }
    .lang-btn {
      font-size: 12px;
      padding: 5px 12px;
    }
  }
  
  

  .gss-footer {
    background: #032169;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
  }
  
  .gss-footer-links {
    margin-bottom: 20px;
  }
  
  .gss-footer-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
  }
  
  .gss-footer-links a:hover {
    color: #00c3ff;
  }
  
  .gss-copy {
    font-size: 13px;
    margin-bottom: 15px;
    color: #bbb;
    line-height: 1.5;
  }
  
  .gss-legal {
    font-size: 11px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .gss-footer-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .gss-footer-flags span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ccc;
  }
  
  .gss-footer-flags img {
    width: 20px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
  }
  
  .suscribe-section {
    position: relative;
    width: 100%;
    height: 300px; /* ajusta según tu diseño */
    background: url("img/portada.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .suscribe-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 20px 40px;
    max-width: 900px;
    width: 90%;
    justify-content: space-between;
  }
  
  .suscribe-logo img {
    max-height: 60px;
    display: block;
  }
  
  .suscribe-text {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    color: #003d8f; /* azul del ejemplo */
  }
  
  .suscribe-text strong {
    font-weight: bold;
  }
  
  .suscribe-button a {
    background: #0069e6;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
  }
  
  .suscribe-button a:hover {
    background: #0050b3;
  }
  /* Responsive */
@media (max-width: 768px) {
    .suscribe-container {
      flex-direction: column;
      text-align: center;
      padding: 20px;
    }
  
    .suscribe-logo {
      margin-bottom: 15px;
    }
  
    .suscribe-text {
      font-size: 1.2rem;
      margin-bottom: 15px;
    }
  
    .suscribe-button a {
      width: 100%;
      text-align: center;
      padding: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .suscribe-section {
      height: auto; /* que se adapte al contenido */
      padding: 30px 0;
    }
  
    .suscribe-container {
      width: 95%;
      padding: 15px;
    }
  
    .suscribe-text {
      font-size: 1rem;
    }
  
    .suscribe-logo img {
      max-height: 50px;
    }
  }
  
  
  .plans-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }
  
  .plans-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    position: relative;
  }
  
  .plans-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
  }
  
  .plans-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
  }
  
  .plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .plan-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  
    display: flex;              /* Activa Flexbox */
    flex-direction: column;     /* Organiza el contenido en columna */
    justify-content: space-between; /* Empuja el botón al final */
  }
  
  .plan-card:hover {
    transform: translateY(-5px);
  }
  
  .plan-header h3 {
    color: #007bff;
    margin: 0;
  }
  
  .plan-header h2 {
    margin: 10px 0;
    color: #222;
  }
  
  .plan-header span {
    font-size: 14px;
    color: #555;
  }
  
  .plan-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    flex-grow: 1;  /* Esto hace que la lista ocupe el espacio disponible */
  }
  
  .plan-details li {
    margin: 8px 0;
  }
  
  .plan-pay-btn {
    margin-top: auto; /* Empuja el botón hacia abajo */
    display: block;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .plan-pay-btn:hover {
    background: #0056b3;
  }

  @media screen and (max-width: 1024px) {
    .plans-modal-content {
      max-height: 90vh;    /* no ocupar toda la pantalla */
      overflow-y: auto;    /* scroll vertical si es necesario */
    }
    .plans-container {
      gap: 15px;
    }
  
    .plan-card {
      flex: 1 1 45%; /* 2 por fila */
      max-width: 45%;
      min-width: 200px;
    }
  }
  
  /* Móviles grandes (481px - 767px) */
  @media screen and (max-width: 767px) {
    .plan-card {
      flex: 1 1 70%; /* 1 por fila pero no muy estrecha */
      max-width: 70%;
    }
  }
  
  /* Móviles pequeños (hasta 480px) */
  @media screen and (max-width: 480px) {
    .plan-card {
      flex: 1 1 90%; /* tarjeta casi completa */
      max-width: 90%;
      padding: 15px;
    }
  
    .plan-header h2 {
      font-size: 20px;
    }
  
    .plan-header h3 {
      font-size: 18px;
    }
  
    .plan-pay-btn {
      font-size: 14px;
      padding: 10px;
    }
  }

  /*plan modal 2 */
  .plans-modal-alt {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }
  
  .plans-modal-content-alt {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    position: relative;
  }
  
  .plans-close-alt {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
  }
  
  .plans-title-alt {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
  }
  
  .plans-container-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .plan-card-alt {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  
    display: flex;              /* Activa Flexbox */
    flex-direction: column;     /* Organiza el contenido en columna */
    justify-content: space-between; /* Empuja el botón al final */
  }
  
  .plan-card-alt:hover {
    transform: translateY(-5px);
  }
  
  .plan-header-alt h3 {
    color: #007bff;
    margin: 0;
  }
  
  .plan-header-alt h2 {
    margin: 10px 0;
    color: #222;
  }
  
  .plan-header-alt span {
    font-size: 14px;
    color: #555;
  }
  
  .plan-details-alt {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    flex-grow: 1;  /* Esto hace que la lista ocupe el espacio disponible */
  }
  
  .plan-details-alt li {
    margin: 8px 0;
  }
  
  .plan-pay-btn-alt {
    margin-top: auto; /* Empuja el botón hacia abajo */
    display: block;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
  }
  
  .plan-pay-btn-alt:hover {
    background: #0056b3;
  }

  @media screen and (max-width: 1024px) {
    .plans-modal-content-alt {
      max-height: 90vh;    /* no ocupar toda la pantalla */
      overflow-y: auto;    /* scroll vertical si es necesario */
    }
    .plans-container-alt {
      gap: 15px;
    }
  
    .plan-card-alt {
      flex: 1 1 45%; /* 2 por fila */
      max-width: 45%;
      min-width: 200px;
    }
  }
  
  /* Móviles grandes (481px - 767px) */
  @media screen and (max-width: 767px) {
    .plan-card-alt {
      flex: 1 1 70%; /* 1 por fila pero no muy estrecha */
      max-width: 70%;
    }
  }
  
  /* Móviles pequeños (hasta 480px) */
  @media screen and (max-width: 480px) {
    .plan-card-alt {
      flex: 1 1 90%; /* tarjeta casi completa */
      max-width: 90%;
      padding: 15px;
    }
  
    .plan-header-alt h2 {
      font-size: 20px;
    }
  
    .plan-header-alt h3 {
      font-size: 18px;
    }
  
    .plan-pay-btn-alt {
      font-size: 14px;
      padding: 10px;
    }
  }

  /* plan modal end 2 */

  
  /* parthner cliente */
.partners-section {
  padding: 4rem 9%;
}

.partners-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-content h2 {
  color: #0050d1;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.partners-content p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.partner-btn {
  background-color: #00205B;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 3rem;
}

.partner-btn:hover {
  background-color: #001845;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Por defecto: 4 columnas */
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .partners-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 columnas para tablets */
  }
}

@media (max-width: 768px) {
  .partners-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas para pantallas pequeñas */
  }
  
  .partners-section {
      padding: 2rem 5%;
  }
  
  .partners-content h2 {
      font-size: 3rem;
  }

  .partners-content p {
      font-size: 1.5rem;
  }
}

/* Mantener 2 columnas incluso para pantallas muy pequeñas */
@media (max-width: 480px) {
  .partners-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas también en móviles */
      gap: 1rem; /* Reducir el espacio entre elementos */
  }

  .partners-content h2 {
      font-size: 1.5rem;
  }

  .partners-content p {
      font-size: 0.8rem;
  }
}
  
.termservices {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.termservices-content {
  background: #fff;
  padding: 25px;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  overflow: auto;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Arial', sans-serif;
  animation: slideDown 0.3s ease-in-out;
}

.termservices-content h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.termservices-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.termservices-content ul {
  padding-left: 20px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

.privacy-policy {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.privacy-content {
  background: #fff;
  padding: 25px;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  overflow: auto;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Arial', sans-serif;
  animation: slideDown 0.3s ease-in-out;
}

.privacy-content h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.privacy-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.privacy-content ul {
  padding-left: 20px;
}

.privacy-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.privacy-close-btn:hover {
  color: red;
}

/* Fondo oscuro */
.modal-empresa {
  display: none; /* oculto al inicio */
  position: fixed;
  z-index: 3000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease;
}


/* Caja del modal */
.modal-empresa-content {
  background: #fff;
  border-radius: 20px;
  max-width: 700px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  position: relative;
  animation: zoomIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Botón cerrar */
.modal-empresa-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}
.modal-empresa-close:hover {
  color: #000;
}

/* Contenido */
.empresa-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.empresa-img {
  max-width: 180px;
  margin-bottom: 1rem;
}

.empresa-body p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}

/* Animaciones */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes zoomIn {
  from {transform: scale(0.8);}
  to {transform: scale(1);}
}