:root {
    --site-width: 792px;
    --accent: #36a56b;
    --bg: #f6f7f8;
    --text: #0b0b0b;
    --muted: #666;
    --radius: 12px;
    --gap: 20px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    height: 100%;
    margin: 0;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    justify-content: center;
    padding: 40px 16px;
    text-align: center
}

.site {
    width: 100%;
    max-width: var(--site-width);
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(10, 10, 10, 0.06);
    overflow: hidden
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    position: relative
}

.logo {
    font-weight: 700
}

nav.desktop {
    display: flex;
    gap: 14px;
    margin-left: auto;
    margin-right: auto
}

nav.desktop a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px
}

nav.desktop a:hover {
    background: #f0f0f0;
    color: var(--text)
}

.burger {
    display: none;
    align-items: center;
    gap: 8px;
    cursor: pointer
}

.burger .lines {
    width: 28px;
    height: 20px;
    position: relative
}

.burger .lines span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text);
    display: block
}

.burger .lines span:nth-child(1) {
    top: 0
}

.burger .lines span:nth-child(2) {
    top: 9px
}

.burger .lines span:nth-child(3) {
    bottom: 0
}

.content {
    padding: 28px 24px
}

section {
    margin-bottom: 100px
}

h1 {
    font-size: 58px;
    margin: 8px 0 18px;
    font-family: "Roboto Condensed", sans-serif
}

h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 46px;
    margin: 6px 0 18px
}

h3 {
    font-weight: 600;
    margin-top: 10px;
    font-size: 22px
}

.lead {
    margin-bottom: 46px;
    font-size: 24px;
    font-weight: 600
}

#hero {
    padding-top: 15%
}

#openConsult {
    margin-top: 25px
}

.btn {
    display: inline-block;
    padding: 20px 54px;
    border-radius: 35px;
    background: #477039;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    position: relative;
    overflow: hidden
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transition: all 0.5s
}

.btn:hover::before {
    left: 125%
}

.btn:hover {
    cursor: pointer
}

.btn.ghost {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.square {
    background: #fff;
    background-color: #477039;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 130px
}

.circle {
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.square img {
    object-fit: cover;
    border-radius: 50%
}

.square .label {
    font-weight: 600
}

.team {
    display: block;
    gap: 18px;
    flex-wrap: wrap
}

.member {
    flex: 1 1 220px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center
}

.member img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px
}

.role {
    font-size: 40px;
    font-weight: 600
}

.swiper {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 12px
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px
}

.case {
    display: block;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    align-items: center
}

.case img {
    width: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 8px
}

.case .text {
    flex: 1
}

.socials {
    display: flex;
    gap: 10px
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: var(--muted);
    font-weight: 700
}

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60
}

.overlay.show {
    display: flex
}

.overlay .sheet {
    background: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

#policyModal>.sheet {
    background: white;
    width: 100%;
    height: 100%;
    display: block;
    align-items: center;
    justify-content: center
}

.overlay .menu {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.overlay .menu a {
    font-size: 22px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(10, 10, 10, 0.12);
    min-width: 260px;
    border-color: #000;
    border: solid
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px
}

.modal-actions a {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700
}

.modal-actions a.wh {
    background: #25D366;
    color: white
}

.modal-actions a.tg {
    background: #0088cc;
    color: white
}

.modal-actions a.inst {
    background: #A606E7;
    color: white
}

.modal-actions a.you {
    background: #F70100;
    color: white
}

.button_social {
    display: block;
    margin-bottom: 20px
}

.burger.active .lines span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px
}

.burger.active .lines span:nth-child(2) {
    opacity: 0
}

.burger.active .lines span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px
}

.burger .lines span {
    transition: all 0.3s ease
}

header {
    position: relative;
    z-index: 70
}

.burger {
    position: relative;
    z-index: 71
}

.burger .lines span {
    background: var(--text)
}

