/* =========================================================
   АРОМАНЕО — LOCATION PAGE
   location_page.css
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #09090b;
    --bg-soft: #111118;

    --card: rgba(255, 255, 255, 0.045);
    --card-hover: rgba(255, 255, 255, 0.07);

    --white: #ffffff;
    --text: #d7d7d7;
    --muted: #9b9ba3;

    --purple: #7c3aed;
    --purple-light: #9f67ff;
    --purple-dark: #5b21b6;

    --border: rgba(255, 255, 255, 0.08);

    --radius: 22px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    margin: 0;

    font-family: "Inter", sans-serif;

    color: var(--white);

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(124, 58, 237, 0.20),
            transparent 40%
        ),
        var(--bg);

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}

a {
    color: inherit;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--purple);

    border-radius: 50px;
}


/* =========================================================
   BACKGROUND GLOW
   ========================================================= */

body::before {
    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(124, 58, 237, 0.10);

    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1180px, 92%);

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;

    z-index: 10;

    width: 100%;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(9, 9, 11, 0.78);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-header .container {
    min-height: 82px;

    display: flex;

    align-items: center;

    gap: 35px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-header .logo {
    display: flex;

    align-items: center;

    text-decoration: none;
}

.site-header .logo img {
    display: block;

    height: 70px;

    width: auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    flex: 1;
}

.site-header nav a {
    position: relative;

    color: rgba(255, 255, 255, 0.62);

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.site-header nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--purple-light);

    transition:
        width 0.25s ease;
}

.site-header nav a:hover {
    color: #fff;
}

.site-header nav a:hover::after {
    width: 100%;
}


/* =========================================================
   STANDARD BUTTON
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--purple-light)
        );

    box-shadow:
        0 12px 35px rgba(124, 58, 237, .30);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 40px rgba(124, 58, 237, .42);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    margin-left: 15px;

    border-radius: 50px;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, .03);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 600;

    color: #fff;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        border-color .35s ease;
}

.btn-secondary:hover {
    background: #fff;

    border-color: #fff;

    color: #000;

    transform: translateY(-4px);
}


/* =========================================================
   LOCATIONS SECTION
   ========================================================= */

.locations {
    position: relative;

    z-index: 1;

    padding: 65px 0 90px;
}


/* =========================================================
   BACK LINK
   ========================================================= */

.back-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.locations-back {
    margin-bottom: 40px;
}

.back-link:hover {
    color: var(--purple-light);

    transform: translateX(-4px);
}

.back-link i {
    font-size: 12px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    max-width: 700px;

    margin: 0 auto 38px;

    text-align: center;
}

.section-title h2 {
    margin-bottom: 12px;

    color: #fff;

    font-size: clamp(34px, 5vw, 48px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.section-title p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   MAP
   ========================================================= */

#map {
    position: relative;

    width: 100%;
    height: 480px;

    margin-bottom: 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    background: #111118;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   YANDEX MAP
   ========================================================= */

#map .ymaps-2-1-79-map {
    border-radius: var(--radius);
}

#map .ymaps-2-1-79-copyright {
    opacity: 0.65;
}


/* =========================================================
   ADDRESSES
   ========================================================= */

.addresses {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   ADDRESS CARD
   ========================================================= */

.address-card {
    position: relative;

    padding: 23px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.08),
            rgba(255, 255, 255, 0.035)
        );

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.address-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.12),
            transparent 65%
        );

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;
}

.address-card:hover {
    transform: translateY(-4px);

    border-color: rgba(124, 58, 237, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.12),
            rgba(255, 255, 255, 0.045)
        );

    box-shadow:
        0 18px 45px rgba(124, 58, 237, 0.14);
}

.address-card:hover::before {
    opacity: 1;
}


/* =========================================================
   ADDRESS HEADER
   ========================================================= */

.address-header {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 21px;
}


/* =========================================================
   POINT ICON
   ========================================================= */

.point-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 52px;
    height: 52px;

    border-radius: 16px;

    color: #fff;

    font-size: 19px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--purple-light)
        );

    box-shadow:
        0 8px 25px rgba(124, 58, 237, 0.25);
}

.point-icon i {
    font-size: 18px;
}


/* =========================================================
   POINT NUMBER
   ========================================================= */

