html, body {
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f5f5fa;
}
.header {
    width: 100vw;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    background: linear-gradient(90deg, #2d2dbe 0%, #8f2fe6 55%, #2d2dbe 100%);
    position: relative;
    z-index: 10;
}
.header-inner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #fff;
}
.header-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.header-title .main {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}
.header-title .sub {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.header-nav {
    display: flex;
    gap: 38px;
    align-items: center;
}
.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.header-nav a,
.nav-dropdown__btn {
    letter-spacing: 0.02em;
}
.header-nav a:hover {
    color: #ffb347;
}
.header-btn {
    margin-left: 32px;
    padding: 12px 32px;
    border: none;
    border-radius: 32px;
    background: linear-gradient(90deg, rgba(106, 90, 249, 0.9) 0%, rgba(255, 106, 0, 0.9) 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.header-btn:hover {
    background: linear-gradient(90deg, #ff6a00 0%, #6a5af9 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
/* Бургер меню */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    margin-left: 24px;
    margin-right: 8px;
    position: relative;
}
.burger span {
    height: 5px;
    width: 100%;
    background: #fff;
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Header: mobile tweaks */
@media (max-width: 700px) {
    .header {
        padding: 0 18px;
    }
    .header-title .main {
        font-size: 1.1rem;
    }
    .header-title .sub {
        font-size: 0.85rem;
    }
    .header-btn {
        display: none;
    }
    .burger {
        margin-left: 8px;
        margin-right: 12px;
    }
}

@media (max-width: 420px) {
    .header-title .main {
        font-size: 1rem;
    }
    .header-title .sub {
        font-size: 0.78rem;
    }
    .header-btn {
        padding: 9px 12px;
        font-size: 0.9rem;
    }
}

/* Mobile fixed consult button */
.mobile-consult {
    display: none;
}

@media (max-width: 700px) {
    .mobile-consult {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 48px;
        align-items: center;
        justify-content: center;
        z-index: 999;
        text-decoration: none;
        color: #fff;
        font-weight: 800;
        letter-spacing: 0.02em;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(106, 90, 249, 0.78) 0%, rgba(255, 106, 0, 0.78) 100%);
        border: 1px solid rgba(255, 255, 255, 0.35);
        box-shadow: 0 18px 44px rgba(16, 24, 40, 0.22);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    body {
        padding-bottom: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-consult {
        transition: none;
    }
}


/* Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown__btn {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.nav-dropdown__btn:hover {
    color: #ffb347;
}
.nav-dropdown__menu {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 10px;
    min-width: 220px;
    display: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    z-index: 300;
}
.nav-dropdown__menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #13335b;
    font-size: 1rem;
    text-decoration: none;
}
.nav-dropdown__menu a:hover {
    background: rgba(122, 15, 230, 0.12);
    color: #7a0fe6;
}
.nav-dropdown__menu .nav-dropdown__menu--accent {
    color: #3a7f2a;
}
.nav-dropdown__menu .nav-dropdown__menu--accent:hover {
    color: #3a7f2a;
    background: rgba(58, 127, 42, 0.12);
}
.nav-dropdown:hover .nav-dropdown__menu {
    display: block;
}

/* Тимчасові секції (будуть замінені реальним контентом) */
.section-placeholder {
    width: 100vw;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: #fff;
}
.section-placeholder h2 {
    margin: 0;
    font-size: 2rem;
    color: #2d2dbe;
}

/* Services */
.services {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 46px 0 70px 0;
}
.services__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.services__title {
    margin: 0 0 26px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    justify-items: center;
}

.service-card {
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 16px 16px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(0);
    transition: transform 200ms ease, box-shadow 200ms ease;
    animation: serviceFloat 7s ease-in-out infinite;
}
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.45s; }
.service-card:nth-child(5) { animation-delay: 0.6s; }
.service-card:nth-child(6) { animation-delay: 0.75s; }

@keyframes serviceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.16);
}
.service-card__img {
    width: 78%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
    background: #fff;
}
.service-card__name {
    margin: 14px 0 8px 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #13335b;
}
.service-card__desc {
    margin: 0 0 10px 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #13335b;
    opacity: 0.9;
}
.service-card__price {
    margin: 2px 0 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #5a2c96;
    min-height: 1.1em;
}
.service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 40px;
    background: #1b1b2b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 200ms ease, opacity 200ms ease;
}
.service-card__btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 1000px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .service-card {
        max-width: 340px;
    }
}

@media (max-width: 600px) {
    .services {
        padding: 30px 0 50px 0;
    }
    .services__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .services__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-card {
        max-width: 420px;
        animation: none;
    }
    .service-card__img {
        width: 74%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        animation: none;
        transition: none;
    }
}

/* Certificates */
.certificates {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.certificates__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.certificates__title {
    margin: 0 0 28px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.certificates__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    justify-items: center;
}

.certificate-card {
    width: 100%;
    max-width: 340px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease;
    animation: certFloat 7.5s ease-in-out infinite;
}
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes certFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.2);
}

