/**
 * Section: Locations (Static)
 *
 * Figma node 1:202. Renders 2 or 3 location cards.
 * Cards are fixed 500px wide on desktop, wrap and grow on narrower viewports.
 */

.bc-locations {
    background: var(--bc-white);
    padding: 120px 0;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.bc-locations .bc-section__header--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    margin-bottom: 60px;
}

.bc-locations .bc-section__subtitle {
    margin: 0;
    font-family: var(--bc-font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bc-pink);
}

.bc-locations .bc-section__title {
    margin: 0;
    font-family: var(--bc-font-heading);
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: var(--bc-black);
}

.bc-locations .bc-section__desc {
    margin: 0;
    font-family: var(--bc-font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: var(--bc-black);
    max-width: 900px;
}

/* The subtitle + title share a 12px gap (the inner text group). */
.bc-locations .bc-section__subtitle + .bc-section__title {
    margin-top: -12px;
}

/* ── Grid ───────────────────────────────────────────────────────────── */
.bc-locations__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ── Card ───────────────────────────────────────────────────────────── */
.bc-location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 500px;
    max-width: 100%;
    padding-bottom: 36px;
    background: var(--bc-soft-grey);
}

.bc-location-card__image {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.bc-location-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 360° badge — top-right pill */
.bc-location-card__360 {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--bc-black);
    color: var(--bc-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.bc-location-card__360:hover,
.bc-location-card__360:focus {
    opacity: 0.85;
    color: var(--bc-white);
}

.bc-location-card__360-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ── Card content ───────────────────────────────────────────────────── */
.bc-location-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 266px;
    padding: 0 48px;
}

.bc-location-card__city {
    margin: 0;
    font-family: var(--bc-font-heading);
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
    color: var(--bc-black);
}

.bc-location-card__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.bc-location-card__detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--bc-font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--bc-dark-brown);
}

.bc-location-card__detail a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bc-location-card__detail a:hover,
.bc-location-card__detail a:focus {
    color: var(--bc-pink);
}

.bc-location-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 3px; /* optical alignment to the 30px line-height of the text */
    color: var(--bc-pink);
}

.bc-location-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── CTAs ───────────────────────────────────────────────────────────── */
.bc-location-card__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bc-location-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--bc-font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.bc-location-card__cta--outline {
    background: var(--bc-white);
    color: var(--bc-black);
    border: 1px solid var(--bc-black);
}

.bc-location-card__cta--outline:hover,
.bc-location-card__cta--outline:focus {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-location-card__cta--primary {
    background: var(--bc-pink);
    color: var(--bc-white);
    border: 1px solid var(--bc-pink);
}

.bc-location-card__cta--primary:hover,
.bc-location-card__cta--primary:focus {
    opacity: 0.85;
    color: var(--bc-white);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
/* 3-card row stops fitting around the 1500px container limit; let cards
   grow to share the row at narrower widths. */
@media (max-width: 1199px) {
    .bc-location-card {
        width: calc(50% - 8px);
        flex-grow: 1;
    }
}

@media (max-width: 991px) {
    .bc-locations {
        padding: 80px 0;
    }

    .bc-locations .bc-section__title {
        font-size: 42px;
        line-height: 52px;
    }

    .bc-locations .bc-section__desc {
        font-size: 18px;
        line-height: 28px;
    }

    .bc-location-card__city {
        font-size: 36px;
        line-height: 44px;
    }

    .bc-location-card__content {
        padding: 0 32px;
    }
}

@media (max-width: 767px) {
    .bc-locations {
        padding: 60px 0;
    }

    .bc-locations .bc-section__header--center {
        margin-bottom: 40px;
    }

    .bc-locations .bc-section__title {
        font-size: 32px;
        line-height: 40px;
    }

    .bc-locations .bc-section__subtitle + .bc-section__title {
        margin-top: -8px;
    }

    .bc-locations .bc-section__desc {
        font-size: 16px;
        line-height: 26px;
    }

    .bc-location-card {
        width: 100%;
    }

    .bc-location-card__image {
        height: 280px;
    }

    .bc-location-card__content {
        min-height: 0;
        padding: 0 24px;
    }

    .bc-location-card__city {
        font-size: 32px;
        line-height: 40px;
    }

    .bc-location-card__detail {
        font-size: 16px;
        line-height: 26px;
    }

    .bc-location-card__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .bc-location-card__cta {
        width: 100%;
    }
}
