/* ===========================
   RESET
=========================== */

* {
    box-sizing:border-box;
}

body {
    margin: 0;
    color: var(--text-color);
}

/* ===========================
   VARIABLES
=========================== */

:root{
    --primary-color:#2E7D32;
    --primary-hover-color: #256628;


    --text-color:#1F1F1F;
    --secondary-text:#bebbbb;

    --container-width:1920px;

    --heading-width:600px;

    --border-radius:24px;

    --transition:0.3s;

    --secondary-color: #ffffff;
    --secondary-hover-color: #eef6ee;
    --border-hover-color: #256628;
    --vine-color: #7cab52;

    --surface-color: #ffffff;

    --surface-color2: #f4f7f1;
    --soft-background-color: #f6f8f3;
    --border-color: #e2e8dc;
    --shadow-color: rgba(31, 60, 20, 0.08);

}



.container {
    width: min(100% - 64px, 1920px);
    margin-inline: auto;
}
/* ===========================
   LAYOUT
=========================== */

.container {
    width: min(calc(100% - 64px), var(--container-width));
    margin-inline: auto;
}

/* ===========================
   HEADER
=========================== */

.header .container {
    max-width: 112rem;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2rem, 4vw, 5rem);

    min-height: clamp(6rem, 8vw, 7rem);
}

.header-logo {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1rem);

    color: var(--text-color);
    text-decoration: none;
}

.header-logo img {
    width: clamp(4.5rem, 5vw, 5.5rem);
    height: auto;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.15;
}

.header-logo-text strong {
    color: var(--primary-color);

    font-size: 1.05rem;
    font-weight: 700;
}

.header-navigation {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    width: 100%;
}

.header-navigation a {
    position: relative;

    color: var(--text-color);
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    font-weight: 500;
    text-decoration: none;

    transition: color var(--transition);

}

.header-navigation a:hover {
    color: var(--primary-color);
}

/*Animated line*/

.header-navigation a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    height: 2px;

    background-color: var(--primary-color);

    transform: scaleX(0);
    transform-origin: center;

    transition: var(--transition);
}

.header-navigation a:hover::after,
.header-navigation a.current-page::after {
    transform: scaleX(1);
}


.header-navigation a.current-page {
    color: var(--primary-color);
}

.header-navigation a:hover::after {
    transform: scaleX(1);
}

.header-button {
    padding:
        clamp(0.75rem, 1vw, 0.9rem)
        clamp(1.25rem, 2vw, 1.75rem);

    white-space: nowrap;
}

/******************************
            HERO
******************************/

.hero {
    position: relative;
    overflow: visible;

    padding: 0 0 0 ;

    background-color: var(--surface-color);
    z-index: 1;

    border: 2px solid #dde7d9;
    border-color: #256628;
}

.hero-container {
    max-width: 1920px;
}

.hero-inner {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: stretch;

    min-height: clamp(34rem, 68vh, 44rem);
}


/* Tyman*/
.hero-inner::before {
    content: "";

    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 1;

    width: clamp(52%, 57vw, 60%);

    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff 54%,
        rgba(255, 255, 255, 0.96) 64%,
        rgba(255, 255, 255, 0.78) 74%,
        rgba(255, 255, 255, 0.42) 86%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;
}

.hero-image {
    position: relative;
    z-index: 0;

    flex: 2;
    overflow: hidden;

    min-width: 0;
}


.hero-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

}

.hero-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-block: clamp(2rem, 5vw, 5rem);
    padding-inline-end: clamp(1.5rem, 4vw, 4rem);
}

.hero-content h1 {
    max-width: 18ch;
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);

    font-size: clamp(3rem, 4.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;

    color: var(--text-color);
}

.hero-content h1 span {
    display: block;

    color: var(--primary-color);
}

.hero-content > p {
    max-width: 38ch;
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);

    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.7;

    color: var(--secondary-text-color);
}


.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}




/* ==========================
   STATS
========================== */

.stats {
 
    position: relative;
    z-index: 5;

    margin-top: 0px;
    padding-bottom: 50px;
    background-color: var(--soft-background-color) 
}

.stats-grid{
    padding: 30px 0 0 0;
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:24px;

    max-width:1500px;
    margin:0 auto;
}


.stat-card {
    position: relative;

    padding: 28px 20px;

    border: 1px solid #dde7d9;
    border-radius: 22px;

    background-color: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 12px 30px rgba(31, 70, 38, 0.07);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 38px rgba(31, 70, 38, 0.12);
}


.stat-card strong {
    display: block;
    margin-bottom: 8px;

    font-size: 36px;
    color: var(--primary-color);
}


.stat-card p {
    margin: 0;

    color: var(--secondary-text-color);
    line-height: 1.5;
}



.stat-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 54px;
    height: 4px;

    border-radius: 0 0 20px 20px;
    background-color: #2f843c;

    transform: translateX(-50%);
}

/* ===========================
   BUTTONS
=========================== */

.primary-button{
    display:inline-block;

    background-color:var(--primary-color);
    color:white;

    text-decoration:none;

    padding:16px 32px;

    border-radius:var(--border-radius);

    transition:var(--transition);
}

.primary-button:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-5px) scale(1.07);

}


.secondary-button {
    display: inline-block;

    color: var(--primary-color);
    background-color: var(--secondary-color);

    text-decoration: none;

    padding: 16px 32px;

    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);

    transition: var(--transition); 
}

.secondary-button:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--border-hover-color);
    transform: translateY(-5px) scale(1.07);
}


.hero-buttons .primary-button,
.hero-buttons .secondary-button {
    min-width: 190px;

    text-align: center;
}


/* ===========================
   ABOUT
=========================== */

.about {
    padding:  20px 0 0 0;
}

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(17rem, 0.9fr)
        minmax(22rem, 1fr)
        minmax(22rem, 1fr);

    align-items: stretch;
    gap: 1.25rem;
}

.founder-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin: 0;
    min-height: 460px;
}

.founder-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-caption {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 24px;

    color: white;
}

.founder-caption strong {
    display: block;

    font-size: 20px;
    line-height: 1.2;
}

.founder-caption span {
    display: block;
    margin-top: 6px;

    font-size: 14px;
}

.founder-content {
    padding: 40px;

    background-color: var(--soft-background-color);
    border-radius: var(--border-radius);
}

.founder-content h2 {
    margin-top: 0;
    margin-bottom: 24px;

    font-size: 22px;
    color: var(--text-color);
}

.founder-content p {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--secondary-text-color);
    line-height: 1.7;
}

.founder-content p:last-of-type {
    margin-bottom: 12px;
}



/* ===========================
   FOUNDER CONTENT
=========================== */

.founder-content {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    height: 100%;
    padding: clamp(0.5rem, 1vw, 1.5rem);

    background-color: var(--soft-background-color);
    border-radius: var(--border-radius);
}



/* Маленький напис над заголовком */

