html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.body {
    font-family: "Inter", Arial, sans-serif;
    color: #18151f;
    background-color: #fff;
}

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

/* Header */

.header {
    padding-block-start: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.header__logo-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header__logo {
    display: flex;
    font-size: 47px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.05em;
    white-space: nowrap;
    user-select: none;
    -webkit-user-drag: none;
}

.header__logo-epi {
    display: inline-block;
    color: #ea408f;
}

.header__logo-lab {
    display: inline-block;
    color: #3867df;
}

.header__logo-star {
    position: relative;
    top: -11px;
    color: #ea408f;
    font-size: 18px;
    vertical-align: top;
    margin-inline-start: 2px;
}

.header__logo-text {
    max-width: 132px;
    font-size: 12px;
    line-height: 1.35;
    color: #312c36;
}

.header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex: 1;
}

.header__nav-list-item a {
    color: #18151f;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header__nav-list-item a:hover {
    color: #d74b96;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e44993;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(228, 73, 147, 0.25);
}

.header__button {
    min-width: 126px;
    height: 44px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.header__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(228, 73, 147, 0.32);
}

/* Hero */

.hero {
    background: 
        linear-gradient(
            to right,
            #fff 0%,
            #fff 35%,
            rgba(255, 255, 255, 0.9) 45%,
            rgba(255, 255, 255, 0) 65%
        ),
        url('../images/hero.webp') center / cover no-repeat;
}

.hero__content {
    padding: 64px 0 46px;
}

.hero__content-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(242, 232, 255, 0.9);
}

.hero__content-location-svg {
    width: 15px;
    height: 15px;
    color: #e44993;
}

.hero__content-location-span {
    color: #7052b8;
    font-size: 13px;
    font-weight: 700;
}

.hero__content-title {
    padding-block-start: 22px;
    max-width: 560px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.055em;
    color: #221c32;
}

.hero__content-title-accent {
    color: #6b42c8;
}

.hero__content-title--secondary {
    font-size: 0.72em;
}

.hero__content-subtitle {
    padding-block-start: 20px;
    max-width: 430px;
    font-size: 17px;
    line-height: 1.55;
    color: #514a58;
    font-weight: 500;
}

.hero__content-features {
    padding-block-start: 30px;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.hero__content-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #30293a;
    font-size: 13px;
    font-weight: 700;
}

.hero__content-feature-icon {
    width: 28px;
    height: 28px;
    color: #e44993;
}

.hero__content-feature-icon svg {
    width: 100%;
    height: 100%;
}

.hero__content-actions {
    padding-block-start: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero__content-actions--primary {
    min-width: 172px;
    height: 52px;
    font-size: 14px;
    transition: .2s ease;
}

.hero__content-actions--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(228, 73, 147, 0.32);
}

.hero__content-actions--secondary {
    padding: 0 28px;
    min-width: 172px;
    height: 52px;
    font-size: 14px;
    background: transparent;
    color: #3f2c6c;
    border-color: rgba(98, 73, 173, 0.55);
    box-shadow: 0 10px 24px rgba(40, 31, 52, 0.05);
    font-weight: 800;
    transition: .2s ease;
}

.hero__content-actions--secondary {
    background: #fff;
    border-color: #6b42c8;
}

/* Popular */

.popular {
    padding-block-start: 50px;
}

.popular__title {
    font-size: 34px;
    text-align: center;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1d1828;
}

.popular__cards {
    padding-block-start: 34px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.popular__card {
    padding: 26px 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(215, 191, 209, 0.9);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(61, 45, 65, 0.04);
    transition: .22s ease;
}

.popular__card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 107, 207, 0.55);
    box-shadow: 0 22px 56px rgba(61, 45, 65, 0.08);
}

.popular__card-icon {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 235, 247, 0.92), rgba(242, 246, 255, 0.92));
    border: 1px solid rgba(215, 191, 209, 0.55);
    color: #7b63c7;
}

