/* =====================================
   FOOTER
===================================== */

.footer {
    position: relative;
    overflow: visible;
    padding: 50px 6% 20px;
    background:
        linear-gradient(rgba(244, 235, 228, .55), rgba(244, 235, 228, .55)),
        url("https://filipiak.xaa.pl/ola/public/images/footer.jpg");
    background-size: cover;
    background-position-y: 80%;
    background-repeat: no-repeat;
    border-top: 1px solid #EEDFD5;
}

.footer-heart {
    position: absolute;
    top: -22px;
    left: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    color: #C89B7B;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transform: translateX(-50%);
    transition: .35s;
}

.footer-heart:hover {
    transform: translateX(-50%) scale(1.1);
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.1fr 1fr .75fr;
    gap: 50px;
    align-items: start;
}

.footer-column {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
    padding-right: 10px;
}

.footer-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -35px;
    width: 1px;
    height: 85%;
    background: rgba(200, 155, 123, .15);
}

.footer h3 {
    margin: 0 0 18px;
    color: #4F3D32;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer p {
    margin: 0;
    color: #5F4738;
    font-size: 15px;
    line-height: 1.8;
}

.footer-logo img {
    width: 320px;
    display: block;
    margin-bottom: 20px;
    transition: .35s;
}

.footer-logo-link {
    width: max-content;
}

.footer-logo-link:hover img {
    transform: scale(1.05);
}

.footer-slogan {
    width: 100%;
    text-align: center;
}

.footer-socials,
.footer-contact,
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-socials a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials a {
    width: max-content;
    color: #5F4738;
    text-decoration: none;
    transition: color .35s, transform .35s;
}

.footer-socials i {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 36px;
    border-radius: 50%;
    background: #F7E7DB;
    color: #C89B7B;
    font-size: 15px;
    transition: .35s;
}

.footer-socials a:hover {
    color: #4c382c;
    transform: translateX(2px);
}

.footer-socials a:hover i {
    background: #C89B7B;
    color: #fff;
    transform: scale(1.08);
}

.footer-contact i {
    width: 20px;
    flex: 0 0 20px;
    color: #C89B7B;
    font-size: 15px;
    text-align: center;
}

.footer-hours-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-hours-row span {
    color: #5F4738;
    font-size: 14px;
}

.footer-hours-row strong {
    color: #4F3D32;
    font-size: 16px;
    font-weight: 600;
}

.footer-author {
    justify-content: center;
}

.footer-author-name {
    position: relative;
    display: inline-block;
    width: fit-content;
    margin-top: 6px;
    color: #5F4738;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
}

.footer-author-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #4C382C;
    transition: .3s ease;
}

.footer-author-name:hover {
    color: #4c382c;
}

.footer-author-name:hover::after {
    width: 100%;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(200, 155, 123, .35);
}

.footer-copy {
    color: #5F4738;
    font-size: 15px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
}