.founder-label {
    display: block;
    margin-bottom: 0.75rem;

    color: var(--primary-color);

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* zagolovok */

.founder-content h2 {
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);

    font-size: clamp(2.2rem, 3vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

/* big general text  */
.founder-lead {
    max-width: 34rem;
    margin: 0;

    color: var(--main-text-color, #222222);

    font-size: clamp(1.3rem, 1.4vw, 1.3rem);
    font-weight: 300;
    line-height: 1.55;
}

/* Зелена декоративна лінія */
.founder-divider {
    width: 4.5rem;
    height: 2px;

    margin-block: clamp(1rem, 1.5vw, 1.2rem);

    background-color: var(--primary-color);
    border-radius: 999px;
}

/* Основні абзаци */
.founder-description {
    max-width: 38rem;
    margin: 0;

    color: var(--secondary-text-color);

    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    line-height: 1.75;
}

.founder-description + .founder-description {
    margin-top: 1rem;
}

/* Цитата */

.founder-quote {
    position: relative;

    width: 100%;
    margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    padding: 1.2rem 1.4rem 1.2rem 1.6rem;

    background-color: rgba(47, 132, 60, 0.07);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 0.8rem 0.8rem 0;
}

.founder-quote p {
    margin: 0;

    color: var(--primary-color);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.4;
}

/* Посилання внизу */
.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding-top: 2rem;

    color: var(--primary-color);

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        gap var(--transition),
        opacity var(--transition);
}

.founder-link:hover {
    gap: 0.9rem;
    opacity: 0.75;
}

/* Для планшета і телефона */

@media (max-width: 64rem) {

    .founder-content {
        padding: 2.25rem;
    }

    .founder-lead {
        font-size: 1.15rem;
    }
}



@media (max-width: 48rem) {

    .founder-content {
        padding: 1.75rem;
    }

    .founder-content h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .founder-lead {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .founder-description {
        font-size: 1rem;
    }

    .founder-quote {
        padding: 1rem 1.2rem;
    }

    .founder-link {
        margin-top: 0;
        padding-top: 1.75rem;
    }

}


/* ===========================
   HOME HISTORY CARD
=========================== */

.history-card {
    position: relative;

    padding: clamp(2rem, 3vw, 3rem);

    overflow: hidden;

    background-color: var(--soft-background-color);
    border-radius: var(--border-radius);
}

.history-card-heading {
    margin-bottom: 2rem;
}

.history-card-heading .section-label {
    display: block;
    margin-bottom: 0.5rem;

    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.history-card-heading h2 {
    margin: 0;

    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
}


.timeline {
    margin: 0;
    padding: 0;

    list-style: none;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;

    padding-bottom: 24px;
}

.timeline-item time {
    font-weight: 700;
    color: var(--primary-color);
}


.timeline-item p {
    margin: 0;

    color: var(--secondary-text-color);
    line-height: 1.6;
}


.history-link {
    display: inline-block;

    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;

    transition: var(--transition);
}

.history-link:hover {
    color: var(--primary-hover-color);
    transform: translateX(6px);
}





/* sam kompaktnyi timeline */

.home-timeline {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 1.8rem;

    margin: 0;
    padding: 0;

    list-style: none;
    margin-top: 0.25rem;
}

/* vertykalna liniia */
.home-timeline::before {
    content: "";

    position: absolute;
    top: 1.8rem;
    bottom: 1.8rem;
    left: 5.9rem;

    width: 2px;

    background-color: var(--primary-color);

    opacity: 0.35;
}


/* one ryadok timeline */

.home-timeline-item {
    position: relative;

    display: grid;
    grid-template-columns:
        5rem
        1.8rem
        minmax(0, 1fr);

    align-items: center;
    min-height: 4.5rem;
}


/* year and lystok */
.home-timeline-year {
    position: relative;

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

    min-height: 4.5rem;

    isolation: isolate;
}

.home-timeline-year time {
    position: relative;
    z-index: 2;

    color: var(--primary-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1;
}

/* lystochok under year */
.home-timeline-leaf {
    position: absolute;
    z-index: 1;

    top: 50%;
    left: 50%;

    width: 5.8rem;
    height: auto;

    opacity: 0.22;

    pointer-events: none;
    user-select: none;

    filter:
        brightness(0)
        saturate(100%)
        invert(36%)
        sepia(35%)
        saturate(950%)
        hue-rotate(78deg)
        brightness(85%)
        contrast(90%);
}

/* звичайний напрям і в іншу сторону */
.leaf-normal {
    transform:
        translate(-50%, -50%)
        rotate(-12deg);
}

.leaf-reversed {
    transform:
        translate(-50%, -50%)
        scaleX(-1)
        rotate(-12deg);
}


/* tochka on line */

.home-timeline-marker {
    position: relative;
    z-index: 2;

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

    width: 1.8rem;
    height: 1.8rem;
}

.home-timeline-marker::before {
    content: "";

    width: 0.9rem;
    height: 0.9rem;

    background-color: var(--soft-background-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;

    box-shadow:
        0 0 0 0.25rem
        var(--soft-background-color);
}

.home-timeline-marker::after {
    content: "";

    position: absolute;

    width: 0.32rem;
    height: 0.32rem;

    background-color: var(--primary-color);
    border-radius: 50%;
}

/* text right */
.home-timeline-content {
    min-width: 0;
    padding-left: 1.2rem;
}

.home-timeline-content h3 {
    margin: 0 0 0.35rem;

    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.2;
}

.home-timeline-content p {
    margin: 0;

    color: var(--secondary-text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* posylanya under */
.history-link {
    display: inline-flex;

    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.history-link:hover {
    opacity: 0.75;
    transform: translateX(0.25rem);
}


/* adaptation for smaller screen */
@media (max-width: 64rem) {

    .home-timeline::before {
        left: 5.4rem;
    }

    .home-timeline-item {
        grid-template-columns:
            4.5rem
            1.8rem
            minmax(0, 1fr);
    }

    .home-timeline-leaf {
        width: 5rem;
    }

    .home-timeline-content {
        padding-left: 1rem;
    }
}

/* telephone */
@media (max-width: 48rem) {

    .history-card {
        padding: 1.5rem;
    }

    .home-timeline {
        gap: 2rem;
    }

    .home-timeline::before {
        left: 0.7rem;
    }

    .home-timeline-item {
        display: grid;
        grid-template-columns:
            1.4rem
            minmax(0, 1fr);

        align-items: start;
    }

    .home-timeline-year {
        grid-column: 1 / -1;

        justify-content: flex-start;

        min-height: 4rem;
        padding-left: 2.5rem;
    }

    .home-timeline-year time {
        font-size: 1.7rem;
    }

    .home-timeline-leaf {
        left: 4rem;
        width: 5rem;
    }

    .home-timeline-marker {
        grid-column: 1;
        grid-row: 2;

        width: 1.4rem;
        height: 1.4rem;
    }

    .home-timeline-content {
        grid-column: 2;
        grid-row: 2;

        padding-left: 1rem;
    }
}


/* ===========================
   PROJECTS
=========================== */


.projects {
    padding: 80px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0;

    font-size: 36px;
    color: var(--text-color);
}

.section-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;

    transition: var(--transition);
}

.section-link:hover {
    color: var(--primary-hover-color);
    transform: translateX(6px);
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    overflow: hidden;

    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);

    transition: var(--transition);
}

.project-card img {
    display: block;
    width: 100%;
    height: 220px;

    object-fit: cover;

    transition: var(--transition);
}


.project-card-content {
    padding: 24px;
}

.project-card-content h3 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 22px;
    color: var(--text-color);
}

.project-card-content p {
    margin-top: 0;
    margin-bottom: 24px;

    color: var(--secondary-text-color);
    line-height: 1.6;
}

.project-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.project-card:hover img {
    transform: scale(1.05);
}


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

.cta {
    margin-top: clamp(3rem, 6vw, 6rem);
}

.cta-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);

    min-height: clamp(10rem, 16vw, 13rem);

    padding:
        clamp(2rem, 4vw, 4rem)
        clamp(1.5rem, 5vw, 5rem);

    color: white;

    background:
        linear-gradient(
            to right,
            rgba(35, 102, 40, 0.98) 0%,
            rgba(35, 102, 40, 0.94) 48%,
            rgba(35, 102, 40, 0.55) 72%,
            rgba(35, 102, 40, 0.15) 100%
        ),
        url("../images/cta-hands.jpg") right center / cover no-repeat;
}

.cta-icon {
    display: grid;
    place-items: center;

    width: clamp(4rem, 7vw, 6rem);
    aspect-ratio: 1;

    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
}

.cta-content {
    max-width: 46ch;
}

.cta-content h2 {
    margin: 0 0 0.75rem;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
}

.cta-content p {
    margin: 0;

    max-width: 44ch;

    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 1.2rem 1.45rem;

    color: var(--primary-color);
    background-color: white;

    border: 2px solid white;
    border-radius: 0.75rem;

    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.cta-button:hover {
    background-color: transparent;
    color: rgb(255, 255, 255);
    transform: translateY(-0.15rem);
}

/* ===========================
   FOOTER
=========================== */

.footer {
    padding-block:
        clamp(3rem, 6vw, 5rem)
        clamp(1.5rem, 3vw, 2rem);

    background-color: #1d1d1d;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(10rem, 0.7fr)
        minmax(14rem, 1fr);

    gap: clamp(2.5rem, 6vw, 7rem);

    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    color: white;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo img {
    width: clamp(3.5rem, 5vw, 4.5rem);
    height: auto;
}

.footer-logo span {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}

.footer-logo strong {
    color: #dcefd8;
    font-size: 1.05rem;
}


.footer-about > p {
    max-width: 34ch;
    margin:
        clamp(1.25rem, 2vw, 1.75rem)
        0
        0;

    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.footer-navigation h2,
.footer-contacts h2 {
    margin: 0 0 1.25rem;

    font-size: 1.1rem;
    color: white;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-navigation a,
.footer-contacts a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;

    transition: var(--transition);
}

.footer-navigation a:hover,
.footer-contacts a:hover,
.footer-bottom a:hover {
    color: white;
}



.footer-contacts address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;

    font-style: normal;
}

.footer-contacts p {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;

    padding-top: clamp(1.25rem, 2vw, 1.75rem);

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.footer-bottom a {
    font-size: 0.9rem;
}

/* social media*/

.footer-socials {
    display: flex;
    gap: 0.75rem;

    margin-top: 1.5rem;
}


.footer-socials a {
    display: grid;
    place-items: center;

    width: 2.5rem;
    aspect-ratio: 1;

    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    text-decoration: none;

    transition:
        background-color var(--transition),
        border-color var(--transition);
}


.footer-socials a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}



.footer-socials svg {
    width: 1.15rem;
    height: 1.15rem;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-socials a:first-child svg {
    fill: currentColor;
    stroke: none;
}

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

/*Planshet*/

/* ===========================
   TABLET
=========================== */

@media (max-width: 48rem) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        min-height: 5rem;
    }

    .header-logo img {
        width: 3.5rem;
    }

    .header-logo-text {
        font-size: 0.8rem;
    }

    .header-logo-text strong {
        font-size: 0.95rem;
    }

    .header-navigation,
    .header-button {
        display: none;
    }
}


@media (max-width: 48rem) {
    .hero-inner {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .hero-inner::before {
        display: none;
    }

    .hero-content {
        width: 100%;

        padding:
            clamp(2.5rem, 8vw, 4rem)
            0
            clamp(2rem, 6vw, 3rem);
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center;
        border-radius: 24px;
    }
}


@media (max-width: 48rem) {
    .hero-content h1 {
        max-width: 12ch;

        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 1;
    }

    .hero-content > p {
        max-width: 36ch;

        font-size: 1rem;
        line-height: 1.65;
    }
}

@media (max-width: 48rem) {
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;

        text-align: center;
    }
}

@media (max-width: 48rem) {
    .stats {
        margin-top: 0;
        padding-block: 2rem 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card strong {
        font-size: 1.5rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }
}


@media (max-width: 48rem) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .founder-card {
        min-height: auto;
    }

    .founder-card img {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .founder-content{
        padding: clamp(1.5rem, 6vw, 2.5rem);
    }
}


@media (max-width: 48rem) {
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}


@media (max-width: 48rem) {
    .cta-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;

        min-height: auto;

        padding: 2rem;

        background-position: center;
    }

    .cta-icon {
        width: 3.5rem;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .cta-content p {
        max-width: 32ch;
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;

        text-align: center;
    }
}


@media (max-width: 48rem) {
    .footer {
        padding-block: 3rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*Desktop*/
.menu-toggle {
    display: none;
}

/*телефон*/
@media (max-width: 48rem) {
    .header-inner {
        position: relative;
    }

    .menu-toggle {
        display: block;

        padding: 0.75rem 1rem;

        font-size: 1.5rem;

        color: var(--primary-color);
        background-color: white;

        border: 1px solid var(--border-color);
        border-radius: 0.75rem;

        cursor: pointer;
    }

    .header-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;

        padding: 1rem;

        background-color: white;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    }

    .header-navigation.is-open {
        display: flex;
    }

    .header-navigation a {
        padding: 1rem;

        text-align: center;
        text-decoration: none;

        border-bottom: 1px solid var(--border-color);
    }

    .header-navigation a:last-child {
        border-bottom: none;
    }

    .header-button {
        display: none;
    }
}



/* Animacia burger-icon*/
.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(0.45rem) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-0.45rem) rotate(-45deg);
}


/* ===========================
   REVEAL ANIMATION
=========================== */

.reveal {
    opacity: 0;
    transform: translateY(2rem);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}









/* ==================================================
   ГОЛОВНИЙ HERO-СЛАЙДЕР
================================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    background-color: #1d3b23;
}


/* Контейнер зі слайдами */

.hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}


/* Один слайд */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* Активний слайд */

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}


/* Фотографія */

.hero-slide__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transform: scale(1);
    transition: transform 6s ease;
}


/*
Під час показу фотографія дуже повільно
зменшується до звичайного розміру.
Це створює легкий ефект руху.
*/

.hero-slide.active .hero-slide__image {
    transform: scale(1);
}


/* Затемнення поверх фотографії */

.hero-slide__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 15%,
            rgba(0, 0, 0, 0.15) 45%,
            rgba(0, 0, 0, 0.76) 100%
        );
}