.popular__card-icon svg {
    width: 42px;
    height: 42px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.popular__card-title {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding-block-start: 18px;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
    color: #171421;
}

.popular__card-text {
    padding-block-start: 12px;
    max-width: 165px;
    font-size: 14px;
    line-height: 1.38;
    color: #4f4855;
    font-weight: 500;
}

.popular__action {
    padding-block-start: 28px;
    display: flex;
    justify-content: center;
}

.popular__action-button {
    min-width: 260px;
    height: 46px;
    padding: 0 32px;
    border-color: rgba(115, 83, 183, 0.75);
    background-color: transparent;
    color: #2a2431;
    font-size: 14px;
    font-weight: 800;
    transition: .22s ease;
}

.popular__action-button:hover {
    background: #f8f3fb;
    border-color: #6b42c8;
    transform: translateY(-1px);
}

/* Specialist */

.specialist {
    padding-block-start: 50px;
}

.specialist__content {
    display: grid;
    grid-template-columns: 32% 1fr 32%;
    background: radial-gradient(circle at 49% 18%, rgba(232, 199, 223, 0.22), transparent 38%), #fffefe;
}

.specialist__photo,
.specialist__interior {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #f7f2f5;
}

.specialist__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 62%, rgba(255,255,255,0.72) 100%);
    pointer-events: none;
}

.specialist__interior::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 34%);
    pointer-events: none;
}

.specialist__photo img,
.specialist__interior img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.specialist__information {
    padding: 56px 56px 48px;
}

.specialist__information-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c27aa8;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.specialist__information-kicker::before {
    content: '✦';
    color: #ef5b9f;
    font-size: 16px;
}

.specialist__information-title {
    padding-block-start: 14px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #171421;
}

.specialist__information-text {
    padding-block-start: 22px;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.58;
    font-weight: 500;
    color: #4f4855;
}

.specialist__information-list {
    padding-block-start: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.specialist__information-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 700;
    color: #292431;
}

.specialist__information-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ef5b9f;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(239, 91, 159, 0.22);
}

.specialist__information-actions {
    padding-block-start: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.specialist__information-button--primary {
    min-width: 170px;
    height: 48px;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2 ease;
}

.specialist__information-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(228, 73, 147, 0.30);
}

.specialist__information-button--secondary {
    min-width: 170px;
    height: 48px;
    padding: 0 26px;
    background-color: transparent;
    color: #6f4bb7;
    border-color: rgba(115, 83, 183, 0.45);
}

.specialist__information-button--secondary:hover {
    background: #fbf7fd;
    border-color: #7c61c7;
}

/* Price */

.price {
    padding-block: 50px;
    background: radial-gradient(circle at 10% 0%, rgba(236, 97, 165, 0.08), transparent 34%), radial-gradient(circle at 95% 18%, rgba(86, 126, 232, 0.08), transparent 30%), #fffafc
}

.price__head-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: #c98caf;
    font-weight: 600;
    text-transform: uppercase;
}

.price__head-eyebrow::after {
    content: '';
    width: 64px;
    height: 1px;
    background: #e7c5d6;
}