.footer-links a {
    position: relative;
    color: #3c2c23;
    font-size: 15px;
    text-decoration: none;
    transition: .3s;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #3c2c23;
    transition: .3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-circle {
    color: #C89B7B;
}

/* =====================================
   LAPTOP / TABLET
===================================== */

@media (max-width: 1210px) and (min-width: 769px) {
    .footer {
        padding: 55px 32px 28px;
        background:
            linear-gradient(rgba(244, 235, 228, .62), rgba(244, 235, 228, .62)),
            url("https://filipiak.xaa.pl/ola/public/images/footer-mobile.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .footer-container {
        max-width: 920px;
        margin: 0 auto;
        padding: 34px 38px 32px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 54px;
        background: rgba(255, 249, 244, .46);
        border: 1px solid rgba(200, 155, 123, .28);
        border-radius: 22px;
        backdrop-filter: blur(8px);
        box-shadow: 0 18px 45px rgba(95, 71, 56, .10);
    }

    .footer-column {
        width: 100%;
        max-width: none;
        padding: 0;
        align-items: flex-start;
        text-align: left;
    }

    .footer-column::after {
        display: none !important;
    }

    .footer-logo {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(200, 155, 123, .20);
    }

    .footer-logo img {
        width: 170px;
        margin: 0 auto 10px;
    }

    .footer-logo-link {
        width: auto;
    }

    .footer-slogan {
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
    }

    .footer h3 {
        margin-bottom: 12px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .footer-socials,
    .footer-contact,
    .footer-hours {
        gap: 11px;
    }

    .footer-author {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        max-width: 920px;
        margin: 24px auto 0;
        padding-top: 18px;
        flex-direction: column-reverse;
        gap: 12px;
        text-align: center;
        border-top: 1px solid rgba(200, 155, 123, .28);
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
        backdrop-filter: none;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
    .footer {
        padding: 42px 16px 22px;
        background:
            linear-gradient(rgba(244, 235, 228, .55), rgba(244, 235, 228, .55)),
            url("https://filipiak.xaa.pl/ola/public/images/footer-mobile.jpg");
        background-size: cover;
        background-position: right center;
        background-repeat: no-repeat;
    }

    .footer-heart {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 430px;
        margin: 0 auto;
        padding: 24px 18px 20px;
        border: 1px solid rgba(200, 155, 123, .28);
        border-radius: 22px;
        background: rgba(255, 249, 244, .48);
        box-shadow: 0 18px 45px rgba(95, 71, 56, .10);
        backdrop-filter: blur(8px);
    }

    .footer-column {
        width: 100%;
        align-items: center;
        padding: 0;
        text-align: center;
    }

    .footer-column::after {
        display: none;
    }

    .footer-logo {
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(200, 155, 123, .18);
        text-align: center;
    }

    .footer-logo img {
        width: 142px;
        margin: 0 auto 8px;
    }

    .footer-logo-link {
        width: auto;
    }

    .footer-slogan {
        max-width: 280px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
    }

    .footer h3 {
        margin: 0 0 10px;
        font-size: 11px;
        letter-spacing: 2px;
        text-align: center;
    }

    .footer-socials-column {
        width: 100%;
        margin-bottom: 22px;
    }

    .footer-socials-column h3 {
        text-align: center;
    }

    .footer-socials {
        width: 100%;
        max-width: 230px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .footer-socials a {
        width: auto;
        min-width: 0;
        justify-content: center;
    }

    .footer-socials a span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .footer-socials i {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        background: rgba(255, 255, 255, .50);
        box-shadow: inset 0 0 0 1px rgba(200, 155, 123, .22);
    }

    .footer-column:not(.footer-logo):not(.footer-socials-column):not(.footer-author) h3 {
        width: 100%;
        max-width: 310px;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .footer-contact,
    .footer-hours {
        width: 100%;
        max-width: 310px;
        align-items: stretch;
        gap: 9px;
        padding-bottom: 20px;
        margin: 0 auto 18px;
        border-bottom: 1px solid rgba(200, 155, 123, .18);
        text-align: left;
    }

    .footer-contact p {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        font-size: 14px;
        line-height: 1.55;
        text-align: left;
    }

    .footer-contact i {
        margin-top: 3px;
    }

    .footer-hours-row {
        display: flex;
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
        text-align: left;
    }

    .footer-hours-row span {
        font-size: 14px;
        line-height: 1.35;
    }

    .footer-hours-row strong {
        font-size: 15px;
        line-height: 1.35;
    }

    .footer-author {
        align-items: center;
        margin-top: 0;
        text-align: center;
    }

    .footer-author h3 {
        margin-bottom: 6px;
        text-align: center;
    }

    .footer-author-name {
        margin-top: 0;
        font-size: 14px;
        font-weight: 600;
    }

    .footer-author-name::after {
        display: none;
    }

    .footer-bottom {
        max-width: 430px;
        margin: 18px auto 0;
        padding-top: 16px;
        flex-direction: column-reverse;
        gap: 12px;
        border-top-color: rgba(200, 155, 123, .22);
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
    }

    .footer-links a {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-links a::after {
        display: none;
    }

    .footer-circle {
        font-size: 10px;
    }

    .footer-copy {
        font-size: 12px;
        letter-spacing: .8px;
    }
}

@media (max-width: 380px) {
    .footer {
        padding-right: 12px;
        padding-left: 12px;
    }

    .footer-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .footer-contact,
    .footer-hours,
    .footer-column:not(.footer-logo):not(.footer-socials-column):not(.footer-author) h3 {
        max-width: 285px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}