* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #DBC7E2;
    --purple-black: #3C2348;
    --purple-dark: #9165A7;
    --purple-light: #D7CADE;
    --purple-bg: #F0E6F6;
    --purple-surface: #F8F3FC;
    --yellow: #FFED00;
    --yellow-dark: #E0B530;
    --white: #FFFFFF;
    --gray-dark: #1C1B17;
    --gray-light: #F7F5FA;
    --gray: #888888;
    --gray-medium: #B0A8B8;
    --black: #000000;
    --dark: #2D2D2D;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --dot-2-purple: #C8B2D3;
    --dot-3-purple: #E3D8E9;
    --dot-4-purple: #F1EBF4;
    --radius-33: 33px;
    --radius-17: 17px;
    --radius-14: 14px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

/* ========== BTN ========== */
.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--purple);
}

.btn {
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: clamp(10px, 2vw, 18px);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-full {
    display: block;
    padding: 18px 30px;
    text-align: center;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--dark);
}

.btn-yellow:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-purple {
    background: var(--purple-dark);
    color: var(--white);
}

.btn-purple:hover {
    background: var(--purple);
    color: var(--white);
}

/* ========== RADIUS BLOCK ========== */
.radius-block_bottom-right {
    background-color: #FFF; /* Цвет внешних углов */
    position: absolute;
    bottom: -1px;
    right: -1px;
}
.angle_1,
.angle_2 {
    position: absolute;
    overflow: hidden;
}
.angle_1::before,
.angle_2::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #FFF; /* Цвет внешних углов */
    /* Создаем маску: прозрачный круг в центре, белый (видимый) цвет снаружи */
    -webkit-mask-image: radial-gradient(circle, transparent 70%, black 51%);
    mask-image: radial-gradient(circle, transparent 70%, black 51%);
}
.radius-block_bottom-right .angle_1 {
    bottom: -1px;
    right: calc(100% - 1px);
}
.radius-block_bottom-right .angle_2 {
    bottom: calc(100% - 1px);
    right: -1px;
}
.radius-block_bottom-right .angle_1::before {
    bottom: -1px;
    right: -1px;
}
.radius-block_bottom-right .angle_2::before {
    bottom: -1px;
    right: -1px;
}

.radius-block_top-right {
    background-color: #FFF; /* Цвет внешних углов */
    position: absolute;
    top: -1px;
    right: -1px;
    border-bottom-left-radius: var(--radius-33);
    border-top-right-radius: var(--radius-33);
}
.radius-block_top-right .angle_1 {
    top: -1px;
    right: calc(100% - 1px);
}
.radius-block_top-right .angle_2 {
    top: calc(100% - 1px);
    right: -1px;
}
.radius-block_top-right .angle_1::before {
    top: -1px;
    right: -1px;
}
.radius-block_top-right .angle_2::before {
    top: -1px;
    right: -1px;
}