.price__head-title {
    padding-block-start: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.price__head-subtitle {
    padding-block-start: 12px;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.5;
    color: #77717b;
}

.price__main {
    padding-block-start: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 34px;
    align-items: start;
}

.price__main-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price__main-card {
    min-height: 220px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(201, 140, 175, 0.25);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px rgba(93, 71, 82, 0.06);
    text-align: left;
    cursor: pointer;
    transition: .25s ease;
    color: #171722;
}

.price__main-card:hover,
.price__main-card.active {
    border-color: rgba(204, 120, 170, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 28px 80px rgba(120, 79, 104, 0.12);
}


.price__main-card-icon {
    width: 68px;
    height: 68px;
}

.price__main-card-title {
    padding-block-start: 24px;
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.08;
}

.price__main-card-text {
    padding-block-start: 10px;
    display: block;
    min-height: 44px;
    font-size: 15px;
    line-height: 1.45;
    color: #817b85;
}

.price__main-card-link {
    padding-block-start: 22px;
    display: block;
    font-size: 15px;
    color: #c47faa;
    font-weight: 600;
}

.price__panel {
    padding: 30px;
    border: 1px solid rgba(201, 140, 175, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 90px rgba(91, 72, 86, 0.12);
    backdrop-filter: blur(14px);
}

.price__panel-top-label {
    display: block;
    font-size: 13px;
    color: #c98caf;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.price__panel-top-title {
    padding-block-start: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.08;
}

.price__panel-top-subtitle {
    padding-block-start: 6px;
    color: #8a838c;
    line-height: 1.45;
}

.price__panel-list {
    padding-block-start: 26px;
    display: grid;
    gap: 0;
    max-height: 560px;
    overflow: auto;
    padding-inline-end: 6px;
}

.price__panel-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px solid rgba(53, 45, 54, 0.08);
}

.price__panel-name {
    font-size: 16px;
    line-height: 1.35;
}

.price__panel-promo {
    margin-inline-start: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background-color: #fff;
    color: #8c69cd;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    border: 1px solid rgba(207, 189, 230, 0.75);
}

.price__panel-desc {
    display: block;
    padding-block-start: 5px;
    font-size: 13px;
    line-height: 1.35;
    color: #8d8790;
}

.price__panel-value {
    white-space: nowrap;
    font-size: 17px;
    font-weight: 700;
    color: #c84f98;
}

.price__note {
    padding-block-start: 20px;
    font-size: 13px;
    line-height: 1.45;
    color: #8a838c;
}

.price__button {
    margin-block-start: 20px;
    width: 100%;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d58bb8, #8aa9ee);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

/* Why */

.why {
    padding-block: 50px;
    background: radial-gradient(circle at 50% 0%, rgba(232, 199, 223, 0.25), transparent 38%), #fffefe;
    border-top: 1px solid rgba(31, 24, 36, 0.08);
    border-bottom: 1px solid rgba(31, 24, 36, 0.08);
}

.why__title {
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.why__title-accent {
    color: #7c61c7;
}

.why__list {
    padding-block-start: 28px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why__list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 4px 10px;
}

.why__list-item-icon img {
    width: 56px;
    height: 56px;
}

.why__list-item-text {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #171421;
}

/* Steps */

.steps {
    padding-block: 50px;
    background: radial-gradient(circle at 50% 0%, rgba(232, 199, 223, 0.18), transparent 34%), #ffffff;
    border-block-end: 1px solid rgba(31, 24, 36, 0.08);
}

.steps__title {
    text-align: center;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1d1828;
}

.steps__row {
    padding-block-start: 28px;
    display: grid;
    grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr 52px 1fr;
    align-items: start;
}

.steps__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.steps__step-icon img {
    width: 74px;
    height: 74px;
}

.steps__step-text {
    padding-block-start: 16px;
    max-width: 150px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    color: #171421;
}

.steps__arrow {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #df4b91;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
}

/* Contacts */

.contacts {
    padding-block: 50px;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    min-height: 460px;
    overflow: hidden;
}

.contacts__content-information {
    padding: 48px 54px;
}

.contacts__content-title {
    font-size: 46px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #191621;
}

.contacts__content-list {
    padding-block-start: 34px;
    display: grid;
    gap: 26px;
}

.contacts__content-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 18px;
    align-items: start;
    color: #2a2531;
}

.contacts__content-icon {
    width: 28px;
    height: 28px;
    color: #8c69cd;
    margin-top: 2px;
}

.contacts__content-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.contacts__content-text,
.contacts__content-text-title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #1f1a28;
}

.contacts__content-text-text {
    padding-block-start: 4px;
    font-size: 15px;
    line-height: 1.45;
    color: #5f5965;
    font-weight: 500;
}

.contacts__content-media-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
}

/* Location */

.location {
    padding-block: 50px;
    background: radial-gradient(circle at 24% 4%, rgba(232, 199, 223, 0.16), transparent 30%),
        radial-gradient(circle at 82% 0%, rgba(118, 101, 199, 0.08), transparent 28%),
        #ffffff;
    border-bottom: 1px solid rgba(31, 24, 36, 0.08);
}

.location__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.location__faq-title {
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1d1828;
}

.location__faq-subtitle {
    padding-block-start: 8px;
    text-align: center;
    font-size: 15px;
    line-height: 1.45;
    color: #4f4855;
    font-weight: 500;
}

.location__map {
    padding-block-start: 22px;
    width: 100%;
    min-height: 180px;
    
}

.location__faq {
    padding-block-start: 22px;
    display: grid;
    gap: 10px;
}

.location__faq-item {
    border: 1px solid rgba(215, 191, 209, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(61, 45, 65, 0.035);
}

.location__faq-item-question {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #292431;
}

.location__faq-item-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #7d7684;
    transition: transform .2s ease;
}

.location__faq-item.is-open .location__faq-item-chevron {
    transform: rotate(180deg);
}

.location__faq-item-chevron svg {
    width: 100%;
    height: 100%;
    display: block;
}

.location__faq-item-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .24s ease;
}

