*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: clamp(5.5rem, 7vw, 7.5rem);
}

body {
    margin: 0;
    padding-top: clamp(5.5rem, 7vw, 7.5rem);

    font-family: "Poppins", sans-serif;
    font-weight: 400;

    color: #111;
    background: #fff;

    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:root {
    --green: #96a58e;
    --green-light: #b8c3b2;

    --pink: #f5bed3;
    --pink-light: #f9dce7;

    --gray: #f1f1f1;

    --black: #111;
    --white: #fff;

    --container: 84%;
}

.container {
    width: var(--container);
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: fixed;
    z-index: 100;

    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 1);

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    transition:
        background-color .45s ease,
        backdrop-filter .45s ease,
        -webkit-backdrop-filter .45s ease;
}

.header.header--transparent {
    background: rgba(225, 225, 225, .52);

    backdrop-filter: blur(.8rem) saturate(80%);
    -webkit-backdrop-filter: blur(.8rem) saturate(80%);
}

.header.header--transparent:hover {
    background: rgba(255, 255, 255, 1);

    backdrop-filter: blur(0) saturate(100%);
    -webkit-backdrop-filter: blur(0) saturate(100%);
}

.header__inner {
    height: clamp(5.5rem, 7vw, 7.5rem);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    width: clamp(6.5rem, 8vw, 8.5rem);
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header__nav {
    display: flex;
    align-items: center;

    gap: clamp(2rem, 3.2vw, 4rem);
}

.header__nav a {
    padding: .55em 1.55em;

    font-size: clamp(.78rem, .9vw, 1rem);

    border-radius: 10rem;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.header__nav a:first-child {
    color: #fff;
    background: var(--green);
}

.header__nav a:first-child:hover {
    background: #7e9076;
}

.header__nav a:not(:first-child):hover {
    background: var(--pink-light);
}

.header__nav a:hover {
    transform: translateY(-.1rem);
}

.header__btn {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: calc(
        100vh - clamp(5.5rem, 7vw, 7.5rem) - 1.6rem
    );

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #fff;
}

.hero::before {
    content: "";

    position: absolute;
    z-index: 4;

    top: 0;
    left: 0;

    width: clamp(7rem, 9vw, 10rem);
    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--green);

    transform: translate(-50%, -50%);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;
    z-index: 4;

    bottom: 0;
    left: 0;

    width: clamp(10rem, 13vw, 14rem);
    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--pink);

    transform: translate(-50%, 50%);

    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 5;

    width: var(--container);
    height: 100%;

    margin-inline: auto;

    display: flex;
    align-items: center;
}

.hero__text {
    width: 42%;
    max-width: 42rem;
}

.hero__text h1 {
    margin: 0 0 .9rem;

    font-size: clamp(2.2rem, 2.8vw, 3.2rem);

    font-weight: 400;
    line-height: 1.15;
}

.hero__text h1 strong {
    font-weight: 700;
}

.hero__text > p:nth-of-type(1) {
    margin: 0 0 .6rem;

    font-size: clamp(1.1rem, 1.3vw, 1.45rem);

    line-height: 1.45;
}

.hero__text > p:nth-of-type(1) strong {
    font-weight: 600;
}

.hero__text > p:nth-of-type(2) {
    margin: 0;

    font-size: clamp(1rem, 1.2vw, 1.35rem);

    line-height: 1.55;
}


/* =========================================================
   HERO - PRZYCISKI
   ========================================================= */

.hero__btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 1rem;

    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: .6em 1.6em;

    border-radius: 10rem;

    font-size: clamp(.82rem, .9vw, 1rem);

    white-space: nowrap;

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.btn:hover {
    transform: translateY(-.1rem);
}

.btn--green {
    color: #fff;
    background: var(--green);
}

.btn--green:hover {
    background: #7e9076;
}

.btn--pink {
    background: var(--pink-light);
}

.btn--pink:hover {
    background: var(--pink);
}


/* =========================================================
   HERO - ZDJĘCIE
   ========================================================= */

.hero__image {
    position: absolute;
    z-index: 1;
    margin: 0;

    top: 0;
    right: 0;

    width: 62%;
    height: 100%;

    overflow: hidden;
}

.hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero__image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255, 255, 255, .98) 9%,
        rgba(255, 255, 255, .92) 18%,
        rgba(255, 255, 255, .75) 28%,
        rgba(255, 255, 255, .48) 38%,
        rgba(255, 255, 255, .20) 48%,
        rgba(255, 255, 255, 0) 60%
    );

    pointer-events: none;
}


/* =========================================================
   O MNIE
   ========================================================= */

.about {
    position: relative;

    width: 100%;

    padding:
        clamp(4rem, 6vw, 6.5rem)
        0
        clamp(8rem, 10vw, 11rem);

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   O MNIE - CIENKIE GAŁĄZKI
   ========================================================= */

.about__branch {
    position: absolute;
    z-index: 1;

    width: clamp(24rem, 34vw, 38rem);
    height: auto;

    overflow: visible;

    fill: none;

    stroke-width: .7;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


/* =========================================================
   O MNIE - RÓŻOWA PO PRAWEJ
   JEDYNA POMNIEJSZONA DEKORACJA
   ========================================================= */

.about__branch--pink {
    top: -2rem;
    right: -4rem;

    width: clamp(20rem, 26vw, 29rem);

    stroke: rgba(245, 190, 211, .58);

    transform: rotate(-5deg);
}


/* =========================================================
   O MNIE - ZIELONA PO LEWEJ
   ZOSTAJE DUŻA
   ========================================================= */

.about__branch--green {
    left: -9rem;
    bottom: -4rem;

    stroke: rgba(150, 165, 142, .50);

    transform: rotate(4deg);
}

.about__branch .branch__main {
    stroke-width: 1;
}


/* =========================================================
   O MNIE - UKŁAD
   ========================================================= */

.about__inner {
    position: relative;
    z-index: 5;

    display: grid;

    grid-template-columns:
        20%
        68%;

    justify-content: space-between;
    align-items: stretch;
}


/* =========================================================
   O MNIE - ZDJĘCIE
   ========================================================= */

.about__image {
    position: relative;
    margin: 0;

    width: 100%;
    height: auto;

    align-self: center;
}

.about__image img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: auto;

    aspect-ratio: .82;

    object-fit: cover;

    border-radius: 1.6rem;
}


/* RÓŻOWY NAROŻNIK */

.about__image::before {
    content: "";

    position: absolute;
    z-index: 1;

    top: -4%;
    left: -5%;

    width: 25%;
    height: 18%;

    border-top: .18rem solid var(--pink);
    border-left: .18rem solid var(--pink);
}


/* ZIELONY NAROŻNIK */

.about__image::after {
    content: "";

    position: absolute;
    z-index: 3;

    right: -5%;
    bottom: -4%;

    width: 25%;
    height: 18%;

    border-right: .18rem solid var(--green);
    border-bottom: .18rem solid var(--green);
}


/* =========================================================
   O MNIE - TEKST
   ========================================================= */

.about__text {
    width: 94%;
    max-width: 64rem;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
}

.about__text h2 {
    position: relative;

    width: fit-content;

    margin: 0 0 2rem;

    font-size: clamp(1.8rem, 2.2vw, 2.5rem);

    font-weight: 700;
    line-height: 1.1;
}

.about__text h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -.65rem;

    width: clamp(15rem, 22vw, 22rem);
    height: .12rem;

    background: var(--green);
}

.about__text p {
    margin: 0 0 1.45rem;

    font-size: clamp(.78rem, .88vw, .98rem);

    line-height: 1.72;
}

.about__text strong {
    font-weight: 700;
}

.about__last {
    position: relative;

    margin-bottom: 0 !important;
}

