:root {
    --footer-bg: #071d2f;
    --footer-bg-deep: #040f1d;
    --footer-text: #f5f3ef;
    --footer-muted: rgba(255, 255, 255, 0.72);
    --footer-border: rgba(212, 175, 89, 0.8);
    --footer-accent: #d4af59;
    --footer-accent-soft: #e7d7a7;
    --footer-link-hover: #f2dca4;
}

* {
    box-sizing: border-box;
}

.site-footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-deep) 100%);
    color: var(--footer-text);
    border-top: 1px solid rgba(212, 175, 89, 0.18);
}

.site-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 58px 28px 20px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
    gap: 54px;
    align-items: start;
}

.site-footer__brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-footer__logo {
    width: 226px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.site-footer__brand-text {
    margin: 0;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.75;
    font-weight: 500;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__content {
    display: block;
}

.site-footer__heading {
    margin: 0 0 20px;
    font-size: 0.96rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--footer-accent);
    font-family: var(--font-primary), Arial, sans-serif;
    font-weight: 800;
}

.site-footer__nav-list,
.site-footer__contact-list,
.site-footer__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__nav-list {
    display: grid;
    gap: 12px;
}

.site-footer__nav-list a,
.site-footer__contact-list a,
.site-footer__social-list a,
.site-footer__legal a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.site-footer__nav-arrow {
    color: var(--footer-accent);
    font-size: 1.4rem;
    line-height: 1;
    transform: translateY(-1px);
}

.site-footer__contact-list {
    display: grid;
    gap: 16px;
}

.site-footer__contact-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.55;
}

.site-footer__meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--footer-accent);
}

.site-footer__meta-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__social-list {
    display: grid;
    gap: 14px;
}

.site-footer__social-list a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.02rem;
    line-height: 1.4;
    font-weight: 500;
}

.site-footer__social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 89, 0.9);
    background: rgba(212, 175, 89, 0.04);
    color: var(--footer-accent);
    font-size: 0.95rem;
    font-family: var(--font-primary), Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.site-footer__social-badge svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__social-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
}

.site-footer__divider {
    height: 1px;
    background: var(--footer-border);
    margin: 34px 0 0;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 0 10px;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.5;
}

.site-footer__legal {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
    line-height: 1.5;
}

.site-footer__legal-separator {
    color: rgba(212, 175, 89, 0.9);
}

.site-footer__social-mobile {
    display: none;
}

.site-footer__accordion-toggle {
    display: none;
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(212, 175, 89, 0.9);
    border-radius: 50%;
    background: rgba(7, 29, 47, 0.98);
    color: #d4af59;
    box-shadow: 0 14px 28px rgba(7, 29, 47, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    z-index: 40;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
    box-shadow: 0 0 0 4px rgba(212, 175, 89, 0.12), 0 16px 30px rgba(7, 29, 47, 0.24);
    border-color: rgba(232, 211, 142, 0.95);
    background: rgba(12, 39, 62, 0.98);
}

.scroll-to-top:active {
    transform: translateY(2px) scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__nav-list a:hover,
    .site-footer__nav-list a:focus-visible,
    .site-footer__social-list a:hover,
    .site-footer__social-list a:focus-visible,
    .site-footer__contact-list a:hover,
    .site-footer__contact-list a:focus-visible,
    .site-footer__legal a:hover,
    .site-footer__legal a:focus-visible {
        color: var(--footer-link-hover);
        outline: none;
    }

    .site-footer__social-badge:hover,
    .site-footer__social-badge:focus-visible {
        background: rgba(212, 175, 89, 0.12);
        outline: none;
    }

    .site-footer__social-badge:hover,
    .site-footer__social-badge:focus-visible,
    .site-footer__social-badge .site-footer__social-symbol,
    .site-footer__social-badge svg {
        color: var(--footer-link-hover);
    }
}

@media (max-width: 980px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 26px;
    }

    .site-footer__brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-footer__inner {
        padding: 36px 18px 20px;
    }

    .site-footer__grid {
        display: block;
    }

    .site-footer__brand-column {
        margin-bottom: 18px;
    }

    .site-footer__brand-text {
        max-width: 100%;
    }

    .site-footer__heading,
    .site-footer__content {
        display: none;
    }

    .site-footer__accordion-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--footer-border);
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .site-footer__content {
        display: block;
    }

    .site-footer__content[hidden] {
        display: none;
    }

    .site-footer__social-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 4px;
    }

    .site-footer__social-mobile .site-footer__social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid rgba(212, 175, 89, 0.8);
        background: rgba(212, 175, 89, 0.06);
        text-decoration: none;
        color: var(--footer-accent);
        font-weight: 700;
    }

    .site-footer__bottom {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
    }

    .site-footer__legal {
        justify-content: flex-start;
    }
}
/* =========================================
   MOBILE FOOTER FIX
   ========================================= */