.location__faq-item.is-open .location__faq-item-answer {
    grid-template-rows: 1fr;
}

.location__faq-item-answer-inner {
    overflow: hidden;
}

.location__faq-item-answer-text {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #5a5360;
}

/* Cta */

.cta {
    width: 100%;
    padding: 30px 36px;
    background: linear-gradient(90deg, #b69adf 0%, #b797df 45%, #b29ad7 100%);
}

.cta .container {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) auto auto;
    gap: 34px;
    align-items: center;
}

.cta__title {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.cta__text {
    max-width: 470px;
    padding-block-start: 12px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
}

.cta__button--primary {
    min-width: 286px;
    height: 74px;
    padding: 0 34px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(180deg, #ec5d9d 0%, #df4b91 100%);
    color: #fff;
    box-shadow: 0 16px 32px rgba(222, 71, 142, 0.22);
    transition: .22s ease;
}

.cta__button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(222, 71, 142, 0.28);
}

.cta__button--secondary {
    min-width: 286px;
    height: 74px;
    padding: 0 34px;
    font-size: 20px;
    font-weight: 700;
    background: #fff;
    color: #7756be;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 10px 24px rgba(68, 42, 105, 0.08);
    transition: .22s ease;
}

.cta__button--secondary:hover {
    background: #fbf9ff;
    transform: translateY(-1px);
}

/* Footer */

.footer {
    padding: 22px 24px;
}

.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: flex-end;
}

.footer__logo {
    display: flex;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.05em;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
    -webkit-user-drag: none;
}

.footer__logo-epi {
    color: #e44993;
}

.footer__logo-lab {
    color: #8f73d7;
}

.footer__copy {
    font-size: 13px;
    line-height: 1.45;
    color: #6f6873;
    text-align: center;
}

.footer__links {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer__item,
.footer__link {
    font-size: 13px;
    line-height: 1.45;
    color: #6f6873;
    text-decoration: none;
    transition: color .2s ease;
    white-space: nowrap;
}

.footer__link:hover {
    color: #8f73d7;
}

/* Modal */

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(27, 20, 33, 0.42);
    backdrop-filter: blur(8px);
}

.modal.is-open {
    display: flex;
}

.modal__card {
    position: relative;
    width: min(100%, 480px);
    padding: 34px;
    border-radius: 30px;
    background: radial-gradient(circle at 10% 0%, rgba(232, 199, 223, 0.28), transparent 36%), #ffffff;
    border: 1px solid rgba(215, 191, 209, 0.7);
    box-shadow: 0 30px 90px rgba(39, 28, 46, 0.22);
    animation: modalIn .22s ease both;
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(247, 241, 248, 0.9);
    color: #857b8b;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .18s ease;
}

.modal__form-label-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c27aa8;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.modal__form-label-top::before {
    content: '✦';
    font-size: 16px;
    color: #e44993;
}

.modal__form-title {
    padding-block-start: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #221c32;
}

.modal__form-text {
    padding-block-start: 10px;
    font-size: 16px;
    line-height: 1.55;
    color: #655d68;
}

