/* StayVista-inspired mega footer */
.sv-footer-mega {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin-top: 0;
}

.sv-footer-mega a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}

.sv-footer-mega a:hover {
    color: #fff;
}

.sv-footer-mega .sv-footer-more {
    color: #4da3ff;
    font-weight: 500;
}

.sv-footer-mega .sv-footer-more:hover {
    color: #7bb8ff;
}

/* Section 1 — destinations */
.sv-footer-dest {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sv-footer-dest-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0 0 1.5rem;
}

.sv-footer-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.sv-footer-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.sv-footer-tab:hover,
.sv-footer-tab.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sv-footer-dest-panel {
    display: none;
}

.sv-footer-dest-panel.is-active {
    display: block;
}

.sv-footer-dest-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem 1.25rem;
}

.sv-footer-dest-grid a {
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-footer-dest-more {
    text-align: right;
    margin-top: 1rem;
}

/* Section 2 — columns */
.sv-footer-columns {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sv-footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.85rem;
}

.sv-footer-col-title.sv-footer-col-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.35rem 0.65rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.sv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.sv-footer-links li {
    margin-bottom: 0.45rem;
}

.sv-footer-links a {
    font-size: 0.82rem;
}

.sv-footer-subhead {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 1rem 0 0.65rem;
}

.sv-footer-subhead:first-child {
    margin-top: 0;
}

/* Travel guide accordion */
.sv-footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-footer-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.72);
    font-family: inherit;
    font-size: 0.82rem;
    padding: 0.55rem 0;
    cursor: pointer;
    text-align: left;
}

.sv-footer-accordion-btn:hover {
    color: #fff;
}

.sv-footer-accordion-btn i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.sv-footer-accordion-body {
    padding: 0 0 0.65rem 0.5rem;
}

.sv-footer-accordion-body a {
    display: block;
    font-size: 0.78rem;
    padding: 0.2rem 0;
    color: rgba(255, 255, 255, 0.55);
}

.sv-footer-accordion-body a:hover {
    color: #fff;
}

/* Section 3 — bottom bar */
.sv-footer-bottom {
    padding: 1.25rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sv-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.78rem;
}

.sv-footer-legal a {
    color: rgba(255, 255, 255, 0.55);
}

.sv-footer-phone {
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.sv-footer-social {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sv-footer-social a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1;
}

.sv-footer-social a:hover {
    color: #fff;
}

.sv-footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
}

@media (max-width: 991px) {
    .sv-footer-dest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .sv-footer-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -0.85rem 1.25rem;
        padding: 0 0.85rem 0.35rem;
    }

    .sv-footer-tabs::-webkit-scrollbar {
        display: none;
    }

    .sv-footer-tab {
        flex-shrink: 0;
    }

    .sv-footer-dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sv-footer-dest-grid a {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .sv-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sv-footer-legal {
        gap: 0.35rem 0.75rem;
    }

    .sv-footer-phone {
        white-space: normal;
    }
}