@media(max-width:700px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 16px
    }

    .burger {
        display: flex
    }

    nav.desktop {
        display: none
    }

    .site {
        border-radius: 12px
    }

    h1 {
        font-size: 40px
    }

    h2 {
        font-size: 24px;
        font-weight: 900
    }

    h3 {
        font-size: 12px
    }

    .square {
        min-height: 1px
    }

    .square img {
        width: 100%
    }

    .case {
        flex-direction: column;
        align-items: flex-start
    }

    .btn {
        display: inline-block;
        padding: 20px 34px;
        border-radius: 35px;
        background: #477039;
        color: white;
        text-decoration: none;
        font-weight: 700;
        font-size: 20px;
        position: relative;
        overflow: hidden
    }

    #courses .btn {
        font-size: 16px;
        display: block;
        margin-left: 0;
        margin-right: 0;
        text-align: center
    }

    #formats .btn {
        font-size: 16px;
        display: block;
        margin-left: 0;
        margin-right: 0;
        text-align: center
    }

    section {
        margin-bottom: 40px
    }

    .content {
        padding: 28px 6px
    }

    .member {
        padding: 0
    }

    .role {
        font-size: 18px;
        margin-bottom: 40px
    }

    .case {
        padding: 0px
    }

    .case h3 {
        font-size: 18px
    }

    .lead {
        font-size: 18px
    }

    .faq .q {
        background: #fff;
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 0px;
        cursor: pointer;
        font-size: 20px;
        font-weight: 600
    }

    .button_social {
        display: block
    }

    #contacts {
        margin-bottom: 0
    }

    body {
        padding: 0px 0px 0px 0px
    }
}

@media(max-width:420px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 16px
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

h2.fade-letters {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px)
}

h2.fade-letters span {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform
}

h2.fade-letters.visible {
    opacity: 1;
    transform: translateY(0)
}

h2.fade-letters.visible span {
    animation: letterFade 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards
}

@keyframes letterFade {
    0% {
        opacity: 0;
        transform: translateY(24px)
    }

    60% {
        opacity: 1;
        transform: translateY(-2px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.q {
    position: relative;
    padding-right: 28px
}

.q .icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 26px;
    color: var(--accent);
    transition: transform 0.3s ease, color 0.3s ease
}

.q.active .icon {
    transform: translateY(-50%) rotate(45deg);
    color: #000
}

.faq .q {
    position: relative;
    padding: 14px 48px 14px 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    transition: background 0.25s ease, transform 0.12s ease
}

.faq .q:hover {
    background: #f8f8f8;
    transform: translateY(-1px)
}

.faq .q .icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.25s ease;
    pointer-events: none
}

.faq .q.active .icon {
    transform: translateY(-50%) rotate(180deg);
    color: #000
}

.faq .a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    color: #282828;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    background: #fff;
    border-radius: 0 0 12px 12px;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding 0.35s ease
}

.faq .a.open {
    max-height: 600px;
    opacity: 1;
    padding: 12px 16px 18px
}

.button_social a img {
    width: auto;
    height: 32px;
    margin-right: 8px;
    vertical-align: middle
}

#instagramModal {
    background: rgba(0, 0, 0, 0.6)
}

#instagramModal .inst-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    gap: 18px;
    box-shadow: 0 8px 30px rgba(10, 10, 10, 0.2);
    animation: fadeIn 0.3s ease forwards
}

#instagramModal h3 {
    font-size: 22px;
    margin: 0;
    color: #000;
    font-weight: 700
}

.inst-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%
}

.inst-links a.inst {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease
}

.button_social a.inst {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 8px 14px 8px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}


.inst-links a.inst:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15)
}

@keyframes fadeIn {
    from {
        transform: scale(0.95);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

#instagramModal .sheet {
    width: auto;
    height: auto;
    max-width: 360px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25)
}

.portfolio-swiper {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05)
}

.portfolio-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.portfolio-swiper .case img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px
}

.portfolio-swiper .text h3 {
    font-size: 22px;
    margin: 6px 0
}

.portfolio-swiper .text p {
    font-size: 18px;
    color: var(--muted)
}

.portfolio-swiper .swiper-pagination {
    margin-top: 16px
}

@media (max-width:700px) {
    #hero {
        position: relative;
        background: none;
        overflow: hidden
    }

    #hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("../img/avocado.webp") no-repeat center/contain;
        opacity: 0.58;
        z-index: 0
    }

    #hero>* {
        position: relative;
        z-index: 1
    }

    .member img {
        width: 50%
    }
}

.btn {
    background: linear-gradient(90deg, #3b682d, #5fa24a, #3b682d);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
    box-shadow: 0 4px 12px rgba(72, 120, 60, 0.25)
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#formats {
    text-align: center
}

.format-swiper {
    width: 100%;
    padding: 20px 8px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06)
}

.format-slide {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease
}

.format-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08)
}

.format-slide h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px
}

.price {
    background: #e7eedc;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 26px
}

.price .old {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-weight: 600
}

.price .new {
    font-weight: 700;
    color: #2f5b1c
}

.format-slide h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 8px
}

.includes,
.gift-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px
}

.includes li,
.gift-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 14px
}

