/**
 * Головна сторінка — варіант 2.
 */

body.home .intro,
body.home .header__bottom-content {
    display: none !important;
}

.smm-home4 {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #16241b;
    background: #f7f9f5;
}

.smm-home4 *,
.smm-home4 *::before,
.smm-home4 *::after {
    box-sizing: border-box;
}

/* ---------- Hero зі слайдшоу ---------- */

body.home .submenu {
    display: none !important;
}

.smm-home4__hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0f2912;
}

.smm-home4__slides {
    position: absolute;
    inset: 0;
}

.smm-home4__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.2s ease, transform 8s linear;
}

.smm-home4__slide.is-active {
    opacity: 1;
    transform: scale(1.08);
}

.smm-home4__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 10, 0.35) 0%, rgba(6, 18, 10, 0.2) 45%, rgba(6, 18, 10, 0.85) 100%);
    pointer-events: none;
}

.smm-home4__hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 150px 24px 96px;
}

.smm-home4__title {
    margin: 0 0 16px;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
    max-width: 860px;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.smm-home4__lead {
    margin: 0 0 26px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
    max-width: 620px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.smm-home4__dots {
    position: absolute;
    right: 32px;
    bottom: 26px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.smm-home4__dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background-color 0.2s ease, width 0.2s ease;
}

.smm-home4__dots button.is-active {
    width: 54px;
    background: #93d660;
}

/* ---------- Швидкі картки ---------- */

.smm-home4__quick {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 24px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.qcard {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px;
    border-radius: 16px;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -26px rgba(15, 41, 18, 0.9);
    color: #fff;
}

.qcard_green { background: linear-gradient(150deg, #1d5233, #25603c); }
.qcard_lime  { background: linear-gradient(150deg, #4f9a2f, #478f29); }
.qcard_teal  { background: linear-gradient(150deg, #1f7a6c, #17624f); }
.qcard_dark  { background: linear-gradient(150deg, #16321f, #0f2912); }

.qcard__num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.65;
}

.qcard__title {
    font-size: 16.5px;
    font-weight: 700;
}

.qcard__meta {
    font-size: 12.5px;
    opacity: 0.8;
}

/* ---------- Секції ---------- */

.smm-home4__section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 24px 0;
}

.smm-home4__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.smm-home4__kicker {
    margin: 0 0 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #478f29;
}

.smm-home4__head h2 {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #16241b;
}

.smm-home4__all {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #25603c;
    border-bottom: 1px solid rgba(37, 96, 60, 0.3);
    padding-bottom: 2px;
}

/* новини: велика + дві малі */

.smm-home4__news {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-auto-rows: minmax(0, 1fr);
    gap: 18px;
}

.nfeat {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.nfeat,
.nmini {
    display: flex;
}

.nfeat__link,
.nmini__link {
    display: flex;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(15, 41, 18, 0.1);
    border-radius: 18px;
    overflow: hidden;
    color: #16241b;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nfeat__link:hover,
.nmini__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 46px -30px rgba(15, 41, 18, 0.65);
}

.nfeat__link {
    flex-direction: column;
}

.nfeat__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e7efe8;
}

.nfeat__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nfeat__link:hover .nfeat__media img {
    transform: scale(1.05);
}

.nfeat__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}

.nfeat__date,
.nmini__date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #7c8b82;
}

.nfeat__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #16241b;
}

.nfeat__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5f6f66;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nfeat__more {
    margin-top: auto;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #478f29;
}

.smm-home4__news .nmini:first-of-type {
    display: flex;
}

.nmini__link {
    flex-direction: row;
    gap: 0;
}

.nmini__media {
    flex: 0 0 42%;
    background: #e7efe8;
    overflow: hidden;
}

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

.nmini__body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 18px;
}

.nmini__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
    color: #16241b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nmini__excerpt {
    font-size: 12.5px;
    line-height: 1.55;
    color: #7c8b82;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* колонка малих новин */
.smm-home4__news > .nmini:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.smm-home4__news > .nmini:nth-of-type(3) { grid-column: 2; grid-row: 2; }

/* ---------- Цитата ---------- */

.smm-home4__quote {
    margin: 44px 0 0;
    padding: 46px 24px;
    background: linear-gradient(120deg, #eef7e7 0%, #f7f9f5 55%, #e6f2f4 100%);
}

.smm-home4__quote-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.smm-home4__quote blockquote {
    margin: 0 0 14px;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.45;
    font-weight: 600;
    color: #1d5233;
    border: 0;
    padding: 0;
}

.smm-home4__sign {
    margin: 0 0 20px;
    font-size: 13px;
    color: #5f6f66;
}

.smm-home4__quote .smm-btn4_outline {
    border-color: rgba(37, 96, 60, 0.4);
    color: #25603c;
}

.smm-home4__quote .smm-btn4_outline:hover {
    background: #25603c;
    color: #fff;
}

/* ---------- Плитки ---------- */

.smm-home4__tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 210px;
    padding: 18px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 24, 14, 0.08) 0%, rgba(9, 24, 14, 0.85) 100%);
    transition: background 0.25s ease;
}

.tile:hover::before {
    background: linear-gradient(180deg, rgba(9, 24, 14, 0.25) 0%, rgba(9, 24, 14, 0.92) 100%);
}

.tile__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tile__title {
    font-size: 16.5px;
    font-weight: 700;
}

.tile__meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Події ---------- */

.smm-home4__events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ecard {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 41, 18, 0.1);
    color: #16241b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecard:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -30px rgba(15, 41, 18, 0.6);
    color: #16241b;
}

.ecard__date {
    flex: 0 0 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(150deg, #1d5233, #25603c);
    color: #fff;
    padding: 8px 0;
}

.ecard__date b {
    font-size: 20px;
    line-height: 1;
}

.ecard__date span {
    font-size: 10px;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.ecard__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecard__title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.ecard__link {
    margin-top: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #478f29;
}

/* ---------- Анімації появи ---------- */

.smm-home4 .smm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.smm-home4 .smm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .smm-home4 * {
        animation: none !important;
        transition: none !important;
    }

    .smm-home4 .smm-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
    .smm-home4__hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .smm-home4__hero-photo {
        justify-self: start;
        max-width: 260px;
    }

    .smm-home4__quick,
    .smm-home4__tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smm-home4__news {
        grid-template-columns: 1fr;
    }

    .nfeat,
    .smm-home4__news > .nmini:nth-of-type(2),
    .smm-home4__news > .nmini:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .smm-home4__events {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .smm-home4__hero {
        padding: 108px 16px 40px;
    }

    .smm-home4__quick,
    .smm-home4__section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .smm-home4__quick,
    .smm-home4__tiles {
        grid-template-columns: 1fr;
    }

    .smm-home4__quote {
        padding: 32px 16px;
    }
}


/* ---------- Команда ---------- */

.smm-home4__team {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 8px;
}

.smm-home4__people {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.person {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #16241b;
    transition: transform 0.2s ease;
}

.person:hover {
    transform: translateY(-3px);
    color: #16241b;
}

.person__photo {
    display: block;
    aspect-ratio: 4 / 4.6;
    border-radius: 16px;
    overflow: hidden;
    background: #e7efe8;
    margin-bottom: 8px;
}

.person__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.4s ease;
}

.person:hover .person__photo img {
    transform: scale(1.04);
}

.person__photo_more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #1d5233, #2f7147);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.person__name {
    font-size: 15.5px;
    font-weight: 700;
    color: #16241b;
}

.person__role {
    font-size: 12.5px;
    line-height: 1.4;
    color: #7c8b82;
}

@media (max-width: 980px) {
    .smm-home4__people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .smm-home4__people {
        grid-template-columns: 1fr;
    }

    .smm-home4__hero {
        min-height: 520px;
    }

    .smm-home4__hero-inner {
        padding: 120px 16px 80px;
    }

    .smm-home4__dots {
        right: 16px;
        bottom: 18px;
    }
}


/* ---------- Слайд-підписи ---------- */

.smm-home4__slide .smm-home4__cap {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 2;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(9, 24, 14, 0.62);
    backdrop-filter: blur(4px);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
}

.smm-home4__slide {
    position: absolute;
    inset: 0;
}

/* ---------- Шість карток доступу ---------- */

.smm-access {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.smm-access__head {
    margin-bottom: 18px;
}

.smm-access__head h2 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #16241b;
}

.smm-access__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.acard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid rgba(15, 41, 18, 0.1);
    background: #fff;
    color: #16241b;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.acard:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 96, 60, 0.35);
    box-shadow: 0 22px 40px -30px rgba(15, 41, 18, 0.6);
    color: #16241b;
}

.acard__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4ee;
}

.acard__icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(28%) sepia(18%) saturate(1200%) hue-rotate(90deg);
}

