* { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
    font-family: 'AnkaCoder';
    src: url('/fonts/AnkaCoder-r.ttf') format('truetype');
}

body {
    background: #fdd7d7;
    font-family: 'AnkaCoder';
    color: #e9abac;
}

header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;

    padding: 14px 28px;
    border-bottom: 3px solid #e9abac;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo_header {
    height: 60px;
    width: auto;
}

.brand_name { font-size: 25px; line-height: 1; margin: 0; color: #e79092; }

.nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-left: 60px;
}

.nav a {
    text-decoration: none;
    font-size: 22px;
    color: #e9abac;
    padding: 8px 12px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.nav a:hover {
    background: rgba(233, 171, 172, 0.18);
    transform: translateY(-1px);
}

.contact a {
    text-decoration: none;
    font-size: 20px;
    color: #e9abac;
    padding: 8px 12px;
    border-radius: 12px;
    border: 2px solid rgba(233, 171, 172, 0.45);
    transition: 0.2s ease;
}

.contact a:hover {
    background: rgba(233, 171, 172, 0.12);
}
    
.logo_header {
    transition: transform 0.45s ease;
    transform-origin: center;
}

.brand:hover .logo_header {
    transform: rotate(360deg);
}


@media (max-width: 900px) {
    header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    nav {
        margin-right: 60px;
    }

    .brand_name {
        display: none;
    }

    .contact {
        justify-self: center;
    }
}



.footer {
    margin-top: 80px;
    background: rgba(233, 171, 172, 0.25);
    border-top: 3px solid rgba(233, 171, 172, 0.45);
}

.footer_inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 30px;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer_brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer_logo {
    width: 55px;
}

.footer_name {
    font-size: 26px;
    color: #e79092;
}

.footer_desc {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.4;
}

.footer_nav h4,
.footer_contacts h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #e79092;
}

.footer_nav,
.footer_contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_nav a,
.footer_contacts a {
    text-decoration: none;
    color: #e9abac;
    font-size: 16px;
    transition: 0.2s ease;
}

.footer_nav a:hover,
.footer_contacts a:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

.footer_bottom {
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    opacity: 0.75;
    border-top: 1px solid rgba(233, 171, 172, 0.35);
}

@media (max-width: 900px) {
    .footer_inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer_brand {
        align-items: center;
    }

    .footer_nav a:hover,
    .footer_contacts a:hover {
        transform: none;
    }
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px 70px;
}


.branch_gogol {
    text-align: center;
    margin-bottom: 26px;
}

.branch_gogol h1 {
    font-size: 44px;
    color: #e79092;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 20px;
    line-height: 1.35;
    margin: 6px 0 14px;
    opacity: 0.95;
}


.chips {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.chip {
    border: 2px solid rgba(233, 171, 172, 0.45);
    background: rgba(255, 255, 255, 0.28);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    color: #e79092;
}


.branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 26px;
    align-items: stretch;
}


.branch_card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;

    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(233, 171, 172, 0.45);
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    transition: 0.22s ease;
    height: 100%;
}

.branch_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.branch_media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.branch_body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branch_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.branch_top h3 {
    font-size: 22px;
    color: #e79092;
}

.badge {
    font-size: 12px;
    color: #e79092;
    padding: 6px 10px;
    border-radius: 999px;
    border: 2px solid rgba(233, 171, 172, 0.45);
    background: rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

.branch_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.info_row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 2px solid rgba(233, 171, 172, 0.35);
    background: rgba(255, 255, 255, 0.25);
}

.info_label {
    font-size: 13px;
    opacity: 0.9;
}

.info_value {
    max-width: 60%;

    font-size: 13px;
    color: #e79092;
    text-align: right;
    opacity: 0.95;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.info_address {
    max-width: 80%;

    font-size: 13px;
    color: #e79092;
    text-align: right;
    opacity: 0.95;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.branch_cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid rgba(233, 171, 172, 0.35);
}

.cta_text {
    font-size: 14px;
    color: #e79092;
    opacity: 0.95;
}

.cta_arrow {
    font-size: 18px;
    color: #e79092;
    transition: 0.2s ease;
}

.branch_card:hover .cta_arrow {
    transform: translateX(4px);
}


.note {
    margin-top: 22px;
}

.note_box {
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(233, 171, 172, 0.45);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.note_box h3 {
    font-size: 22px;
    color: #e79092;
    margin-bottom: 10px;
}

.note_box p {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.92;
}

.note_btn {
    display: inline-block;
    margin-top: 14px;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid rgba(231, 144, 146, 0.75);
    background: rgba(231, 144, 146, 0.18);
    color: #e79092;
    font-size: 16px;
    transition: 0.2s ease;
}

.note_btn:hover {
    transform: translateY(-2px);
    background: rgba(231, 144, 146, 0.26);
}


@media (max-width: 900px) {
    .page { padding: 36px 16px 60px; }
    .hero h1 { font-size: 34px; }
    .branches { grid-template-columns: 1fr; }
}