.about__last::after {
    content: "";

    display: block;

    width: clamp(15rem, 22vw, 22rem);
    height: .12rem;

    margin-top: .9rem;

    background: var(--pink);
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.instagram {
    position: relative;

    width: 100%;

    padding:
        clamp(4rem, 5vw, 5.5rem)
        0
        clamp(10rem, 13vw, 15rem);

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   INSTAGRAM - KWIATY W CAŁEJ SEKCJI
   ========================================================= */

.instagram__flower {
    position: absolute;
    z-index: 1;

    width: clamp(22rem, 31vw, 36rem);
    height: auto;

    overflow: visible;

    fill: none;

    stroke-width: .65;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


/* RÓŻOWY - LEWA GÓRA */

.instagram__flower--pink {
    top: -10rem;
    left: -11rem;

    stroke: rgba(245, 190, 211, .48);

    transform: rotate(25deg);
}


/* ZIELONY - PRAWY DÓŁ */

.instagram__flower--green {
    right: -12rem;
    bottom: -10rem;

    stroke: rgba(150, 165, 142, .43);

    transform: rotate(-25deg);
}


/* =========================================================
   INSTAGRAM - BOX
   ========================================================= */

.instagram__box {
    position: relative;
    z-index: 5;

    width: 78%;

    margin-inline: auto;

    padding:
        clamp(1.6rem, 2vw, 2.2rem)
        5%
        clamp(1.7rem, 2.2vw, 2.4rem);

    background: var(--gray);

    border-radius: clamp(1.5rem, 1.8vw, 2rem);
}

.instagram__box h2 {
    margin: 0;

    font-size: clamp(1.35rem, 1.6vw, 1.8rem);

    font-weight: 400;
    line-height: 1.2;
}

.instagram__box > a {
    display: inline-block;
    transition: transform .2s ease;
}

.instagram__box > a:hover {
    transform: translateY(-.1rem);
}

.instagram__box h2 strong {
    font-weight: 700;
}

.instagram__line {
    width: clamp(15rem, 22vw, 22rem);
    height: .12rem;

    margin:
        .55rem
        0
        clamp(1.2rem, 1.5vw, 1.6rem);

    background: var(--pink);
}


.instagram__embed {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(.5rem, 1.5vw, 1rem);
}

.instagram__post {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: .8rem;
}

.instagram__post img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.instagram__post:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .instagram__embed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .instagram__embed {
        grid-template-columns: minmax(0, 1fr);
    }
}

.instagram__bottom-line {
    width: clamp(15rem, 22vw, 22rem);
    height: .12rem;

    margin:
        clamp(1.2rem, 1.5vw, 1.6rem)
        0
        0
        auto;

    background: var(--green);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;
    width: 100%;
    min-height: clamp(15rem, 19vw, 20rem);
    padding: 2.5rem 5% 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
}

.footer__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.footer__logo {
    display: block;
    width: clamp(10rem, 12vw, 14rem);
}

.footer__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 1.5rem;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    transition: transform .2s ease, opacity .2s ease;
}

.footer__socials a:hover {
    transform: translateY(-.1rem);
    opacity: .75;
}

.footer__socials a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__contact {
    display: flex;
    align-items: center;
    font-style: normal;
    justify-content: center;
    flex-wrap: wrap;
    gap: .8rem clamp(1.5rem, 3vw, 3rem);
    margin-top: .8rem;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 300;
    gap: .15rem;
    font-size: clamp(.7rem, .78vw, .85rem);
    font-weight: 300;
}

.footer__contact-title {
    font-weight: 500;
}

.footer__copyright {
    margin: .7rem 0 0;
    color: #777;
    font-size: clamp(.62rem, .7vw, .75rem);
    font-weight: 300;
    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 70rem) {

    :root {
        --container: 88%;
    }

    .header__nav {
        gap: 1.2rem;
    }

    .hero__text {
        width: 46%;
    }

    .hero__image {
        width: 59%;
    }

    .about__inner {
        grid-template-columns:
            23%
            68%;
    }


    /* Zielona nadal korzysta z dużego rozmiaru */

    .about__branch--green {
        width: 30rem;
    }


    /* Różowa pozostaje mniejsza */

    .about__branch--pink {
        width: 24rem;
    }

    .instagram__box {
        width: 86%;
    }

    .instagram__flower {
        width: 28rem;
    }

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 48rem) {

    :root {
        --container: 88%;
    }

    svg {
        display: none;
    }

    html {
        scroll-padding-top: 5rem;
    }

    body {
        padding-top: 5rem;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .header__inner {
        height: 5rem;
    }

    .header__logo {
        width: 6rem;
    }

    .header__btn {
        display: block;

        position: relative;

        width: 2.2rem;
        aspect-ratio: 1;

        padding: 0;

        border: 0;

        background: transparent;

        cursor: pointer;
    }

    .header__btn span,
    .header__btn span::before,
    .header__btn span::after {
        display: block;

        width: 100%;
        height: .12rem;

        background: #111;
    }

    .header__btn span {
        position: relative;
    }

    .header__btn span::before,
    .header__btn span::after {
        content: "";

        position: absolute;
        left: 0;
    }

    .header__btn span::before {
        top: -.5rem;
    }

    .header__btn span::after {
        top: .5rem;
    }


    /* =====================================================
       MENU
       ===================================================== */

    .header__nav {
        position: absolute;
        z-index: 100;

        top: 100%;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: .4rem;

        padding: 1.3rem 6%;

        background: rgba(255, 255, 255, .96);

        backdrop-filter: blur(.7rem);
        -webkit-backdrop-filter: blur(.7rem);

        box-shadow:
            0 .8rem 1.5rem rgba(0, 0, 0, .08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-1rem);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .header__nav a {
        width: 100%;

        padding: .75em 1em;

        font-size: .9rem;

        text-align: center;
    }

    .header__nav a:hover {
        transform: none;
    }


    /* =====================================================
       HERO
       ===================================================== */

    .hero {
        position: relative;

        width: 100%;

        min-height:
            calc(100svh - 5rem - 1.6rem);

        display: flex;
        align-items: center;

        overflow: hidden;

        background: #fff;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero__image {
        position: absolute;
        z-index: 1;

        inset: 0;

        width: 100%;
        height: 100%;
    }

    .hero__image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    .hero__image::after {
        content: "";

        position: absolute;
        inset: 0;

        background: linear-gradient(
            90deg,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.91) 27%,
            rgba(255,255,255,.72) 52%,
            rgba(255,255,255,.36) 77%,
            rgba(255,255,255,.12) 100%
        );

        pointer-events: none;
    }

    .hero__inner {
        position: relative;
        z-index: 5;

        width: var(--container);

        min-height:
            calc(100svh - 5rem - 1.6rem);

        margin-inline: auto;

        display: flex;
        align-items: center;

        padding: 3rem 0;
    }

    .hero__text {
        width: 100%;
        max-width: 29rem;
    }

    .hero__text h1 {
        margin-bottom: .8rem;

        font-size:
            clamp(1.9rem, 7vw, 2.5rem);

        line-height: 1.12;
    }

    .hero__text > p:nth-of-type(1) {
        margin-bottom: .55rem;

        font-size:
            clamp(.95rem, 3.7vw, 1.1rem);

        line-height: 1.4;
    }

    .hero__text > p:nth-of-type(2) {
        font-size:
            clamp(.85rem, 3.5vw, 1rem);

        line-height: 1.55;
    }

    .hero__btns {
        width: 100%;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        flex-wrap: nowrap;

        gap: .7rem;

        margin-top: 1.4rem;
    }

    .hero__btns .btn {
        width: auto;

        padding: .6em 1.25em;

        font-size: .78rem;

        white-space: nowrap;
    }


    /* =====================================================
       O MNIE
       ===================================================== */

    .about {
        padding:
            3.5rem
            0
            5rem;
    }


    /* ZIELONA - normalny rozmiar */

    .about__branch--green {
        width: 22rem;

        left: -13rem;
        bottom: -2rem;

        stroke-width: .55;

        opacity: .60;
    }


    /* RÓŻOWA - mniejsza */

    .about__branch--pink {
        width: 14rem;

        top: -1rem;
        right: -7rem;

        stroke-width: .55;

        opacity: .65;
    }

    .about__branch .branch__main {
        stroke-width: .75;
    }

    .about__inner {
        display: flex;
        flex-direction: column;

        gap: 2.5rem;
    }

    .about__image {
        width: 65%;

        margin-inline: auto;
    }

    .about__image img {
        width: 100%;

        aspect-ratio: .82;

        object-fit: cover;

        border-radius: 1.6rem;
    }

    .about__image::before {
        top: -3%;
        left: -5%;

        width: 24%;
        height: 15%;
    }

    .about__image::after {
        right: -5%;
        bottom: -3%;

        width: 24%;
        height: 15%;
    }

    .about__text {
        width: 100%;
        max-width: none;

        display: block;
    }

    .about__text h2 {
        margin-bottom: 1.5rem;

        font-size: 1.8rem;
    }

    .about__text p {
        margin-bottom: 1rem;

        font-size: .88rem;

        line-height: 1.55;
    }

    .about__text h2::after,
    .about__last::after,
    .instagram__line,
    .instagram__bottom-line {
        width: 68vw;
    }


    /* =====================================================
       INSTAGRAM
       ===================================================== */

    .instagram {
        padding:
            2rem
            0
            4rem;
    }

    .instagram__flower {
        width: 19rem;

        stroke-width: .5;
    }

    .instagram__flower--pink {
        top: -8rem;
        left: -12rem;
    }

    .instagram__flower--green {
        right: -12rem;
        bottom: -8rem;
    }

    .instagram__box {
        width: 90%;

        margin-inline: auto;

        padding:
            1.7rem
            6%
            2rem;

        border-radius: 1.4rem;
    }

    .instagram__post {
        border-radius: .75rem;
    }

    .instagram__box h2 {
        font-size:
            clamp(1.25rem, 5vw, 1.55rem);
    }

    .instagram__line {
        margin:
            .5rem
            0
            1.4rem;
    }

    .instagram__bottom-line {
        margin:
            1.4rem
            0
            0
            auto;
    }


    .footer {
        min-height: 14rem;
        padding: 2.5rem 6%;
    }

    .footer__logo {
        width: 10rem;
    }

    .footer__socials {
        margin-top: .2rem;
    }

    .footer__contact {
        flex-direction: column;
        gap: .65rem;
        margin-top: .8rem;
    }

    .footer__contact-item {
        font-size: .75rem;
    }
}


/* =========================================================
   MAŁY TELEFON
   ========================================================= */

@media (max-width: 30rem) {

    /* HERO */

    .hero__text {
        width: 100%;
    }

    .hero__text h1 {
        font-size: 1.8rem;
    }

    .hero__text > p:nth-of-type(1) {
        font-size: .93rem;
    }

    .hero__text > p:nth-of-type(2) {
        font-size: .84rem;
    }

    .hero__btns {
        gap: .6rem;
    }

    .hero__btns .btn {
        padding: .55em 1em;

        font-size: .72rem;
    }


    /* =====================================================
       O MNIE
       ===================================================== */

    .about {
        padding:
            3rem
            0
            4.5rem;
    }

    .about__image {
        width: 80%;
    }

    .about__inner {
        gap: 2.2rem;
    }

    .about__text h2 {
        font-size: 1.7rem;
    }

    .about__text p {
        font-size: .84rem;
    }


    /* Zielona pozostaje większa */

    .about__branch--green {
        width: 20rem;

        left: -14rem;
    }


    /* Tylko różowa mała */

    .about__branch--pink {
        width: 12rem;

        right: -7rem;
    }


    /* =====================================================
       INSTAGRAM
       ===================================================== */

    .instagram {
        padding:
            1.5rem
            0
            3.5rem;
    }

    .instagram__flower {
        width: 17rem;
    }

    .instagram__flower--pink {
        top: -7rem;
        left: -11rem;
    }

    .instagram__flower--green {
        right: -11rem;
        bottom: -7rem;
    }

    .instagram__box {
        width: 92%;

        padding:
            1.6rem
            5%
            1.8rem;

        border-radius: 1.2rem;
    }

    .instagram__post {
        border-radius: .65rem;
    }

    .instagram__box h2 {
        font-size: 1.2rem;
    }

    .instagram__line {
        margin-bottom: 1.2rem;
    }

    .instagram__bottom-line {
        margin-top: 1.2rem;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .footer__logo {
        width: 9rem;
    }

    .footer__socials a {
        width: 1.4rem;
        height: 1.4rem;
    }

   
}