/* Homepage components: responsive sizing, intrinsic imagery and content rhythm. */
:root {
    --home-section-gap: 40px;
    --home-title-size: clamp(28px, 3vw, 36px);
}
.present-main { padding-bottom: var(--home-section-gap); }
.present-title-cro { max-width: 960px; }
.present-title-cro h1 { font-size: clamp(34px, 4.5vw, 64px); text-wrap: balance; }
.present-kicker { padding-top: 0; margin: 20px 0 12px; }
.present-subtitle { max-width: 720px; margin-top: 16px; }
.hero-ru-badge { margin-top: 0; }
.hero-actions { margin-top: 24px; gap: 12px; }
.hero-btn { min-height: 56px; height: 56px; border-radius: 12px; }
.hero-btn-primary {
    color: #231307;
    padding-inline: 24px;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(255,122,0,.14);
}
.hero-btn-primary:hover { background: #e46b00; box-shadow: 0 6px 16px rgba(255,122,0,.14); }
.hero-btn-secondary { display: grid; grid-template-columns: auto minmax(0,1fr) 56px; }
.hero-btn-secondary-file, .hero-btn-secondary-text { font-size: 18px; }
.hero-btn-secondary-arrow { width: 56px; min-width: 0; }
.hero-microtrust { gap: 8px 16px; margin-top: 16px; }
.hero-microtrust span { font-size: 14px; line-height: 1.5; }
.present-fon { margin-top: 32px; }
.present-box { cursor: default; }
.present-btn-mob { display: none; }
.advantages-main, .network-adapts, .reviews-main, .accordion-main, .make-beautiful-main, .seo-longread {
    padding-block: var(--home-section-gap);
}
.all-title { gap: 12px; }
.all-title h2 { max-width: 820px; font-size: var(--home-title-size); line-height: 1.2; text-wrap: balance; }
.all-title p { max-width: 680px; font-size: 16px; line-height: 1.5; }
.advantages-cnt { margin-top: 32px; gap: 16px; }
.advantages-box { gap: 16px; }
.advantages-info { height: auto; min-height: 280px; padding: 32px; }
.advantages-info p, .advantages-info li { line-height: 1.5; }
.seo-longread .container { max-width: 880px; }
.seo-longread h2 { font-size: var(--home-title-size); line-height: 1.2; text-align: left; text-wrap: balance; margin-bottom: 24px; }
.seo-longread h3 { font-size: 24px; line-height: 1.3; margin-top: 32px; margin-bottom: 12px; }
.seo-longread p, .seo-list li { font-size: 16px; line-height: 1.65; }
.seo-list { list-style: disc; }
.network-adapts-slider, .reviews-slider { width: 100%; overflow: hidden; }
.network-adapts-box { overflow: hidden; }
.network-adapts-box img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 408; object-fit: contain; }
.reviews-main .all-title p { max-width: 560px; }
.reviews-photo { width: min(100%, 400px); margin: 24px auto 0; }
.reviews-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.reviews-cnt { margin-top: 24px; padding-bottom: 0; }
.reviews-slider .swiper-wrapper { align-items: stretch; }
.reviews-slider .swiper-slide { height: auto; }
.reviews-box { height: 100%; max-width: none; padding: 20px; min-height: 200px; }
.reviews-info { align-items: flex-start; gap: 12px; }
.reviews-info ul { gap: 2px; flex-shrink: 0; padding-top: 4px; }
.reviews-info ul li { width: 12px; }
.review-star { width: 12px; height: 12px; }
.reviews-box p { margin-top: 16px; line-height: 1.5; }
.reviews-arrow { display: flex; margin-top: 20px; gap: 8px; }
.reviews-arrow .swiper-button-prev, .reviews-arrow .swiper-button-next { width: 44px; height: 44px; }
.reviews-cnt .swiper-pagination { display: none; }
.accordion { margin-top: 32px; }
.accordion-main::before { display: none; }
#accordion .accordion-click { min-height: 56px; }
#accordion .accordion-box { padding: 0 16px; }
#accordion .question-title { display: block; position: relative; z-index: 1; font-size: 18px; line-height: 1.4; font-weight: 400; }
#accordion .submenu p { font-size: 16px; line-height: 1.55; }
#accordion .accordion-box.is-open .open-accordion::before { transform: scaleY(0); }
.make-beautiful-main { margin-top: 0; }
.make-beautiful-fon h2 { font-size: var(--home-title-size); line-height: 1.2; }
.animated-button, .animated-button .btn-text, .animated-button .arrow { height: 56px; min-height: 56px; }
.animated-button .arrow { width: 56px; max-width: 56px; flex: 0 0 56px; }
.animated-button .btn-text { width: calc(100% - 58px); flex-basis: calc(100% - 58px); font-size: 16px; }
.make-beautiful-main .animated-button .btn-text { width: calc(100% - 58px); flex-basis: calc(100% - 58px); }