.certificate-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #fff;
}
.certificate-card__body {
    background: rgba(232, 245, 206, 0.92);
    padding: 18px 18px 22px 18px;
    min-height: 170px;
}
.certificate-card__name {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #13335b;
}
.certificate-card__desc {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 700;
    color: #13335b;
    opacity: 0.95;
}

@media (max-width: 1000px) {
    .certificates__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .certificate-card {
        max-width: 420px;
    }
}
@media (max-width: 600px) {
    .certificates {
        padding: 34px 0 60px 0;
    }
    .certificates__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .certificates__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .certificate-card {
        max-width: 520px;
        animation: none;
    }
    .certificate-card__img {
        height: 210px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .certificate-card {
        animation: none;
        transition: none;
    }
}

/* Moments */
.moments {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 46px 0 70px 0;
}
.moments__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.moments__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    margin-top: 6px;
    display: flex;
    justify-content: center;
}
.moments__grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 170px);
    gap: 6px;
    padding: 6px;
    width: max-content;
}
.moments__img {
    width: 210px;
    height: 170px;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.8);
    scroll-snap-align: start;
    border-radius: 0;
    transform: translateZ(0);
    transition: transform 220ms ease, filter 220ms ease;
}
.moments__img:hover {
    transform: scale(1.02);
    filter: brightness(1.02);
}

@media (max-width: 900px) {
    .moments__grid {
        grid-template-rows: repeat(2, 150px);
    }
    .moments__img {
        width: 190px;
        height: 150px;
    }
}

@media (max-width: 600px) {
    .moments {
        padding: 30px 0 50px 0;
    }
    .moments__grid {
        grid-template-rows: repeat(2, 128px);
        gap: 5px;
    }
    .moments__img {
        width: 160px;
        height: 128px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .moments__img {
        transition: none;
    }
}

/* Magic moments (grid) */
.magic-grid {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.magic-grid__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.magic-grid__title {
    margin: 0 0 22px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.magic-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.magic-grid__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
    transform: translateY(0);
    transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}
.magic-grid__img:hover {
    transform: translateY(-6px);
    filter: brightness(1.03);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.18);
}

@media (max-width: 1000px) {
    .magic-grid__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .magic-grid {
        padding: 34px 0 60px 0;
    }
    .magic-grid__title {
        font-size: 1.7rem;
        margin-bottom: 16px;
    }
    .magic-grid__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .magic-grid__img {
        border-radius: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .magic-grid__img {
        transition: none;
    }
}

/* Video section (standalone) */
.video-section {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 44px 0 70px 0;
}
.video-section__player {
    width: min(900px, calc(100% - 40px));
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.18);
    background: #000;
}

@media (max-width: 900px) {
    .video-section {
        padding: 34px 0 60px 0;
    }
    .video-section__player {
        width: min(720px, calc(100% - 28px));
    }
}

@media (max-width: 600px) {
    .video-section {
        padding: 26px 0 50px 0;
    }
    .video-section__player {
        width: calc(100% - 20px);
        border-radius: 10px;
    }
}

/* Meetings */
.meetings {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.meetings__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.meetings__title {
    margin: 0 0 34px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.meetings__grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 620px) 240px;
    gap: 36px;
    align-items: center;
    justify-content: center;
}

.meetings__photo-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transform: translateY(0);
    animation: meetingsFloat 7s ease-in-out infinite;
}
.meetings__photo-card--right { animation-delay: 0.3s; }

