/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.roland-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 40px 16px 24px;
}

.roland-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Brand — desktop only elementi */
.roland-footer__logo svg,
.roland-footer__desc,
.roland-footer__contact-title,
.roland-footer__social--desktop,
.roland-footer__brand-bottom {
    display: none;
}

.roland-footer__contact p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 25px;
    color: var(--color-white);
    margin-bottom: 4px;
}

.roland-footer__contact p strong {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.roland-footer__contact a,
.roland-footer__nav-list li a {
    color: var(--color-white);
    text-decoration: none;
}

/* Nav accordion */
.roland-footer__navs {
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.roland-footer__nav-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding: 8px 0;
    font-family: var(--font-heading);
    font-size: var(--text-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    cursor: pointer;
}

.roland-footer__nav-icon {
    transition: transform 0.3s ease;
    font-size: 20px;
}

.roland-footer__nav--open .roland-footer__nav-icon {
    transform: rotate(90deg);
}

.roland-footer__nav--open .roland-footer__nav-toggle {
    border-bottom: none;
}

.roland-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.roland-footer__nav--open .roland-footer__nav-list {
    max-height: 500px;
}

.roland-footer__nav-list li {
    padding: 8px 0;
}

.roland-footer__nav-list li a {
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--font-weight-regular);
}

/* Newsletter */
.roland-footer__newsletter-title {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 16px;
}

.roland-footer__highlight {
    color: var(--color-soft);
}

.roland-footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

input.roland-footer__newsletter-input {
    width: 100%;
    height: 36px;
    padding: 0 20px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--font-weight-regular);
    color: var(--color-gray);
    background: var(--color-white);
    outline: none;
}

.roland-footer__newsletter-input::placeholder {
    color: var(--color-gray);
}

.roland-footer__newsletter-btn {
    width: 100%;
    height: 36px;
    padding: 0 20px;
    background: var(--color-soft);
    color: var(--color-primary);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social */
.roland-footer__social-title {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    margin-bottom: 12px;
}

.roland-footer__social-icons {
    display: flex;
    gap: 16px;
}

.roland-footer__social-icons a svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

/* Bottom bar */
.roland-footer__bottom {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roland-footer__copyright {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-white);
    margin-bottom: 0 !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile — newsletter na vrh */
@media (max-width: 767px) {
    .roland-footer__newsletter {
        order: -1;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .roland-footer {
        padding: 60px 40px 32px;
    }

    .roland-footer__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .roland-footer__brand {
        flex: 0 0 220px;
    }

    .roland-footer__logo svg {
        display: block;
        width: 120px;
        height: auto;
        margin-bottom: 16px;
    }

    .roland-footer__desc {
        display: block;
        margin-bottom: 16px;
        font-family: var(--font-heading);
        font-size: var(--text-h3);
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        line-height: 1.3;
    }

    .roland-footer__contact-title {
        display: inline-block;
        font-family: var(--font-body);
        font-size: var(--text-small);
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        text-decoration: underline;
        margin-bottom: 12px;
    }

    .roland-footer__navs {
        flex: 2;
        border-top: none;
        display: flex;
        gap: 40px;
    }

    .roland-footer__nav {
        flex: 1;
    }

    .roland-footer__nav-toggle {
        border: none;
        padding: 0 0 16px 0;
        pointer-events: none;
    }

    .roland-footer__nav-icon {
        display: none;
    }

    .roland-footer__nav-list {
        max-height: none;
        overflow: visible;
    }

    .roland-footer__newsletter {
        flex: 0 0 280px;
    }

    .roland-footer__social--desktop,
    .roland-footer__brand-bottom {
        display: block;
        margin-top: 24px;
    }

    .roland-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .roland-footer__bottom .roland-footer__social,
    .roland-footer__bottom .roland-footer__copyright,
    .roland-footer__bottom .roland-footer__payments {
        display: none;
    }
}