/* ============================================
   VIAJEROS SINGLES - Frontend Styles
   ============================================ */

/* ---- Reset / Base ---- */
.vs-section {
    width: 100%;
    font-family: 'Poppins', system-ui, sans-serif;
}

.vs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 48px);
}

.vs-narrow {
    max-width: 800px;
}

.vs-text-center {
    text-align: center;
}

/* ---- Backgrounds ---- */
.vs-dark {
    background: #1B1B1B;
    color: #fff;
}

.vs-white {
    background: #fff;
    color: #1B1B1B;
}

.vs-yellow {
    background: #E4B326;
    color: #1B1B1B;
}

/* ---- Typography ---- */
.vs-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E4B326;
    margin-bottom: 12px;
}

.vs-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.10;
    margin-bottom: 16px;
}

.vs-title-dark {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.10;
    color: #1B1B1B;
    margin-bottom: 16px;
}

.vs-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 48px;
}

.vs-subtitle-dark {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(27, 27, 27, 0.70);
    margin-bottom: 32px;
}

/* ============================================
   HERO BLOCK
   ============================================ */
.vs-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vs-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.33, 0, 0.2, 1);
}

.vs-hero-slide.active {
    opacity: 1;
}

.vs-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vs-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(27, 27, 27, 0.25) 0%,
        rgba(27, 27, 27, 0.10) 35%,
        rgba(27, 27, 27, 0.55) 70%,
        rgba(27, 27, 27, 0.90) 100%
    );
}

.vs-hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.vs-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.40);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.vs-dot.active {
    background: #E4B326;
    width: 24px;
}

.vs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.vs-hero-slogan {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E4B326;
    margin-bottom: 24px;
}

.vs-hero-headline {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

.vs-hero-subheadline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 24px auto 0;
}

/* ---- Hero Search ---- */
.vs-hero-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(27, 27, 27, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 6px;
    max-width: 560px;
    margin: 36px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.vs-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    flex: 1;
    min-width: 0;
    color: #E4B326;
}

.vs-search-field input,
.vs-search-field select {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.vs-search-field input::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.vs-search-field select {
    appearance: none;
    cursor: pointer;
}

.vs-search-field select option {
    color: #1B1B1B;
}

.vs-search-field input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

.vs-search-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.85;
}

.vs-search-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.vs-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    background: #E4B326;
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.33, 0, 0.2, 1);
    white-space: nowrap;
}

.vs-search-btn:hover {
    background: #1B1B1B;
    color: #fff;
}

.vs-search-btn:active {
    background: #E4B326;
    color: #1B1B1B;
}

@media (max-width: 768px) {
    .vs-hero-search {
        flex-direction: column;
        border-radius: 0;
        padding: 12px;
    }

    .vs-search-field {
        width: 100%;
    }

    .vs-search-divider {
        display: none;
    }

    .vs-search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   DESTINATIONS
   ============================================ */
.vs-destinations-header {
    padding-bottom: 20px;
}

.vs-destinations-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 clamp(20px, 4vw, 48px) 32px;
    scrollbar-width: none;
}

.vs-destinations-scroll::-webkit-scrollbar {
    display: none;
}

.vs-destination-card {
    position: relative;
    flex-shrink: 0;
    min-width: clamp(280px, 35vw, 420px);
    aspect-ratio: 16 / 10;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: center;
}

.vs-destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1);
}

.vs-destination-card:hover img {
    transform: scale(1.06);
}

.vs-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.vs-dest-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(27, 27, 27, 0.75);
    color: #E4B326;
    padding: 6px 14px;
    border-radius: 14px;
}

.vs-dest-name {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* ============================================
   FEATURES / WHY US
   ============================================ */
.vs-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}