@keyframes meetingsFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.meetings__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.meetings__text-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    padding: 34px 36px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #13335b;
    font-weight: 700;
}
.meetings__subtitle {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #13335b;
}
.meetings__text p {
    margin: 0 0 18px 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .meetings__grid {
        grid-template-columns: 220px minmax(0, 560px) 220px;
        gap: 24px;
    }
    .meetings__text-card {
        padding: 28px 26px;
    }
    .meetings__subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .meetings__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .meetings__photo-card {
        max-width: 360px;
        margin: 0 auto;
    }
    .meetings__text-card {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .meetings {
        padding: 34px 0 60px 0;
    }
    .meetings__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .meetings__text-card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    .meetings__subtitle {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .meetings__text p {
        font-size: 0.98rem;
    }
    .meetings__photo-card {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .meetings__photo-card {
        animation: none;
    }
}

/* New dimension */
.dimension {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.dimension__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.dimension__title {
    margin: 0 0 28px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.dimension__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 360px));
    gap: 56px;
    justify-content: center;
}
.dimension-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 22px 22px 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    transform: translateY(0);
    transition: transform 200ms ease, box-shadow 200ms ease;
    animation: dimensionFloat 7.2s ease-in-out infinite;
}
.dimension-card:nth-child(2) { animation-delay: 0.25s; }

@keyframes dimensionFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.dimension-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}
.dimension-card__img {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
}
.dimension-card__text {
    margin: 18px 0 20px 0;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 700;
    color: #13335b;
}
.dimension-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid #2d2dbe;
    color: #1b1b2b;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.55);
    transition: transform 200ms ease, opacity 200ms ease;
}
.dimension-card__btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

@media (max-width: 900px) {
    .dimension__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .dimension-card {
        max-width: 520px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .dimension {
        padding: 34px 0 60px 0;
    }
    .dimension__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .dimension-card {
        padding: 18px 18px 22px 18px;
        animation: none;
    }
    .dimension-card__text {
        font-size: 0.98rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dimension-card {
        animation: none;
        transition: none;
    }
    .dimension-card__btn {
        transition: none;
    }
}

/* Reviews */
.reviews {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.reviews__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.reviews__title {
    margin: 0 0 30px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    justify-items: center;
}

.review-card {
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 18px 18px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(0);
    transition: transform 200ms ease, box-shadow 200ms ease;
    animation: reviewFloat 7.4s ease-in-out infinite;
}
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes reviewFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}

.review-card__avatar {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.85);
    border: 6px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.12);
}
.review-card__name {
    margin: 14px 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #13335b;
}
.review-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #13335b;
    font-weight: 700;
    opacity: 0.95;
}

.reviews-gallery {
    margin-top: 34px;
}
.reviews-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.reviews-gallery__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    transform: translateY(0);
    transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}
.reviews-gallery__img:hover {
    transform: translateY(-6px);
    filter: brightness(1.03);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}

@media (max-width: 1000px) {
    .reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .review-card {
        max-width: 360px;
    }
	.reviews-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
    .reviews {
        padding: 34px 0 60px 0;
    }
    .reviews__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .review-card {
        max-width: 520px;
        animation: none;
    }
    .review-card__avatar {
        width: 220px;
        height: 220px;
    }
    .review-card__text {
        font-size: 0.98rem;
    }
    .reviews-gallery {
        margin-top: 22px;
    }
    .reviews-gallery__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .reviews-gallery__img {
        aspect-ratio: 3 / 4;
    }
}
@media (prefers-reduced-motion: reduce) {
    .review-card {
        animation: none;
        transition: none;
    }
    .reviews-gallery__img {
        transition: none;
    }
}

