/* ===================================================
   HOME HERO V2 — New Brand Design
   Cormorant Garamond (headlines) + Montserrat (body)
   =================================================== */

/* ---------- HERO V2 ---------- */
.hero-v2 {
    position: relative;
    z-index: 1;
    min-height: 85vh;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Swiper: fill the entire hero behind everything */
.hero-v2 .swiper-container-hero,
.hero-v2 .swiper-container-hero.swiper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.swiper-slide-hero {
    background-size: cover !important;
    background-position: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Gradient overlay: left-to-right fade */
.hero-v2-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to right, rgba(248,243,239,0.95) 0%, rgba(248,243,239,0.5) 45%, transparent 75%) !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* Content layer: absolute positioned, on top of everything */
.hero-v2-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 64px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-v2-text {
    max-width: 640px;
    margin-bottom: 40px;
}

.hero-v2-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: #223856;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}

.hero-v2-title em {
    color: #00A2DC;
    font-style: italic;
}

.hero-v2-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #4A5D76;
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}

/* ---------- SEARCH BAR V2 ---------- */
.hero-v2-search {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    max-width: 780px;
}

.hero-search-field {
    flex: 1;
    min-width: 0;
}

.hero-search-field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00A2DC;
    margin-bottom: 6px;
    padding-left: 4px;
}

.hero-search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(248,243,239,0.5);
    border: 1px solid #D0D9E0;
    border-radius: 16px;
    padding: 10px 14px;
    gap: 8px;
    transition: all 0.2s;
}

.hero-search-input-wrap:focus-within {
    border-color: rgba(0,162,220,0.3);
    box-shadow: 0 0 0 3px rgba(0,162,220,0.08);
}

.hero-search-input-wrap .material-symbols-outlined {
    font-size: 20px;
    color: #223856;
    flex-shrink: 0;
}

.hero-search-input-wrap .form-control,
.hero-search-input-wrap select.form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    height: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #223856;
    width: 100%;
    -webkit-appearance: none;
}

.hero-search-input-wrap .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* Select2 inside hero search */
.hero-search-input-wrap .select2-container {
    width: 100% !important;
}

.hero-search-input-wrap .select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: 28px !important;
    padding: 0 !important;
}

.hero-search-input-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    color: #223856 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
}

.hero-search-input-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px !important;
    right: 0 !important;
}

.hero-search-input-wrap .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #B0BCC7 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

/* Select2 search button alignment: make it same height as input-wraps */
.hero-search-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #00A2DC;
    color: #fff;
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,162,220,0.3);
    align-self: flex-end;
    margin-bottom: 0;
}

.hero-search-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.hero-search-btn .material-symbols-outlined {
    font-size: 24px;
}

/* ---- Modern Select2 Dropdown (Global) ---- */
.select2-container--default .select2-results__option {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #223856;
    padding: 10px 16px;
    transition: all 0.15s;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #E0F5FF !important;
    color: #223856 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: #00A2DC !important;
    color: #fff !important;
}

.select2-container--default .select2-results__group {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00A2DC;
    padding: 10px 16px 4px;
}

.select2-dropdown {
    border: 1px solid #D0D9E0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    overflow: hidden;
    margin-top: 6px;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #D0D9E0 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #D0D9E0 !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.select2-results__options {
    max-height: 280px !important;
}

.select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #F8F3EF;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #B0BCC7;
    border-radius: 3px;
}

/* Kill old FontAwesome pseudo-element from index.css */
#btn-buscar-principal::before,
#btn-buscar-principal:before {
    display: none !important;
    content: none !important;
}

/* Hero Pagination */
.hero-pagination {
    display: block !important;
    position: relative !important;
    margin-top: 30px !important;
    text-align: left;
    z-index: 10 !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: transparent !important;
    border: 2px solid #B0BCC7 !important;
    opacity: 1 !important;
    margin: 0 5px !important;
    display: inline-block !important;
    border-radius: 50%;
    transition: all 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #00A2DC !important;
    border-color: #00A2DC !important;
    transform: scale(1.2);
}

/* ---------- PROMO CARDS V2 ---------- */
.promo-card {
    border: 1px solid #E8E2DD;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.promo-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.promo-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
    filter: grayscale(20%);
}

.promo-card:hover .promo-img-wrapper img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.promo-tag-float {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    z-index: 2;
}