.modal__form {
    padding-block-start: 26px;
    display: grid;
    gap: 14px;
}

.modal__form-field {
    display: grid;
    gap: 8px;
}

.modal__form-label {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    color: #514a58;
}

.modal__form-input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(215, 191, 209, 0.95);
    border-radius: 16px;
    background: rgba(255,255,255,0.88);
    color: #221c32;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: .18s ease;
}

.modal__form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.modal__form-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modal__form-checkbox-mark {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex: 0 0 20px;
    border: 1px solid rgba(194, 122, 168, 0.85);
    border-radius: 6px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .18s ease;
}

.modal__form-checkbox-text {
    font-size: 13px;
    line-height: 1.45;
    color: #6e6672;
}

.modal__form-checkbox-link {
    color: #c27aa8;
}

.form__submit {
    width: 100%;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e44993, #b78add);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    transition: .2s ease;
    box-shadow: 0 16px 34px rgba(222, 71, 142, 0.22);
}

.modal__form-note {
    font-size: 12px;
    line-height: 1.4;
    color: #908894;
    text-align: center;
}

/* Animations */

@keyframes modalIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Page Prices */

.prices__body {
    background: radial-gradient(circle at 15% 0%, rgba(248, 207, 226, 0.46), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(211, 200, 246, 0.42), transparent 30%),
        #fffefe;
}

.prices__main {
    padding: 34px 0 56px;
}

.prices__header {
    position: relative;
    padding: 42px 44px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,247,252,0.92)),
        radial-gradient(circle at 90% 10%, rgba(239, 91, 159, 0.22), transparent 34%);
    border: 1px solid rgba(233, 198, 220, 0.75);
    box-shadow: 0 24px 70px rgba(80, 42, 107, 0.08);
    overflow: hidden;
}

.prices__header::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(221, 194, 246, 0.38);
    filter: blur(2px);
    pointer-events: none;
}

.prices__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(231, 190, 215, 0.9);
    color: #7c61c7;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 1;
}

.prices__logo-mark {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #ef5b9f, #8c69cd);
    font-size: 13px;
}

.prices__title {
    position: relative;
    padding-block-start: 24px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: 0.94;
    font-weight: 900;
    letter-spacing: -0.065em;
    z-index: 1;
}

.prices__title-accent {
    color: #e44993;
}

.prices__lead {
    position: relative;
    max-width: 680px;
    padding-block-start: 14px;
    font-size: 18px;
    line-height: 1.56;
    color: #5c5363;
    font-weight: 500;
    z-index: 1;
}

.prices__tools {
    position: sticky;
    top: 0;
    margin-block-start: 22px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(233, 198, 220, 0.74);
    box-shadow: 0 14px 42px rgba(80, 42, 107, 0.07);
    backdrop-filter: blur(16px);
    z-index: 20;
}

.prices__search {
    position: relative;
}

.prices__search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9a7abc;
    pointer-events: none;
}

.prices__search input {
    width: 100%;
    height: 50px;
    padding: 0 18px 0 46px;
    border: 1px solid rgba(218, 189, 211, 0.95);
    border-radius: 999px;
    outline: none;
    background-color: #fffefe;
    color: #191621;
    font-size: 15px;
    font-weight: 700;
}