/* Courses */
.courses {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    padding: 56px 0 80px 0;
}
.courses__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.courses__title {
    margin: 0 0 28px 0;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: #13335b;
}
.courses__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 360px));
    gap: 56px;
    justify-content: center;
}

.course-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    padding: 18px 18px 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    transform: translateY(0);
    transition: transform 200ms ease, box-shadow 200ms ease;
    animation: courseFloat 7.3s ease-in-out infinite;
}
.course-card:nth-child(2) { animation-delay: 0.25s; }

@keyframes courseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}

.course-card__img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.12);
}
.course-card__row {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}
.course-card__check {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(45, 45, 190, 0.35);
    color: #13335b;
    font-weight: 900;
}
.course-card__name {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #13335b;
}
.course-card__btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid #2d2dbe;
    color: #1b1b2b;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.55);
    transition: transform 200ms ease, opacity 200ms ease;
}
.course-card__btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

@media (max-width: 900px) {
    .courses__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .course-card {
        max-width: 520px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .courses {
        padding: 34px 0 60px 0;
    }
    .courses__title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    .course-card {
        animation: none;
        padding: 16px 16px 20px 16px;
    }
    .course-card__img {
        width: 200px;
        height: 200px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .course-card {
        animation: none;
        transition: none;
    }
    .course-card__btn {
        transition: none;
    }
}

/* Social strip */
.social {
    width: 100vw;
    background: linear-gradient(90deg, rgba(45, 45, 190, 0.8) 0%, rgba(161, 58, 209, 0.8) 50%, rgba(45, 45, 190, 0.8) 100%);
    display: flex;
    justify-content: center;
    padding: 18px 0;
}
.social__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.social__card {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.22);
    transform: translateY(0);
    transition: transform 180ms ease, opacity 180ms ease;
}
.social__card:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}
.social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social__card--tg { background: #2aa7df; }
.social__card--ig { background: #e1306c; }
.social__card--fb { background: #1877f2; }
.social__card--yt { background: #ff0000; }
.social__card--tt { background: #111; }

@media (max-width: 600px) {
    .social {
        padding: 14px 0;
    }
    .social__container {
        gap: 14px;
    }
    .social__card {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .social__card {
        transition: none;
    }
}

/* Footer */
.footer {
    width: 100vw;
    background: linear-gradient(90deg, rgba(45, 45, 190, 0.92) 0%, rgba(161, 58, 209, 0.92) 50%, rgba(45, 45, 190, 0.92) 100%);
    display: flex;
    justify-content: center;
    padding: 18px 0 22px 0;
}
.footer__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer__logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.9);
}
.footer__name {
    font-weight: 800;
    letter-spacing: 0.02em;
}
.footer__sub {
    margin-top: 2px;
    font-weight: 700;
    opacity: 0.9;
    font-size: 0.95rem;
}
.footer__meta {
    font-weight: 700;
    opacity: 0.9;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .footer__container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .footer__brand {
        flex-direction: column;
        gap: 10px;
    }
    .footer__meta {
        white-space: normal;
    }
}
@media (max-width: 1100px) {
    .header-inner {
        gap: 12px;
    }
    .header-nav {
        gap: 18px;
    }
}
@media (max-width: 900px) {
    .header {
        padding: 0 10px;
    }
    .header-inner {
        max-width: 100vw;
        gap: 0;
    }
    .header-btn {
        margin-left: 0;
    }
}
@media (max-width: 700px) {
    .header-inner {
        justify-content: space-between;
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: -100vw;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: linear-gradient(90deg, #2d2dbe 0%, #a13ad1 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px 24px;
        gap: 28px;
        box-shadow: -2px 0 16px rgba(0,0,0,0.13);
        z-index: 100;
        transition: right 0.3s;
    }
    .header-nav.open {
        right: 0;
    }
    .burger {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .nav-dropdown__menu {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        display: block;
        background: transparent;
        box-shadow: none;
        padding: 0;
        min-width: 0;
    }
    .nav-dropdown__menu a {
        color: #fff;
        font-size: 1.05rem;
        padding: 6px 0;
        border-radius: 0;
    }
    .nav-dropdown__menu a:hover {
        background: transparent;
        color: #ffb347;
    }
}
@media (max-width: 500px) {
    .header-title .main {
        font-size: 1.1rem;
    }
    .header-title .sub {
        font-size: 0.9rem;
    }
    .header-logo {
        width: 44px;
        height: 44px;
    }
    .header-btn {
        padding: 8px 10px;
        font-size: 0.68rem;
        min-width: 0;
        max-width: 120px;
        white-space: nowrap;
        letter-spacing: 0.01em;
    }
}
/* Хрестик для бургер-меню */
.burger.close {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 200;
}
.burger .cross {
    display: none;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
}
.burger.open .cross {
    display: block;
}
.burger.open span {
    opacity: 0;
}
.burger.open .cross:before, .burger.open .cross:after {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 22px;
    background: #fff;
    border-radius: 2px;
}
.burger.open .cross:before {
    transform: rotate(45deg);
}
.burger.open .cross:after {
    transform: rotate(-45deg);
}

/* Hero */
.main-hero {
    width: 100vw;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    position: relative;
    padding: 0;
}
.main-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-items: start;
    padding: 24px 20px 36px 20px;
}
.main-hero__top {
    text-align: center;
    width: 100%;
}
.main-hero__title {
    font-size: 2.35rem;
    font-weight: 700;
    margin: 0;
    color: #1b1b2b;
}
.main-hero__lead {
    margin: 10px 0 6px 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: #5a2c96;
}
.main-hero__brand {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b1b2b;
}
.main-hero__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.main-hero__card {
    position: relative;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 26px 26px 22px 26px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
    transform: translateY(0);
    animation: heroFloat 6s ease-in-out infinite;
    text-align: center;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.main-hero__decor {
    width: 130px;
    max-width: 40vw;
    height: auto;
    margin: 6px auto 12px auto;
    display: block;
    opacity: 0.9;
}
.main-hero__list {
    list-style: none;
    padding: 0;
    margin: 10px 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}
.main-hero__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    font-size: 1.15rem;
    font-weight: 700;
    color: #13335b;
    max-width: 520px;
}
.main-hero__icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.main-hero__actions {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    justify-content: center;
}
.main-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 26px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.main-hero__btn--primary {
    background: #7a0fe6;
    color: #fff;
}
.main-hero__btn--outline {
    background: transparent;
    color: #7a0fe6;
    border: 2px solid #7a0fe6;
}
.main-hero__right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-hero__img {
    max-width: 520px;
    width: 100%;
    height: auto;
}
@media (max-width: 900px) {
    .main-hero__content {
        flex-direction: column;
        gap: 24px;
        padding: 26px 14px 26px 14px;
    }
    .main-hero__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .main-hero__img {
        max-width: 420px;
    }
}
@media (max-width: 600px) {
    .main-hero {
        min-height: calc(100vh - 90px);
    }
    .main-hero__title {
        font-size: 1.6rem;
        text-align: center;
    }
    .main-hero__lead {
        font-size: 1.02rem;
    }
    .main-hero__brand {
        font-size: 1rem;
    }
    .main-hero__item {
        font-size: 1.02rem;
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }
    .main-hero__icon-img {
        width: 40px;
        height: 40px;
    }
    .main-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-hero__btn {
        width: 220px;
    }
}

/* About */
.about-section {
    width: 100vw;
    background: linear-gradient(90deg, #f7b7c7 0%, #d2c8ef 100%);
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 40px 0 60px 0;
}
.about-section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    width: 100%;
    gap: 18px;
    padding: 0 20px;
}
.about-section__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 288px minmax(0, 620px);
    gap: 64px;
    align-items: start;
    justify-content: center;
}
.about-section__photo-card {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
    border: 1px solid rgba(0,0,0,0.06);
    max-width: 288px;
    /* тримаємо висоту ближче до правого тексту */
    max-height: 460px;
}
.about-section__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    background: #fff;
    max-height: 424px;
    object-fit: contain;
}
.about-section__content {
    color: #13335b;
    padding-top: 10px;
    max-width: 620px;
    padding-right: 10px;
}
.about-section__title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 4px 0;
    color: #13335b;
    width: 100%;
    max-width: 1200px;
    /* центруємо заголовок по центру правої колонки (відступ = ширина фото + gap) */
    padding-left: calc(288px + 64px);
    box-sizing: border-box;
    text-align: center;
}
.about-section__lead {
    margin: 0 0 18px 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: #5a2c96;
}
.about-section__text {
    font-size: 1.12rem;
    line-height: 1.7;
    font-weight: 700;
}
.about-section__text p {
    margin: 0 0 18px 0;
}

/* About (part 2) */
.about2-section {
    width: 100%;
    margin-top: 30px;
}
.about2-section__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 288px minmax(0, 620px);
    gap: 64px;
    align-items: start;
    justify-content: center;
}
.about2-section__photos {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about2-section__photo-card {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
}
.about2-section__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}
.about2-section__content {
    max-width: 620px;
    color: #13335b;
    font-size: 1.12rem;
    line-height: 1.7;
    font-weight: 700;
}
.about2-section__content p {
    margin: 0 0 18px 0;
}
.about2-section__accent {
    color: #5a2c96;
    font-size: 1.22rem;
    font-weight: 700;
    margin-top: 6px;
}

@media (max-width: 1000px) {
    .about2-section__grid {
        grid-template-columns: 256px minmax(0, 560px);
        gap: 40px;
    }
}
@media (max-width: 900px) {
    .about2-section__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about2-section__photos {
        max-width: 420px;
        margin: 0 auto;
    }
    .about2-section__content {
        padding: 0;
        max-width: 620px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .about2-section__content {
        font-size: 0.98rem;
    }
    .about2-section__accent {
        font-size: 1.05rem;
    }
}

/* About (part 3) */
.about3-section {
    width: 100%;
    margin-top: 34px;
}
.about3-section__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 288px minmax(0, 620px);
    gap: 64px;
    align-items: start;
    justify-content: center;
}
.about3-section__photo-card {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.14);
}
.about3-section__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}
.about3-section__content {
    max-width: 620px;
    color: #13335b;
    font-weight: 700;
}
.about3-section__toptext {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.6;
}
.about3-section__headline {
    margin: 54px 0 0 0;
    font-size: 2.7rem;
    line-height: 1.15;
    font-weight: 700;
    color: #5a2c96;
    text-align: center;
}