.promo-tag-flash { background: #223856; }
.promo-tag-aventura { background: #FDD844; color: #223856; }
.promo-tag-sol { background: #00A2DC; }

.promo-body {
    padding: 28px 28px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promo-country {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #B0BCC7;
}

.promo-rating-v2 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #FDD844;
}

.promo-rating-v2 .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: 'FILL' 1;
}

.promo-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.promo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #223856;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.promo-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #4A5D76;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-footer {
    padding: 20px 28px;
    border-top: 1px solid #F8F3EF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-price-col {
    display: flex;
    flex-direction: column;
}

.promo-price-old {
    text-decoration: line-through;
    color: #B0BCC7;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.promo-price-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #223856;
    line-height: 1;
    letter-spacing: -0.02em;
}

.promo-price-new span {
    font-size: 16px;
    margin-right: 2px;
}

.promo-btn-arrow {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    color: #223856;
    border: 1px solid #E8E2DD;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.promo-btn-arrow:hover {
    background: #00A2DC;
    color: #fff;
    border-color: #00A2DC;
}

.promo-installments {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #B0BCC7;
    margin-top: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.promo-installments strong {
    color: #223856;
    font-size: 11px;
}

/* ---------- NEWSLETTER ---------- */
.section-newsletter {
    background: #00A2DC;
    padding: 50px 0;
    color: #fff;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.newsletter-text i { font-size: 45px; }

.newsletter-text h3 {
    margin: 0 0 5px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.newsletter-text p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.newsletter-form .input-group {
    width: 100%;
    display: flex;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    height: 52px;
    padding: 0 20px;
    flex-grow: 1;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 16px 0 0 16px;
}

.newsletter-form .btn-dark {
    border-radius: 0 16px 16px 0;
    background: #223856;
    color: #fff;
    border: none;
    height: 52px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 24px;
    transition: background 0.2s;
    font-size: 13px;
}

.newsletter-form .btn-dark:hover { background: #1a2d47; }

/* ---------- TESTIMONIALS V2 ---------- */
.section-testimonials-v2 {
    padding: 80px 0;
    background: #F8F3EF;
    overflow: hidden;
}

.testimonials-v2-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

/* Left intro column */
.testimonials-v2-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #00A2DC;
    display: block;
    margin-bottom: 12px;
}

.testimonials-v2-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: #223856;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}

.testimonials-v2-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #4A5D76;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Social proof row */
.testimonials-v2-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonials-v2-avatars {
    display: flex;
}

.testimonials-v2-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #F8F3EF;
    margin-right: -12px;
}

.testimonials-v2-avatar-count {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #F8F3EF;
    background: #00A2DC;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.testimonials-v2-stars {
    display: flex;
    gap: 1px;
}

.testimonials-v2-stars .material-symbols-outlined {
    font-size: 16px;
    color: #FDD844;
    font-variation-settings: 'FILL' 1;
}

.testimonials-v2-rating-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #4A5D76;
    display: block;
    margin-top: 2px;
}

/* Right cards column */
.testimonials-v2-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.testimonial-card-v2 {
    background: #fff;
    padding: 32px;
    border-radius: 2rem;
    border: 1px solid rgba(208,217,224,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
}

.testimonial-card-v2:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.testimonial-card-offset {
    transform: translateY(32px);
}

.testimonial-card-offset:hover {
    transform: translateY(28px);
}

.testimonial-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card-stars .material-symbols-outlined {
    font-size: 18px;
    color: #FDD844;
    font-variation-settings: 'FILL' 1;
}

.testimonial-card-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
    color: #223856;
    line-height: 1.7;
    margin: 0 0 28px;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-card-name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #223856;
}

.testimonial-card-location {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #4A5D76;
    margin-top: 2px;
}

/* ---------- HERO RESPONSIVE ---------- */
@media (max-width: 991px) {
    .hero-v2 { min-height: 70vh; }
    .hero-v2-content { padding: 0 40px !important; }
    .hero-v2-title { font-size: 42px; }
    .hero-v2-search { flex-wrap: wrap; }
    .hero-search-field { min-width: calc(50% - 12px); }
    .hero-search-field-keyword { flex-basis: 100%; }

    .testimonials-v2-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .testimonials-v2-title { font-size: 36px; }
    .testimonial-card-offset {
        transform: none;
    }
    .testimonial-card-offset:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 767px) {
    .hero-v2 {
        min-height: auto;
    }
    .hero-v2-overlay {
        background: rgba(248,243,239,0.92) !important;
    }
    /* Switch content back to relative flow on mobile so hero auto-sizes */
    .hero-v2-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        padding: 100px 20px 40px !important;
    }
    .hero-v2-title { font-size: 36px; }
    .hero-v2-subtitle { font-size: 15px; }
    .hero-v2-search {
        flex-direction: column;
        padding: 16px;
        border-radius: 20px;
    }
    .hero-search-field {
        width: 100%;
        min-width: 100%;
    }
    .hero-search-btn {
        width: 100%;
        height: 48px;
        border-radius: 14px;
    }

    .testimonials-v2-cards {
        grid-template-columns: 1fr;
    }
    .testimonials-v2-title { font-size: 32px; }
    .testimonials-v2-proof { flex-direction: column; align-items: flex-start; }
}

/* Override base CSS for glass nav era */
.container-wrapper {
    padding-top: 0 !important;
}