.includes li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #477039;
    font-weight: 700
}

.gift-list li::before {
    content: "🎁";
    position: absolute;
    left: 0
}

.gift-label {
    display: inline-block;
    background: #e7eedc;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2f5b1c
}

.format-swiper .swiper-pagination {
    margin-top: 16px
}

#formats h3 {
    text-align: center
}

.swiper-pagination-bullet-active {
    background: #477039 !important
}

.gift-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6ba556, #477039);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 16px 6px 8px;
    border-radius: 25px;
    text-decoration: none;
    position: absolute;
    right: 16px;
    top: 6px;
    z-index: 72;
    box-shadow: 0 0 0 0 rgba(71, 112, 57, 0.6);
    animation: pulseGift 3s infinite ease-in-out;
    transition: transform 0.2s ease
}

.gift-btn:hover {
    transform: scale(1.08)
}

.gift-btn .icon {
    font-size: 18px
}

.top_top {
    margin: 10px 0px 0px 0px;
}

.bottom_bottom {
    margin: 0px 0px 10px 0px;
}

h4 {
    margin-top: 10px;
    font-weight: 100;
}

#blocks>.format-slide>h2 {
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
    display: block;
}

#blocks>h2 {
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
    display: block;
}

#blocks>.format-slide>.btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

#blocks>.btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

@keyframes pulseGift {
    0% {
        box-shadow: 0 0 0 0 rgba(71, 112, 57, 0.5)
    }

    60% {
        box-shadow: 0 0 0 18px rgba(71, 112, 57, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(71, 112, 57, 0)
    }
}

@media (max-width:700px) {
    .gift-btn {
        display: inline-flex
    }

    header {
        position: relative
    }

    .burger {
        position: absolute;
        left: 16px;
        top: 14px
    }
}

#formats {
    border: 3px solid #6ba556;
    border-radius: 18px;
    padding: 24px 10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04)
}

#courses {
    border: 3px solid #6ba556;
    border-radius: 18px;
    padding: 24px 10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04)
}

@media (max-width:440px) {
    h2 {
        font-size: 6vw
    }

    .price {
        font-size: 6vw
    }
}

.hero-subtitle {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    opacity: 1;
    transform: none;
}

#consult-form {
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    margin: 60px 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
}

#consult-form h2 {
    margin-bottom: 25px;
}

.price-block {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.new-price {
    background: #6ba556;
    padding: 4px 10px;
    color: #fff;
    border-radius: 6px;
}

.timer-text {
    font-size: 20px;
    margin-bottom: 25px;
}

#consult-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

#consult-form input,
#consult-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    font-family: inherit;
}

#consult-form textarea {
    min-height: 90px;
    resize: none;
}

#consult-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.success-message {
    display: none;
    margin-top: 15px;
    font-size: 20px;
    color: #6ba556;
    text-align: center;
}

/* Таймер */
.countdown {
    display: flex;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
}

.countdown .t-block {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown .num {
    display: inline-block;
    min-width: 38px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.countdown .num.animate {
    transform: translateY(-8px);
    opacity: 0.4;
}

.countdown .label {
    font-size: 18px;
    opacity: 0.7;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
}

.countdown .t-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.countdown .num {
    display: inline-block;
    min-width: 38px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.countdown .num.animate {
    transform: translateY(-8px);
    opacity: 0.45;
}

.countdown .label {
    font-size: 12px;
    opacity: 0.75;
    margin-left: 4px;
}

.countdown .sep {
    font-size: 24px;
    opacity: 0.8;
    padding: 0 4px;
    user-select: none;
}

@media (max-width:700px) {
    .countdown {
        font-size: 28px;
        gap: 6px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
    }

    .countdown .num {
        min-width: 32px;
    }

    #hero h1 {
        font-size: 6.5vw;
        margin: 8px 0 8px;
    }

    #hero h2 {
        font-size: 5.5vw;
        font-weight: 600;
    }
}

.thanks-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    /* ⬅️ скрыто */
    pointer-events: none;
    /* ⬅️ клики отключены */
    visibility: hidden;
    /* ⬅️ ВАЖНО добавить */

    transition: opacity .3s ease;
    z-index: 9999;
}

.thanks-modal.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}


.thanks-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

/* ===== HEADER ===== */
.hero {
    position: relative;
    background-color: #5B7C45;
    padding: 40px 20px 140px;
    overflow: visible;
}