@media (max-width: 1024px) {
    :root { --home-section-gap: 32px; }
    .advantages-info { min-height: 0; }
}
@media (max-width: 767px) {
    :root { --home-section-gap: 24px; }
    .advantages-cnt { margin-top: 24px; gap: 24px; }
    .advantages-info { padding: 24px; }
    .advantages-info h3 { font-size: 22px; line-height: 1.25; }
    .advantages-info p, .advantages-info ul li { font-size: 16px; line-height: 1.5; }
    .reviews-photo { max-width: 320px; }
    .reviews-box { min-height: 0; }
    .reviews-box p { font-size: 16px; line-height: 1.5; }
    .reviews-cnt { margin-top: 20px; }
    .seo-longread h3 { font-size: 22px; }
    #accordion .question-title { font-size: 16px; }
    .hero-actions { max-width: 480px; }
    .hero-btn-primary, .hero-btn-secondary { max-width: 100%; }
}
@media (max-width: 600px) {
    .present-kicker { margin: 16px 0 12px; font-size: 14px; }
    .present-subtitle { font-size: 16px; line-height: 1.5; }
    .hero-btn-primary { font-size: 16px; padding-inline: 12px; }
    .hero-btn-secondary { grid-template-columns: auto minmax(0,1fr) 56px; }
    .hero-btn-secondary-file, .hero-btn-secondary-text { font-size: 16px; }
    .hero-ru-badge { padding: 8px 12px; }
    .hero-ru-badge span { font-size: 12px; }
    .hero-microtrust { gap: 6px 12px; }
    .hero-microtrust span { font-size: 12px; }
    .hero-dot-sep { display: none; }
    .hero-microtrust span:not(.hero-dot-sep)::before { content: '✓'; margin-right: 4px; color: #33789b; }
    .present-fon { margin-top: 24px; }
    .present-rel { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
    .present-box { scroll-snap-align: start; }
    .reviews-photo { max-width: 300px; }
}

/* Final CTA: keep the label still and give the link its own interaction states. */
.make-beautiful-main .animated-white .btn-text,
.make-beautiful-main .animated-white .arrow {
    background: #fff;
    color: #1a1b1e;
    transform: none;
    transition: background-color 160ms ease, color 160ms ease;
}
.make-beautiful-main .animated-white .btn-text { white-space: normal; line-height: 1.25; }
.make-beautiful-main .animated-white .arrow.left { display: none; }
.make-beautiful-main .animated-white .arrow.right { transform: none; }
.make-beautiful-main .animated-white .arrow svg { transition: transform 160ms ease; }
.make-beautiful-main .animated-white .arrow svg path { fill: #1a1b1e; transition: fill 160ms ease; }
.make-beautiful-main .animated-white:is(:hover, :focus-visible) .btn-text,
.make-beautiful-main .animated-white:is(:hover, :focus-visible) .arrow { background: #1a1b1e; color: #fff; }
.make-beautiful-main .animated-white:is(:hover, :focus-visible) .arrow svg path { fill: #fff; }
.make-beautiful-main .animated-white:is(:hover, :focus-visible) .arrow.right svg { transform: translateX(4px); }

/* Compact closing panel, aligned to the site's 48px control scale. */
.make-beautiful-fon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: 20px 32px;
    padding: 32px;
}
.make-beautiful-anim { display: contents; }
.make-beautiful-fon h2 { grid-column: 1; margin: 0; max-width: 640px; text-align: left; }
.make-beautiful-fon .display-anim { grid-column: 2; grid-row: 1 / span 2; }
.make-beautiful-fon .display-anim svg { width: 200px; height: auto; }
.make-beautiful-main .animated-white {
    grid-column: 1;
    justify-self: start;
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    flex: none;
    height: 48px;
    min-height: 48px;
    gap: 2px;
}
.make-beautiful-main .animated-white .btn-text {
    width: auto;
    flex: 0 1 auto;
    height: 48px;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
}
.make-beautiful-main .animated-white .arrow.right {
    position: static;
    width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    height: 48px;
    min-height: 48px;
}
@media (max-width: 767px) {
    .make-beautiful-fon { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; padding: 24px; }
    .make-beautiful-fon .display-anim { grid-column: 1; grid-row: 1; }
    .make-beautiful-fon .display-anim svg { width: 144px; }
    .make-beautiful-fon h2 { text-align: center; max-width: 440px; }
    .make-beautiful-main .animated-white { justify-self: center; }
}
@media (max-width: 390px) {
    .make-beautiful-fon { padding: 20px; gap: 16px; }
    .make-beautiful-main .animated-white .btn-text { padding-inline: 12px; }
}