/* Текстова картка на фотографії */

.hero-slide__content {
    position: absolute;
    z-index: 2;

    left: 48px;
    right: 48px;
    bottom: 58px;

    max-width: 570px;

    color: #ffffff;

    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.65s ease 0.2s,
        transform 0.65s ease 0.2s;
}


/* Поява тексту активного слайда */

.hero-slide.active .hero-slide__content {
    opacity: 1;
    transform: translateY(0);
}


/* Маленький зелений напис */

.hero-slide__label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;
    padding: 8px 14px;

    border-radius: 50px;

    background-color: rgba(255, 255, 255, 0.92);
    color: #2d8238;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.03em;
}


/* Заголовок на слайді */

.hero-slide__title {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700;
    line-height: 1.08;
}


/* Опис */

.hero-slide__description {
    max-width: 520px;
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 17px;
    line-height: 1.55;
}


/* Посилання-кнопка */

.hero-slide__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 11px 22px;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);

    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.hero-slide__link:hover {
    color: #257732;
    background-color: #ffffff;
    transform: translateY(-2px);
}


/* ==================================================
   СТРІЛКИ
================================================== */

.hero-slider__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;

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

    width: 46px;
    height: 46px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;

    color: #ffffff;
    background-color: rgba(20, 50, 25, 0.28);

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}


.hero-slider__arrow:hover {
    background-color: rgba(45, 130, 56, 0.92);
}


.hero-slider__arrow:active {
    transform: translateY(-50%) scale(0.94);
}


.hero-slider__arrow--previous {
    left: 20px;
}


.hero-slider__arrow--next {
    right: 20px;
}


/* ==================================================
   КРАПКИ
================================================== */

.hero-slider__dots {
    position: absolute;
    z-index: 5;

    right: 30px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 9px;
}


.hero-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        background-color 0.3s ease;
}


.hero-slider__dot:hover {
    background-color: rgba(255, 255, 255, 0.85);
}


.hero-slider__dot.active {
    width: 28px;
    border-radius: 20px;
    background-color: #ffffff;
}


/* ==================================================
   ФОКУС ДЛЯ КЛАВІАТУРИ
================================================== */

.hero-slider__arrow:focus-visible,
.hero-slider__dot:focus-visible,
.hero-slide__link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}








/* ==================================================
   HERO-СЛАЙДЕР: ПЛАНШЕТИ
================================================== */

@media (max-width: 1100px) {
    .hero-slider {
        width: 100%;
        height: 520px;
        min-height: 520px;
    }

    .hero-slider__track {
        width: 100%;
        height: 100%;
    }

    .hero-slide {
        width: 100%;
        height: 100%;
    }

    .hero-slide__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-slide__content {
        left: 32px;
        right: 32px;
        bottom: 54px;
    }

    .hero-slide__description {
        font-size: 16px;
    }

    .hero-slider__arrow {
        width: 42px;
        height: 42px;
    }

    .hero-slider__arrow--previous {
        left: 14px;
    }

    .hero-slider__arrow--next {
        right: 14px;
    }
}


/* ==================================================
   HERO-СЛАЙДЕР: МОБІЛЬНІ
================================================== */

@media (max-width: 768px) {
    .hero-slider {
        position: relative;

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

        overflow: hidden;
    }

    .hero-slider__track {
        position: relative;

        width: 100%;
        height: 100%;
    }

    .hero-slide {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;
    }

    .hero-slide__image {
        display: block;
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        opacity: 1;
        visibility: visible;
    }

    .hero-slide__overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .hero-slide__content {
        z-index: 2;

        left: 22px;
        right: 22px;
        bottom: 72px;
    }

    .hero-slide__title {
        font-size: clamp(27px, 8vw, 38px);
    }

    .hero-slide__description {
        display: -webkit-box;
        overflow: hidden;

        margin-bottom: 16px;

        font-size: 15px;
        line-height: 1.5;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .hero-slider__arrow {
        top: auto;
        bottom: 18px;

        width: 38px;
        height: 38px;

        font-size: 20px;

        transform: none;
    }

    .hero-slider__arrow:hover {
        transform: none;
    }

    .hero-slider__arrow:active {
        transform: scale(0.94);
    }

    .hero-slider__arrow--previous {
        left: 20px;
    }

    .hero-slider__arrow--next {
        right: 20px;
    }

    .hero-slider__dots {
        right: 50%;
        bottom: 32px;

        transform: translateX(50%);
    }
}

/* ==================================================
   ДУЖЕ МАЛІ ЕКРАНИ
================================================== */

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
        min-height: 450px;
    }

    .hero-slide__content {
        left: 18px;
        right: 18px;
        bottom: 72px;
    }

    .hero-slide__label {
        margin-bottom: 10px;
        padding: 7px 11px;

        font-size: 12px;
    }

    .hero-slide__title {
        margin-bottom: 9px;
        font-size: 27px;
    }

    .hero-slide__description {
        margin-bottom: 16px;

        font-size: 14px;
        line-height: 1.45;
    }

    .hero-slide__link {
        min-height: 42px;
        padding: 9px 17px;

        font-size: 14px;
    }
}

/* ==================================================
   МЕНШЕ АНІМАЦІЙ ДЛЯ КОРИСТУВАЧІВ,
   ЯКІ ВИМКНУЛИ РУХ У СИСТЕМІ
================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide__image,
    .hero-slide__content,
    .hero-slider__dot {
        transition: none;
    }

    .hero-slide__image {
        transform: none;
    }
}





/* ===========================
   FOUNDER CARD FINAL TUNING
=========================== */

.founder-content {
    padding: clamp(2rem, 2.4vw, 2.6rem);
}

.founder-label,
.history-card-heading .section-label {
    margin-bottom: 0.55rem;

    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.15em;
}

.founder-content h2,
.history-card-heading h2 {
    font-size: clamp(2.5rem, 3vw, 3.2rem);
    line-height: 0.95;
}

.founder-content h2 {
    margin-bottom: 1.6rem;
}

.history-card-heading {
    margin-bottom: 1.6rem;
}

.founder-lead {
    max-width: 31rem;

    font-size: clamp(1.05rem, 1.1vw, 1.15rem);
    line-height: 1.6;
}

.founder-divider {
    width: 3.8rem;
    margin-block: 1.25rem;
}

.founder-description {
    max-width: 34rem;

    font-size: 0.93rem;
    line-height: 1.65;
}

.founder-description + .founder-description {
    margin-top: 0.75rem;
}

.founder-quote {
    margin-top: 1.2rem;
    padding: 0.9rem 1.1rem;
}

.founder-quote p {
    font-size: 1.15rem;
    line-height: 1.3;
}

.founder-link {
    margin-top: 1rem;
}

/* ===========================
   ALIGN CARD LINKS
=========================== */

.founder-content,
.history-card {
    display: flex;
    flex-direction: column;
}

.founder-link,
.history-link {
    margin-top: auto;
    padding-top: 1.5rem;
}


/* ===========================
   PROJECTS PREVIEW
=========================== */

.projects-preview {
    padding-block: clamp(4rem, 7vw, 7rem);
}

.projects-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;

    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.projects-heading h2 {
    margin: 0;

    font-size: clamp(2.7rem, 4vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.projects-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    flex-shrink: 0;

    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        gap var(--transition),
        opacity var(--transition);
}

.projects-all-link:hover {
    gap: 0.85rem;
    opacity: 0.75;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    align-items: stretch;
    gap: 1.25rem;
}

.project-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    overflow: hidden;

    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-0.35rem);

    border-color: rgba(47, 132, 60, 0.35);

    box-shadow:
        0 1.4rem 3rem
        rgba(25, 65, 35, 0.08);
}


.project-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 2.55;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}






.project-card:nth-child(1) .project-image img {
    object-position: center;
}

