html.lock {
    overflow: hidden;
}

@font-face {
    font-family: "Gilroy-Light";
    src: url("../fonts/Gilroy-Light_0.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Regular";
    src: url("../fonts/Gilroy-Regular_0.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Medium";
    src: url("../fonts/Gilroy-Medium_0.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-SemiBold";
    src: url("../fonts/Gilroy-Semibold_0.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Bold";
    src: url("../fonts/Gilroy-Bold_0.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Heavy";
    src: url("../fonts/Gilroy-Heavy_0.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-LightItalic";
    src: url("../fonts/Gilroy-LightItalic_0.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Cormorant";
    src: url("../fonts/Cormorant-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant";
    src: url("../fonts/Cormorant-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Cormorant";
    src: url("../fonts/Cormorant-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

.flexSA {
    display: flex;
    justify-content: space-around;
}

.flexSB {
    display: flex;
    justify-content: space-between;
}

.flexCenter {
    display: flex;
    justify-content: center;
}

.flexAI {
    display: flex;
    align-items: center;
}

.flexW {
    display: flex;
    flex-wrap: wrap;
}

.flexColumn {
    display: flex;
    flex-direction: column;
}

.flexStart {
    display: flex;
    justify-content: flex-start;
}

.flexEnd {
    display: flex;
    justify-content: flex-end;
}


/******** Magnific-Popup *********/

.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}


/******** Magnific-Popup *********/


/* Модалка */

.wrapLabel {
    position: relative;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.wrapLabel span {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-weight: 400;
    padding-left: 30px;
    font-size: 14px;
    line-height: 1.35;
    display: block;
    position: relative;
    color: #2f2f2f;
}

.wrapLabel span a {
    color: var(--sageDark);
}

.wrapLabel span:before {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    top: 1px;
    content: '';
    background: #fff;
    border: 1px solid rgba(47, 47, 47, 0.75);
    border-radius: 2px;
}

.wrapLabel span:after {
    position: absolute;
    width: 8px;
    height: 8px;
    left: 4px;
    top: 5px;
    content: '';
    background: var(--sageDark);
    border-radius: 1px;
    opacity: 0;
}

.wrapLabel input:checked+span:after {
    opacity: 1;
}

.wrapLabel input {
    width: 16px !important;
    height: 16px !important;
    left: 0 !important;
    top: 0 !important;
    position: absolute !important;
    opacity: 0 !important;
}


/* Модалка */

body {
    color: #000;
    font-size: 16px;
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    line-height: 1.25;
}

body.lock {
    overflow: hidden;
}

body p {
    margin-top: 0;
    margin-bottom: 10px;
}

.h1,
h1 {
    text-align: center;
    font-family: "";
    font-size: 24px;
    margin-bottom: 45px;
    text-transform: uppercase;
}

.isScrolled .headerTop {
    padding-top: 10px;
}

.wrapper {
    max-width: 1920px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
}

header.isScrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.all_cnt {
    padding-top: 190px;
}

:root {
    --bgCream: #fffbf1;
    --bgCream2: #fdf5e0;
    --textDark: #2f2f2f;
    --sage: #95997f;
    --sageDark: #797d63;
    --lineLight: rgba(0, 0, 0, 0.15);
}

.container {
    position: relative;
    width: auto;
    max-width: 1407px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.sectionTitle {
    font-size: 30px;
    font-family: "Gilroy-SemiBold";
    color: var(--textDark);
    line-height: 1.2;
    margin-bottom: 30px;
}

.sectionTitleCentered {
    text-align: center;
}


/* Header */

.headerTop {
    background: #fff;
    padding: 26px 0 0;
    transition: 0.2s;
}

.headerTopInner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.headerPhone {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #000;
    line-height: normal;
}

.headerPhoneLink {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    color: #000;
    font-size: 20px;
    text-decoration: none;
    transition: opacity .25s;
}

.headerPhoneLink:visited,
.headerPhoneLink:focus,
.headerPhoneLink:active {
    color: #000;
    text-decoration: none;
}

.headerPhoneLink:hover {
    color: #000;
    opacity: .8;
}

.headerPhoneIcon {
    width: 15px;
    height: 15px;
    display: block;
}

.headerContactLink {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 17px;
    color: var(--sage);
    text-decoration: underline;
    transition: color .25s, opacity .25s;
}

.headerContactLink:hover {
    color: var(--sageDark);
    opacity: .9;
    text-decoration: underline;
}

.headerSocial {
    display: flex;
    align-items: center;
    gap: 8px;
}

.headerSocialLink {
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    transition: transform .25s, filter .25s;
}

.headerSocialLink:hover {
    transform: translateY(-1px);
    filter: brightness(0.95);
}

.headerSocialLink img {
    width: 30px;
    height: 30px;
    display: block;
}

.headerNav {
    background: var(--bgCream2);
    margin-top: 11px;
    border-bottom: 1px solid rgba(47, 47, 47, 0.08);
}

.headerNavInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}

.headerNavInner .logo {
    margin-top: -12px;
    margin-bottom: -13px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #fff;
    padding-left: 18px;
    padding-right: 18px;
}

.burgerBtn {
    display: none;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(47, 47, 47, 0.18);
    background: #fff;
    border-radius: 18px;
    padding: 14px 12px;
    margin-left: auto;
    box-shadow: 0 10px 24px rgba(47, 47, 47, 0.08);
    transition: background .25s, border-color .25s, box-shadow .25s;
}

.burgerBtn:hover {
    border-color: rgba(104, 114, 78, 0.35);
    box-shadow: 0 14px 28px rgba(47, 47, 47, 0.12);
}

.burgerBtn:focus-visible {
    outline: none;
    border-color: rgba(104, 114, 78, 0.45);
    box-shadow: 0 0 0 4px rgba(104, 114, 78, 0.12);
}

.burgerBtn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2f2f2f;
    border-radius: 20px;
    transition: transform .25s, opacity .25s, background .25s;
}

.burgerBtn span+span {
    margin-top: 8px;
}

.navMenu ul {
    display: flex;
    justify-content: center;
    gap: 85px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navLink {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    color: #000;
    text-decoration: none;
    font-size: 20px;
    transition: color .25s, transform .25s;
}

.navLink:visited,
.navLink:focus,
.navLink:active {
    color: #000;
    text-decoration: none;
}

.navLink:hover {
    color: var(--sageDark);
    transform: translateY(-1px);
}


/* Hero */

.heroSection {
    position: relative;
    background: var(--bgCream);
    overflow: hidden;
}

.heroSectionBlock {
    padding: 22px 0;
    position: relative;
    z-index: 1;
    background: url("../images/hero-fon.png") center/cover no-repeat;
}

.heroBg {
    position: absolute;
    inset: 0;
    background: var(--bgCream);
    pointer-events: none;
}

.heroInner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.heroContent {
    width: 737px;
    text-align: center;
}

.heroSlide {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 47px;
}


/* slick: отключаем глобальные margin-ы, которые ломают hero-слайдер */

.heroContent .slick-slide {
    margin: 0 !important;
}

.heroContent .slick-list {
    margin: 0 !important;
    overflow: hidden;
}

.heroSubtitle {
    font-family: "Gilroy-Medium", "Gilroy", sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: var(--textDark);
}

.heroTitle {
    font-family: "Cormorant", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 100px;
    letter-spacing: -6px;
    margin: 0;
    color: var(--textDark);
    text-transform: none;
}

.heroText {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 20px;
    margin: 0;
    color: #000;
}

.heroCta {
    width: 356px;
}

.heroPhoto {
    width: 391px;
    height: 473px;
    overflow: hidden;
    border-radius: 10px;
}

.heroPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(0.98);
}


/* About */

.aboutSection {
    background: #fff;
    padding: 60px 0 60px;
}

.aboutInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.aboutSliderWrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aboutSlider {
    width: 399px;
}

.aboutSlide {
    outline: none;
}

.aboutPhotoCircle {
    width: 399px;
    height: 399px;
    border-radius: 200px;
    overflow: hidden;
    position: relative;
}

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

.aboutPhotoCircle:after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);
    background: rgba(253, 245, 224, 0.10);
}

.aboutQuote {
    position: absolute;
    left: 43px;
    top: 130px;
    width: 314px;
    z-index: 1;
}

.aboutQuoteText {
    background: var(--sage);
    color: var(--bgCream2);
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    /* для эффекта блика */
}

.aboutQuoteAuthor {
    display: inline-block;
    margin-top: 5px;
    background: var(--sage);
    color: var(--bgCream2);
    font-size: 17px;
    font-style: italic;
    padding: 10px;
}

.aboutQuoteText:before {
    content: "";
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(8deg) translateX(-20%);
    opacity: 0;
    pointer-events: none;
}

@keyframes aboutQuoteShimmer {
    0% {
        transform: rotate(8deg) translateX(-35%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: rotate(8deg) translateX(35%);
        opacity: 0;
    }
}

.aboutSlider .slick-active .aboutQuoteText:before {
    animation: aboutQuoteShimmer 1.1s ease both;
}

.aboutSlider .slick-active .aboutQuoteAuthor {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: box-shadow .25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .aboutSlider .slick-active .aboutQuoteText:before {
        animation: none;
    }
}

.sliderArrow {
    width: 58px;
    height: 58px;
    border: 1px solid #95997F;
    background: transparent;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
}

.sliderArrow:hover {
    background: rgba(149, 153, 127, 0.10);
    transform: translateY(-1px);
}

.sliderArrowIcon {
    width: 13px;
    height: 24px;
    display: block;
}

.aboutText {
    width: 857px;
}

.aboutParagraph {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 17px;
    line-height: 1.2;
}


/* Help */

.helpSection {
    background: var(--bgCream2);
    padding: 62px 0 62px;
}

.helpCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 29px;
    margin-top: 40px;
}

.helpCard {
    background: var(--sage);
    border-radius: 20px;
    padding: 65px 44px;
    min-height: 848px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform .25s, box-shadow .25s;
    padding-bottom: 45px;
}

.helpCard:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(14deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.helpCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.helpCard:hover:before {
    opacity: 1;
}

.helpCardTitle {
    font-family: "Gilroy-Medium", "Gilroy", sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: var(--bgCream);
    line-height: 1.16;
    margin-bottom: 25px;
    max-width: 320px;
}

.helpCardLead {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 20px;
    font-style: italic;
    color: var(--textDark);
    line-height: 1.15;
    margin-bottom: 25px;
}

.helpList {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 20px;
    color: var(--textDark);
    line-height: 1.28;
}

.helpList li {
    padding: 5px 0;
    border-bottom: 1px solid #797D63;
}

.helpList li:last-child {
    border-bottom: 0;
}

.helpPriceBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.helpPrice {
    font-family: "Gilroy-Medium", "Gilroy", sans-serif;
    color: var(--bgCream);
    font-size: 30px;
    font-weight: 500;
}

.helpBtn {
    width: 252px;
}

.helpNotes {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    margin-top: 25px;
    font-size: 17px;
    color: var(--textDark);
}

.helpNotes ul {
    list-style: disc;
    padding-left: 26px;
}

.helpNotes li {
    margin: 10px 0;
}


/* Education */

.educationSection {
    background: #fff;
    padding: 60px 0 60px;
}

.educationSliderWrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.educationSlider {
    width: 1200px;
    flex: 0 0 1200px;
    min-width: 1200px;
}

.educationSlider .slick-list {
    overflow: hidden;
}

.educationSlider .slick-track {
    display: flex;
    align-items: center;
}

.slick-slide {
    margin: 0 25px !important;
    height: auto !important;
}

.slick-list {
    margin: 0 -25px !important;
}

.aboutSlider,
.educationSlider {
    opacity: 0;
}

.slick-slider {
    opacity: 0 !important;
    transition: opacity .3s ease;
}

.slick-slider.slick-initialized {
    opacity: 1 !important;
    height: auto !important;
}

.eduSlide {
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    margin: 0;
    outline: none;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}

.eduSlide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( 140px 140px at 20% 10%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.eduSlide:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.eduSlide:hover:before {
    opacity: 1;
}

.eduSlideWide {
    width: 354px;
}

.eduSlideNarrow {
    width: 177px;
}

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


/* Contacts form (not in Figma, but in style) */

.contactsCard {
    background: #fff;
    border-radius: 20px;
    padding: 46px 50px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.contactsTitle {
    font-size: 30px;
    font-family: "Gilroy-Bold", "Gilroy", sans-serif;
    font-weight: 700;
    color: var(--textDark);
    text-align: center;
    margin-bottom: 12px;
}

.contactsText {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 17px;
    color: #000;
    text-align: center;
    margin-bottom: 24px;
}

.contactsForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.contactsInput,
.contactsTextarea {
    width: auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    transition: border-color .25s, box-shadow .25s;
}

.contactsTextarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.contactsInput:focus,
.contactsTextarea:focus {
    outline: none;
    border-color: rgba(149, 153, 127, 0.8);
    box-shadow: 0 0 0 4px rgba(149, 153, 127, 0.15);
}

.contactsSubmit {
    grid-column: 1 / -1;
    height: 58px;
}

.contactsAgree {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.contactsForm.isSent:before {
    content: "Заявка отправлена. Я скоро свяжусь с вами.";
    grid-column: 1 / -1;
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(149, 153, 127, 0.12);
    color: var(--textDark);
}


/* Magnific popup */

.callbackPopup {
    max-width: 980px;
    margin: 40px auto;
    position: relative;
}

.mfp-bg {
    background: rgba(0, 0, 0, 0.45);
}

.mfp-content .contactsCard {
    margin: 0 auto;
}


/* Footer */

.footerSection {
    background: var(--sage);
    padding: 52px 0;
    color: var(--bgCream2);
}

.footerInner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footerBrand {
    width: 200px;
    min-width: 200px;
}

.footerCol.footerColContact {
    max-width: 325px;
}

.footerCol ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wrapFooterContact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footerTitle {
    font-family: "Gilroy-SemiBold", "Gilroy", sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.footerLink {
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    color: var(--bgCream2);
    text-decoration: none;
    font-size: 20px;
    transition: opacity .25s, transform .25s;
}

.footerLink:visited,
.footerLink:focus,
.footerLink:active {
    color: var(--bgCream2);
    text-decoration: none;
}

.footerLink:hover {
    color: var(--bgCream2);
    opacity: .85;
    transform: translateY(-1px);
}

.footerContact {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    font-size: 20px;
    color: var(--bgCream2);
    text-decoration: none;
    line-height: 1.2;
}

.footerContact:visited,
.footerContact:focus,
.footerContact:active,
.footerContact:hover {
    color: var(--bgCream2);
    text-decoration: none;
}

.footerIcon {
    width: 15px;
    height: 15px;
    display: block;
}

.footerCta {
    width: 359px;
    height: 62px;
    border-radius: 30px;
    margin-top: 2px;
    white-space: nowrap;
    background: var(--sageDark);
}

.btnStyle {
    position: relative;
    cursor: pointer;
    font-family: "Gilroy-Regular", "Gilroy", sans-serif;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    text-transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--sageDark);
    border: 0;
    border-radius: 30px;
    height: 58px;
    padding: 0 15px;
    transition: background .25s, box-shadow .25s, filter .25s;
    text-decoration: none;
}

.btnStyle:hover {
    text-decoration: none;
    color: #fff;
    background: #686c54;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    filter: brightness(1.02);
}

.btnStyle.btnLight {
    background: var(--bgCream);
    color: var(--sage);
}

.btnStyle.btnLight:hover {
    color: var(--sage);
    background: #f4ecda;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    filter: none;
}


/* --- Scroll reveal --- */

.revealItem {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .65s ease, transform .65s ease;
    will-change: opacity, transform;
}

.revealItem.isVisible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .revealItem {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* --- Media styles --- */

@media screen and (max-width:1439px) {
    .container {
        max-width: 1200px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .navMenu ul {
        gap: 38px;
    }
    .heroInner {
        gap: 30px;
    }
    .heroContent {
        width: 56%;
    }
    .heroPhoto {
        width: 360px;
        height: 436px;
    }
    .aboutInner {
        gap: 35px;
    }
    .aboutText {
        width: calc(100% - 470px);
    }
}

@media screen and (max-width:1199px) {
    .container {
        max-width: 960px;
    }
    header {
        height: auto;
        position: sticky;
    }
    .all_cnt {
        padding-top: 0;
    }
    .headerTop {
        padding: 14px 0 8px;
    }
    .headerSocial {
        flex-wrap: wrap;
    }
    .headerTopInner {
        justify-content: space-between;
        gap: 10px;
    }
    .headerPhoneLink {
        font-size: 18px;
    }
    .headerNav {
        margin-top: 6px;
        padding: 8px 0;
    }
    .headerNavInner {
        grid-template-columns: 250px 1fr;
        gap: 12px;
    }
    .navMenu ul {
        gap: 24px;
        justify-content: space-between;
    }
    .navLink {
        font-size: 18px;
    }
    .heroSectionBlock {
        padding: 45px 0 50px;
    }
    .heroTitle {
        font-size: 82px;
    }
    .heroText {
        width: 100%;
        max-width: 460px;
    }
    .heroPhoto {
        width: 320px;
        height: 390px;
        margin-right: 0;
    }
    .aboutSection,
    .helpSection,
    .educationSection {
        padding: 48px 0;
    }
    .aboutInner {
        align-items: flex-start;
    }
    .aboutSliderWrap {
        flex: 0 0 420px;
    }
    .aboutText {
        width: auto;
        flex: 1;
    }
    .aboutParagraph,
    .helpNotes {
        font-size: 16px;
    }
    .helpCards {
        gap: 20px;
    }
    .helpCard {
        min-height: auto;
        padding: 34px 26px;
    }
    .helpCardTitle,
    .helpPrice {
        font-size: 34px;
    }
    .helpList,
    .helpCardLead {
        font-size: 18px;
    }
    .educationSlider {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }
    .footerInner {
        flex-wrap: wrap;
        gap: 24px 34px;
    }
    .footerCta {
        width: 100%;
        max-width: 359px;
        margin-left: auto;
    }
}

@media screen and (max-width:991px) {
    .container {
        max-width: 720px;
    }
    header {
        position: static;
    }
    .headerTop {
        padding: 10px 0 6px;
    }
    .headerPhone {
        justify-content: space-between;
    }
    .headerSocial {
        margin-left: auto;
    }
    .headerNavInner {
        grid-template-columns: 1fr auto;
        gap: 14px;
        position: relative;
    }
    .burgerBtn {
        display: block;
        align-self: center;
    }
    .headerNavInner.menuOpen .burgerBtn span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .headerNavInner.menuOpen .burgerBtn span:nth-child(2) {
        opacity: 0;
    }
    .headerNavInner.menuOpen .burgerBtn span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    .headerNavInner.menuOpen .burgerBtn {
        background: #f8f4e8;
        border-color: rgba(104, 114, 78, 0.28);
    }
    .navMenu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(47, 47, 47, 0.08);
        border-radius: 22px;
        box-shadow: 0 22px 50px rgba(47, 47, 47, 0.12);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px 0;
        z-index: 30;
        backdrop-filter: blur(10px);
    }
    .navMenu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .headerNavInner.menuOpen .navMenu {
        display: block;
    }
    .navLink {
        width: 100%;
        display: block;
        padding: 14px 22px;
        font-size: 24px;
        line-height: 1.2;
    }
    .navMenu li {
        width: 100%;
    }
    .navMenu li+li {
        border-top: 1px solid rgba(47, 47, 47, 0.06);
    }
    .heroInner {
        flex-direction: column;
        text-align: center;
    }
    .heroContent {
        width: 100%;
    }
    .heroSlide {
        gap: 26px;
    }
    .heroTitle {
        font-size: 68px;
    }
    .heroPhoto {
        width: 340px;
        height: 410px;
    }
    .aboutInner {
        flex-direction: column;
        align-items: center;
    }
    .aboutSliderWrap {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    .aboutText {
        width: 100%;
    }
    .helpCards {
        grid-template-columns: 1fr;
    }
    .helpCardTitle,
    .helpPrice {
        font-size: 30px;
    }
    .educationSliderWrap {
        gap: 10px;
    }
    .eduSlideWide {
        width: 300px;
    }
    .eduSlideNarrow {
        width: 160px;
    }
    .footerInner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .footerCta {
        grid-column: 1 / -1;
        margin: 6px auto 0;
    }
}

@media screen and (max-width:767px) {
    .container {
        max-width: 540px;
    }
    .sectionTitle {
        font-size: 34px;
        margin-bottom: 22px;
    }
    .headerPhone {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .headerPhoneLink {
        font-size: 16px;
        white-space: nowrap;
    }
    .headerContactLink {
        font-size: 15px;
    }
    .navLink {
        font-size: 20px;
        white-space: normal;
    }
    .heroSectionBlock {
        padding: 36px 0 40px;
    }
    .heroSubtitle {
        font-size: 20px;
    }
    .heroTitle {
        font-size: 56px;
        letter-spacing: -1px;
    }
    .heroText {
        font-size: 18px;
    }
    .heroCta {
        width: 100%;
        max-width: 356px;
    }
    .heroPhoto {
        width: min(92vw, 340px);
        height: auto;
        aspect-ratio: 391 / 473;
    }
    .aboutSlider {
        width: min(92vw, 399px);
    }
    .aboutSliderWrap {
        position: relative;
        width: 100%;
        max-width: 399px;
        justify-content: center;
        padding: 0 26px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .aboutPhotoCircle {
        width: min(92vw, 399px);
        height: min(92vw, 399px);
        margin: 0 auto;
    }
    .aboutQuote {
        top: 50%;
        left: 8%;
        width: 84%;
        transform: translateY(-50%);
    }
    .aboutQuoteText {
        font-size: 18px;
        padding: 10px 12px;
    }
    .aboutQuoteAuthor {
        font-size: 16px;
        padding: 8px 12px;
    }
    .aboutSliderWrap .sliderArrow {
        position: absolute;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 18px rgba(47, 47, 47, 0.10);
    }
    .aboutSliderWrap .sliderArrowPrev {
        left: 0;
    }
    .aboutSliderWrap .sliderArrowNext {
        right: 0;
    }
    .aboutSliderWrap .sliderArrow:hover {
        transform: translateY(-50%);
    }
    .helpCard {
        padding: 28px 20px;
    }
    .helpList,
    .helpCardLead {
        font-size: 16px;
    }
    .helpBtn {
        width: 100%;
        max-width: 252px;
    }
    .helpNotes {
        width: 100%;
    }
    .sliderArrow {
        width: 44px;
        height: 44px;
    }
    .sliderArrowIcon {
        width: 11px;
        height: 18px;
    }
    .footerInner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footerBrand {
        width: auto;
        min-width: 0;
    }
    .footerTitle,
    .footerLink,
    .footerContact {
        font-size: 18px;
    }
    .contactsForm {
        grid-template-columns: 1fr;
    }
    .contactsCard {
        padding: 20px;
    }
    .contactsTitle {
        font-size: 20px;
    }
    .contactsText {
        font-size: 14px;
    }
}

@media screen and (max-width:575px) {
    .container {
        max-width: none;
        padding-left: 12px;
        padding-right: 12px;
    }
    .heroTitle {
        font-size: 46px;
    }
    .heroText {
        font-size: 17px;
    }
    .btnStyle {
        font-size: 18px;
        height: 54px;
    }
    .helpCardTitle,
    .helpPrice {
        font-size: 28px;
    }
    .aboutSlider {
        width: min(100%, 340px);
    }
    .aboutSliderWrap {
        max-width: 340px;
        padding: 0 22px;
    }
    .aboutPhotoCircle {
        width: min(100%, 340px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .aboutQuote {
        left: 6%;
        width: 88%;
    }
    .aboutQuoteText {
        font-size: 15px;
        line-height: 1.25;
    }
    .aboutQuoteAuthor {
        font-size: 13px;
    }
    .aboutSliderWrap .sliderArrow {
        width: 38px;
        height: 38px;
    }
    .aboutSliderWrap .sliderArrowPrev {
        left: 0;
    }
    .aboutSliderWrap .sliderArrowNext {
        right: 0;
    }
    .eduSlide {
        height: 210px;
    }
    .eduSlideWide {
        width: 255px;
    }
    .eduSlideNarrow {
        width: 132px;
    }
}