@media (max-width: 1000px) {
    .about3-section__grid {
        grid-template-columns: 256px minmax(0, 560px);
        gap: 40px;
    }
    .about3-section__headline {
        font-size: 2.25rem;
        margin-top: 40px;
    }
}
@media (max-width: 900px) {
    .about3-section__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about3-section__photo-card {
        max-width: 420px;
        margin: 0 auto;
    }
    .about3-section__content {
        max-width: 620px;
        margin: 0 auto;
    }
    .about3-section__headline {
        margin-top: 28px;
        font-size: 2.1rem;
    }
}
@media (max-width: 600px) {
    .about3-section__toptext {
        font-size: 0.98rem;
    }
    .about3-section__headline {
        font-size: 1.85rem;
    }
}

/* About video */
.about-video {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 44px 0 10px 0;
}
.about-video__player {
    width: min(880px, calc(100% - 40px));
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.18);
    background: #000;
}

@media (max-width: 900px) {
    .about-video {
        padding: 34px 0 10px 0;
    }
    .about-video__player {
        width: min(720px, calc(100% - 28px));
    }
}

@media (max-width: 600px) {
    .about-video {
        padding: 26px 0 8px 0;
    }
    .about-video__player {
        width: calc(100% - 20px);
        border-radius: 10px;
    }
}

