/* ========== LOCATIONS PAGE CSS ========== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.b3-body {
    font-family: 'Inter', sans-serif;
    background: #0b1120;
    color: #ffffff;
}

/* =========================================
   AS FEATURED IN BAR
   ========================================= */
.featured-in-bar {
    background: linear-gradient(135deg, #0a0f1f 0%, #111d42 40%, #1a3170 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.featured-in-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7931a, #ffb347, #f7931a, transparent);
}

.featured-in-inner {
    max-width: 1250px;
    margin-inline: auto;
    padding: 8px 48px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.featured-in-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 147, 26, 0.15);
    border: 1px solid rgba(247, 147, 26, 0.35);
    border-radius: 20px;
    padding: 6px 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.featured-in-badge i {
    color: #f7931a;
    font-size: 12px;
}

.featured-in-badge span {
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #f7931a;
}

.featured-in-cards {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 1;
}

.featured-in-card {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.featured-in-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(247, 147, 26, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.15);
    text-decoration: none;
}

.featured-in-card-icon {
    font-size: 20px;
    color: #f7931a;
    flex-shrink: 0;
}

.featured-in-card-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.featured-in-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.featured-in-card-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.2;
}

.featured-in-card-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    flex-shrink: 0;
    transition: color 0.25s;
}

.featured-in-card:hover .featured-in-card-arrow {
    color: #f7931a;
}

.featured-in-card--clone {
    display: none;
}

@media (max-width: 991.98px) {
    .featured-in-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 14px 24px;
    }

    .featured-in-cards {
        width: 100%;
    }

    .featured-in-card {
        padding: 10px 14px;
        gap: 10px;
    }

    .featured-in-card-title {
        font-size: 13px;
    }

    .featured-in-card-desc {
        font-size: 10px;
    }

    .featured-in-card-icon {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .featured-in-inner {
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 0;
        overflow: hidden;
    }

    .featured-in-badge {
        display: none;
    }

    .featured-in-cards {
        display: flex;
        flex-direction: row;
        gap: 0;
        animation: featured-marquee 14s linear infinite;
        width: max-content;
        flex-shrink: 0;
        padding: 7px 0;
    }

    .featured-in-card {
        padding: 0 20px;
        gap: 6px;
        border-radius: 0;
        border: none;
        background: transparent;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .featured-in-card:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
        box-shadow: none;
    }

    .featured-in-card-icon {
        font-size: 16px;
    }

    .featured-in-card-title {
        font-size: 12px;
        font-weight: 600;
    }

    .featured-in-card-desc {
        display: none;
    }

    .featured-in-card-arrow {
        display: none;
    }

    .featured-in-card--clone {
        display: flex;
    }

    .featured-in-card::after {
        content: "\2022";
        color: #f7931a;
        margin-left: 20px;
        font-size: 8px;
    }

    .featured-in-cards:hover {
        animation-play-state: paused;
    }
}

@keyframes featured-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */
.locations-hero {
    position: relative;
    width: 100%;
    padding: 120px 40px 60px;
    text-align: center;
    background: linear-gradient(135deg, #0b1120 0%, #162044 50%, #1a3a6e 100%);
    overflow: hidden;
}

.locations-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.locations-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
}

.locations-hero h1 span {
    color: #60a5fa;
}

.locations-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* ---------- Main Content ---------- */
.locations-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ---------- Country Section ---------- */
.country-section {
    margin-bottom: 64px;
}

.country-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 16px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(96, 165, 250, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-section-title .flag-icon {
    font-size: 28px;
}

/* ---------- States/Provinces Grid ---------- */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

/* ---------- State Card ---------- */
.state-card {
    background: linear-gradient(145deg, rgba(22, 32, 68, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.state-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

.state-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.state-card-name {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.state-card-name a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.state-card-name a:hover {
    color: #93bbfd;
    text-decoration: underline;
}

.state-card-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(96, 165, 250, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ---------- City List ---------- */
.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.city-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.city-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.city-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.city-list a:hover {
    color: #60a5fa;
    padding-left: 16px;
}

.city-list a .arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease, transform 0.2s ease;
}

.city-list a:hover .arrow {
    color: #60a5fa;
    transform: translateX(4px);
}

/* ---------- International Grid ---------- */
.intl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.intl-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(145deg, rgba(22, 32, 68, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.3s ease, transform 0.2s ease, color 0.2s ease;
}

.intl-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
    color: #60a5fa;
}

.intl-card .arrow {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease;
}

.intl-card:hover .arrow {
    color: #60a5fa;
}

/* ---------- CTA Section ---------- */
.locations-cta {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, #162044 0%, #1a3a6e 100%);
}

.locations-cta h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.locations-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.locations-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.locations-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.locations-cta-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .locations-hero {
        padding: 100px 20px 40px;
    }

    .locations-hero h1 {
        font-size: 32px;
    }

    .locations-hero p {
        font-size: 16px;
    }

    .states-grid {
        grid-template-columns: 1fr;
    }

    .country-section-title {
        font-size: 28px;
    }

    .intl-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .locations-cta h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .locations-hero h1 {
        font-size: 26px;
    }

    .state-card {
        padding: 20px;
    }

    .state-card-name {
        font-size: 18px;
    }
}
