/* =========================
   GLOBAL
========================= */

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 30px 0px;

    &:nth-child(1) {
        padding: 0px;
    }
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 20px;
}

h1 {
    font-size: 32px;
    position: relative;

    &::after {
        content: "";
        width: 60px;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: -30px;
        background: #b5a46d;
    }
}

h2 {
    position: relative;
    padding-bottom: 14px;
}

h2::after {
    content: "";
    width: 60px;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #b5a46d;
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
}

strong {
    font-weight: 700;
}

/* =========================
   IMAGE BOX
========================= */

.image-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #b5a46d;

    a {
        display: block;
        width: 100%;
        height: 100%;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* =========================
   CARD / PRODUKTY
========================= */

.card {
    padding: 40px;
    border: 1px solid #e5e5e5;
    position: relative;

    h1,
    h2,
    h3 {
        margin-top: 0px;
    }
}

/* =========================
   LISTY
========================= */

ul {
    padding-left: 20px;
    margin: 30px 0;
}

.section {
    ul li {
        margin-bottom: 14px;
        line-height: 1.7;
    }
}

/* =========================
   CTA
========================= */

.cta {
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 32px;
    background: #000;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.button:hover {
    opacity: 0.85;
}

/* =========================
   FAQ
========================= */

.faq {
    margin-top: 0px;
}

.faq-toggle {
    display: none;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;

    p {
        display: none;
    }
}

.faq-summary {
    display: block;
    cursor: pointer;
    padding: 24px 60px 24px 0;
    position: relative;
    font-weight: 600;
}

.faq-summary::before,
.faq-summary::after {
    content: "";
    width: 14px;
    height: 2px;
    position: absolute;
    right: 0;
    top: 50%;
    background: #000;
    transition: transform 0.3s ease;
}

.faq-summary::after {
    transform: rotate(90deg);
}

.faq-toggle:checked~.faq-summary::after {
    transform: rotate(0deg);
}

.faq-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-content {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease, visibility 0.3s;
}

.faq-toggle:checked~.faq-content-wrapper {
    grid-template-rows: 1fr;
}

.faq-toggle:checked~.faq-content-wrapper .faq-content {
    opacity: 1;
    visibility: visible;
    padding-bottom: 24px;
    transform: translateY(0);
}

.faq-content p {
    margin-bottom: 0;
}

/* =========================
   SEPARATORY
========================= */

.section-separator {
    width: 100%;
    height: 1px;
    margin-top: 40px;
    margin-bottom: 40px;
    background: linear-gradient(to right,
            transparent,
            #b5a46d,
            transparent);
}

/* =========================
   GRID
========================= */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;

    .image-box {
        position: relative;
        height: 100%;

        a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    h1,
    h2,
    h3 {
        margin-top: 0px;
    }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .section {
        padding: 60px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-box,
    .grid-2 .image-box {
        height: 600px;
    }

    .card {
        padding: 28px;
    }

}

@media (max-width: 768px) {

    .section {
        padding: 50px 0;
    }

    .image-box,
    .grid-2 .image-box {
        height: 400px;
    }

    .button {
        width: 100%;
        text-align: center;
    }

}

/* =========================
   FULL WIDTH IMAGE (ZAMIAST FAQ)
========================= */
.full-width-image {
    width: 100%;
}

.full-width-image img {
    width: 100%;
    height: 400px;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .full-width-image img {
        height: 300px;
        max-height: 300px;
    }
}