.project-card:nth-child(2) .project-image img {
    object-position: center;
}

.project-card:nth-child(3) .project-image img {
    object-position: center 35%;
}

.project-card:nth-child(4) .project-image img {
    object-position: center;
}




.project-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    min-width: 0;
    padding: 1.35rem 1.35rem 1.4rem;
}




.project-category {
    display: block;

    margin-bottom: 0.65rem;

    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}




.project-content h3 {
    min-height: 2.5em;
    margin: 0 0 0.75rem;

    font-size: clamp(1.2rem, 1.45vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}


.project-content p {
    margin: 0;

    color: var(--secondary-text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}





.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: auto;
    padding-top: 1.4rem;

    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        gap var(--transition),
        opacity var(--transition);
}

.project-link:hover {
    gap: 0.8rem;
    opacity: 0.75;
}




/* ===========================
   PARTNERS SECTION
=========================== */

.partners-section {
    padding-block: clamp(2rem, 2vw, 5rem);
    overflow: hidden;
    background-color: #ffffff;
}

.partners-heading {
    max-width: 68rem;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    text-align: left;
}

.partners-heading .section-label {
    display: block;
    margin-bottom: 0.7rem;

    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.partners-heading h2 {
    margin: 0 0 1.25rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.partners-heading p {
    max-width: 42rem;
    margin: 0;

    color: var(--secondary-text-color);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}


.partners-description {
    display: inline-block;

    max-width: 42rem;

    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;

    background: linear-gradient(
        135deg,
        #2f7d32,
        #3d8f40
    );

    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(46, 125, 50, .18);
}

.partners-description p {
    margin: 0;

    color: #fff;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===========================
   MOVING LINE
=========================== */

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-block: 1rem;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";

    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;

    width: clamp(3rem, 8vw, 9rem);

    pointer-events: none;
}

.partners-marquee::before {
    left: 0;

    background: linear-gradient(
        to right,
        #ffffff 0%,
        rgba(255, 255, 255, 0.85) 45%,
        transparent 100%
    );
}

.partners-marquee::after {
    right: 0;

    background: linear-gradient(
        to left,
        #ffffff 0%,
        rgba(255, 255, 255, 0.85) 45%,
        transparent 100%
    );
}

.partners-track {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);

    width: max-content;

    animation: partners-scroll 70s linear infinite;
    will-change: transform;
}


/* ===========================
   PARTNER LOGO
=========================== */

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: clamp(11rem, 14vw, 15rem);
    height: clamp(6.5rem, 8vw, 8rem);

    padding: 0;

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

    text-decoration: none;
}

.partner-logo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter: none;
    opacity: 1;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}


/* ===========================
   ANIMATION
=========================== */

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* telephone */

@media (max-width: 48rem) {

    .partners-section {
        padding-block: 4rem;
    }

    .partners-heading {
        margin-bottom: 2.5rem;
        padding-inline: 1rem;
    }

    .partners-track {
        gap: 2.5rem;
        animation-duration: 55s;
    }

    .partner-logo {
        width: 7.5rem;
        height: 4.5rem;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 2.5rem;
    }
}


/* ===========================
   PROJECTS: MOBILE FIX
=========================== */

@media (max-width: 48rem) {

    .projects-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .project-card {
        width: 100%;
        min-width: 0;
    }

    .project-image {
        aspect-ratio: 16 / 9;
    }

    .project-content {
        padding: 1.25rem;
    }

    .project-content h3 {
        min-height: auto;

        font-size: 1.45rem;
        line-height: 1.2;
    }

    .project-content p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .project-category {
        font-size: 0.7rem;
    }

    .project-link {
        margin-top: 1.25rem;
        padding-top: 0;
    }
}

/* =========================================================
   HOME PAGE — SCRAPBOOK REDESIGN
   ДОДАТИ В САМИЙ КІНЕЦЬ style.css
========================================================= */

:root {
    --home-green: #257438;
    --home-green-dark: #124b27;
    --home-green-deep: #0c3b20;

    --home-paper: #faf6ec;
    --home-paper-light: #fffdf7;
    --home-paper-dark: #eee5d2;

    --home-ink: #20231f;
    --home-muted: #62675f;

    --home-border: rgba(42, 97, 49, 0.13);

    --home-shadow:
        0 1.4rem 3.5rem
        rgba(35, 45, 32, 0.10);
}


/* =========================================================
   HERO — ОСНОВА
========================================================= */

.hero-scrapbook {
    position: relative;

    overflow: hidden;

    border: none;

    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(61, 120, 68, 0.06),
            transparent 25%
        ),
        radial-gradient(
            circle at 38% 88%,
            rgba(211, 219, 147, 0.17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7f2e7 0%,
            #fffaf2 52%,
            #f2efe4 100%
        );
}


.hero-scrapbook .container {
    max-width: none;
    width: 100%;

    padding-left: 0;
    padding-right: 0;
}


.hero-scrapbook .hero-inner {
    min-height: clamp(610px, 47vw, 760px);

    display: grid;

    grid-template-columns:
        minmax(430px, 40%)
        minmax(0, 60%);

    align-items: stretch;

    border: none;

    background: transparent;
}


/* =========================================================
   HERO — ЛІВА ЧАСТИНА
========================================================= */

.hero-scrapbook .hero-content {
    position: relative;

    z-index: 5;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(65px, 6vw, 100px)
        clamp(55px, 5vw, 90px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 22%,
            rgba(184, 205, 137, 0.13),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            rgba(250, 246, 236, 0.98),
            rgba(255, 252, 244, 0.98)
        );
}


/* рукописний напис */

.hero-handwritten {
    position: relative;

    width: fit-content;

    margin:
        0
        0
        18px
        18px;

    color: #285f35;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size:
        clamp(17px, 1.35vw, 23px);

    line-height: 1.35;

    transform: rotate(-3deg);
}


.hero-handwritten::after {
    content: "♡";

    position: absolute;

    right: -38px;
    top: 8px;

    font-size: 27px;

    transform: rotate(9deg);
}


/* заголовок */

.hero-scrapbook .hero-content h1 {
    position: relative;

    max-width: 8.5ch;

    margin: 0;

    color: var(--home-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(62px, 85px, 100px);

    font-weight: 700;

    line-height: 0.88;

    letter-spacing: -0.065em;
}


.hero-scrapbook .hero-content h1 span {
    display: block;

    margin-top: 0.08em;

    color: var(--home-green);

    font-style: normal;
}


/* зелена ручна лінія */

.hero-title-underline {
    width: min(390px, 88%);
    height: 20px;

    margin:
        2px
        0
        27px
        12px;

    border-top:
        2px solid
        rgba(28, 94, 43, 0.78);

    border-radius: 50%;

    transform:
        rotate(-1.4deg)
        skewX(-8deg);
}


/* опис */

.hero-scrapbook .hero-description {
    max-width: 39ch;

    margin: 0;

    color: #50564f;

    font-size:
        clamp(15px, 1.05vw, 18px);

    line-height: 1.72;
}


/* =========================================================
   HERO — КНОПКИ
========================================================= */

.hero-scrapbook .hero-buttons {
    position: relative;

    z-index: 5;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 30px;
}


.hero-scrapbook .primary-button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding:
        0
        28px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #1e6a32,
            #2b823f
        );

    border:
        1px solid
        transparent;

    border-radius: 999px;

    box-shadow:
        0 10px 24px
        rgba(29, 102, 46, 0.14);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.hero-scrapbook .primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(29, 102, 46, 0.19);
}


.hero-scrapbook .secondary-button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    padding:
        0
        28px;

    color: #276b36;

    background:
        rgba(255, 255, 255, 0.45);

    border:
        1.5px solid
        #28743a;

    border-radius: 999px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.hero-scrapbook .secondary-button:hover {
    background:
        rgba(234, 242, 224, 0.85);

    transform: translateY(-2px);
}


/* =========================================================
   HERO — ЛИСТЯ
========================================================= */

.hero-leaf-decoration {
    position: absolute;

    left: -13px;
    bottom: -24px;

    width: 145px;

    color:
        rgba(34, 96, 46, 0.68);

    pointer-events: none;
}


.hero-leaf-decoration svg {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   HERO — РУКОПИСНА СТРІЛКА
========================================================= */

.hero-doodle-arrow {
    position: absolute;

    right: -5px;
    bottom: 36px;

    width:
        clamp(180px, 17vw, 280px);

    height: 90px;

    color:
        rgba(31, 93, 44, 0.72);

    pointer-events: none;
}


.hero-doodle-arrow svg {
    width: 100%;
    height: 100%;
}


/* =========================================================
   HERO — СЛАЙДЕР
========================================================= */

.hero-scrapbook .hero-slider {
    position: relative;

    min-width: 0;
    min-height: 100%;

    overflow: hidden;

    background: #183e24;
}


.hero-scrapbook .hero-slider__track {
    height: 100%;
}


.hero-scrapbook .hero-slide {
    height: 100%;
    min-height: clamp(610px, 47vw, 760px);
}


.hero-scrapbook .hero-slide__image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* темніше знизу, але без надмірного затемнення */

.hero-scrapbook .hero-slide__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 23, 10, 0.03) 20%,
            rgba(5, 23, 11, 0.13) 48%,
            rgba(5, 25, 12, 0.82) 100%
        );
}


/* текст слайда */

.hero-scrapbook .hero-slide__content {
    position: absolute;

    left: clamp(38px, 4vw, 68px);
    right: clamp(38px, 5vw, 80px);
    bottom: clamp(56px, 5vw, 78px);

    z-index: 3;

    max-width: 590px;
}


