/* Единые стили футера для всех страниц */
/* При изменении этого файла изменения автоматически применятся на всех страницах */

footer {
    margin-top: 0;
    z-index: 500;
    width: 100%;
    position: relative;
    background-color: #000000;
    color: #ffffff;
    min-height: 70vh;
}

footer::before {
    display: none;
}

.footer-background {
    display: none;
}

.backdrop {
    display: none;
}

/* Footer Top Section */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
    padding: 5rem 10rem 4rem;
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    padding-left: 10rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-col-nav {
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0;
    align-items: flex-start;
}

.footer-title {
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.2;
}

/* Navigation Column */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    align-items: flex-start;
    padding-left: 0;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    letter-spacing: 0.02em;
    line-height: 1.2;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Contact Column */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.footer-email,
.footer-phone {
    margin: 0;
    line-height: 1.2;
}

.footer-email a,
.footer-phone a {
    color: #a68f50;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
    letter-spacing: 0.02em;
    line-height: 1.2;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

.footer-email a::after,
.footer-phone a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a68f50;
    transition: width 0.3s ease;
}

.footer-email a:hover,
.footer-phone a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-email a:hover::after,
.footer-phone a:hover::after {
    width: 100%;
}

/* Address Column */
.footer-col-address {
    padding-right: 4rem;
}

.footer-address {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.4rem 0;
    opacity: 0.9;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.footer-route-btn {
    display: inline-flex;
    align-items: center;
    color: #a68f50;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
    width: fit-content;
    margin-top: 0;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
    position: relative;
}

.footer-route-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a68f50;
    transition: width 0.3s ease;
}

.footer-route-btn:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-route-btn:hover::after {
    width: 100%;
}

/* Footer Actions Inline */
.footer-actions-inline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 1rem;
}

.footer-action-link {
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
    color: #a68f50;
    transition: opacity 0.3s ease, color 0.3s ease;
    opacity: 0.85;
    letter-spacing: 0.03em;
    line-height: 1.2;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    width: fit-content;
    white-space: nowrap;
}

.footer-action-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a68f50;
    transition: width 0.3s ease;
}

.footer-action-link:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-action-link:hover::after {
    width: 100%;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 4rem;
    background-color: #000000;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-domain-letters {
    width: 100%;
    max-width: 90vmin;
    height: 20vmin;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-right: 2rem;
}

.footer-domain-letters > div {
    width: 10vw;
    height: 10vw;
    position: relative;
    flex-shrink: 0;
}

.footer-copyright {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.02em;
    margin: 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    text-transform: none;
    opacity: 0.7;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Animated Letters Styles */
.footer-domain-letters {
    --letter-clr: #a68f50;
    --letter-bg: #000000;
}

.footer-domain-letters .letter-o {
    background: conic-gradient(from 180deg at 50% 60%, var(--letter-bg) 0%, var(--letter-clr) 100%),
        conic-gradient(from 0deg at 50% 40%, var(--letter-clr) 0%, var(--letter-bg) 100%);
    background-size: 100% 50%, 100% 50%;
    background-repeat: no-repeat;
    background-position: 0 0, 0% 100%;
    border-radius: 100%;
}

.footer-domain-letters .letter-s {
    background: conic-gradient(from 90deg at 60% 60%, var(--letter-bg) 0% 5%, var(--letter-clr) 90% 100%),
        conic-gradient(from -90deg at 40% 50%, var(--letter-bg) 0% 5%, var(--letter-clr) 90% 100%);
    background-size: 100% 50%, 100% 50%;
    background-repeat: no-repeat;
    background-position: 0 0, 0 100%;
    border-radius: 100%;
}

.footer-domain-letters .letter-t {
    background: conic-gradient(from 90deg at 30% 30%, var(--letter-bg) 0% 20%, var(--letter-clr) 100%),
        conic-gradient(from -90deg at 60% 30%, var(--letter-clr) 0%, var(--letter-bg) 80% 100%);
    background-size: 50% 100%, 50% 100%;
    background-repeat: no-repeat;
    background-position: 100% 0, 0 0;
}

.footer-domain-letters .letter-r:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    right: 0;
    background: conic-gradient(from 135deg at 40% 25%, var(--letter-clr) 0% 27.5%, #0000 45% 100%);
    background-repeat: no-repeat;
    background-size: 100% 80%;
    background-position: 0% 100%;
    z-index: 2;
}

.footer-domain-letters .letter-r:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 70%;
    top: 0%;
    right: 0;
    z-index: 1;
    background: conic-gradient(from 135deg at 40% 57%, var(--letter-clr) 0%, var(--letter-bg) 100%);
    border-radius: 0 10vmin 10vmin 0;
}

.footer-domain-letters .letter-f {
    background: conic-gradient(from 90deg at 40% 66%, var(--letter-bg) 0% 25%, #fff0 0 100%),
        conic-gradient(from 90deg at 40% 33%, var(--letter-bg) 0%, var(--letter-clr) 100%);
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: 0 0, 0 0;
}

.footer-domain-letters .letter-dot:before {
    content: "";
    position: absolute;
    width: 30%;
    height: 30%;
    bottom: 0%;
    right: 0;
    background: conic-gradient(from 180deg at 50% 60%, var(--letter-bg) 0%, var(--letter-clr) 100%),
        conic-gradient(from 0deg at 50% 40%, var(--letter-clr) 0%, var(--letter-bg) 100%);
    background-size: 100% 50%, 100% 50%;
    background-repeat: no-repeat;
    background-position: 0 0, 0% 100%;
    border-radius: 100%;
}

.footer-domain-letters .letter-u {
    background: conic-gradient(from 0deg at 50% 50%, var(--letter-bg) 0%, var(--letter-clr) 100%);
    border-radius: 0 0 10vmin 10vmin;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem 2rem;
    }

    .footer-bottom {
        padding: 2rem 2rem;
    }
}

@media screen and (max-width: 700px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 1rem 3rem;
        padding-left: 1rem;
    }

    .footer-col {
        gap: 0.8rem;
        width: 100%;
    }

    .footer-nav {
        gap: 0.3rem;
    }

    .footer-nav a {
        font-size: 1.2rem;
        word-break: break-word;
    }

    .footer-title {
        font-size: 1.4rem;
    }

    .footer-email a,
    .footer-phone a {
        font-size: 1.2rem;
        word-break: break-all;
    }

    .footer-address {
        font-size: 1rem;
        white-space: normal;
        word-break: break-word;
    }

    .footer-route-btn {
        font-size: 1.2rem;
        white-space: normal;
        word-break: break-word;
    }

    .footer-actions-inline {
        gap: 0.3rem;
        margin-bottom: 1.5rem;
    }

    .footer-action-link {
        font-size: 1.2rem;
        white-space: normal;
        word-break: break-word;
    }

    .footer-col-address {
        padding-right: 0;
    }

    .footer-bottom {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .footer-domain-letters {
        max-width: 100%;
        height: auto;
        justify-content: center;
        padding-right: 0;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .footer-domain-letters > div {
        width: 10vmin;
        height: 10vmin;
        min-width: 40px;
        min-height: 40px;
    }

    .footer-copyright {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 1rem;
        word-break: break-word;
    }
}