@media (min-width: 640px) {
    .vs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vs-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vs-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vs-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(228, 179, 38, 0.12);
    border: 1px solid rgba(228, 179, 38, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-feature-icon svg {
    width: 28px;
    height: 28px;
    color: #E4B326;
}

.vs-feature-icon .vs-feature-icon-compass {
    width: 32px;
    height: 32px;
}

.vs-feature-title {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.vs-feature-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.vs-testimonials-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.vs-testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.vs-testimonial-card {
    flex-shrink: 0;
    width: 100%;
    background: #F5F5F5;
    border-radius: 28px;
    padding: 32px;
    scroll-snap-align: center;
    text-align: left;
}

@media (min-width: 768px) {
    .vs-testimonial-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .vs-testimonial-card {
        width: calc(33.333% - 16px);
    }
}

.vs-testimonial-quote {
    font-size: 48px;
    font-weight: 700;
    color: #E4B326;
    line-height: 1;
    margin-bottom: -8px;
}

.vs-testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(27, 27, 27, 0.85);
    font-style: italic;
    margin-top: 8px;
}

.vs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.vs-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.vs-testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: #1B1B1B;
}

.vs-testimonial-trip {
    font-size: 14px;
    color: rgba(27, 27, 27, 0.40);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.vs-faq-list {
    text-align: left;
    margin-top: 24px;
}

.vs-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vs-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s, background-color 0.2s;
}

.vs-faq-question:hover,
.vs-faq-question.open {
    color: #1B1B1B;
    background: #E4B326;
}

.vs-faq-question svg {
    width: 20px;
    height: 20px;
    color: #E4B326;
    flex-shrink: 0;
    transition: transform 0.3s;
    margin-left: 16px;
}

.vs-faq-question:hover svg,
.vs-faq-question.open svg {
    color: #1B1B1B;
}

.vs-faq-question.open svg {
    transform: rotate(180deg);
}

.vs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.vs-faq-answer.open {
    max-height: 300px;
    padding-bottom: 20px;
}

.vs-faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.vs-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.vs-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1B1B1B;
    color: #E4B326;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.vs-btn-dark:hover {
    background: #fff;
    color: #1B1B1B;
    transform: scale(1.02);
}

.vs-btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    background: rgba(27, 27, 27, 0.12);
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 14px 36px;
    border-radius: 999px;
    border: 1px solid rgba(27, 27, 27, 0.20);
    backdrop-filter: blur(8px);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.vs-btn-ghost-dark:hover {
    background: #fff;
    color: #1B1B1B;
    border-color: #fff;
}

/* ============================================
   TRIP CARD SHORTCODE
   ============================================ */
.vs-trip-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    isolation: isolate;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.33, 0, 0.2, 1);
}

.vs-trip-card:hover {
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.vs-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1);
}

.vs-trip-card:hover .vs-card-bg {
    transform: scale(1.05);
}

.vs-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.vs-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 16px;
}

.vs-card-badges {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-right: -16px;
}

.vs-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 8px 16px;
    text-align: right;
    white-space: nowrap;
    background: #E4B326;
    color: #3a2b00;
    border-radius: 14px 0 0 0;
}

.vs-occupancy {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(55, 55, 55, 0.85);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 0 14px;
    white-space: nowrap;
    width: 100%;
    justify-content: flex-end;
}

.vs-occupancy-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vs-occupancy-track {
    position: relative;
    width: 52px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}

.vs-occupancy-fill {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: 999px;
    background: #E4B326;
}

.vs-card-spacer {
    flex: 1;
}

.vs-pricerow {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 8px;
    gap: 8px;
    color: #fff;
}

.vs-price-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 2px;
}

.vs-price {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.vs-date {
    text-align: right;
    font-weight: 800;
    line-height: 1.1;
    font-size: 15px;
    text-transform: uppercase;
}

.vs-location {
    position: relative;
    z-index: 2;
    margin: 0;
    background: #E4B326;
    color: #3a2b00;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
}

.vs-infobar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 18px;
    gap: 10px;
    flex-wrap: wrap;
    color: #fff;
    background: #373737;
    margin-bottom: -1px;
    border-radius: 0 0 28px 28px;
}

.vs-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.vs-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
}

.vs-info-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #E4B326;
}

.vs-cta {
    flex-shrink: 0;
    background: #E4B326;
    color: #373737;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 8px 12px 8px 14px;
    border-radius: 999px;
    border: none;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
    font-family: 'Poppins', sans-serif;
}

.vs-cta:hover {
    background: #fff;
    color: #373737;
    transform: translateY(-1px);
}

.vs-cta svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* Shortcode wrapper */
.vs-shortcode-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card grid */
.vs-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .vs-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vs-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card max size */
.vs-trip-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

/* Destinations header */
.vs-destinations-header {
    padding: 80px clamp(20px, 4vw, 48px) 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Link yellow */
.vs-link-yellow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E4B326;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

.vs-link-yellow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #E4B326;
    transition: width 0.3s;
}

.vs-link-yellow:hover::after {
    width: 100%;
}

.vs-link-yellow:hover {
    color: #fff;
}