@media (max-width: 720px) {

    .site-footer__inner {
        padding: 36px 22px 20px;
    }

    /* BRAND / LOGO */
    .site-footer__brand-column {
        align-items: center;
        text-align: center;
        margin-bottom: 26px;
    }

    .site-footer__brand-link {
        width: 100%;
        justify-content: center;
    }

    .site-footer__logo {
        width: 210px;
        margin: 0 auto;
    }

    .site-footer__brand-text {
        max-width: 310px;
        margin: 0 auto;
        text-align: center;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    /* 
       Социалните икони под описанието се скриват.
       Оставяме социалните мрежи само в accordion секцията.
    */
    .site-footer__social-mobile {
        display: none !important;
    }

    /* COLUMNS */
    .site-footer__column {
        width: 100%;
        border-top: 1px solid rgba(212, 175, 89, 0.28);
    }

    /* ACCORDION BUTTON */
    .site-footer__accordion-toggle {
        appearance: none;
        -webkit-appearance: none;

        width: 100%;
        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        margin: 0;
        padding: 0;

        border: 0;
        border-radius: 0;
        background: transparent;

        color: #d4af59;
        font-family: var(--font-primary), Arial, sans-serif;
        font-size: 0.88rem;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;

        text-align: left;
        cursor: pointer;
        box-shadow: none;
    }

   .site-footer__accordion-toggle svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    fill: none;
    stroke: #d4af59;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.25s ease;
}

.site-footer__accordion-toggle {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;

    color: #d4af59;

    font-family: var(--font-primary), Arial, sans-serif;
    font-size: 0.88rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

 
    /* OPEN ACCORDION CONTENT */
    .site-footer__content {
        padding: 2px 0 22px;
    }

    .site-footer__content[hidden] {
        display: none;
    }

    /* NAVIGATION */
    .site-footer__nav-list {
        gap: 14px;
    }

    .site-footer__nav-list a {
        font-size: 0.95rem;
    }

    /* CONTACTS */
    .site-footer__contact-list {
        gap: 14px;
    }

    .site-footer__contact-list li {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 12px;
        font-size: 0.94rem;
    }

    .site-footer__meta-icon,
    .site-footer__meta-icon svg {
        width: 24px;
        height: 24px;
    }

    /* SOCIALS INSIDE "ПОСЛЕДВАЙТЕ НИ" */
    .site-footer__social-list {
        gap: 12px;
    }

    .site-footer__social-list a {
        font-size: 0.95rem;
    }

    .site-footer__social-badge {
        width: 38px;
        height: 38px;
    }

    /* BOTTOM */
    .site-footer__divider {
        margin-top: 12px;
    }

    .site-footer__bottom {
        padding: 20px 0 6px;
        align-items: center;
        text-align: center;
    }

    .site-footer__copyright {
        width: 100%;
        text-align: center;
        font-size: 0.82rem;
    }

    .site-footer__legal {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}
.site-footer__cookie-settings {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    font-size: 0.96rem;
}

.site-footer__cookie-settings:hover {
        color: var(--footer-link-hover);
        outline: none;
}