/* About (part 4) */
.about4-section {
    width: 100%;
    margin-top: 34px;
}
.about4-section__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    gap: 38px;
    align-items: stretch;
    justify-content: center;
}
.about4-section__text-card {
    background: rgba(232, 245, 206, 0.9);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    color: #13335b;
    font-weight: 700;
}
.about4-section__title {
    margin: 0 0 18px 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: #13335b;
}
.about4-section__subtitle {
    margin: 0 0 20px 0;
    color: #5a2c96;
    font-size: 1.15rem;
    font-weight: 700;
}
.about4-section__text p {
    margin: 0 0 18px 0;
    line-height: 1.65;
    font-size: 1.12rem;
}
.about4-section__em {
    color: #5a2c96;
}
.about4-section__author {
    margin: 10px 0 0 0;
    font-style: italic;
    opacity: 0.9;
}
.about4-section__photo-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-height: 560px;
}
.about4-section__img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    max-height: 520px;
}

@media (max-width: 1100px) {
    .about4-section__grid {
        grid-template-columns: minmax(0, 560px) 1fr;
        gap: 24px;
    }
}
@media (max-width: 900px) {
    .about4-section__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about4-section__photo-card {
        max-width: 520px;
        margin: 0 auto;
    }
    .about4-section__img {
        max-width: 520px;
    }
}
@media (max-width: 600px) {
    .about4-section__text-card {
        padding: 18px 18px;
    }
    .about4-section__title {
        font-size: 1.7rem;
    }
    .about4-section__text p {
        font-size: 0.98rem;
    }
}