.hero-scrapbook .hero-slide__label {
    display: inline-flex;

    margin-bottom: 14px;

    padding:
        8px
        16px;

    color: #26713a;

    background:
        rgba(255, 255, 255, 0.94);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.04em;
}


.hero-scrapbook .hero-slide__title {
    max-width: 14ch;

    margin:
        0
        0
        14px;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(34px, 3.4vw, 56px);

    line-height: 0.96;

    letter-spacing: -0.035em;
}


.hero-scrapbook .hero-slide__description {
    max-width: 48ch;

    color:
        rgba(255, 255, 255, 0.83);

    font-size: 14px;

    line-height: 1.6;
}


.hero-scrapbook .hero-slide__link {
    display: inline-flex;

    margin-top: 17px;

    padding:
        12px
        20px;

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 999px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.hero-scrapbook .hero-slide__link:hover {
    color: #1d6330;

    background: #fff;
}


/* стрілки */

.hero-scrapbook .hero-slider__arrow {
    width: 45px;
    height: 45px;

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

    color: white;

    background:
        rgba(17, 51, 26, 0.45);

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    backdrop-filter: blur(8px);
}


/* =========================================================
   HERO — НАКЛЕЙКА
========================================================= */

.hero-slider-note {
    position: absolute;

    z-index: 8;

    right: -1px;
    top: 4%;

    width: 205px;

    padding:
        18px
        20px;

    color: #2d6038;

    background:
        #f2e6c9;

    box-shadow:
        0 16px 35px
        rgba(42, 46, 34, 0.13);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: 24px;

    line-height: 1.45;

    transform: rotate(4deg);
}


.hero-slider-note::before {
    content: "";

    position: absolute;

    width: 66px;
    height: 14px;

    top: -7px;
    left: 50%;

    transform:
        translateX(-50%)
        rotate(-4deg);

    background:
        rgba(222, 201, 160, 0.85);
}


.hero-slider-note span {
    display: block;

    font-size: 27px;
}


/* =========================================================
   СТАТИСТИКА
   НЕ ПЕРЕБУДОВУЄМО, ЛИШЕ ТРОХИ ЗВ'ЯЗУЄМО З НОВИМ СТИЛЕМ
========================================================= */

.hero-scrapbook + .stats {
    position: relative;

    z-index: 4;

    background:
        linear-gradient(
            180deg,
            #f5f3eb,
            #faf9f5
        );
}


.hero-scrapbook + .stats .stats-grid {
    margin-top: -18px;
}


/* =========================================================
   PROJECTS — SCRAPBOOK SECTION
========================================================= */

.home-projects-scrapbook {
    position: relative;

    padding:
        clamp(70px, 7vw, 110px)
        0
        clamp(55px, 6vw, 90px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 50%,
            rgba(55, 118, 64, 0.07),
            transparent 18%
        ),
        linear-gradient(
            180deg,
            #fbf8ef,
            #f7f3e9
        );
}


.home-projects-scrapbook::before,
.home-projects-scrapbook::after {
    content: "";

    position: absolute;

    width: 140px;
    height: 220px;

    opacity: 0.35;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 55%,
            rgba(34, 100, 49, 0.2) 57%,
            transparent 60%
        );
}


.home-projects-scrapbook::before {
    left: -70px;
    top: 33%;
}


.home-projects-scrapbook::after {
    right: -70px;
    top: 20%;
}


/* =========================================================
   PROJECTS — HEADING
========================================================= */

.home-projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 30px;
}


.home-projects-heading-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap:
        16px
        30px;
}


.home-projects-heading h2 {
    margin: 0;

    color: var(--home-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(34px, 3.2vw, 52px);

    letter-spacing: -0.04em;
}


.home-projects-script {
    margin: 0;

    color: #2c6d38;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size:
        clamp(15px, 1.2vw, 20px);

    transform: rotate(-2deg);
}


/* =========================================================
   PROJECT CARDS
========================================================= */

.home-projects-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        clamp(14px, 1.5vw, 24px);
}


.home-project-card {
    position: relative;

    min-height:
        clamp(330px, 29vw, 430px);

    overflow: hidden;

    border:
        1px solid
        rgba(43, 92, 46, 0.12);

    border-radius: 22px;

    background: #183e24;

    box-shadow:
        0 14px 34px
        rgba(37, 46, 34, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.home-project-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 22px 45px
        rgba(37, 46, 34, 0.14);
}


.home-project-card .project-image {
    position: absolute;
    inset: 0;

    height: 100%;

    overflow: hidden;
}


.home-project-card .project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.home-project-card:hover .project-image img {
    transform: scale(1.045);
}


.home-project-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(6, 27, 13, 0.16) 15%,
            rgba(5, 24, 11, 0.28) 45%,
            rgba(5, 26, 12, 0.92) 100%
        );
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.home-project-content {
    position: relative;

    z-index: 3;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding:
        24px
        23px
        24px;

    color: #fff;
}


.home-project-icon {
    position: absolute;

    top: 20px;
    left: 20px;

    width: 46px;
    height: 46px;

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

    color: #286f38;

    background:
        rgba(255, 255, 255, 0.94);

    border-radius: 50%;

    font-size: 21px;

    box-shadow:
        0 7px 18px
        rgba(16, 35, 20, 0.1);
}


.home-project-card .project-category {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.home-project-card h3 {
    max-width: 12ch;

    margin: 0;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(25px, 2vw, 34px);

    line-height: 0.98;

    letter-spacing: -0.03em;
}


.home-project-card p {
    max-width: 27ch;

    margin:
        12px
        55px
        0
        0;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 12px;

    line-height: 1.5;
}


.home-project-arrow {
    position: absolute;

    right: 20px;
    bottom: 20px;

    width: 43px;
    height: 43px;

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

    color: #fff;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    font-size: 22px;

    text-decoration: none;

    backdrop-filter: blur(4px);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.home-project-arrow:hover {
    color: #225f31;

    background: white;

    transform: translateX(3px);
}


/* =========================================================
   TOGETHER — GREEN SCRAPBOOK STRIP
========================================================= */

.home-together {
    position: relative;

    padding:
        12px
        0
        45px;

    overflow: hidden;

    background:
        #f7f3e9;
}


.home-together-paper {
    position: relative;

    min-height:
        clamp(265px, 24vw, 355px);

    display: grid;

    grid-template-columns:
        minmax(210px, 0.74fr)
        minmax(310px, 1.15fr)
        minmax(300px, 1fr)
        minmax(210px, 0.73fr);

    align-items: stretch;

    overflow: visible;

    color: #fff;

    background:
        radial-gradient(
            circle at 64% 40%,
            rgba(150, 188, 109, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0f4727,
            #0a3920 68%,
            #16522c
        );

    box-shadow:
        0 20px 50px
        rgba(24, 58, 30, 0.13);

    clip-path:
        polygon(
            0 3%,
            5% 1%,
            11% 2%,
            17% 0,
            24% 2%,
            31% 1%,
            38% 3%,
            46% 0,
            53% 2%,
            60% 1%,
            68% 3%,
            75% 0,
            83% 2%,
            90% 1%,
            100% 3%,
            99% 97%,
            91% 99%,
            82% 97%,
            74% 100%,
            65% 98%,
            56% 100%,
            46% 97%,
            37% 99%,
            27% 97%,
            17% 100%,
            8% 98%,
            0 100%
        );
}


/* =========================================================
   TOGETHER — PAPER NOTE
========================================================= */

.home-together-note {
    position: relative;

    z-index: 5;

    align-self: center;

    margin-left: 28px;

    padding:
        30px
        28px;

    color: #1f2820;

    background:
        linear-gradient(
            145deg,
            #f3ead8,
            #fff9eb
        );

    box-shadow:
        0 13px 30px
        rgba(13, 37, 20, 0.2);

    transform: rotate(-4deg);
}


.home-together-note::before,
.home-together-note::after {
    content: "";

    position: absolute;

    top: -10px;

    width: 50px;
    height: 18px;

    background:
        rgba(224, 200, 158, 0.8);
}


.home-together-note::before {
    left: 22px;

    transform: rotate(-8deg);
}


.home-together-note::after {
    right: 15px;

    transform: rotate(7deg);
}


.home-together-note > span {
    display: block;

    margin-bottom: 8px;

    font-size: 25px;
}


.home-together-note h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(31px, 2.8vw, 45px);

    line-height: 0.98;

    letter-spacing: -0.035em;
}


.home-together-note-line {
    width: 75%;

    height: 15px;

    margin-top: 12px;

    border-top:
        2px solid
        rgba(30, 73, 38, 0.8);

    border-radius: 50%;

    transform: rotate(-2deg);
}


/* =========================================================
   TOGETHER — ACTIONS
========================================================= */

.home-together-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-content: center;

    gap:
        28px
        24px;

    padding:
        30px;
}


.home-together-actions > div {
    text-align: center;

    color:
        rgba(255, 255, 255, 0.75);
}


.home-together-actions span {
    display: block;

    margin-bottom: 6px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 28px;
}


.home-together-actions p {
    margin: 0;

    font-size: 12px;
}


/* =========================================================
   TOGETHER — PHOTO
========================================================= */

.home-together-photo {
    position: relative;

    z-index: 4;

    align-self: stretch;

    margin:
        -14px
        -25px
        -15px;

    overflow: hidden;

    background: #eee1ca;

    transform: rotate(1.5deg);

    clip-path:
        polygon(
            5% 2%,
            97% 0,
            100% 9%,
            98% 19%,
            100% 29%,
            97% 40%,
            99% 51%,
            96% 62%,
            100% 73%,
            97% 84%,
            99% 96%,
            92% 100%,
            80% 98%,
            68% 100%,
            57% 97%,
            45% 100%,
            34% 97%,
            22% 100%,
            12% 96%,
            2% 98%,
            0 89%,
            3% 77%,
            0 65%,
            3% 53%,
            0 42%,
            3% 30%,
            0 18%
        );
}


.home-together-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        saturate(0.9)
        contrast(0.98);
}


