
/* ========================================
   LOCATIONS DIRECTORY PAGE
======================================== */

.locations-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.locations-intro {
    padding: 75px 0 55px;
    background:
        radial-gradient(ellipse at top, rgba(110, 63, 91, 0.19), transparent 65%),
        #0D0A11;
    text-align: center;
}

.locations-eyebrow {
    margin: 0 0 14px;
    color: #D9B15E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.locations-intro h1,
.locations-heading h2,
.locations-about h2 {
    margin: 0;
    color: #F8F3EC;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
}

.locations-intro h1 {
    font-size: clamp(32px, 5vw, 48px);
}

.locations-intro h1 span,
.locations-heading h2 span,
.locations-about h2 span {
    color: #D9B15E;
}

.locations-intro-text {
    max-width: 720px;
    margin: 22px auto 0;
    color: #C9C0CE;
    font-size: 15px;
    line-height: 1.9;
}

.locations-intro-line {
    width: 75px;
    height: 2px;
    margin: 30px auto 0;
    background: linear-gradient(90deg, transparent, #D9B15E, transparent);
}

/* Directory */

.locations-directory {
    padding: 65px 0 75px;
    background: #100C13;
}

.locations-heading {
    margin-bottom: 35px;
    text-align: center;
}

.locations-heading h2,
.locations-about h2 {
    font-size: clamp(27px, 4vw, 36px);
}

.locations-heading > p:last-child {
    margin: 15px 0 0;
    color: #BDB3C2;
    font-size: 14px;
    line-height: 1.8;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 235px;
    padding: 27px 24px;

    background: linear-gradient(145deg, #1D1621, #151019);
    border: 1px solid #49374C;
    border-radius: 0 22px 0 22px;

    color: #F8F3EC;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: #D9B15E;
    background: linear-gradient(145deg, #261B29, #17121C);
}

.location-card:focus-visible,
.locations-home-link:focus-visible {
    outline: 2px solid #D9B15E;
    outline-offset: 4px;
}

.location-card-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #7B6A7F;
    font-size: 12px;
    letter-spacing: 1px;
}

.location-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    margin-bottom: 19px;

    background: rgba(217, 177, 94, 0.09);
    border: 1px solid rgba(217, 177, 94, 0.4);
    border-radius: 0 13px 0 13px;

    color: #D9B15E;
    font-size: 17px;
}

.location-card h3 {
    margin: 0 0 10px;
    color: #F8F3EC;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.35;
}

.location-card p {
    margin: 0 0 20px;
    color: #BDB3C2;
    font-size: 13px;
    line-height: 1.75;
}

.location-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;

    color: #D9B15E;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.location-card-link i {
    transition: transform 0.2s ease;
}

.location-card:hover .location-card-link i {
    transform: translateX(4px);
}

/* About section */

.locations-about {
    padding: 75px 0;
    background:
        radial-gradient(ellipse at right, rgba(110, 63, 91, 0.12), transparent 60%),
        #0D0A11;
}

.locations-about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 55px;
}

.locations-about-content > p:not(.locations-eyebrow) {
    margin: 20px 0 0;
    color: #C9C0CE;
    font-size: 14px;
    line-height: 1.95;
}

.locations-home-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    padding: 12px 19px;

    border: 1px solid #8A6935;
    border-radius: 0 15px 0 15px;

    color: #D9B15E;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.2s ease;
}

.locations-home-link:hover {
    background: rgba(217, 177, 94, 0.09);
}

.locations-about-panel {
    padding: 32px 28px;
    background: #18121D;
    border: 1px solid #49374C;
    border-radius: 0 25px 0 25px;
}

.locations-panel-icon {
    color: #D9B15E;
    font-size: 30px;
}

.locations-about-panel h3 {
    margin: 18px 0 10px;
    color: #F8F3EC;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
}

.locations-about-panel p {
    margin: 0;
    color: #C9C0CE;
    font-size: 13px;
    line-height: 1.85;
}

.locations-panel-divider {
    height: 1px;
    margin: 22px 0;
    background: #49374C;
}

.locations-about-panel .locations-panel-note {
    color: #D9B15E;
}

/* Tablet */

@media (max-width: 900px) {
    .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .locations-about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .locations-about-panel {
        max-width: 500px;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .locations-container {
        width: calc(100% - 30px);
    }

    .locations-intro {
        padding: 52px 0 40px;
    }

    .locations-intro-text {
        font-size: 13px;
        line-height: 1.85;
    }

    .locations-directory {
        padding: 45px 0 50px;
    }

    .locations-heading {
        margin-bottom: 25px;
    }

    .locations-heading > p:last-child {
        font-size: 13px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .location-card {
        min-height: 218px;
        padding: 18px 14px;
        border-radius: 0 16px 0 16px;
    }

    .location-card-number {
        top: 12px;
        right: 12px;
        font-size: 10px;
    }

    .location-card-icon {
        width: 37px;
        height: 37px;
        margin-bottom: 14px;
        font-size: 14px;
    }

    .location-card h3 {
        font-size: 17px;
    }

    .location-card p {
        font-size: 11px;
        line-height: 1.7;
    }

    .location-card-link {
        gap: 5px;
        font-size: 10px;
        line-height: 1.5;
    }

    .locations-about {
        padding: 50px 0;
    }

    .locations-about-content > p:not(.locations-eyebrow) {
        font-size: 13px;
    }

    .locations-about-panel {
        padding: 25px 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-card,
    .location-card-link i {
        transition: none;
    }

    .location-card:hover {
        transform: none;
    }
}