/* About (part 5) */
.about5-section {
    width: 100%;
    margin-top: 34px;
}
.about5-section__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    gap: 38px;
    align-items: stretch;
    justify-content: center;
}
.about5-section__text-card {
    background: rgba(232, 245, 206, 0.9);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    color: #13335b;
    font-weight: 700;
}
.about5-section__title {
    margin: 0 0 18px 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: #13335b;
}
.about5-section__list {
    margin: 0 0 18px 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #5a2c96;
    font-size: 1.12rem;
    line-height: 1.55;
}
.about5-section__list li {
    margin: 0;
}
.about5-section__bottom {
    margin: 16px 0 0 0;
    color: #13335b;
    font-size: 1.04rem;
    line-height: 1.6;
}
.about5-section__photo-card {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    min-height: 520px;
    max-height: 700px;
}
.about5-section__img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    max-width: none;
}

@media (max-width: 1100px) {
    .about5-section__grid {
        grid-template-columns: minmax(0, 560px) 1fr;
        gap: 24px;
    }
    .about5-section__title {
        font-size: 2rem;
    }
}
@media (max-width: 900px) {
    .about5-section__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about5-section__photo-card {
        max-width: 520px;
        margin: 0 auto;
    }
    .about5-section__img {
        max-width: 520px;
    }
}
@media (max-width: 600px) {
    .about5-section__text-card {
        padding: 18px 18px;
    }
    .about5-section__title {
        font-size: 1.7rem;
    }
    .about5-section__list {
        font-size: 0.98rem;
    }
    .about5-section__bottom {
        font-size: 0.98rem;
    }
}
@media (max-width: 1000px) {
    .about-section__grid {
        grid-template-columns: 256px minmax(0, 560px);
        gap: 40px;
    }
    .about-section__photo-card {
        max-width: 256px;
    }
    .about-section__title {
        padding-left: calc(256px + 40px);
    }
}
@media (max-width: 900px) {
    .about-section__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-section__photo-card {
        max-width: 420px;
        margin: 0 auto;
    }
    .about-section__content {
        padding-top: 0;
    }
    .about-section__title {
        padding-left: 0;
        text-align: center;
    }
}
@media (max-width: 600px) {
    .about-section {
        padding: 24px 0 40px 0;
    }
    .about-section__title {
        font-size: 1.6rem;
    }
    .about-section__lead {
        font-size: 1.05rem;
    }
    .about-section__text {
        font-size: 0.98rem;
    }
}