.home-together-flag {
    position: absolute;

    top: 20px;
    left: 50%;

    padding:
        7px
        12px;

    background:
        #fff9e9;

    box-shadow:
        0 7px 17px
        rgba(36, 41, 29, 0.16);

    font-size: 29px;

    transform:
        translateX(-50%)
        rotate(-4deg);
}


/* =========================================================
   TOGETHER — JOIN
========================================================= */

.home-together-join {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 25px;

    padding:
        25px
        30px;
}


.home-together-join > p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.87);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size:
        clamp(19px, 1.8vw, 28px);

    line-height: 1.25;

    transform: rotate(-4deg);
}


.home-together-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    min-width: 185px;

    padding:
        15px
        22px;

    color: #1c6330;

    background: white;

    border-radius: 999px;

    box-shadow:
        0 10px 26px
        rgba(7, 25, 12, 0.17);

    font-size: 13px;
    font-weight: 700;

    text-align: center;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.home-together-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 32px
        rgba(7, 25, 12, 0.22);
}


.home-together-button span {
    font-size: 20px;
}


/* =========================================================
   PARTNERS
========================================================= */

.home-partners {
    position: relative;

    padding:
        clamp(40px, 5vw, 70px)
        0
        clamp(70px, 7vw, 105px);

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7f3e9,
            #fbf8f0
        );
}


.home-partners-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 35px;
}