.point-number {
    display: block;

    margin-bottom: 5px;

    color: var(--purple-light);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   ADDRESS TITLE
   ========================================================= */

.address-header h3 {
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   ADDRESS INFO
   ========================================================= */

.address-info {
    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    gap: 11px;

    margin-bottom: 20px;
}

.address-info p {
    display: flex;

    align-items: center;

    gap: 11px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;

    line-height: 1.4;
}

.address-info p i {
    width: 16px;

    color: var(--purple-light);

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   ROUTE BUTTON
   Базовое оформление
   ========================================================= */

.route-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   MAP BALLOON
   ========================================================= */

.map-balloon {
    min-width: 220px;

    padding: 4px 2px;

    font-family: "Inter", sans-serif;
}

.map-balloon h3 {
    margin-bottom: 10px;

    color: #111;

    font-size: 14px;

    font-weight: 700;
}

.map-balloon p {
    margin-bottom: 7px;

    color: #555;

    font-size: 12px;
}

.map-balloon .route-btn {
    margin-top: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    z-index: 1;

    width: 100%;

    padding: 40px 20px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(9, 9, 11, 0.55);
}

.footer-content {
    width: min(650px, 100%);

    margin: 0 auto;
}

.footer-text {
    color: #777;

    font-size: 11px;

    line-height: 1.8;
}

.footer-slogan {
    display: inline-block;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
    font-weight: 600;
}

.footer-contact {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}

.footer-contact a {
    color: inherit;

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: var(--purple-light);
}

.footer-disclaimer {
    margin-top: 15px;

    color: rgba(255, 255, 255, 0.27);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .site-header .container {
        gap: 20px;
    }

    .site-header nav {
        gap: 17px;
    }

    .site-header nav a {
        font-size: 11px;
    }

    .logo img {
        width: 125px;
    }

    .btn {
        padding: 0 15px;

        font-size: 11px;
    }
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 800px) {

    .site-header {
        position: relative;
    }

    .site-header .container {
        min-height: 72px;

        justify-content: space-between;
    }

    .site-header nav {
        display: none;
    }

    .logo img {
        width: 125px;
    }

    .site-header .btn {
        min-height: 40px;

        padding: 0 14px;
    }
}


/* =========================================================
   MOBILE CONTENT
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: 92%;
    }

    .locations {
        padding: 45px 0 60px;
    }

    .locations-back {
        margin-bottom: 32px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2 {
        font-size: 35px;

        letter-spacing: -1px;
    }

    .section-title p {
        font-size: 13px;
    }

    #map {
        height: 350px;

        margin-bottom: 18px;

        border-radius: 19px;
    }

    .addresses {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .address-card {
        padding: 18px;

        border-radius: 19px;
    }

    .point-icon {
        width: 46px;
        height: 46px;

        border-radius: 14px;
    }

    .address-header {
        gap: 12px;

        margin-bottom: 18px;
    }

    .address-header h3 {
        font-size: 14px;
    }

    .address-info {
        gap: 10px;
    }

    .address-info p {
        font-size: 11px;
    }

    .site-footer {
        padding: 32px 18px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .logo img {
        width: 110px;
    }

    .site-header .btn {
        padding: 0 11px;

        font-size: 10px;
    }

    .section-title h2 {
        font-size: 31px;
    }

    #map {
        height: 300px;
    }

    .address-card {
        padding: 15px;
    }

    .point-icon {
        width: 42px;
        height: 42px;
    }

    .point-number {
        font-size: 9px;
    }

    .address-header h3 {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   FORCE ROUTE BUTTON
   =========================================================
   ВАЖНО:
   Этот блок специально находится В САМОМ КОНЦЕ файла.
   Он принудительно делает route-btn полностью таким же,
   как стандартный .btn.
   ========================================================= */

.address-card .route-btn,
.map-balloon .route-btn {

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    padding: 15px 32px !important;

    min-height: auto !important;

    border: none !important;

    border-radius: 50px !important;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #9f67ff
        ) !important;

    color: #fff !important;

    font-family: "Inter", sans-serif !important;

    font-size: 15px !important;

    font-weight: 600 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    cursor: pointer !important;

    box-shadow:
        0 12px 35px rgba(124, 58, 237, .30) !important;

    transition:
        transform .35s ease,
        box-shadow .35s ease !important;
}


.address-card .route-btn:hover,
.map-balloon .route-btn:hover {

    transform: translateY(-4px) !important;

    box-shadow:
        0 16px 40px rgba(124, 58, 237, .42) !important;
}


.address-card .route-btn i,
.map-balloon .route-btn i {

    margin: 0 !important;

    font-size: 14px !important;
}


/* =========================================================
   DISABLED ROUTE BUTTON
   ========================================================= */

.address-card .route-btn--disabled {

    background:
        rgba(255, 255, 255, .06) !important;

    border:
        1px solid rgba(255, 255, 255, .10) !important;

    color:
        rgba(255, 255, 255, .4) !important;

    box-shadow:
        none !important;

    cursor:
        default !important;

    pointer-events:
        none !important;
}