.acard__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.acard__arrow {
    margin-left: auto;
    font-size: 16px;
    color: #478f29;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.acard:hover .acard__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Блок вступника ---------- */

.smm-apply {
    margin: 46px 0 0;
    padding: 44px 24px;
    background: linear-gradient(120deg, #0f2912 0%, #1d5233 55%, #25603c 100%);
    color: #fff;
}

.smm-apply__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.smm-apply__text {
    max-width: 660px;
}

.smm-apply h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.smm-apply p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.smm-apply__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.smm-apply__list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    list-style: none;
}

.smm-apply__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #93d660;
}

.smm-apply__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smm-btn4_light {
    background: #fff;
    color: #1d5233;
}

.smm-btn4_light:hover {
    background: #eef4ee;
    color: #0f2912;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .smm-access__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smm-apply__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .smm-access {
        padding: 30px 16px 0;
    }

    .smm-access__grid {
        grid-template-columns: 1fr;
    }

    .smm-apply {
        padding: 32px 16px;
    }
}


/* ---------- Скляна панель тексту ---------- */

.smm-home4__panel {
    display: inline-block;
    max-width: 760px;
    padding: 30px 32px 26px;
    border-radius: 24px;
    background: rgba(9, 26, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.smm-home4__panel .smm-home4__title,
.smm-home4__panel .smm-home4__lead,
.smm-home4__panel .smm-home4__eyebrow,
.smm-home4__panel .smm-home4__chips li {
    color: #fff !important;
}

.smm-home4__panel .smm-home4__lead,
.smm-home4__panel .smm-home4__eyebrow {
    color: rgba(255, 255, 255, 0.86) !important;
}

.smm-home4__panel .smm-home4__chips li {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ---------- Виправлення: кнопки, чипси, підписи ---------- */

.smm-home4__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 24px;
}

.smm-btn4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.smm-btn4_solid {
    background: #93d660;
    color: #0f2912 !important;
    box-shadow: 0 14px 26px -16px rgba(147, 214, 96, 0.9);
}

.smm-btn4_solid:hover {
    background: #a8e57a;
    transform: translateY(-2px);
    color: #0f2912 !important;
}

.smm-btn4_outline {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff !important;
}

.smm-btn4_outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

.smm-home4__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.smm-home4__chips li {
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12.5px;
    line-height: 1.3;
    color: #fff !important;
    list-style: none;
}

.smm-home4__chips li::marker {
    content: "";
    display: none;
}

.smm-home4__chips b {
    color: #fff;
    margin-right: 4px;
}

.smm-home4__eyebrow {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72) !important;
}

.smm-home4__cap {
    color: #fff !important;
    background: rgba(6, 18, 10, 0.72);
}

/* ---------- Слайди: світліше ---------- */

.smm-home4__slide {
    filter: brightness(1.07) saturate(1.06);
}


/* ---------- Смуга подій на головній ---------- */

.smm-apply__events {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.smm-apply__events li {
    margin: 0;
    list-style: none;
}

.smm-apply__events a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.smm-apply__events a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(2px);
    color: #fff;
}

.smm-apply__date {
    flex: 0 0 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    border-radius: 10px;
    background: #93d660;
    color: #0f2912;
    line-height: 1.05;
}

.smm-apply__date b { font-size: 17px; }
.smm-apply__date span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; }

.smm-apply__event-title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.smm-apply__arrow {
    margin-left: auto;
    color: #b9e59a;
    font-weight: 700;
}