.home-partners-heading h2 {
    margin:
        5px
        0
        0;

    color: var(--home-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(38px, 4.5vw, 68px);

    line-height: 0.94;

    letter-spacing: -0.05em;
}


.home-partners-script {
    margin:
        0
        5%;

    color: #2c7139;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size:
        clamp(22px, 2vw, 30px) !important;

    transform: rotate(-2deg);
}




/* =========================================================
   PARTNERS MARQUEE
========================================================= */

.home-partners-marquee {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding:
        22px
        80px;

    background:
        rgba(255, 255, 255, 0.35);

    border-top:
        1px solid
        rgba(42, 97, 49, 0.09);

    border-bottom:
        1px solid
        rgba(42, 97, 49, 0.09);
}


.home-partners-marquee .partners-track {
    display: flex;
    align-items: center;

    width: max-content;

    gap:
        clamp(60px, 7vw, 120px);

    animation:
        homePartnersMove
        55s
        linear
        infinite;
}


.home-partners-marquee:hover .partners-track {
    animation-play-state: paused;
}


@keyframes homePartnersMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


.home-partners-marquee .partner-logo {
    flex:
        0 0
        clamp(125px, 12vw, 180px);

    height: 90px;

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

    padding: 10px;

    background: transparent;
}


.home-partners-marquee .partner-logo img {
    max-width: 100%;
    max-height: 72px;

    object-fit: contain;

    filter:
        saturate(0.88)
        contrast(0.96);

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


.home-partners-marquee .partner-logo:hover img {
    transform: scale(1.07);

    filter:
        saturate(1)
        contrast(1);
}


/* =========================================================
   PARTNER ARROWS
========================================================= */

.home-partners-arrow {
    position: absolute;

    z-index: 7;

    top: 50%;

    width: 40px;
    height: 40px;

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

    color: #286c36;

    background:
        rgba(249, 247, 240, 0.92);

    border:
        1px solid
        rgba(37, 98, 47, 0.22);

    border-radius: 50%;

    font-size: 25px;

    cursor: pointer;

    transform: translateY(-50%);
}


.home-partners-arrow-left {
    left: 25px;
}


.home-partners-arrow-right {
    right: 25px;
}


/* =========================================================
   DESKTOP — TROХИ БІЛЬШИЙ HERO
========================================================= */

@media (min-width: 1500px) {

    .hero-scrapbook .hero-inner {
        grid-template-columns:
            39%
            61%;
    }


    .hero-scrapbook .hero-content {
        padding-left: 5vw;
    }


    .home-project-card {
        min-height: 430px;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .hero-scrapbook .hero-inner {
        grid-template-columns:
            minmax(390px, 43%)
            minmax(0, 57%);
    }


    .hero-scrapbook .hero-content h1 {
        font-size:
            clamp(54px, 6vw, 82px);
    }


    .hero-slider-note {
        display: none;
    }


    .home-projects-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .home-project-card {
        min-height: 390px;
    }


    .home-together-paper {
        grid-template-columns:
            minmax(190px, 0.7fr)
            minmax(260px, 1fr)
            minmax(270px, 1fr);
    }


    .home-together-join {
        grid-column:
            1
            / -1;

        flex-direction: row;

        justify-content: center;

        min-height: 130px;
    }


    .home-together-join > p {
        max-width: 200px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero-scrapbook .hero-inner {
        grid-template-columns: 1fr;
    }


    .hero-scrapbook .hero-content {
        min-height: 570px;

        padding:
            70px
            45px
            100px;
    }


    .hero-scrapbook .hero-slider {
        min-height: 600px;
    }


    .hero-scrapbook .hero-slide {
        min-height: 600px;
    }


    .hero-doodle-arrow {
        right: 25px;
    }


    .home-projects-heading,
    .home-partners-heading {
        align-items: flex-start;
        flex-direction: column;
    }


    .home-partners-script {
        margin-left: 0;
    }


    .home-together-paper {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        clip-path: none;

        border-radius: 30px;
    }


    .home-together-photo {
        min-height: 300px;

        margin: 0;

        transform: none;
    }


    .home-together-note {
        margin: 30px;

        align-self: center;
    }


    .home-together-join {
        grid-column:
            auto;

        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .hero-scrapbook .hero-content {
        min-height: 520px;

        padding:
            55px
            24px
            85px;
    }


    .hero-scrapbook .hero-content h1 {
        max-width: 8ch;

        font-size:
            clamp(48px, 10vw, 58px);
    }


    .hero-handwritten {
        margin-left: 7px;

        font-size: 15px;
    }


    .hero-leaf-decoration {
        width: 105px;
    }


    .hero-doodle-arrow {
        display: none;
    }


    .hero-scrapbook .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }


    .hero-scrapbook .primary-button,
    .hero-scrapbook .secondary-button {
        width: 100%;
    }


    .hero-scrapbook .hero-slider,
    .hero-scrapbook .hero-slide {
        min-height: 520px;
    }


    .hero-scrapbook .hero-slide__content {
        left: 24px;
        right: 24px;
        bottom: 45px;
    }


    .hero-scrapbook .hero-slide__title {
        font-size:
            clamp(31px, 9vw, 44px);
    }


    .home-projects-scrapbook {
        padding-top: 60px;
    }


    .home-projects-heading-left {
        align-items: flex-start;
        flex-direction: column;
    }


    .home-projects-grid {
        grid-template-columns: 1fr;
    }


    .home-project-card {
        min-height: 390px;
    }


    .home-together-paper {
        grid-template-columns: 1fr;

        padding:
            25px
            15px;

        border-radius: 24px;
    }


    .home-together-note {
        width:
            calc(100% - 30px);

        margin:
            15px
            auto;

        transform: rotate(-2deg);
    }


    .home-together-actions {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        padding:
            25px
            10px;

        gap: 10px;
    }


    .home-together-actions span {
        font-size: 22px;
    }


    .home-together-actions p {
        font-size: 9px;
    }


    .home-together-photo {
        min-height: 300px;

        clip-path:
            polygon(
                3% 0,
                97% 2%,
                100% 97%,
                4% 100%
            );
    }


    .home-together-join {
        padding:
            30px
            15px;
    }


    .home-partners-marquee {
        padding:
            16px
            48px;
    }


    .home-partners-marquee .partners-track {
        gap: 45px;
    }


    .home-partners-marquee .partner-logo {
        flex-basis: 120px;
    }


    .home-partners-arrow {
        width: 34px;
        height: 34px;
    }


    .home-partners-arrow-left {
        left: 7px;
    }


    .home-partners-arrow-right {
        right: 7px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .home-partners-marquee .partners-track {
        animation: none;
    }


    .home-project-card,
    .home-project-card .project-image img,
    .home-project-arrow,
    .home-together-button,
    .hero-scrapbook .primary-button,
    .hero-scrapbook .secondary-button {
        transition: none;
    }

}





/* =========================================================
   HOME PAGE — FINAL MOBILE VERSION
   ЗАМІНИТИ ПОПЕРЕДНІ МОБІЛЬНІ СТИЛІ
========================================================= */

@media (max-width: 768px) {

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

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-inline: auto;
        padding-left: 0;
        padding-right: 0;
    }

    img {
        max-width: 100%;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
        position: sticky;
        top: 0;

        z-index: 1000;

        background: rgba(255, 253, 248, 0.97);

        border-bottom: 1px solid rgba(37, 111, 52, 0.1);

        backdrop-filter: blur(12px);
    }

    .header .container {
        width: calc(100% - 24px);
    }

    .header-inner {
        min-height: 72px;

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

        gap: 12px;
    }

    .header-logo {
        min-width: 0;

        display: flex;
        align-items: center;

        gap: 8px;
    }

    .header-logo img {
        width: 46px;
        height: auto;
    }

    .header-logo-text {
        font-size: 11px;
        line-height: 1.15;
    }

    .header-logo-text strong {
        display: block;

        margin-top: 2px;

        font-size: 12px;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;

        flex-shrink: 0;

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

        padding: 0;

        color: #246b34;

        background: #f3f6ee;

        border: 1px solid rgba(38, 106, 51, 0.16);
        border-radius: 50%;

        font-size: 20px;
    }

    .header-navigation {
        position: fixed;

        top: 72px;
        left: 0;
        right: 0;

        z-index: 999;

        display: flex;
        flex-direction: column;

        padding: 14px 20px 22px;

        background: #fffdf8;

        border-bottom: 1px solid rgba(40, 99, 48, 0.12);

        box-shadow:
            0 18px 35px rgba(35, 44, 32, 0.1);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-20px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .header-navigation.is-open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .header-navigation a {
        width: 100%;

        padding: 14px 4px;

        font-size: 16px;

        border-bottom: 1px solid rgba(40, 99, 48, 0.08);
    }

    .header-navigation a:last-child {
        border-bottom: 0;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero-scrapbook {
        width: 100%;

        overflow: hidden;

        background:
            radial-gradient(
                circle at 88% 10%,
                rgba(188, 210, 142, 0.13),
                transparent 28%
            ),
            linear-gradient(
                145deg,
                #f8f2e7,
                #fffaf1
            );
    }

    .hero-scrapbook .container {
        width: 100%;
    }

    .hero-scrapbook .hero-inner {
        display: flex;
        flex-direction: column;

        width: 100%;
        min-height: 0;
    }


    /* -------------------------
       HERO TEXT
    ------------------------- */

    .hero-scrapbook .hero-content {
        position: relative;

        width: 100%;

        min-height: auto;

        padding:
            52px
            24px
            62px;

        overflow: hidden;
    }

    .hero-handwritten {
        width: fit-content;

        margin:
            0
            0
            22px;

        color: #245f32;

        font-size: 16px;

        line-height: 1.45;

        transform: rotate(-3deg);
    }

    .hero-handwritten::after {
        right: -30px;
        top: 4px;

        font-size: 23px;
    }

    .hero-scrapbook .hero-content h1 {
        width: 100%;
        max-width: none;

        margin: 0;

        font-size: clamp(50px, 13.5vw, 60px);

        line-height: 0.88;

        letter-spacing: -0.055em;
    }

    .hero-scrapbook .hero-content h1 span {
        display: block;

        width: 100%;

        margin-top: 9px;

        font-size: 0.72em;

        line-height: 0.96;

        letter-spacing: -0.04em;

        white-space: normal;
    }

    .hero-title-underline {
        width: 84%;
        max-width: 310px;

        height: 14px;

        margin:
            7px
            0
            24px
            4px;
    }

    .hero-scrapbook .hero-description {
        max-width: 30ch;

        margin: 0;

        color: #555b53;

        font-size: 16px;

        line-height: 1.65;
    }


    /* -------------------------
       HERO BUTTONS
    ------------------------- */

    .hero-scrapbook .hero-buttons {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 12px;

        margin-top: 28px;
    }

    .hero-scrapbook .primary-button,
    .hero-scrapbook .secondary-button {
        width: 100%;

        min-height: 54px;

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

        padding:
            0
            22px;

        font-size: 15px;

        border-radius: 999px;
    }

    .hero-leaf-decoration {
        left: -24px;
        bottom: -35px;

        width: 105px;

        opacity: 0.42;
    }

    .hero-doodle-arrow {
        display: none;
    }


    /* =====================================================
       HERO SLIDER
    ===================================================== */

    .hero-scrapbook .hero-slider {
        position: relative;

        width: calc(100% - 20px);

        min-height: 430px;

        margin:
            -20px
            auto
            0;

        overflow: hidden;

        border-radius:
            24px
            24px
            0
            0;

        box-shadow:
            0 16px 34px rgba(31, 52, 32, 0.13);
    }

    .hero-scrapbook .hero-slider__track,
    .hero-scrapbook .hero-slide {
        min-height: 430px;
        height: 430px;
    }

    .hero-scrapbook .hero-slide__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .hero-scrapbook .hero-slide__overlay {
        background:
            linear-gradient(
                180deg,
                transparent 20%,
                rgba(4, 22, 10, 0.12) 46%,
                rgba(4, 23, 10, 0.88) 100%
            );
    }

    .hero-scrapbook .hero-slide__content {
        left: 20px;
        right: 20px;
        bottom: 38px;

        max-width: none;
    }

    .hero-scrapbook .hero-slide__label {
        margin-bottom: 8px;

        padding:
            6px
            10px;

        font-size: 10px;
    }

    .hero-scrapbook .hero-slide__title {
        max-width: 12ch;

        margin-bottom: 8px;

        font-size: clamp(30px, 8.5vw, 38px);

        line-height: 0.98;
    }

    .hero-scrapbook .hero-slide__description {
        max-width: 31ch;

        font-size: 12px;

        line-height: 1.5;
    }

    .hero-scrapbook .hero-slide__link {
        margin-top: 12px;

        padding:
            8px
            13px;

        font-size: 11px;
    }

    .hero-scrapbook .hero-slider__arrow {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }

    .hero-slider-note {
        display: none;
    }


    /* =====================================================
       STATS
       2×2, а не величезні картки
    ===================================================== */

    .hero-scrapbook + .stats {
        padding:
            20px
            0
            50px;

        background: #f8f6f0;
    }

    .hero-scrapbook + .stats .container {
        width: calc(100% - 24px);
    }

    .hero-scrapbook + .stats .stats-grid {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        margin: 0;
    }

    .hero-scrapbook + .stats .stat-card {
        min-height: 112px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 15px 10px;

        background: #fff;

        border:
            1px solid
            rgba(42, 106, 50, 0.1);

        border-radius: 17px;

        box-shadow:
            0 8px 20px
            rgba(42, 47, 35, 0.045);

        text-align: center;
    }

    .hero-scrapbook + .stats .stat-card::before {
        width: 38px;
    }

    .hero-scrapbook + .stats .stat-card strong {
        font-size: 23px;

        line-height: 1.05;
    }

    .hero-scrapbook + .stats .stat-card p {
        margin:
            7px
            0
            0;

        font-size: 10px;

        line-height: 1.35;
    }


    /* =====================================================
       FOUNDER + HISTORY
    ===================================================== */

    .about {
        padding:
            48px
            0;
    }

    .about .container {
        width: calc(100% - 24px);
    }

    .about-grid {
        display: flex;
        flex-direction: column;

        gap: 18px;
    }


    /* -------------------------
       FOUNDER PHOTO
    ------------------------- */

    .founder-card {
        width: 100%;
        height: 410px;

        overflow: hidden;

        border-radius: 22px;
    }

    .founder-card img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .founder-caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }


    /* -------------------------
       FOUNDER TEXT
    ------------------------- */

    .founder-content {
        padding:
            28px
            22px;

        border-radius: 22px;
    }

    .founder-content h2 {
        margin-bottom: 20px;

        font-size: 40px;

        line-height: 0.95;
    }

    .founder-lead {
        font-size: 15px;

        line-height: 1.55;
    }

    .founder-description {
        font-size: 14px;

        line-height: 1.6;
    }

    .founder-quote {
        margin:
            22px
            0;

        padding:
            15px
            16px;
    }

    .founder-quote p {
        font-size: 16px;
    }


    /* =====================================================
       HISTORY — ПОВНІСТЮ ІНША МОБІЛЬНА КОМПОЗИЦІЯ
    ===================================================== */

    .history-card {
        width: 100%;

        padding:
            30px
            22px
            34px;

        border-radius: 22px;
    }

    .history-card-heading {
        margin-bottom: 30px;
    }

    .history-card-heading h2 {
        margin-top: 6px;

        font-size: 42px;

        line-height: 0.95;
    }

    .home-timeline {
        position: relative;

        display: block;

        margin:
            30px
            0
            0;

        padding: 0;

        list-style: none;
    }

    .home-timeline::before {
        content: "";

        position: absolute;

        top: 14px;
        bottom: 15px;
        left: 15px;

        width: 2px;

        background:
            rgba(56, 128, 64, 0.25);
    }

    .home-timeline-item {
        position: relative;

        display: block;

        width: 100%;

        min-height: 0;

        margin: 0;

        padding:
            0
            0
            38px
            52px;
    }

    .home-timeline-item:last-child {
        padding-bottom: 10px;
    }

    .home-timeline-marker {
        position: absolute;

        left: 7px;
        top: 7px;

        width: 18px;
        height: 18px;

        margin: 0;

        background: #f8faf5;

        border: 3px solid #2e7e3e;
        border-radius: 50%;
    }

    .home-timeline-marker::after {
        content: "";

        position: absolute;

        top: 50%;
        left: 50%;

        width: 5px;
        height: 5px;

        background: #2e7e3e;

        border-radius: 50%;

        transform: translate(-50%, -50%);
    }

    .home-timeline-year {
        position: relative;

        width: fit-content;

        min-height: 46px;

        display: flex;
        align-items: center;

        margin:
            0
            0
            10px;
    }

    .home-timeline-leaf {
        position: absolute;

        width: 58px;
        height: 58px;

        left: -8px;
        top: 50%;

        opacity: 0.35;

        transform: translateY(-50%);
    }

    .home-timeline-year time {
        position: relative;

        z-index: 2;

        padding-left: 7px;

        color: #287839;

        font-family:
            Georgia,
            "Times New Roman",
            serif;

        font-size: 20px;
        font-weight: 700;
    }

    .home-timeline-content {
        width: 100%;
        max-width: none;

        padding: 0;
    }

    .home-timeline-content h3 {
        margin:
            0
            0
            6px;

        font-size: 20px;

        line-height: 1.12;
    }

    .home-timeline-content p {
        max-width: 26ch;

        margin: 0;

        font-size: 14px;

        line-height: 1.5;
    }

    .history-link {
        display: inline-flex;

        margin-top: 26px;

        font-size: 14px;
    }


    /* =====================================================
       PROJECTS
    ===================================================== */

    .home-projects-scrapbook {
        padding:
            52px
            0
            58px;
    }

    .home-projects-scrapbook .container {
        width: 100%;
    }

    .home-projects-heading {
        width: calc(100% - 32px);

        display: block;

        margin:
            0
            auto
            24px;
    }

    .home-projects-heading-left {
        display: block;
    }

    .home-projects-heading h2 {
        margin: 0;

        font-size: 42px;

        line-height: 0.95;
    }

    .home-projects-script {
        margin-top: 11px;

        font-size: 15px;
    }

    .home-projects-heading .section-link {
        display: inline-flex;

        margin-top: 20px;

        font-size: 14px;
    }


    /* -------------------------
       PROJECT CAROUSEL
    ------------------------- */

    .home-projects-grid {
        display: flex;

        width: 100%;

        gap: 12px;

        padding:
            0
            16px
            12px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .home-projects-grid::-webkit-scrollbar {
        display: none;
    }

    .home-project-card {
        flex:
            0 0
            min(78vw, 300px);

        width: min(78vw, 300px);

        min-height: 405px;
        height: 405px;

        scroll-snap-align: start;

        border-radius: 22px;
    }

    .home-project-card .project-image,
    .home-project-card .project-image img {
        width: 100%;
        height: 100%;
    }

    .home-project-card .project-image img {
        object-fit: cover;
    }

    .home-project-content {
        height: 100%;

        padding:
            20px
            18px;
    }

    .home-project-icon {
        top: 16px;
        left: 16px;

        width: 42px;
        height: 42px;

        font-size: 20px;
    }

    .home-project-card .project-category {
        margin-bottom: 5px;

        font-size: 9px;
    }

    .home-project-card h3 {
        max-width: 10ch;

        font-size: 27px;

        line-height: 0.96;
    }

    .home-project-card p {
        max-width: 25ch;

        margin:
            10px
            44px
            0
            0;

        font-size: 11px;

        line-height: 1.45;
    }

    .home-project-arrow {
        right: 17px;
        bottom: 17px;

        width: 40px;
        height: 40px;

        font-size: 20px;
    }


    /* =====================================================
       GREEN SCRAPBOOK BANNER
    ===================================================== */

    .home-together {
        padding:
            8px
            0
            48px;

        background: #f7f3e9;
    }

    .home-together .container {
        width: calc(100% - 20px);
    }

    .home-together-paper {
        display: flex;
        flex-direction: column;

        width: 100%;

        min-height: 0;

        padding:
            16px
            14px
            20px;

        overflow: hidden;

        clip-path: none;

        border-radius: 24px;
    }

    .home-together-note {
        width: calc(100% - 20px);

        margin:
            8px
            auto
            18px;

        padding:
            22px
            20px;

        transform: rotate(-2deg);
    }

    .home-together-note h2 {
        font-size: 34px;
    }

    .home-together-actions {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        padding:
            5px
            0
            18px;
    }

    .home-together-actions > div {
        min-height: 78px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 10px;

        background:
            rgba(255, 255, 255, 0.055);

        border:
            1px solid
            rgba(255, 255, 255, 0.09);

        border-radius: 14px;
    }

    .home-together-actions span {
        margin-bottom: 5px;

        font-size: 22px;
    }

    .home-together-actions p {
        font-size: 10px;
    }

    .home-together-photo {
        width: 100%;

        height: 270px;
        min-height: 270px;

        margin: 0;

        overflow: hidden;

        clip-path: none;

        border-radius: 18px;

        transform: none;
    }

    .home-together-photo img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .home-together-join {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 14px;

        padding:
            22px
            6px
            4px;

        text-align: center;
    }

    .home-together-join > p {
        margin: 0;

        font-size: 21px;
    }

    .home-together-button {
        width: 100%;

        min-width: 0;

        padding:
            13px
            18px;
    }


    /* =====================================================
       PARTNERS
    ===================================================== */

    .home-partners {
        padding:
            42px
            0
            56px;
    }

    .home-partners .container {
        width: calc(100% - 32px);
    }

    .home-partners-heading {
        display: block;

        margin-bottom: 24px;
    }

    .home-partners-heading h2 {
        margin-top: 5px;

        font-size: 44px;

        line-height: 0.95;
    }

    .home-partners-script {
        max-width: 25ch;

        margin:
            12px
            0
            0;

        font-size: 14px;
    }

    .home-partners-marquee {
        width: 100%;

        padding:
            15px
            0;

        overflow: hidden;
    }

    .home-partners-arrow {
        display: none;
    }

    .home-partners-marquee .partners-track {
        gap: 34px;

        animation-duration: 42s;
    }

    .home-partners-marquee .partner-logo {
        flex:
            0 0
            105px;

        width: 105px;
        height: 65px;

        padding: 5px;
    }

    .home-partners-marquee .partner-logo img {
        max-width: 100%;
        max-height: 55px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
        padding:
            46px
            0
            20px;
    }

    .footer .container {
        width: calc(100% - 32px);
    }

    .footer-grid {
        display: flex;
        flex-direction: column;

        gap: 34px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-logo {
        display: flex;
        align-items: center;

        gap: 12px;
    }

    .footer-logo img {
        width: 56px;
    }

    .footer-about > p {
        max-width: 27ch;

        font-size: 13px;

        line-height: 1.55;
    }

    .footer-navigation {
        display: flex;
        flex-direction: column;

        gap: 10px;
    }

    .footer-navigation h2,
    .footer-contacts h2 {
        margin-bottom: 8px;

        font-size: 16px;
    }

    .footer-navigation a,
    .footer-contacts a,
    .footer-contacts p {
        font-size: 13px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-top: 34px;

        padding-top: 20px;

        font-size: 11px;
    }

}



/* =========================================================
   ДУЖЕ МАЛІ ТЕЛЕФОНИ
========================================================= */

@media (max-width: 380px) {

    .hero-scrapbook .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-scrapbook .hero-content h1 {
        font-size: 46px;
    }

    .hero-scrapbook .hero-content h1 span {
        font-size: 0.7em;
    }

    .hero-scrapbook .hero-description {
        font-size: 15px;
    }

    .hero-scrapbook .hero-slider {
        min-height: 400px;
    }

    .hero-scrapbook .hero-slider__track,
    .hero-scrapbook .hero-slide {
        height: 400px;
        min-height: 400px;
    }

    .hero-scrapbook + .stats .stat-card strong {
        font-size: 20px;
    }

    .founder-card {
        height: 370px;
    }

    .home-project-card {
        flex-basis: 280px;

        width: 280px;

        height: 390px;
        min-height: 390px;
    }

}







/* =========================================================
   MOBILE — FIXED HEADER
   ВСТАВИТИ В КІНЕЦЬ style.css
========================================================= */

@media (max-width: 768px) {

    body {
        padding-top: 76px;
    }

    .header {
        position: fixed !important;

        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        z-index: 10000 !important;

        background: rgba(255, 253, 248, 0.97) !important;

        border-bottom:
            1px solid rgba(46, 125, 50, 0.10) !important;

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        box-shadow:
            0 5px 18px rgba(32, 47, 30, 0.05);
    }

    .header .container {
        width: calc(100% - 24px);
    }

    .header-inner {
        position: static !important;

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

        min-height: 76px !important;

        gap: 12px !important;
    }

    .header-logo {
        min-width: 0;

        gap: 10px !important;
    }

    .header-logo img {
        width: 50px !important;
        height: auto;
    }

    .header-logo-text {
        font-size: 12px !important;
        line-height: 1.15 !important;
    }

    .header-logo-text strong {
        margin-top: 3px;

        font-size: 13px !important;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0;

        width: 48px !important;
        height: 48px !important;

        padding: 0 !important;

        color: #2e7d32 !important;

        background:
            rgba(46, 125, 50, 0.05) !important;

        border:
            1px solid rgba(46, 125, 50, 0.16) !important;

        border-radius: 50% !important;

        font-size: 23px !important;
    }

    .header-button {
        display: none !important;
    }

    .header-navigation {
        position: fixed !important;

        top: 76px !important;
        left: 0 !important;
        right: 0 !important;

        z-index: 9999 !important;

        display: none !important;

        width: 100% !important;

        padding:
            12px
            18px
            20px !important;

        background:
            rgba(255, 253, 248, 0.99) !important;

        border-bottom:
            1px solid rgba(46, 125, 50, 0.10);

        box-shadow:
            0 16px 28px rgba(32, 45, 29, 0.10);
    }

    .header-navigation.is-open {
        display: flex !important;

        flex-direction: column !important;
    }

    .header-navigation a {
        width: 100%;

        padding:
            13px
            8px !important;

        text-align: left !important;

        border-bottom:
            1px solid rgba(46, 125, 50, 0.08);
    }

    .header-navigation a:last-child {
        border-bottom: 0;
    }

    section[id] {
        scroll-margin-top: 92px;
    }

}



/* =========================================
   HOME TOGETHER — ДВА ФОТО БЕЗ НАКЛАДКИ
========================================= */

.home-together-photo-secondary {
    transform: none !important;
    margin-right: 10px !important;
    z-index: 1;
}

.home-together-photo {
    margin-left: 0 !important;
}

/* трохи різна форма двох фото */
.home-together-photo-secondary img {
    clip-path: polygon(
        2% 1%,
        98% 0,
        100% 13%,
        98% 31%,
        100% 52%,
        98% 72%,
        100% 98%,
        3% 100%,
        0 83%,
        2% 61%,
        0 39%,
        2% 18%
    );
}