.prices__tabs {
    padding-block-start: 20px;
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.prices__tab {
    padding: 11px 15px;
    font-size: 13px;
    font-weight: 900;
    background-color: #fbf7fd;
    color: #6b5d73;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.prices__tab:hover {
    transform: translateY(-1px);
    background: #f5edf8;
}

.prices__tab.active {
    background: linear-gradient(135deg, #ef5b9f, #8c69cd);
    color: #fff;
    box-shadow: 0 10px 22px rgba(228, 73, 147, 0.18);
}

.prices__content {
    padding-block-start: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prices__category {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(233, 198, 220, 0.72);
    box-shadow: 0 18px 60px rgba(80, 42, 107, 0.065);
    overflow: hidden;
}

.prices__category-head {
    padding: 24px 26px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(238, 210, 226, 0.75);
    background: radial-gradient(circle at 0% 0%, rgba(239, 91, 159, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(255,250,253,0.94), rgba(250,246,255,0.82));
}

.prices__category-title {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.prices__category-note {
    padding-block-start: 7px;
    font-size: 14px;
    color: #867b8d;
    line-height: 1.42;
    font-weight: 600;
}

.prices__category-count {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background-color: #fff;
    color: #8c69cd;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    border: 1px solid rgba(207, 189, 230, 0.75);
}

.prices__list {
    padding: 6px 26px 22px;
}

.prices__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px dashed rgba(204, 179, 199, 0.86);
}

.prices__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    color: #221d2a;
}

.prices__promo {
    padding: 5px 10px;
    border-radius: 999px;
    background-color: #fff;
    color: #8c69cd;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    border: 1px solid rgba(207, 189, 230, 0.75);
}

.prices__details {
    padding-block-start: 7px;
    max-width: 760px;
    color: #756c7c;
    font-size: 14px;
    line-height: 1.46;
    font-weight: 500;
}

.prices__value {
    min-width: 132px;
    text-align: right;
    font-size: 17px;
    color: #e44993;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
}

.prices__empty {
    display: none;
    padding: 34px 24px;
    text-align: center;
    border-radius: 24px;
    background-color: #fff;
    border: 1px solid rgba(233, 198, 220, 0.72);
    color: #7f7585;
    font-weight: 700;
}

.prices__footer {
    margin-block-start: 24px;
    padding: 30px;
    background: radial-gradient(circle at 15% 20%, rgba(239, 91, 159, 0.16), transparent 32%),
        linear-gradient(135deg, #fffafd, #f7f1ff);
    border: 1px solid rgba(233, 198, 220, 0.72);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.prices__footer-title {
    font-size: 25px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.prices__footer-text {
    padding-block-start: 8px;
    color: #6d6374;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.prices__footer-muted {
    padding-block-start: 14px;
    color: #958c9d;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

.prices__footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.prices__button {
    height: 48px;
    padding: 0 24px;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    transition: .18s ease;
    white-space: nowrap;
}

.prices__button:hover {
    transform: translateY(-1px);
}

.prices__button--secondary {
    background-color: #fff;
    color: #6f4bb7;
    border: 1px solid rgba(115, 83, 183, 0.42);
}

/* Pages Legal */

.legal__main {
    padding-block: 50px;
}

.legal__title {
    font-size: 32px;
    font-weight: 700;
    color: #be5674;
}

.legal__text {
    padding-block-start: 10px;
    font-size: 13px;
}

.legal__subtitle {
    padding-block-start: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #be5674;
}

.legal__link {
    color: #6f6873;
    transition: color .2s ease;
}

.legal__link:hover {
    color: #8f73d7;
}

.legal__subsubtitle {
    padding-block-start: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #be5674;
}

.legal__list {
    padding-block-start: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.legal__item::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #be5674;
}

@media (width <= 1180px) {
    .popular__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .specialist__content {
        grid-template-columns: 36% 1fr;
    }

    .specialist__interior {
        display: none;
    }

    .specialist__information {
        padding: 48px 38px;
    }

    .specialist__information-actions {
        flex-direction: row;
    }

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

    .price__main-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta .container {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .cta__content {
        grid-column: 1 / -1;
    }
}

@media (width <= 992px) {
    .header__nav {
        display: none;
    }

    .why__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .why__list .why__list-item:last-child {
        grid-column: span 2;
    }

    .steps__row {
        grid-template-columns: repeat(5, 1fr);
        gap: 22px 12px;
    }

    .steps__arrow {
        display: none;
    }

    .contacts .container {
        padding-inline: 0;
    }

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

    .contacts__content-information {
        padding: 38px 24px 34px;
    }

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

    .location__faq-title,
    .location__faq-subtitle {
        text-align: left;
    }

    .footer {
        padding: 22px 18px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-content: center;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__links {
        justify-content: center;
        gap: 5px;
    }
}

@media (width <= 768px) {
    .container {
        padding-inline: 18px;
    }

    .hero__content-subtitle {
        max-width: 100%;
    }

    .popular__title {
        font-size: 28px;
    }

    .popular__cards {
        padding-block-start: 26px;
    }

    .popular__card-icon {
        width: 64px;
        height: 64px;
    }

    .popular__card-icon svg {
        width: 34px;
        height: 64px;
    }

    .popular__card-title {
        font-size: 16px;
    }

    .popular__card-text {
        font-size: 13px;
    }

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

    .specialist__information {
        padding: 34px 20px 38px;
    }

    .specialist__information-title {
        font-size: 30px;
    }

    .specialist__information-text {
        font-size: 16px;
    }

    .specialist__information-item {
        font-size: 15px;
    }

    .specialist__information-actions {
        flex-direction: column;
    }

    .specialist__information-button--primary,
    .specialist__information-button--secondary {
        width: 100%;
    }

    .popular__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .steps__title {
        font-size: 26px;
    }

    .steps__row {
        padding-block-start: 24px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .steps__step {
        display: grid;
        grid-template-columns: 64px 1fr;
        align-items: center;
        justify-items: start;
        gap: 16px;
        text-align: left;
        padding: 16px;
        border: 1px solid rgba(215, 191, 209, 0.7);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.82); 
    }

    .steps__step-text {
        padding-block-start: 0;
        max-width: 100%;
        font-size: 14px;
    }

    .steps__step-icon {
        width: 64px;
        height: 64px;
    }

    .steps__step-icon svg {
        width: 31px;
        height: 31px;
    }

    .why__title {
        font-size: 24px;
    }

    .why__list-item-text {
        font-size: 13px;
    }

    .cta {
        padding: 24px 0;
    }

    .cta .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta__title {
        font-size: 28px;
    }

    .cta__text {
        font-size: 16px;
        max-width: 100%;
    }

    .cta__button--primary,
    .cta__button--secondary {
        min-width: 0;
        width: 100%;
        height: 58px;
        font-size: 18px;
    }

    .prices__main {
        padding: 18px 0 38px;
    }

    .prices__header {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .prices__lead {
        font-size: 16px;
    }

    .prices__tools {
        margin: 16px 0 18px;
        border-radius: 20px;
    }

    .prices__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .prices__tab {
        font-size: 12px;
        padding: 10px 13px;
    }

    .prices__category {
        border-radius: 22px;
    }

    .prices__category-head {
        padding: 20px 18px 15px;
    }

    .prices__category-title {
        font-size: 22px;
    }

    .prices__list {
        padding: 2px 18px 18px;
    }

    .prices__footer {
        padding: 24px 20px;
        grid-template-columns: 1fr;
    }

    .prices__footer-actions {
        justify-content: stretch;
    }

    .prices__button {
        width: 100%;
    }
}

@media (width <= 560px) {
    .header {
        padding-block-start: 22px;
    }

    .header__logo-text {
        font-size: 11px;
    }

    .header__logo {
        font-size: 38px;
    }

    .hero__content-title {
        font-size: 40px;
    }

    .header__button {
        display: none;
    }

    .hero__content {
        padding: 44px 0 38px;
    }

    .hero__content-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .price__main-cards {
        grid-template-columns: 1fr;
    }

    .contacts__content-title {
        font-size: 36px;
    }

    .contacts__content-list {
        padding-block-start: 28px;
    }

    .location__faq-title {
        font-size: 24px;
    }

    .location__faq-item-question {
        min-height: 46px;
        padding: 0 14px;
        font-size: 13px;
    }

    .location__faq-item-answer-text {
        padding: 0 14px 14px;
        font-size: 13px;
    }
}

@media (width <= 420px) {
    .popular__cards {
        grid-template-columns: 1fr;
    }

    .popular__card-text {
        max-width: 260px;
    }

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

    .why__list .why__list-item:last-child {
        grid-column: auto;
    }

    .modal {
        padding: 10px;
    }

    .modal__card {
        padding: 20px;
    }

    .footer__item {
        white-space: wrap;
    }
}