/* ========== DOTS ========== */
.dots {
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.dots .dot {
    width: 60px;
    height: 14px;
    margin-left: -24px;
    border-radius: 7px;
    background: var(--purple-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.dots .dot:first-child {
    margin-left: 0;
}

.dots .dot:nth-child(2) {
    background: var(--dot-2-purple);
}

.dots .dot:nth-child(3) {
    background: var(--dot-3-purple);
}

.dots .dot:nth-child(4) {
    background: var(--dot-4-purple);
}

/* ========== HEADER ========== */
.header {
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1280px;
    height: 172px;
    padding: 0;
    margin: 0 auto;
}

.header-logo {
    max-width: 393px;
    position: relative;
    padding: 51px 64px 55px 0;
}

.header-logo::before {
    content: "";
    display: block;
    width: 100vw;
    height: 294px;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--purple-dark);
    z-index: -1;
}

.header-logo .logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: 2px;
    text-decoration: none;
    z-index: 1;
}

.header-logo .logo img {
    max-width: 248px;
}

.header-menu {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-evenly;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-btn {
    background: var(--black);
    color: var(--white);
}

.header-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 25px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.header-phone a {
    font-size: 25px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.header-nav a {
    font-size: 21px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.header-nav a:hover { color: var(--purple-dark); }
.header-nav a.active { color: var(--purple); }

.header-address {
    font-size: 11px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-top,
.header-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.header-top {
    margin-bottom: 6px;
}

/* ========== BANER ========== */
.baner {
    padding: 0;
}

.baner-inner {
    padding: 63px 87px;
    background: url(/assets/img/image_1.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 57px;
    position: relative;
}

.baner-inner h1 {
    margin-bottom: 16px;
    font-size: 84px; /*clamp(30px, 1vw, 84px);*/
    font-weight: 700;
    line-height: 1;
    color: var(--purple-black);
    text-transform: uppercase;
}

.baner-inner p {
    max-width: 980px;
    font-size: 33px;
    font-weight: 500;
    color: var(--gray-dark);
    line-height: 1;
}

.baner-center {
    display: flex;
    gap: 12px;
    margin-top: 60px;
}

.baner-stars {
    display: block;
    background: var(--white);
    padding: 28px 26px 21px 30px;
    max-width: 30%;
    border-top-left-radius: var(--radius-33);
    border-bottom-right-radius: var(--radius-33);
}

.baner-stars .angle_1,
.baner-stars .angle_2 {
    width: var(--radius-33);
    height: var(--radius-33);
}
.baner-stars .angle_1::before,
.baner-stars .angle_2::before {
    width: calc(var(--radius-33) * 2);
    height: calc(var(--radius-33) * 2);
}

.baner-stars img {
    max-width: 100%;
}

/* ========== DOCTORS ========== */
.doctors-section {
    padding: 60px 0 70px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    gap: 38px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.doctor-card:hover {
    transform: translateY(-4px);
}

.doctor-card-inner {
    position: relative;
    margin-bottom: 14px;
    border-bottom-left-radius: 40px;
    overflow: hidden;
}

.doctor-card-wrap {
    display: flex;
    width: 100%;
    background: var(--purple);
    padding-left: 50%;
    padding-bottom: 70px;
    border-radius: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.doctor-photo {
    width: 50%;
    max-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.doctor-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: top;
}

.doctor-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-name {
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    color: var(--black);
    margin-bottom: 6px;
}

.doctor-specialty {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.doctor-category {
    font-weight: 400;
    font-size: 17px;
    color: var(--gray-dark);
}

.doctor-detail {
    width: 50%;
    padding: 13px 0 0 13px;
    border-top-left-radius: var(--radius-33);
    border-bottom-right-radius: var(--radius-33);
}

.doctor-detail .angle_1,
.doctor-detail .angle_2 {
    width: var(--radius-33);
    height: var(--radius-33);
}
.doctor-detail .angle_1::before,
.doctor-detail .angle_2::before {
    width: calc(var(--radius-33) * 2);
    height: calc(var(--radius-33) * 2);
}

.doctor-card-btn-detail {
    display: block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
}

.btn-detail:hover {
    background: var(--purple-black);
}

.doctor-card-btn {
    font-size: 20px;
    font-weight: 700;
    padding: 11px;
}

.doctors-dots {
    margin-top: 53px;
}

/* ========== DOCTOR PROFILE ========== */
.doctor-profile {
    padding: 40px 0 60px;
}

.doctor-profile-inner {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-profile-photo {
    flex: 0 0 280px;
}

.doctor-profile-photo-wrap {
    border-bottom-right-radius: 38px;
    position: relative;
    overflow: hidden;
}

.doctor-profile-photo-bg {
    background: var(--purple-bg);
    border-radius: 38px 38px 38px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 20px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: -1;
}

.doctor-profile-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-profile-caption {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
}

.doctor-profile-category {
    font-weight: 400;
    font-size: 17px;
    color: var(--gray-dark);
}

.doctor-profile-info {
    flex: 1;
}

.doctor-profile-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.doctor-profile-name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
}

.doctor-profile-experience {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.doctor-profile-degree {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.doctor-profile-spec-title {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.doctor-profile-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.doctor-profile-list li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
    color: var(--dark);
}

.doctor-profile-btn {
    display: block;
    text-align: center;
    font-size: 16px;
    padding: 14px 24px;
}

/* ========== SERVICES ========== */
.services {
    padding: 54px 0;
    background: var(--purple-light);
}

.services-list {
    margin-top: 43px;
}

.service-item {
    background: var(--white);
    border-radius: 35px;
    margin-bottom: 27px;
    overflow: hidden;
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 17px 28px 17px 48px;
    cursor: pointer;
    transition: background 0.3s;
}

.service-header h4 {
    font-size: 26px;
    font-weight: 500;
    color: var(--black);
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 45px;
    font-weight: 200;
    transition: transform 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.service-item.active .service-icon {
    transform: rotate(45deg);
}

.service-body {
    padding: 0 48px;
    max-height: 0;
    font-size: 25px;
    font-weight: 400;
    color: var(--black);
    line-height: 1;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.service-item.active .service-body {
    max-height: 1000px;
    padding: 0 48px 20px;
}

.service-body ul {
    margin-left: 34px;
}

/* ========== METHODS ========== */
.methods {
    padding: 60px 0;
    background: var(--white);
}

.methods-subtitle {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    color: var(--black);
    margin-top: 7px;
    margin-bottom: 40px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 30px;
}

.method-card {
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s;
}

.method-card:first-child {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
    height: 100%;
}

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

.method-card-bg {
    width: 100%;
    height: 100%;
    border-radius: 46px;
    background-size: cover;
    background-position: 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

.method-card-detail {
    padding: 20px 0 0 20px;
    width: 50%;
    border-top-left-radius: var(--radius-33);
    border-bottom-right-radius: var(--radius-33);
}

.method-card-detail .angle_1,
.method-card-detail .angle_2 {
    width: var(--radius-33);
    height: var(--radius-33);
}
.method-card-detail .angle_1::before,
.method-card-detail .angle_2::before {
    width: calc(var(--radius-33) * 2);
    height: calc(var(--radius-33) * 2);
}

.method-card-label {
    background: var(--purple-dark);
    color: var(--white);
    padding: 27px 44px;
    border-radius: 20px;
    font-size: 23px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

/* ========== REVIEWS ========== */
.reviews {
    padding: 70px 0 85px;
    background: var(--purple-light);
}

.reviews-inner {
    margin-top: 47px;
    display: flex;
    gap: 30px;
    margin-bottom: 48px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.review-card {
    background: var(--white);
    border-radius: 28px;
    padding: 24px;
    position: relative;
}

.review-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--black);
    line-height: 1;
    padding-right: 54px;
    margin-bottom: 12px;
}

.review-detail {
    padding: 0 0 9px 9px;
    background: var(--purple-light);
    border-bottom-left-radius: var(--radius-14);
}

.review-detail .angle_1,
.review-detail .angle_2 {
    width: var(--radius-17);
    height: var(--radius-17);
}

.review-detail .angle_1::before,
.review-detail .angle_2::before {
    background: var(--purple-light);
    width: calc(var(--radius-17) * 2);
    height: calc(var(--radius-17) * 2);
}

.review-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--purple-dark);
    color: var(--white);
    background: url(/assets/img/icon_arrow.png) no-repeat 50%;
    background-size: contain;
}

.review-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    min-width: 450px;
}

.review-form form {
    background: var(--white);
    border-radius: 28px;
    padding: 24px 24px 87px 24px;
    position: relative;
    min-height: 250px;
}

.review-form form textarea {
    width: 100%;
    height: 100%;
    padding: 5px;
    border: 0;
}

.review-form form textarea:focus {
    outline: none;
}

.review-form-detail {
    padding: 13px 0 0 17px;
    background: var(--purple-light);
    border-top-left-radius: var(--radius-14);
}

.review-form-detail .angle_1,
.review-form-detail .angle_2 {
    width: var(--radius-17);
    height: var(--radius-17);
}

.review-form-detail .angle_1::before,
.review-form-detail .angle_2::before {
    background: var(--purple-light);
    width: calc(var(--radius-17) * 2);
    height: calc(var(--radius-17) * 2);
}

.review-form-detail button {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    padding: 15px;
}

.review-form a.btn {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    padding: 15px;
    text-align: center;
}

/* ========== partners ========== */
.partner-kdl {
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    background: var(--purple);
}

.partner-kdl_block_1 .partner-kdl_inner {
    padding: 103px 115px 36px 47px;
    background: var(--white);
    border-bottom-left-radius: 62px;
    position: relative;
}
.partner-kdl_block_1 .partner-kdl_inner:before {
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    background: var(--white);
    position: absolute;
    top: 0;
    left: 100%;
}

.partner-kdl_block_2 .partner-kdl_inner {
    padding: 37px 115px 40px 47px;
}

.partner-kdl_block_3 .partner-kdl_inner {
    padding: 37px 115px 48px 47px;
    border-top-right-radius: 62px;
    position: relative;
    background: var(--purple-dark);
}
.partner-kdl_block_3 .partner-kdl_inner:before {
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    background: var(--purple-dark);
    position: absolute;
    top: 0;
    right: 100%;
}
.partner-kdl_block_3_wrap {
    display: flex;
    gap: 66px;
}
.partner-kdl_block_3_wrap .partner-kdl_logo {
    min-width: 35%;

}
.partner-kdl_block_3_wrap .partner-kdl_logo img {
    max-width: 100%;
    max-height: 100%;
}
.partner-kdl_block_3_wrap .partner-kdl_body {
    color: var(--white);

}
.partner-kdl-detail {
    background: var(--purple);
    padding: 0 0 12px 12px;
    border-bottom-left-radius: 28px;
}
.partner-kdl-detail .angle_1,
.partner-kdl-detail .angle_2 {
    width: 28px;
    height: 28px;
}

.partner-kdl-detail .angle_1::before,
.partner-kdl-detail .angle_2::before {
    background: var(--purple);
    width: 56px;
    height: 56px;
}
.partner-kdl-detail .partner-kdl-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--purple-dark);
    color: var(--white);
    background: url(/assets/img/icon_arrow.png) no-repeat 50%;
    background-size: contain;
}

/* ========== license ========== */
.license p {
    margin-top: 47px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--white);
    padding: 70px 0 100px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column .logo {
    margin-top: 20px;
}

.footer-nav a {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--purple);
}

.footer-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
}

.footer-contact {
    margin-top: 13px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: var(--black);
}

.footer-map {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    background: #e8e8e8;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-map-detail {
    padding: 20px 0 0 30px;
    border-top-left-radius: 25px;
}

.footer-map-detail .angle_1::before,
.footer-map-detail .angle_2::before {
    background: var(--purple-light);
    width: var(--radius-17);
    height: var(--radius-17);
}

.footer-map-detail .angle_1::before,
.footer-map-detail .angle_2::before {
    width: calc(var(--radius-17) * 2);
    height: calc(var(--radius-17) * 2);
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.3s;
}

.modal input:focus,
.modal textarea:focus {
    border-color: var(--purple);
}

.modal textarea {
    height: 100px;
    resize: vertical;
}

.modal .btn-primary {
    width: 100%;
    text-align: center;
    border: none;
}

/* Iframe modal */
.modal-iframe {
    max-width: 900px;
    width: 95%;
    height: 85vh;
    padding: 0;
    overflow: hidden;
}

.modal-iframe .modal-close {
    z-index: 10;
    background: var(--white);
}

.modal-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

/* ========== BURGER ========== */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--purple-dark);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.burger-close span {
    background: var(--white);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--purple-dark);
    z-index: 999;
    padding: 28px 19px;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 11px;
    right: 22px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.mobile-nav a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--yellow);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-rating {
        justify-content: center;
    }

    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }

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

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

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

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

    .header-nav {
        display: none;
    }

    .header-center {
        display: none;
    }

    .burger {
        display: block;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 20px;
    }

    /* ========== BTN ========== */
    .btn {
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 10px;
    }
    .container {
        margin: 0 25px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* ========== DOTS ========== */
    .dots .dot {
        width: 32px;
        height: 8px;
        margin-left: -14px;
        border-radius: 4px;
    }

    /* ========== HEADER ========== */
    .header-inner {
        height: 69px;
    }

    .header-logo {
        max-width: 60%;
        position: relative;
        padding: 23px 20px 23px 25px;
    }

    .header-logo::before {
        height: 133px;
    }

    .header-logo .logo {
        width: 100%;
    }

    .header-logo .logo img {
        max-width: 100%;
    }

    /* ========== BANER ========== */
    .baner-inner {
        padding: 20px 5px 13px 20px;
        border-radius: 11px;
    }

    .baner-inner h1 {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .baner-inner p {
        font-size: 10px;
    }

    .baner-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-top: 9px;
    }

    .baner-stars {
        padding: 4px 0 0 6px;
        border-top-left-radius: 7px;
        border-bottom-right-radius: 7px;
    }

    .baner-stars .angle_1,
    .baner-stars .angle_2 {
        width: 14px;
        height: 14px;
    }
    .baner-stars .angle_1::before,
    .baner-stars .angle_2::before {
        width: 28px;
        height: 28px;
    }

    /* ========== DOCTORS ========== */
    .doctors-section {
        padding: 20px 0 28px;
    }

    .doctors-grid {
        margin-top: 17px;
        gap: 17px;
    }
    .doctor-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom-left-radius: 16px;
    }

    .doctor-card-wrap {
        padding-bottom: 35px;
        border-radius: 16px;
    }

    .doctor-info {
        padding: 10px 5px 5px 0;
    }

    .doctor-name {
        font-size: 11px;
        line-height: 14px;
        margin-bottom: 2px;
        text-align: left;
    }

    .doctor-specialty {
        font-size: 7px;
        font-weight: 700;
        text-align: left;
    }

    .doctor-category {
        font-size: 7px;
    }

    .doctor-detail {
        width: 50%;
        padding: 6px 0 0 6px;
        border-top-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .doctor-detail .angle_1,
    .doctor-detail .angle_2 {
        width: 20px;
        height: 20px;
    }
    .doctor-detail .angle_1::before,
    .doctor-detail .angle_2::before {
        width: 40px;
        height: 40px;
    }

    .doctors-dots {
        margin-top: 24px;
    }

    /* ========== SERVICES ========== */
    .services {
        padding: 25px 0 22px;
    }

    .services-list {
        margin-top: 23px;
    }

    .service-item {
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .service-header {
        padding: 17px 12px 17px 14px;
    }

    .service-header h4 {
        font-size: 20px;
        font-weight: 500;
    }

    .service-body {
        padding: 0 14px;
        font-size: 15px;
        font-weight: 400;
    }

    .service-item.active .service-body {
        padding: 0 14px 20px;
    }

    .service-body ul {
        margin-left: 24px;
    }

    /* ========== METHODS ========== */
    .methods {
        padding: 17px 0;
    }

    .methods-subtitle {
        font-size: 12px;
        margin-top: 7px;
        margin-bottom: 11px;
    }

    .methods-grid {
         display: grid;
         grid-template-columns: 1fr;
         grid-auto-rows: minmax(103px, auto);
         gap: 11px;
     }

    .method-card {
        height: 103px;
    }

    .method-card:first-child {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 3;
        height: 100%;
    }

    .method-card-bg {
        border-radius: 19px;
    }

    .method-card-detail {
        padding: 5px 0 0 5px;
        border-top-left-radius: 13px;
        border-bottom-right-radius: 13px;
    }

    .method-card-detail .angle_1,
    .method-card-detail .angle_2 {
        width: 13px;
        height: 13px;
    }
    .method-card-detail .angle_1::before,
    .method-card-detail .angle_2::before {
        width: 26px;
        height: 26px;
    }

    .method-card-label {
        padding: 11px;
        border-radius: 9px;
    }

    /* ========== REVIEWS ========== */
    .reviews {
        padding: 22px 0 28px;
        background: var(--purple-light);
    }

    .reviews-inner {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .review-card {
        border-radius: 20px;
        padding: 17px 0 18px 15px;
    }

    .review-card:nth-child(n+3) {
        display: none;
    }

    .review-text {
        font-size: 10px;
    }

    .review-detail {
        padding: 0 0 7px 7px;
        border-bottom-left-radius: 8px;
    }

    .review-detail .angle_1,
    .review-detail .angle_2 {
        width: 12px;
        height: 12px;
    }

    .review-detail .angle_1::before,
    .review-detail .angle_2::before {
        background: var(--purple-light);
        width: 24px;
        height: 24px;
    }

    .review-form {
        min-width: 100%;
        gap: 10px;
    }

    .review-form form {
        border-radius: 20px;
        padding: 17px 36px 18px 15px;
        min-height: 142px;
    }

    .review-form-detail {
        padding: 8px 0 0 8px;
        background: var(--purple-light);
        border-top-left-radius: var(--radius-14);
    }

    .review-form-detail .angle_1,
    .review-form-detail .angle_2 {
        width: var(--radius-17);
        height: var(--radius-17);
    }

    .review-form-detail .angle_1::before,
    .review-form-detail .angle_2::before {
        width: calc(var(--radius-17) * 2);
        height: calc(var(--radius-17) * 2);
    }

    .review-form-detail button {
        font-size: 12px;
        padding: 8px;
    }

    .review-form a.btn {
        font-size: 12px;
        padding: 8px;
    }

    /* ========== DOCTOR PROFILE ========== */
    .doctor-profile-inner {
        flex-direction: column;
        align-items: center;
    }

    .doctor-profile-photo {
        flex: none;
        width: 100%;
    }

    .doctor-profile-name {
        font-size: 22px;
    }

    /* ========== partners ========== */
    .partner-kdl {
        font-size: 16px;
    }

    .partner-kdl_block_1 .partner-kdl_inner {
        padding: 15px 30px 15px 20px;
        border-bottom-left-radius: 22px;
    }

    .partner-kdl_block_2 .partner-kdl_inner {
        padding: 15px 30px 15px 20px;
    }

    .partner-kdl_block_3 .partner-kdl_inner {
        padding: 15px 30px 15px 20px;
        border-top-right-radius: 22px;
    }
    .partner-kdl_block_3_wrap {
        gap: 26px;
        flex-wrap: wrap;
    }
    .partner-kdl_block_3_wrap .partner-kdl_logo {
        min-width: auto;
    }
    .partner-kdl_block_3_wrap .partner-kdl_logo img {
        max-width: 100%;
        max-height: 100%;
    }
    .partner-kdl-detail {
        background: var(--purple);
        padding: 0 0 6px 6px;
        border-bottom-left-radius: 14px;
    }
    .partner-kdl-detail .angle_1,
    .partner-kdl-detail .angle_2 {
        width: 14px;
        height: 14px;
    }

    .partner-kdl-detail .angle_1::before,
    .partner-kdl-detail .angle_2::before {
        background: var(--purple);
        width: 28px;
        height: 28px;
    }
    .partner-kdl-detail .partner-kdl-arrow {
        width: 45px;
        height: 45px;
    }

    /* ========== FOOTER ========== */
    .footer {
        padding: 36px 0;
    }

    .footer-column .logo {
        margin-top: 15px;
    }

    .footer-nav a {
        margin-bottom: 0;
    }

    .footer-btns {
        margin-top: 15px;
        align-items: stretch;
    }

    .footer-btns .btn {
        font-size: 15px;
        padding: 10px 22px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom .btn-primary {
        margin: 0 auto;
    }

    .review-arrow {
         width: 33px;
         height: 33px;
     }

    .footer-map {
        border-radius: 16px;
    }

    .footer-map-detail {
        width: 50%;
        padding: 9px 0 0 12px;
        border-top-left-radius: 11px;
    }

    .footer-map-detail img {
        max-width: 100%;
    }

    .footer-map-detail .angle_1::before,
    .footer-map-detail .angle_2::before {
        background: var(--purple-light);
        width: 11px;
        height: 11px;
    }

    .footer-map-detail .angle_1::before,
    .footer-map-detail .angle_2::before {
        width: 22px;
        height: 22px;
    }
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