.hero__bg-image {
    position: absolute;
    top: 45%;
    right: 5%;
    transform: translateY(-50%);
    width: 250px;
    height: 420px;
    background-image: url("../../img/header-bg.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero__logo {
    display: block;
    margin-bottom: 40px;
    max-width: 180px;
}

.hero__h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero__h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero__h3 {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BLOCK UNDER HEADER ===== */
.experts {
    background: #ffffff;
    padding: 120px 20px 40px;
    position: relative;
}

.experts__inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.experts__img {
    width: 45%;
    border-radius: 16px;
}

/* "НАЕЗД" НА HEADER */
.experts__img--left {
    transform: translateY(-180px);
}

.experts__img--right {
    transform: translateY(-180px);
}

.hero__content>h1 {
    font-size: 28px;
}

.hero__content>h2 {
    font-weight: 400;
}

.hero {
    position: relative;
    z-index: 1;
}

.experts {
    position: relative;
    z-index: 5;
    margin-top: -200px;
    /* подбирай под макет */
    background: none;
    padding-top: 260px;
}

.mt30 {
    margin-top: 30px;
}



/* Один эксперт */
.expert {
    width: 45%;
    text-align: center;
}

/* Фото */
.experts__img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Подпись */
.expert__caption {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.35;
    color: #1a1a1a;
}

.expert__caption strong {
    font-weight: 600;
}

.experts {
    margin-bottom: -205px;
    /* или 24px, если нужно плотнее */
}


.experts+section {
    margin-top: 0;
}

.experts {
    position: relative;
    z-index: 5;
    margin-top: -180px;
    /* наезд на header */
    padding-top: 180px;
    margin-bottom: 0px;
}

.experts__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: -120px;
}

.brown-service {
    background-color: #DBCFC1;

}

.format-slide {
    position: relative;
    overflow: hidden;
    /* чтобы картинка не вылезала за карточку */
}


.course-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 5;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* если нужно круглое */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.format-slide__overlay {
    position: absolute;
    inset: 0;
    /* top/right/bottom/left = 0 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    /* КРИТИЧНО */
}

.format-slide__overlay img {
    width: 220px;
    max-width: 70%;
    opacity: 1;
    margin-top: 0px;
}

.portfolio-swiper .swiper-button-prev,
.portfolio-swiper .swiper-button-next {
    color: white;
}

.portfolio-swiper .swiper-button-prev {
    left: 10px;
}

.portfolio-swiper .swiper-button-next {
    right: 10px;
}



.services_block>.service>h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.services_block>.service>h6 {
    font-size: 18px;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 300;
}

.policy-link {
    cursor: pointer;
    text-align: center;
    opacity: 0.7;
    margin-top: 20px;
}

.policy-link:hover {
    opacity: 1;
}

.policy-box {
    max-width: 600px;
    padding: 30px;
}

.policy-box p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.policy-box ul {
    margin: 10px 0 15px 20px;
}

.policy-modal {
    max-width: 600px;
    padding: 30px;
    text-align: left;
}

.policy-modal p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.policy-modal ul {
    margin: 10px 0 15px 20px;
}

.policy-modal li {
    margin-bottom: 6px;
}


@media(max-width:420px) {
    h1 {
        margin: 8px 0px 0px 0px;
    }

    .brown-service {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .brown-service>.grid-3>.service {
        margin: 8px;
    }

    .content {
        padding: 28px 0px;
    }

    .brown-service>.grid-3>.service>h3 {
        margin-bottom: 4px;
    }

    .brown-service>.grid-3>.service>h6 {
        font-size: 12px;
        margin-top: 0;
        font-weight: 600;
    }

    .timer-text>span {
        font-size: 36px;
        font-weight: 600;
    }

    header>.hero__content>h1 {
        margin-bottom: 15px;
    }

    header>.hero__content>.bottom_bottom {
        margin-bottom: 25px;
    }

    header>.hero__content>.hero__h3 {
        line-height: 1;
        margin-bottom: 15px;
    }

    #blocks>.format-slide>h4 {
        font-size: 18px;
        text-align: center;
    }

    .service>h3 {
        font-size: 16px;
    }

    .services_block>.service>h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .services_block>.service>h6 {
        font-size: 18px;
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 10px;
        margin-bottom: 30px;
        font-weight: 300;
    }

    #policyModal>.sheet {
        width: 80%;
        height: 80%;
    }

    .policy-modal>h3 {
        font-size: 12px;
        text-align: center;
    }

    .policy-modal p {
        font-size: 10px;
    }

    .policy-modal li {
        font-size: 10px;
    }

    .close-policy {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 10px 10px 10px 10px;
        border-radius: 10px;
    }
}