.image img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.image svg {
    display: block;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo__img {
    width: 140px;
}

.logo__img img {
    height: auto;
    width: 100%;
    display: block;
}

/* ─── Header ─── */
.header {
    position: sticky;
    top: 0;
    z-index: 101;
    background: rgba(0, 0, 0, 0);
    /* Start transparent */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;

    @media (max-width: 768px) {
        padding: 6px 0 8px;
    }
}

.header--dark {
    background: rgba(0, 0, 0, 0.9) !important;
}

.header--scrolled {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.header__inner {
    display: grid;
    grid-template-columns: 210px 1fr 210px;
    align-items: center;
    gap: 16px;
    padding: 8px 40px;
    max-width: 1440px;
    margin-inline: auto;
}

.header__kicker {
    margin: 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

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

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header__phone {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.header__ctaLabel {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    white-space: nowrap;
}

/* ─── Burger button ─── */
.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--color-accent);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
    padding: 0;
}

.header__burger:hover {
    background: rgba(255, 140, 0, 0.12);
}

.header__burgerLine {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: opacity 0.2s;
}

/* ─── Overlay ─── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* ─── Drawer ─── */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    width: 360px;
    max-width: 100vw;
    background: #3F3F3F;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    border-radius: 20px 0 0 20px;
}

.nav-drawer.is-open {
    transform: translateX(0);
}

/* ─── Drawer Header ─── */
.nav-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.nav-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.nav-drawer__close:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* ─── Drawer Body ─── */
.nav-drawer__body {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

.nav-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-drawer__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-drawer__groupTitle {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.nav-drawer__subList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer__link {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-drawer__link:hover {
    color: var(--color-accent);
}

/* ─── Drawer Footer ─── */
.nav-drawer__footer {
    flex-shrink: 0;
    padding: 14px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.nav-drawer__footerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-drawer__footerPhone {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-drawer__footerPhone:hover {
    color: var(--color-accent);
}

.nav-drawer__socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-drawer__socialLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.2s;
    text-decoration: none;
}

.nav-drawer__socialLink:hover {
    opacity: 1;
}

.nav-drawer__socialLink svg {
    width: 20px;
    height: 20px;
    display: block;
}

.nav-drawer__socialLink--max img {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
}

.nav-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    background: var(--color-accent);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 12px;
    transition: opacity 0.2s;
}

.nav-drawer__cta:hover {
    opacity: 0.88;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .header__inner {
        padding-inline: 24px;
        grid-template-columns: auto 1fr auto;
    }

    .header__kicker {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        padding-inline: 20px;
        grid-template-columns: auto auto;
    }

    .header__kicker {
        display: none;
    }

    .header__phone {
        font-size: 15px;
    }

    .nav-drawer {
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .header__inner {
        padding: 8px 16px;
    }

    .header__phone {
        font-size: 13px;
        letter-spacing: 0;
    }

    .header__ctaLabel {
        display: none;
    }

    .nav-drawer__footerPhone {
        font-size: 18px;
    }

    .nav-drawer__link {
        font-size: 14px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.12s ease;

    &:hover {
        box-shadow: var(--shadow-sm);
    }

    &:active {
        transform: translateY(1px);
    }

    &:focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        max-width: 100%;
        white-space: wrap;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);

    &:hover {
        background: var(--color-accent-hover);
        border-color: var(--color-accent-hover);
    }
}

.footer {
    background: #121212;
    color: #e0f2f1;
    padding-top: 48px;
    border-radius: 36px 36px 0 0;
    z-index: 100;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 48px;
    display: grid;
    grid-template-columns: 345px 1fr auto;
    column-gap: 40px;
    align-items: start;
}

/* ─── Лого ─── */
.footer__brand {
    display: flex;
    gap: 16px;
}

.footer__brandLead {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 13px;
    color: rgba(224, 242, 241, 0.55);
    line-height: 1.5;
}

/* ─── Колонки ─── */
.footer__col-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-left: auto;

    @media (max-width: 768px) {
        margin-left: 0 !important;
        grid-template-columns: 1fr;
    }
}

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

.footer__colTitle {
    margin: 0 0 18px;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    color: #fff;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 16px;
    color: #7e7c7c;
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
        color: rgba(224, 242, 241, 0.9);
    }
}

/* ─── Контакты ─── */
.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
}

.footer__phone {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 22px;
    color: #e0f2f1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;

    &:hover {
        color: var(--color-accent);
    }
}

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

    @media (min-width: 769px) {
        margin-left: auto;
    }
}

.footer__socialLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;

    &:hover {
        opacity: 1;
    }

    svg {
        display: block;
        width: 20px;
        height: 20px;
    }

    img {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }
}

.footer__cta.btn {
    width: 100%;
    margin-top: 30px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 20px;
    min-height: 40px;
}

.footer__bottomInner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.footer__copyright {
    margin: 0;
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 400;
    color: rgba(224, 242, 241, 0.4);
    line-height: 1.6;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer__legalLink {
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 400;
    color: rgba(224, 242, 241, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
        color: rgba(224, 242, 241, 0.75);
    }
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .footer__inner {
        padding: 0 24px 40px;
        grid-template-columns: 220px 1fr auto;
        column-gap: 28px;
    }

    .footer__colTitle {
        font-size: 18px;
    }

    .footer__phone {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }

    .footer__inner {
        padding: 0 20px 36px;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 32px;
    }

    /* Лого на всю строку */
    .footer__brand {
        grid-column: 1 / -1;
    }

    /* Колонки занимают левую половину */
    .footer__col-wrapper {
        grid-column: 1 / 2;
    }

    /* Контакты занимают правую половину */
    .footer__contacts {
        grid-column: 2 / 3;
    }

    .footer__colTitle {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .footer__phone {
        font-size: 17px;
    }

    .footer__bottomInner {
        padding: 16px 20px;
    }

    .footer__legal {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 36px;
        border-radius: 24px 24px 0 0;
    }

    .footer__inner {
        padding: 0 16px 32px;
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .footer__brand {
        grid-column: auto;
        flex-direction: column;
        gap: 12px;
    }

    .footer__col-wrapper {
        grid-column: auto;
    }

    .footer__contacts {
        grid-column: auto;
    }

    .footer__cta.btn {
        width: 100%;
        justify-content: center;
    }

    .footer__bottomInner {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer__colTitle {
        font-size: 15px;
    }

    .footer__phone {
        font-size: 20px;
    }
}

.popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.is-active {
    opacity: 1;
    visibility: visible;
}

.popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.popup__container {
    position: relative;
    background: #3c3c3c;
    border-radius: 40px;
    width: 100%;
    max-width: 717px;
    padding: 40px 20px;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.popup__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup__close:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.popup__title {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.popup__subtitle {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    opacity: 0.65;
    margin: 0 0 16px;
}

.popup__socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 16px;
    max-width: 323px;
}

.popup__social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    height: 45px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.popup__social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.popup__social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.popup__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 323px;
    margin: 0 auto;
}

.popup__input-group {
    width: 100%;
}

.popup__input {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-family: var(--main-font);
    font-size: 14px;
    color: #121212;
    outline: none;
    appearance: auto !important;
    /* Force appearance if needed but better to style it */
}

.popup__input::placeholder {
    color: rgba(18, 18, 18, 0.4);
}

.popup__submit {
    width: 100%;
    height: 45px;
    min-height: 45px;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.popup__checkbox-group {
    width: 100%;
    margin-top: 16px;
}

.popup__checkbox-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.popup__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.popup__checkbox-custom {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.popup__checkbox-input:checked+.popup__checkbox-label .popup__checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.popup__checkbox-input:checked+.popup__checkbox-label .popup__checkbox-custom::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.popup__checkbox-text {
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.5;
}

.popup__checkbox-text a {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.popup__checkbox-text a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .popup__container {
        padding: 80px 18px 40px;
        border-radius: 20px;
    }

    .popup__title {
        font-size: 22px;
    }

    .popup__subtitle {
        font-size: 14px;
    }
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
    -webkit-tap-highlight-color: transparent !important;
}

html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: none;
}

footer,
header,
nav,
section,
main {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a,
span {
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

input,
button,
textarea {
    background-color: transparent;
    border: none;
    border-radius: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

div,
input,
button,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;

    &:focus,
    &:focus-visible {
        outline: none;
    }

    &:focus::placeholder {
        color: transparent;
    }
}

input,
textarea {
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    resize: none;
}

button {
    padding: 0;
    cursor: pointer;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

:root {
    --main-font: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;

    --color-bg: #e5eeed;
    --color-surface: rgba(18, 18, 18, 0.03);
    --color-text: #121212;
    --color-muted: rgba(18, 18, 18, 0.65);
    --color-border: rgba(18, 18, 18, 0.12);

    --color-accent: #ff8c00;
    --color-accent-hover: #ffb266;
    --color-accent-soft: rgba(255, 140, 0, 0.12);

    --color-secondary: #1a75ff;

    --color-white: #e0f2f1;
    --color-black: #121212;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 9999px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.7);

    --max-width: 1380px;
}

html,
body {
    height: 100%;
    font-family: var(--main-font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

::selection {
    background: var(--color-accent-soft);
}

.container {
    margin-left: auto;
    margin-right: auto;

    @media (min-width: 768px) {
        max-width: var(--max-width);
    }

    @media (min-width: 640px) {
        padding-left: 24px;
        padding-right: 24px;
    }

    @media (max-width: 640px) {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* ─── Universal carousel nav disabled state ─────────────────────────────── */

/* Applies to any [data-carousel-prev/next] button when JS sets disabled */

[data-carousel-prev]:disabled,
[data-carousel-next]:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}


/* ─── Hero Title Lines ─────────────────────────────────────────────────── */

.hero__titleLine {
    display: block;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
}

.hero__titleLine2 .hero__titleWord {
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
}

/* ─── Common Inner Containers ───────────────────────────────────────────── */

/* Many components use a variation of this, unifying under a common utility */

.section-inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1024px) {
    .section-inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .section-inner {
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .section-inner {
        padding: 0 16px !important;
    }
}

.js-image-expander {
    position: relative;
    cursor: pointer;
}

.js-image-expander__img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-50%);
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        z-index 0s step-end;
    border-radius: inherit;
    z-index: 1;
}

@media (min-width: 1025px) {
    .js-image-expander:hover {
        z-index: 10;
    }

    .js-image-expander:hover .js-image-expander__img {
        /* Height is dynamically set by JS */
        height: var(--expanded-height, 150%);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 10;
        transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            box-shadow 0.4s ease,
            z-index 0s step-start;
    }
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.background-grid__svg {
    width: 100%;
    height: 100%;
}

.grid-line {
    stroke: color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.main {
    flex: 1;
}

.main--top {
    margin-bottom: -30px;
}

/* ===== секция hero ===== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    overflow: hidden;
    background: #000;
    color: #fff;
    margin-top: -85px;
    padding-top: 85px;
}

/* ===== фон + слайды ===== */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.main.page-576 .hero__bg img {
    object-position: top center;
}

/* Individual slide */
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    z-index: 0;
}

.hero__slide--active {
    opacity: 1;
    z-index: 1;
}

.hero__slide picture,
.hero__slide img,
.hero__slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Gradient overlay — replaces the old ::after on hero__bg */
.hero__bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.3) 24%,
            rgba(0, 0, 0, 0.3) 45%,
            rgba(0, 0, 0, 0.5) 75%,
            rgba(0, 0, 0, 0.6) 100%);
}



/* ===== Carousel controls bar ===== */
/* Sits outside hero__bg so it is never trapped in a lower z-index context */
.hero__carousel-bar {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Prev / Next arrows — minimal & subtle */
.hero__nav {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: #fff;
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.hero__nav:hover {
    opacity: 1;
}

.hero__nav:active {
    transform: scale(0.9);
}

/* Dot indicators */
.hero__dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.hero__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero__dot--active {
    background: #fff;
    transform: scale(1.35);
}

/* ===== контентная область ===== */
.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 55px 40px 0;
    max-width: 1440px;
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}

.hero__top {
    max-width: 740px;
}

.hero__title {
    margin: 0 0 6px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

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

.hero__titleWord {
    display: inline-block;
}

.hero__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.hero__badgeDecor {
    position: absolute;
    left: 0px;
    top: 100%;
    transform: translateY(-40%);
    width: 248px;
    pointer-events: none;
    z-index: 0;
}

.hero__badgeDecor picture,
.hero__badgeDecor img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__badgeText {
    position: relative;
    z-index: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 23px);
    text-transform: none;
    white-space: nowrap;
    padding: 4px 20px 4px 8px;
}

.hero__lead {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 1.74vw, 25px);
    opacity: 0.7;
}

.hero__spacer {
    flex: 1;
    min-height: 100px;
}

.hero__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero__desc {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero__descLine {
    margin: 0;
    font-family: "Mulish", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.39vw, 20px);
    line-height: 1.4;
}

.hero__descItalic {
    font-weight: 300;
    font-style: italic;
}

.hero__cta {
    min-width: 280px;
}

.hero__stats {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
    margin-top: 63px;
    padding-bottom: 49px;

    @media (max-width: 768px) {
        gap: 16px;
    }
}

.hero__statItem {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 6px;
    padding: 0px 5px;
}

.hero__statItem:last-child {
    border-right: 0;
}

.hero__statIcon {
    display: block;
    width: auto;
    height: 26px;
    object-fit: contain;
    object-position: left center;
}

.hero__statIcon--100 {
    width: 89px;
    height: 28px;
}

.hero__statLabel {
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.25vw, 18px);
    opacity: 0.7;
    line-height: 1.2;
}

.hero__statItem--text {
    background: rgba(217, 217, 217, 0.2);
    border-radius: 10px;
    justify-content: center;
    margin-left: auto;
    opacity: 0.9;
    padding: 12px 14px;

    @media (max-width: 768px) {
        margin-top: 10px;
        margin-left: 0;
        padding-inline: 14px !important;
    }
}

.hero__statItem--text p {
    margin: 0;
    font-family: "Mulish", sans-serif;
    font-weight: 300;
    font-size: clamp(12px, 1.11vw, 14px);
    line-height: 1.45;
}

/* ===== адаптив ===== */
@media (max-width: 1024px) {
    .hero__content {
        padding-inline: 24px;
    }

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

    .hero__statItem--text {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 560px;
    }

    .hero__content {
        padding-inline: 20px;
        padding-top: 60px;
    }

    .hero__spacer {
        min-height: 80px;
    }

    .hero__cta.btn {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .hero__stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }
	
	.hero__statItem.mobile {
		display: flex !important;
	}

    .hero__statItem--text {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 0;
    }

    .hero__content {
        padding-inline: 16px;
        padding-top: 36px;
    }

    .hero__title {
		min-height: 200px;
        font-size: 24px;
    }
	.hero__titleLine {
		font-size: 24px !important;
		text-wrap: balance;
	}
	
	.hero__title br {
		display: none;
	}
	
	.main.page-2 .hero__title br {
		display: block;
	}

    .hero__titleLine2 {
        flex-wrap: wrap;
        gap: 4px;
    }

    .hero__badgeDecor {
        width: 160px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__spacer {
        min-height: 170px;
    }

    .hero__descLine {
        font-size: 14px;
    }

    .hero__cta.btn {
        font-size: 9px;
    }

    .hero__stats {
        margin-top: 0px;
        padding-top: 28px;
    }

    .hero__statItem {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-right: 0;
    }

    .hero__statItem:last-child {
        border-bottom: 0;
    }
	
	.hero__statIcon {
		height: 20px;
	}

    .hero__statItem--text {
        grid-column: 1 / -1;
        border-top: 0;
    }
	
	.hero__statLabel {
		font-size: 12px;
	}
	
	.hero__carousel-bar {
		bottom: 10px;
	}
	.hero__stats {position: relative;}
	.hero__statItem {position: relative; z-index: 2;}
	.hero__stats::before {
	  	content: "";
	  	position: absolute;
	  	top: 0;
		left: -40px;
		height: 100%;
		width: calc(100% + 80px);
	  	background: radial-gradient(
			circle at 50% 50%, 
			rgba(20, 20, 20, 0.45) 0%,    /* Центр: тёмный, полупрозрачный */
			transparent 100%               /* Края: полная прозрачность */
	  	);
	  	z-index: 1;
	  	pointer-events: none; /* Не блокирует клики по контенту внутри блока */
	}
}

.support-cta:not(.is-nested) {
    padding: 60px 0 70px;
    overflow: hidden;
}



.support-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 40px;
}

.support-cta.is-nested .support-cta__inner {
    padding-top: 40px;
}

.support-cta__info {
    max-width: 600px;
}

.support-cta__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #4a4a4a;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.support-cta__text {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    color: #6a7471;
    margin-bottom: 30px;
    line-height: 1.4;
    margin-top: 0;
}

.support-cta__btn {
    background: #ff9800;
    border-color: #ff9800;
}

.support-cta__decor {
    position: absolute;
    right: 80px;
    bottom: -150px;
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 1024px) {

    .support-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .support-cta__decor {
        display: none;
    }
}

@media (max-width: 768px) {

    .support-cta__inner {
        padding-top: 0;
    }

    .support-cta__title {
        font-size: 24px;
    }

    .support-cta__text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .support-cta:not(.is-nested) {
        padding: 40px 0;
    }

    .support-cta__title {
        font-size: 20px;
    }

    .support-cta__text {
        font-size: 14px;
    }
}

/* ПРАВАЯ КОЛОНКА */
.showcase__sidebar {
    width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 30px 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.showcase__sidebar-title {
    font-family: 'Mulish', sans-serif;
    color: #a0a0a0;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.showcase__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: -6px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 10px;
}

.showcase__list::-webkit-scrollbar {
    width: 4px;
}

.showcase__list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

a.showcase__radio-label {
    text-decoration: none;
}

.showcase__radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.showcase__radio-label input {
    display: none;
}

.showcase__radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    transition: background 0.3s;
}

.showcase__radio-label.active .showcase__radio-dot {
    background: #FF9800;
    /* Оранжевая активная точка */
}

.showcase__radio-text {
    font-family: 'Mulish', sans-serif;
    font-size: clamp(14px, 1vw, 16px);
    color: #121212;
    transition: color 0.15s, font-weight 0.15s;
    font-weight: 400;
}

.showcase__radio-label.active .showcase__radio-text {
    font-weight: 700;
}

.showcase__radio-label:hover .showcase__radio-text {
    color: #FF9800;
    /* Небольшой ховер-эффект */
}

@media (max-width: 1024px) {
    .showcase__sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Сайдбар - горизонтальный скролл */
    .showcase__list {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 8px;
        max-height: none;
    }

    .showcase__sidebar {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .showcase__radio-text {
        font-size: 13px;
    }
	.showcase__sidebar {
		width: 100% !important;
	}
}

.platforms {
    background: var(--color-bg);
    padding: 0 0 80px;
}

.platforms__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.platforms__titleRow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 340px;
	min-height: 90px;
    margin: 0 auto -60px;

    position: relative;
    z-index: 2;
}

.platforms__titleImg {
    width: 100%;
    height: auto;
    display: block;
}

.platforms__title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 340px;
  	height: 50px;
	background: var(--color-pink);
  	border-color: var(--color-pink);
  	border-radius: var(--radius-md);
  	transform: rotate(-6deg);
    margin: 0;
	
    font-family: var(--main-font);
  	font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
  	color: #fff;
    text-align: center;
}

.platforms__card-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 102px 36px 36px;
}

.platforms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* ─── Карточка площадки ─── */
.plat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plat-card__media {
    display: block;
    height: 348px;
    overflow: hidden;
    text-decoration: none;
}

.plat-card__media .image {
    width: 100%;
    height: 100%;
}

.plat-card__media .image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.plat-card__media .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.plat-card:hover .plat-card__media .image img {
    opacity: 1;
}

.plat-card__info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px 26px;
}

.plat-card__type {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 13px;
    font-style: italic;
    color: var(--color-muted);
}

.plat-card__name {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--color-text);
}

.plat-card__link {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 14px;
    font-style: italic;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.plat-card:hover .plat-card__link {
    opacity: 1;
    transform: translateY(0);
}

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

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .platforms__inner {
        padding: 0 24px;
    }

    .platforms__card-wrapper {
        padding: 80px 24px 28px;
    }

    .platforms__titleRow {
        margin-bottom: -52px;
    }

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

    .plat-card__media {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .platforms__inner {
        padding: 0 20px;
    }

    .platforms__card-wrapper {
        padding: 72px 20px 24px;
        border-radius: 18px;
    }

    .platforms__titleRow {
        margin-bottom: -48px;
    }

    .platforms__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 24px;
    }

    .plat-card__media {
        height: 240px;
    }

    .plat-card__name {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .platforms {
        padding: 0 0 56px;
    }

    .platforms__inner {
        padding: 0 16px;
    }

    .platforms__titleRow {
        max-width: 260px;
        margin-bottom: -40px;
    }

    .platforms__titleImg {
        width: 160px;
    }

    .platforms__title {
        font-size: 26px;
    }

    .platforms__card-wrapper {
        padding: 56px 16px 20px;
        border-radius: 14px;
    }

    .platforms__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .plat-card__media {
        height: 180px;
    }

    .plat-card__name {
        font-size: 13px;
    }

    .plat-card__type {
        font-size: 11px;
    }

    .plat-card__info {
        padding-bottom: 22px;
    }

    .plat-card__link {
        font-size: 12px;
    }
}

.weddings-about {
    padding: 80px 0 60px;
    overflow: hidden;
}

.weddings-about__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.weddings-about__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.1;
    text-transform: uppercase;
    color: #6a7471;
    margin: 0 0 60px;
    position: relative;
    z-index: 2;
}

.weddings-about__content {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.weddings-about__decor {
    position: absolute;
    top: -180px;
    right: 0%;
    transform: translateX(-25%);
    width: min(586px, 100%);
    pointer-events: none;
    z-index: 0;
}

.weddings-about__decor img,
.weddings-about__decor picture {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.weddings-about__cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    /* Не врапим на десктопе, пускай ужимаются */
    justify-content: center;
    gap: clamp(15px, 2vw, 30px);
}

.weddings-about__card {
    background: #fff;
    padding: clamp(12px, 1.1vw, 16px);
    padding-bottom: clamp(16px, 1.6vw, 24px);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    /* Карточки делят между собой пространство */
    max-width: 280px;
    /* На 10% меньше чем было (313 -> 280) */
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.1vw, 16px);
    will-change: transform;
}

.weddings-about__cardMedia {
    width: 100%;
    aspect-ratio: 281 / 303;
    /* Формируем пропорции скрина */
    height: auto;
    border-radius: 2px;
    overflow: hidden;
}

.weddings-about__cardMedia img,
.weddings-about__cardMedia picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.weddings-about__cardText {
    font-family: 'Mulish', sans-serif;
    color: #6a7471;
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.4;
    text-align: left;
}

.weddings-about__cardText strong {
    font-weight: 700;
}

.weddings-about__cardText em {
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .weddings-about__cards {
        flex-wrap: wrap;
        /* Только на планшете начинаем переносить */
        gap: 20px;
    }

    .weddings-about__card {
        width: calc(50% - 10px);
        max-width: 313px;
        /* На планшете можно вернуть оригинальный макс размер */
        flex: none;
    }
}

@media (max-width: 768px) {
    .weddings-about {
        padding: 60px 0;
    }

    .weddings-about__inner {
        padding: 0 20px;
    }

    .weddings-about__title {
        margin-bottom: 40px;
    }

    .weddings-about__decor {
        width: 400px;
        top: -40px;
    }

    .weddings-about__card {
        width: calc(50% - 10px);
        max-width: 313px;
    }

    .weddings-about__cardMedia {
        height: auto;
        /*aspect-ratio: auto;*/
    }

    .weddings-about__cardMedia img,
    .weddings-about__cardMedia picture {
        /*height: auto;*/
    }
}

@media (max-width: 480px) {
    .weddings-about__title {
        font-size: 20px;
    }

    .weddings-about__card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .weddings-about__decor {
        display: none;
    }
}

.banner-section {
    padding: 60px 0;
    overflow: hidden;
}

.banner-section__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.wedding-banner {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 10px 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.wedding-banner__content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .wedding-banner__content {
        width: 100%;
    }
}

.wedding-banner__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.5vw, 28px);
    line-height: 1.1;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.wedding-banner__subtitle {
    margin: 0 0 40px 0;
    color: #4a4a4a;
}

.wedding-banner__subtitle-main {
    font-family: "Mulish", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

.wedding-banner__subtitle-sub {
    font-family: "Mulish", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 1;
    color: #8c8c8c;
}


.wedding-banner__visual {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    transform: rotate(3.15deg);
    flex-shrink: 0;
}

.wedding-banner__images-wrapper {
    position: relative;
    /* было: width: 400px; height: 200px; */
  	width: 480px;
  	height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wedding-banner__image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.wedding-banner__image.active {
    opacity: 1;
    z-index: 1;
}

.wedding-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-banner__arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.wedding-banner__arrow img {
    width: 24px;
    height: 36px;
    object-fit: contain;
}

.wedding-banner__arrow--next img {
    transform: rotate(180deg);
}

.wedding-banner__arrow:active {
    transform: scale(0.9);
}

@media (max-width: 1024px) {
    .wedding-banner {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }

    .wedding-banner__visual {
        transform: none;
    }
}

@media (max-width: 768px) {
    .wedding-banner {
        padding: 30px 20px;
    }

    .wedding-banner__visual {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
		
		position: relative;
    }

    .wedding-banner__images-wrapper {
        width: 100%;
        /* было: max-width: 380px; */
    	max-width: 456px;
        aspect-ratio: 2 / 1.3;
        height: auto;
        order: 1;
    }
	
	.wedding-banner__image img {
		/*height: auto;*/
	}
	
	.wedding-banner__arrow {
		position: absolute;
		top: calc(50% - 18px);
	}

    .wedding-banner__arrow--prev {
		left: 10px;
        order: 2;
    }

    .wedding-banner__arrow--next {
		right: 10px;
        order: 3;
    }
}

@media (max-width: 768px) {
    .wedding-banner__btn {
        width: 100%;
		text-wrap: balance;
    }
	.wedding-banner__subtitle-sub {
		display: block;
		margin-top: 5px;
	}
}

@media (max-width: 480px) {
    .wedding-banner__title {
        font-size: 16px;
    }

    .wedding-banner__subtitle-main,
    .wedding-banner__subtitle-sub {
        font-size: 16px;
    }

    .wedding-banner__images-wrapper {
        /* было: max-width: 320px; */
    	max-width: 384px;
    }
}

.banner-two {
    padding: 60px 0;
    overflow: hidden;
}



.wedding-banner-two {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px 0 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.wedding-banner-two__content {
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wedding-banner-two__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.5vw, 28px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}


.wedding-banner-two__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.wedding-banner-two__image-wrapper {
    position: relative;
    width: 509px;
    height: 245px;
    transform: rotate(3deg);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 1;
}

.wedding-banner-two__image-wrapper img,
.wedding-banner-two__image-wrapper picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wedding-banner-two__decor {
    position: absolute;
    width: 105px;
    height: 105px;
    z-index: 2;
    /* перекрывает картинку */
    pointer-events: none;
}

.main.page-580 .wedding-banner-two__decor,
.main.page-583 .wedding-banner-two__decor,
.main.page-572 .wedding-banner-two__decor{
	display: none !important;
}

.wedding-banner-two__decor svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wedding-banner-two__decor--left {
    top: -60px;
    left: -50px;
    transform: rotate(-20deg);
}

.wedding-banner-two__decor--right {
    bottom: -60px;
    right: -30px;
    transform: rotate(20deg);
}

@media (max-width: 1024px) {

    .wedding-banner-two {
        flex-direction: column;
        padding: 40px 24px;
        gap: 40px;
    }

    .wedding-banner-two__visual {
        margin-right: 0;
    }
}

@media (max-width: 768px) {

    .wedding-banner-two {
        padding: 30px 20px;
        gap: 30px;
    }

    .wedding-banner-two__image-wrapper {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 509 / 345;
        height: auto;
    }

    .wedding-banner-two__decor {
        width: 120px;
        height: 120px;
    }

    .wedding-banner-two__decor--left {
        top: -30px;
        left: -20px;
    }

    .wedding-banner-two__decor--right {
        bottom: -30px;
        right: -20px;
    }
}

@media (max-width: 480px) {
    .banner-two {
        padding: 40px 0;
    }

    .wedding-banner-two {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .wedding-banner-two__title {
        font-size: 16px;
    }

    .wedding-banner-two__decor {
        width: 80px;
        height: 80px;
    }

    .wedding-banner-two__decor--left {
        top: -20px;
        left: -10px;
    }

    .wedding-banner-two__decor--right {
        bottom: -20px;
        right: -10px;
    }
}

.workflow {
    background: #e8eeee;
    padding: 40px 0 0;
}

.workflow__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.workflow__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.workflow__top {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 120px;
}

.workflow__top-media-wrapper {
    flex-shrink: 0;
}

.workflow__bg-img {
    width: 504px;
    height: 229px;
    border-radius: 21px;
    object-fit: cover;
	object-position: top center;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.workflow__card {
    will-change: transform;
    display: block;
}

.workflow__top-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 500px;
}

.workflow__top-icon {
	display: none !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.workflow__top-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workflow__top-main-text {
    font-family: 'Mulish', sans-serif;
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.4;
}

.workflow__top-main-text strong {
    font-weight: 700;
}

.workflow__top-main-text em {
    font-style: italic;
    font-weight: 400;
}

.workflow__top-sub-text {
    font-family: 'Mulish', sans-serif;
    color: #6a7471;
    font-size: 14px;
    line-height: 1.4;
}

/* STRIPE */
.workflow__stripe {
    background-color: #1A75FF;
    height: 230px;
    width: 100%;
    margin-top: 60px;
    /* to give room for overlapping polaroids */
    margin-bottom: 60px;
    /* room for bottom overlap */
}

.workflow__stripe-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.workflow__half {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.workflow__polaroid {
    background: #fff;
    padding: 18px 18px 73px 18px;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin-top: -60px;
    /* Pull it up out of the blue stripe slightly */
}

.workflow__polaroid-media {
    width: 244px;
    height: 263px;
    border-radius: 2px;
    overflow: hidden;
}

.workflow__polaroid-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workflow__half-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -80px;
    color: #4a4a4a;
}

.workflow__half-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    opacity: 0.8;
    font-size: 32px;
    text-transform: uppercase;
}

.workflow__half-desc {
    max-width: 251px;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .workflow__inner {
        padding: 0 24px;
    }

    .workflow__top {
        gap: 30px;
    }

    .workflow__stripe-inner {
        grid-template-columns: 1fr;
        padding-bottom: 40px;
    }

    .workflow__stripe {
        height: auto;
        padding: 30px 0 20px;
        margin-top: 40px;
    }

    .workflow__half {
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .workflow__polaroid {
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .workflow__inner {
        padding: 0 20px;
    }

    .workflow__top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
    }

    .workflow__bg-img {
        width: 100%;
        height: auto;
    }

    .workflow__half {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 16px;
    }

    .workflow__polaroid {
        margin-top: -40px;
        margin-bottom: 0;
    }

    .workflow__half-text {
        margin-top: 0;
    }

    .workflow__polaroid-media {
        width: 180px;
        height: 195px;
    }
	.showcase__sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .workflow {
        padding: 32px 0 0;
    }

    .workflow__inner {
        padding: 0 16px;
    }

    .workflow__title {
        font-size: 18px;
    }

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

    .workflow__half-desc {
        font-size: 16px;
    }

    .workflow__polaroid-media {
        width: 140px;
        height: 150px;
    }

    .workflow__polaroid {
        padding: 12px 12px 50px 12px;
    }
}

.catalog {
    background: #e5eeed;
    /* Фон по макету */
    padding: 80px 0;
    overflow: hidden;
}



.catalog__heading {
    margin-bottom: 30px;
}

.catalog__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.catalog__title-blue {
    color: #1A75FF;
}

.catalog__subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.4;
    color: #6a7471;
    margin: 0;
}

.catalog__subtitle em {
    font-style: italic;
}

.catalog__grid-container {
    position: relative;
    /* Высота примерно на 2 ряда + расстояние (примерно 2*380 = 760) */
    max-height: 860px;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
    padding-top: 15px;
    margin-bottom: 40px;
}

.catalog__grid-container.is-expanded {
    max-height: 2000px;
    /* Достаточно места для 3 и более рядов */
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.catalog__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Градиент покрывает нижнюю часть (фактически второй ряд) */
    height: 250px;
    background: linear-gradient(to top, #e5eeed 1%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.catalog__grid-container.is-expanded .catalog__gradient {
    opacity: 0;
}

.catalog__card {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.catalog__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.catalog__card-media {
    width: 100%;
    aspect-ratio: 244 / 263;
    border-radius: 4px;
    overflow: hidden;
}

.catalog__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top;
    display: block;
}

.catalog__card-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 4px;
    /* Легкий отступ снизу */
}

.catalog__card-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.catalog__card-label {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    color: #6a7471;
    font-style: italic;
}

.catalog__card-val {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    color: #4a4a4a;
    white-space: normal;
    line-height: 1.2;
    word-break: break-word;
}

.catalog__card-divider {
    width: 1px;
    height: 34px;
    background: #ddd;
    margin: 0 20px;
    align-self: center;
    /* Центрируем разделитель относительно блока info */
}

@media (max-width: 480px) {
	.catalog__card-divider {margin: 0 10px;}
}

.catalog__card-col--guests {
    flex: 1;
    /* Оставшееся пространство до ширины позволяет сдвинуть стрелку вправо */
}

.catalog__card-arrow {
    width: 53px;
    height: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 8px;
    /* Выравнивание по базовой линии текста */

    @media (max-width: 480px) {
        display: none;
    }
}



.catalog__card-info.bottom-text {
	padding-bottom: 30px;
	position: relative;
}

.catalog__card-postname {
	position: absolute;
	left: 0;
	bottom: 0;
	
	font-family: var(--main-font);
  	font-weight: 400;
  	font-size: 13px;
  	font-style: italic;
  	color: var(--color-muted);
}

@media (max-width: 480px) {
	.catalog__card-info.bottom-text {padding-bottom: 20px;}
  	.catalog__card-postname {font-size: 11px;}
}

.catalog__card-arrow img {
    height: 100%;
    object-fit: contain;
}

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

.catalog__btn {
    width: 210px;
    min-height: 44px;
    padding: 0 30px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #FF9800;
    color: #fff;
    border: none;
    border-radius: 8px;
}

@media (max-width: 1024px) {

    .catalog__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog__grid-container {
        max-height: 820px;
    }

    .catalog__grid-container.is-expanded {
        max-height: none;
    }
}

@media (max-width: 768px) {

    .catalog {
        padding: 56px 0;
    }

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

    .catalog__grid-container {
        max-height: 860px;
    }

    .catalog__grid-container.is-expanded {
        max-height: none;
    }

    .catalog__gradient {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .catalog {
        padding: 40px 0;
    }

    .catalog__title {
        font-size: 18px;
    }

    .catalog__subtitle {
        font-size: 14px;
    }

    .catalog__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .catalog__grid-container {
        max-height: 760px;
    }

    .catalog__grid-container.is-expanded {
        max-height: none;
    }

    .catalog__card-label {
        font-size: 14px;
    }

    .catalog__card-val {
        font-size: 16px;
    }

    .catalog__card {
        padding: 8px;
        gap: 6px;
    }

    .catalog__card-media {
        border-radius: 4px;
    }
}

@media (max-width: 420px) {

    .catalog__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .catalog__card-val {
        font-size: 14px;
    }

    .catalog__card-label {
        font-size: 11px;
    }

    .catalog__card-info {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 0 4px;
    }

    .catalog__card-divider {
        display: none;
    }

    .catalog__card {
        padding: 6px;
    }
}

@media (max-width: 360px) {
    .catalog__grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

.weddings-cta {
    background: #e8eeee;
    padding: 60px 0 100px;
    overflow-x: clip;
    overflow-y: visible;
}

/* Полоса с текстом и кнопкой */
.weddings-cta__stripe {
    background: #ffffff;
    width: 100%;
    margin-bottom: 80px;
    height: 140px;
    /* Фиксированная высота для полосы */
    display: flex;
    align-items: center;
    overflow: visible;
}

.weddings-cta__stripe--decor-tall {
    /* Высокий декор, прижатый снизу — не обрезать по вертикали */
    overflow: visible;
}

.weddings-cta__stripe-inner {
    position: relative;
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    gap: 40px;
    --cta-decor-w: 200px;
    --cta-decor-h: 200px;
    --cta-decor-rotate: 25deg;
    --cta-title-margin: 200px;
}

.weddings-cta__decor {
    position: absolute;
    left: 20px;
    width: var(--cta-decor-w);
    height: var(--cta-decor-h);
    z-index: 2;
}

.weddings-cta__decor--center {
    top: 50%;
    transform: translateY(-50%) rotate(var(--cta-decor-rotate));
}

.weddings-cta__decor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.weddings-cta__title {
    margin-left: var(--cta-title-margin);
    flex: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
}

.weddings-cta__btn.btn {
    font-size: 10px;
    height: 38px;
    min-height: 38px;
    padding: 0 20px;
}

/* Статистика внизу */
.weddings-cta__stats-inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.weddings-cta__stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.weddings-cta__stat-item:first-child {
	flex: 0 0 40%;
}

.weddings-cta__stat-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
	min-width: 150px;
}

.weddings-cta__stat-num {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: #4a4a4a;
    line-height: 1;
}

.weddings-cta__stat-label {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    color: #6a7471;
}

/* Стек карточек (лево) */
.weddings-cta__cards-stack {
    position: relative;
    width: 280px;
    height: 145px;
    display: flex;
    align-items: center;
}

.weddings-cta__card-stack-item {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.weddings-cta__card-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Первая карточка - сверху справа */
.weddings-cta__card-stack-item:nth-child(1) {
    z-index: 3;
    left: 0;
    width: 217px;
    height: 145px;
}

.weddings-cta__card-stack-item:nth-child(2) {
    z-index: 2;
    left: 55px;
    width: 181px;
    height: 121px;
    opacity: 0.6;
}

.weddings-cta__card-stack-item:nth-child(3) {
    z-index: 1;
    left: 110px;
    width: 143px;
    height: 96px;
    opacity: 0.3;
}

/* Сетка 2×2 аватарок (день рождения — подрядчики) */
.weddings-cta__avatar-grid {
    position: relative;
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.weddings-cta__avatar-grid-item {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.weddings-cta__avatar-grid-item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
	border: 4px solid #FFF;
	border-radius: 50%;
	z-index: 2;
}

.weddings-cta__avatar-grid-item img {
	position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
	z-index: 1;
}

.weddings-cta__avatar-grid-item:nth-child(1) {
    z-index: 4;
    left: 0;
    top: -8px;
}

.weddings-cta__avatar-grid-item:nth-child(2) {
    z-index: 3;
    left: 42px;
    top: -8px;
}

.weddings-cta__avatar-grid-item:nth-child(3) {
    z-index: 2;
    left: 0;
    top: 70px;
}

.weddings-cta__avatar-grid-item:nth-child(4) {
    z-index: 1;
    left: 42px;
    top: 70px;
}

/* Стек аватарок (право) */
.weddings-cta__avatars-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 180px;
}

.weddings-cta__avatars-row {
    position: relative;
    height: 65px;
    width: 100%;

    @media (max-width: 768px) {
        margin-left: 45px;
    }
}

.weddings-cta__avatar-item {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ff3dbd;
    position: absolute;
    background: #fff;
}

.weddings-cta__avatar-item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
	border: 4px solid #ff3dbd;
	border-radius: 50%;
	z-index: 2;
}

.weddings-cta__avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.weddings-cta__avatar-item:nth-child(1) {
    z-index: 3;
    left: 0;
}

.weddings-cta__avatar-item:nth-child(2) {
    z-index: 2;
    left: 35px;
    opacity: 0.7;
}

.weddings-cta__avatar-item:nth-child(3) {
    z-index: 1;
    left: 70px;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .weddings-cta__stripe {
        height: auto;
        padding: 30px 0;
    }

    .weddings-cta__stripe-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 24px;
    }

    .weddings-cta__decor {
        transform: none !important;
        bottom: auto !important;
        top: auto !important;
        margin: 0 auto;
        z-index: 1;
        display: none;
    }

    .weddings-cta__title {
        margin-left: 0;
        z-index: 2;
    }

    .weddings-cta__btn.btn {
        z-index: 2;
    }

    .weddings-cta__stats-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 24px;
    }

    .weddings-cta__stat-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .weddings-cta {
        padding: 40px 0 60px;
    }

    .weddings-cta__stripe-inner {
        padding: 0 20px;
    }

    .weddings-cta__stats-inner {
        padding: 0 20px;
    }

    .weddings-cta__stat-num {
        font-size: 48px;
    }

    .weddings-cta__stat-item {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* Стек карточек — переходит в вертикаль (сверху вниз) */
    .weddings-cta__cards-stack {
        position: relative;
        width: 200px;
        height: 180px;
        flex-direction: column;
    }

    .weddings-cta__card-stack-item:nth-child(1) {
        z-index: 3;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 180px;
        height: 120px;
    }

    .weddings-cta__card-stack-item:nth-child(2) {
        z-index: 2;
        left: 50%;
        top: 40px;
        transform: translateX(-50%);
        width: 150px;
        height: 100px;
        opacity: 0.6;
    }

    .weddings-cta__card-stack-item:nth-child(3) {
        z-index: 1;
        left: 50%;
        top: 80px;
        transform: translateX(-50%);
        width: 120px;
        height: 80px;
        opacity: 0.3;
    }

    /* Аватарки — центрировать */
    .weddings-cta__avatars-stack {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .weddings-cta__stripe-inner {
        padding: 0 16px;
    }

    .weddings-cta__stats-inner {
        padding: 0 16px;
        gap: 32px;
    }

    .weddings-cta__stat-num {
        font-size: 40px;
    }

    .weddings-cta__stat-label {
        font-size: 14px;
    }
}

.banner-venues {
    padding: 48px 0;
    overflow: hidden;
}

.banner-venues__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.banner-venues__panel {
    background: #ffffff;
    border-radius: 24px;
    padding: 5px 14px 5px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.banner-venues__content {
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.banner-venues__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.15;
    color: #333333;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.banner-venues__desc {
    font-family: "Mulish", sans-serif;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.45;
    color: #666666;
    margin: 0 0 28px;
}

.banner-venues__btn.btn {
    min-height: 44px;
    padding: 0 28px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
}

.banner-venues__visual {
    flex-shrink: 0;
    /* было: width: min(420px, 45vw); height: 200px; */
  	width: min(508px, 45vw);
  	height: 242px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-venues__stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-venues__card {
    position: absolute;
    width: 266px;
  	height: 182px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #fff;
}

.banner-venues__card img,
.banner-venues__card picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-venues__card--1 {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-9deg);
    z-index: 3;
}

.banner-venues__card--2 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(4deg);
    z-index: 2;
}

.banner-venues__card--3 {
    right: 0;
    top: 50%;
    transform: translateY(-59%) rotate(-9deg);
    z-index: 1;
}

@media (max-width: 1024px) {
    .banner-venues__panel {
        flex-direction: column;
        align-items: stretch;
        padding: 36px 32px;
    }

    .banner-venues__content {
        max-width: none;
    }

    .banner-venues__visual {
        width: 100%;
        margin: 0 auto;
		/* было: max-width: 400px; height: 180px; */
    	max-width: 484px;
    	height: 218px;
    }
}

@media (max-width: 768px) {
    .banner-venues__inner {
        padding: 0 20px;
    }

    .banner-venues__panel {
        padding: 28px 24px;
    }

    .banner-venues__card {
        /* было: width: 160px; height: 110px; */
    	width: 194px;
    	height: 133px;
    }

    .banner-venues__visual {
        /* было: height: 140px; */
    	height: 169px;
    }
}

@media (max-width: 480px) {
    .banner-venues__card--1 {
        left: -10px;
    }

    .banner-venues__card--3 {
        right: -10px;
    }
}

.onboarding {
    background: #e8eeee;
    padding: 80px 0 100px;
    overflow: clip;
}

.onboarding__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER */
.onboarding__header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.onboarding__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 1;
}

.onboarding__decor {
    position: absolute;
    top: -180px;
    left: 55%;
    z-index: -1;
    pointer-events: none;
}

.onboarding__decor img {
    object-fit: contain;
    opacity: 0.9;
}

/* STEPS */
.onboarding__steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.onboarding__step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    will-change: transform;
}

/* STEP CONTENT (left side) */
.onboarding__step-content {
    flex: 1;
    max-width: 500px;
}

.onboarding__step-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.onboarding__step-num {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 0.85;
    color: #d0d7d5;
    flex-shrink: 0;
    letter-spacing: -2px;
}

.onboarding__step-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.onboarding__step-title {
    font-family: "Mulish", sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #4a4a4a;
}

.onboarding__step-subtitle {
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #6a7471;
}

.onboarding__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 10px;
}

.onboarding__step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Mulish", sans-serif;
    font-style: italic;
    font-size: 16px;
    color: #4a4a4a;
}

.onboarding__step-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* STEP MEDIA (right side) */
.onboarding__step-media {
    flex-shrink: 0;
    width: 380px;
    height: 254px;
    border-radius: 6px;
    overflow: hidden;
}

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

/* FOOTER */
.onboarding__footer {
    display: flex;
    justify-content: center;
}

.onboarding__footer .btn {
    padding: 0 30px;
    font-size: 11px;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .onboarding {
        padding: 60px 0 80px;
    }

    .onboarding__inner {
        padding: 0 24px;
    }

    .onboarding__step {
        flex-direction: column;
        /* Отключаем JS-анимацию принудительно через CSS */
        transform: none !important;
        will-change: auto;
    }

    .onboarding__step-media {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 380 / 254;
    }

    .onboarding__decor {
        display: none;
    }

    .onboarding__steps {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .onboarding__inner {
        padding: 0 20px;
    }

    .onboarding {
        padding: 48px 0 60px;
    }

    .onboarding__step-num {
        font-size: 56px;
    }

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

@media (max-width: 480px) {
    .onboarding {
        padding: 40px 0 56px;
    }

    .onboarding__inner {
        padding: 0 16px;
    }

    .onboarding__step-num {
        font-size: 44px;
    }

    .onboarding__step-title {
        font-size: 18px;
    }

    .onboarding__step-item {
        font-size: 14px;
        gap: 10px;
    }

    .onboarding__step-icon {
        width: 24px;
        height: 24px;
    }

    .onboarding__header {
        margin-bottom: 40px;
    }

    .onboarding__steps {
        gap: 32px;
    }
}

.faq {
    background: #e5eeed;
    padding: 20px 0 70px;
    overflow: hidden;
}



.faq__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.5vw, 32px);
    color: #4a4a4a;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 80px;
}

.faq__item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq__item.is-open {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.faq__question {
    font-family: "Mulish", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #4a4a4a;
    line-height: 1.4;
}

.faq__icon {
    width: 40px;
    height: 40px;
    background: #ff9800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    /* Изначально стрелка в SVG смотрит влево, разворачиваем вниз */
    transform: rotate(270deg);
}

.faq__item.is-open .faq__icon {
    transform: rotate(90deg);
    /* Смотрит вверх */
}

.faq__icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer {
    padding: 0 30px 24px;
    font-family: "Mulish", sans-serif;
    font-style: italic;
    font-size: 16px;
    max-width: 930px;
    color: #6a7471;
    line-height: 1.5;
}


@media (max-width: 1024px) {

    .faq__trigger {
        padding: 20px 24px;
    }

    .faq__question {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .faq {
        padding: 56px 0;
    }

    .faq__trigger {
        padding: 18px 20px;
    }

    .faq__answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 40px 0;
    }

    .faq__list {
        gap: 10px;
        margin-bottom: 48px;
    }

    .faq__trigger {
        padding: 16px;
        gap: 12px;
    }

    .faq__question {
        font-size: 15px;
    }

    .faq__icon {
        width: 34px;
        height: 34px;
    }

    .faq__answer {
        padding: 0 16px 18px;
        font-size: 14px;
    }
}

.showcase__sidebar {
  width: 270px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 30px 30px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.showcase {
  padding: 40px 0;
  background: #e8eeee; /* Соответствует цвету макета */
  overflow: hidden;
}

.showcase__inner {
  max-width: var(--max-width, 1440px);
  margin: 0 auto;
  padding: 0 40px;
}

.showcase__header {
  margin-bottom: 50px;
}

.showcase__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 32px);
  color: #4a4a4a;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.showcase__subtitle {
  font-family: 'Mulish', sans-serif;
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.showcase__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
}

/* ЛЕВАЯ КОЛОНКА */
.showcase__main-photo {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* Пропорции главной фото (300:504 = 1.68) */
.showcase__main-photo::before {
  content: "";
  display: block;
  padding-top: 168%;
}

.showcase__main-photo-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.showcase__main-photo-item.active {
  opacity: 1;
  z-index: 2;
}

.showcase__main-photo-item img,
.showcase__main-photo-item picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ЦЕНТРАЛЬНАЯ КОЛОНКА */
.showcase__center {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
}

.showcase__sidebar-wrapper {
  position: relative;
  z-index: 1;
}

.showcase__decor {
  position: absolute;
  top: -5%;
  left: 15%;
  transform: translate(-50%, -50%);
  width: min(350px, 100vw);
  z-index: -1;
  pointer-events: none;
}

.showcase__decor img,
.showcase__decor picture {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.showcase__carousel-group {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.showcase__carousel-group.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.showcase__huge-title {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  padding-left: 0;
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 48px);
  color: #4a4a4a;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase__title-row {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}

.showcase__title-nav {
  display: none;
}

.showcase__carousel {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  z-index: 2;
  position: relative;
  width: 100%;
}

.showcase__nav {
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
  padding: 0;
  z-index: 3;
}

.showcase__nav-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FF9800; /* Создаем круглую оранжевую подложку */
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.showcase__nav:hover {
  transform: scale(1.05);
}

/* Перекрашиваем SVG в белый */
.showcase__nav img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.showcase__nav--next img {
  transform: rotate(180deg);
}

.showcase__nav--prev img {
  transform: rotate(0deg);
}

.showcase__carousel-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-y;
  flex: 1;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
}

.showcase__carousel-track.grabbing {
  cursor: grabbing;
}

.showcase__carousel-track::-webkit-scrollbar {
  display: none;
}

.showcase__carousel-slide {
  flex: 0 0 calc(33.333% - 10px);
  max-width: 220px;
  aspect-ratio: 220 / 322;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: center;
  user-select: none;
  -webkit-user-drag: none;
}

.showcase__carousel-slide img,
.showcase__carousel-slide picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ПРАВАЯ КОЛОНКА теперь в SidebarMenu.astro */

/* АДАПТИВ */
@media (max-width: 1200px) {
  .showcase__body {
    gap: 20px;
  }
  .showcase__main-photo {
    width: 250px;
  }
}


@media (max-width: 1024px) {
	.showcase__title-nav {
    	display: flex;
  	}
  	.showcase__nav {
	  	position: absolute;
	  	width: 24px;
	  	height: 24px;
    	display: flex !important;
  	}
	.showcase__nav-icon {
	  	width: 24px;
	  	height: 24px;
	}
	.showcase__nav img {
		width: 12px;
		height: 12px;
	}
	.showcase__nav--prev {
		left: 5px;
	}
	.showcase__nav--next {
		right: 5px;
	}
	.showcase__nav--prev img {
		margin-left: -3px;
	}
	.showcase__nav--next img {
		margin-right: -3px;
	}
  	.showcase__carousel {
	  	position: relative;
    	gap: 0;
  	}
}
@media (max-width: 1024px) {
  .showcase__inner {
    padding: 0 24px;
  }
  .showcase__body {
    display: grid;
    grid-template-areas:
      "title"
      "photo"
      "carousel"
      "sidebar";
    align-items: stretch;
    gap: 20px;
  }

  .showcase__main-photo {
    grid-area: photo;
    width: 100%;
    max-width: 100%;
  }
  .showcase__main-photo::before {
    padding-top: 60%; /* На планшете уменьшаем вертикальную высоту фото */
  }
   .showcase__center {
    display: contents;
  }

  .showcase__title-row {
    grid-area: title;
    margin-bottom: 0;
  }

  .showcase__carousel {
    grid-area: carousel;
    min-height: 340px;
  }
  .showcase__sidebar-wrapper {
    grid-area: sidebar;
    width: 100%;
  }

  .showcase__huge-title {
    margin-bottom: 0;
    font-size: 28px;
  }
  .showcase__decor {
    display: none;
  }
  .showcase__carousel-group {
    display: none;
  }

  .showcase__carousel-group.active {
    display: contents;
  }
}

@media (max-width: 768px) {
  .showcase__inner {
    padding: 0 20px;
  }
  .showcase__header {
    margin-bottom: 30px;
  }
  .showcase__subtitle {
    font-size: 16px;
  }
	.showcase__main-photo {
		height: 550px;
	}
  .showcase__main-photo::before {
    padding-top: 55%;
  }
	.showcase__main-photo-item img, .showcase__main-photo-item picture {
		object-position: top;
	}
  .showcase__center {
    min-height: 260px;
  }
	.showcase__carousel {
    min-height: 260px;
  }
  .showcase__carousel-slide {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    aspect-ratio: 220 / 322;
    height: auto;
  }
  .showcase__huge-title {
    font-size: 22px;
    padding-left: 0;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .showcase {
    padding: 32px 0;
  }
  .showcase__inner {
    padding: 0 16px;
  }
  .showcase__main-photo::before {
    padding-top: 65%;
  }
  .showcase__center {
    min-height: 240px;
  }
	.showcase__carousel {
    min-height: 240px;
  }
  .showcase__carousel-slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .showcase__huge-title {
    font-size: 18px;
  }
}


/* Reuse most of services.astro styles but scoped or added specifically for recommended */
/* Added styles */
.recommended__top-title {
    grid-column: 1 / -1;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1;
    color: #4a4a4a;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.services__bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(min(var(--secondary-count, 3), 2), 1fr);
    gap: 20px;
    margin-top: 10px;
}

.services-card--bottom .services-card__media {
    aspect-ratio: 16 / 7;
    width: 100%;
    height: auto;
    max-height: 369px;
}

/* From services.astro */
.services {
    padding: 80px 0;
}

.services--main {
    overflow: hidden;
    isolation: isolate;
}

.services__inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 50px;
}

.services__header {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
}

.services__title {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.05;
    color: #1a1a1a;
    text-transform: uppercase;
}

.services__lead-wrapper {
    grid-column: 2 / 5;
    display: flex;
    align-items: center;
}

.services__lead {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services__dot {
    display: none !important;
    align-items: center;
    justify-content: center;
}

.services__dot svg {
    width: 44px;
    height: 44px;
    display: block;
    color: #f7931e;
}

.services__leadText {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.services__leadMain {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 16px;
    color: #121212;
}

.services__leadSub {
    font-family: var(--main-font);
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: rgba(18, 18, 18, 0.6);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    grid-column: 1 / 5;
}

.services-card-article {
    display: flex;
    align-items: flex-start;
    height: 370px;
}

/* ─── Главная карточка ─── */
.services__main-card-wrapper {
    grid-column: 1 / 2;
}

.services-card--featured {
    background: #fff;
    padding: 12px 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-card--featured .services-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
}

.services-card .services-card__media {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.services-card .services-card__img {
    transition: 0.5s ease;
}

.services-card:hover .services-card__img {
    transform: scale(1.1);
    transition: 0.5s ease;
}

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

.services-card__label {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #121212;
}

.services-card__arrow {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.services-card__arrow svg {
    width: 100%;
    max-width: 123px;
    height: auto;
    display: block;
}

/* ─── Вторичные карточки ─── */
.services__secondary {
    grid-column: 2 / 5;
    display: grid;
    grid-template-columns: repeat(var(--secondary-count, 3), 1fr);
    gap: 20px;
    align-items: start;
}

.services-card--sm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-card--sm .services-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 6.5;
}

.services-card__label--sm {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 22px;
    max-width: 70%;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #343434;
}

.services-card__media .image {
    width: 100%;
    height: 100%;
}

.services-card__media .image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.services-card__media .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .services {
        padding: 56px 0;
    }

    .services__inner {
        padding: 0 24px;
        column-gap: 16px;
        row-gap: 32px;
    }

    .recommended__top-title,
    .services__title {
        font-size: 28px;
    }

    .services__secondary {
        grid-template-columns: repeat(min(var(--secondary-count, 3), 2), 1fr);
    }
}

@media (max-width: 768px) {
    .services {
        padding: 48px 0;
    }

    .services__inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .services__header,
    .services__lead-wrapper,
    .services__main-card-wrapper,
    .services__secondary,
    .services__bottom {
        grid-column: 1 / -1 !important;
    }

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

    .services-card--featured {
        max-height: none;
    }

    .services-card--featured .services-card__media {
        aspect-ratio: 4 / 3;
        height: auto;
        flex: none;
    }

    .services__secondary {
        grid-template-columns: repeat(min(var(--secondary-count, 3), 2), 1fr);
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 0;
    }

    .services__inner {
        padding: 0 16px;
        row-gap: 20px;
    }

    .recommended__top-title,
    .services__title {
        font-size: 24px;
    }

    .services__leadMain {
        font-size: 14px;
    }

    .services__leadSub {
        font-size: 12px;
    }

    .services__dot svg {
        width: 34px;
        height: 34px;
    }

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

    .services-card--featured .services-card__media {
        aspect-ratio: 4 / 3;
    }

    .services-card__label,
    .services-card__label--sm {
        font-size: 16px;
    }
}

.platform-about {
    padding: 80px 0;
    overflow: hidden;
}

.platform-about__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-about__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 2.5vw, 32px);
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.platform-about__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-about__carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 60%;
    min-width: 300px;
}

.platform-about__arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-about__arrow img {
    width: 24px;
    height: 36px;
    object-fit: contain;
}

.platform-about__arrow[data-carousel-next] img {
    transform: rotate(180deg);
}

.platform-about__arrow:active {
    transform: scale(0.9);
}

.platform-about__images-wrapper {
    position: relative;
    width: 100%;
    max-width: 669px;
    aspect-ratio: 669 / 322;
    overflow: hidden;
}

.platform-about__image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.platform-about__image.active {
    opacity: 1;
    z-index: 1;
}

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

.platform-about__text {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 500px;
}

.platform-about__icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-about__icon-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.platform-about__text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-about__text-main {
    font-family: var(--main-font);
    /* Usually Mulish or Montserrat */
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #4a4a4a;
    margin: 0;
}

.platform-about__text-sub {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #8c8c8c;
    margin: 0;
}

@media (max-width: 1200px) {
    .platform-about__content {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .platform-about__content {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .platform-about__carousel {
        width: 100%;
        justify-content: center;
    }

    .platform-about__images-wrapper {
        width: 100%;
        aspect-ratio: 669 / 322;
    }

    .platform-about__text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
	.platform-about__carousel {
		position: relative;
		gap: 0;
		border-radius: 7px;
		overflow: hidden;
	}
	.platform-about__arrow {
		position: absolute;
		z-index: 5;
		padding: 5px;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: rgba(255,255,255,1);
	}
	.platform-about__arrow[data-carousel-prev] {
		left: 5px;
	}
	.platform-about__arrow[data-carousel-next] {
		right: 5px;
	}
	
	.platform-about__images-wrapper {
		aspect-ratio: 6 / 4;
	}
    .platform-about__inner {
        padding: 0 20px;
    }

    .platform-about__title {
        font-size: 26px;
    }

    .platform-about__text-main {
        font-size: 16px;
    }

    .platform-about__arrow img {
        width: 14px;
        height: 24px;
    }

    .platform-about__icon-wrapper {
        width: 32px;
        height: 32px;
    }
}

.pshowcase {
    padding-top: 60px;
    overflow: hidden;

    @media (max-width: 768px) {
        padding-top: 20px;
    }
}

.pshowcase__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
}

.pshowcase__wrapper {
    padding: 30px;
    margin: 0 10px;
    background: #fff;
    border-radius: 15px;
}

/* ШАПКА */
.pshowcase__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;

    @media (min-width: 1024px) {
        padding-right: 55px;
    }
}

.pshowcase__header-right {
    display: flex;
    align-items: center;
    gap: 20px;

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.pshowcase__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 36px);
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
}

.pshowcase__subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.5;
}

.pshowcase__subtitle em {
    font-style: italic;
    color: #8c8c8c;
}

.pshowcase__features {
    display: flex;
    column-gap: 15px;
    row-gap: 5px;
    flex-wrap: wrap;
    max-width: 400px;
}

.pshowcase__feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    color: #4a4a4a;
}

.pshowcase__feature img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* ТЕЛО */
.pshowcase__body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* САЙДБАР */
.pshowcase__sidebar {
    flex-shrink: 0;
    width: 220px;
}

.pshowcase__sidebar-title {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    color: #8c8c8c;
    margin: 0 0 12px;
}

.pshowcase__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pshowcase__link {
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #4a4a4a;
    padding: 4px 0 4px 20px;
    position: relative;
    transition: color 0.2s, font-weight 0.2s;
    line-height: 1.3;
    display: block;
    width: 100%;
}

.pshowcase__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.25s;
}

.pshowcase__link.active {
    font-weight: 700;
}

.pshowcase__link.active::before {
    background: #FF9800;
}

/* КАРУСЕЛИ */
.pshowcase__carousels {
    flex: 1;
    min-width: 0;
    position: relative;
}

.pshowcase__group {
    display: none;
}

.pshowcase__group.active {
    display: block;
}

.pshowcase__carousel-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pshowcase__nav {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
	.pshowcase__nav {position: absolute;}
	.pshowcase__nav.pshowcase__nav--prev {left: 10px;}
	.pshowcase__nav.pshowcase__nav--next {right: 10px;}
}

.pshowcase__nav-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FF9800;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
    transition: transform 0.2s;
}

.pshowcase__nav-icon img {
    width: 10px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.pshowcase__nav--next .pshowcase__nav-icon img {
    transform: rotate(180deg);
}

.pshowcase__nav:hover .pshowcase__nav-icon {
    transform: scale(1.08);
}

.pshowcase__nav:active .pshowcase__nav-icon {
    transform: scale(0.92);
}

.pshowcase__track-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.pshowcase__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.pshowcase__track::-webkit-scrollbar {
    display: none;
}

.pshowcase__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: auto;
    aspect-ratio: 792 / 280;
    overflow: hidden;
}

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

/* ИНФОБАР */
.pshowcase__infobar {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pshowcase__address {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: #8c8c8c;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.pshowcase__rent {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    margin: 0;
    white-space: nowrap;
}

/* КАРТА */
.pshowcase__map {
    width: 100%;
    height: 521px;
    overflow: hidden;
    display: flex;
    border-radius: 20px;
}

.pshowcase__map picture {
    width: 100%;
}

.pshowcase__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
    .pshowcase__body {
        flex-direction: column;
    }

    .pshowcase__sidebar {
        width: 100%;
    }

    .pshowcase__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .pshowcase__header {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pshowcase__inner {
        padding: 0 20px;
    }

    .pshowcase__title {
        font-size: 26px;
    }

    .pshowcase__map {
        height: 340px;
    }

    .pshowcase__infobar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .pshowcase__btn.btn {
        width: 100%;
        justify-content: center;
    }

    .pshowcase__slide {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .pshowcase__title {
        font-size: 22px;
    }

    .pshowcase__map {
        height: 260px;
    }

    .pshowcase__wrapper {
        padding: 25px 15px 15px;
        margin: 0;
    }
}

.platform-dining {
    padding: 60px 0;
    overflow: hidden;
}

.platform-dining__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-dining__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.15;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}

.platform-dining__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.platform-dining__info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-dining__icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-dining__icon-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.platform-dining__text {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    color: #4a4a4a;
    line-height: 1.4;
}

.platform-dining__text-bold {
    font-weight: 700;
    font-size: 16px;
}

.platform-dining__text-italic {
    font-weight: 400;
    font-style: italic;
    color: #8c8c8c;
    font-size: 16px;
}

.platform-dining__info-right {
    max-width: 500px;
    flex-shrink: 1;
}

.platform-dining__disclaimer {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #8c8c8c;
}

.platform-dining__body {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.platform-dining__group {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.platform-dining__group-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.platform-dining__carousel {
    display: flex;
    align-items: stretch;
    gap: 9px;
}

.platform-dining__nav {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    align-self: center;
}

.platform-dining__nav-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ff9800;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.platform-dining__nav-icon img {
    width: 10px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.platform-dining__nav--next .platform-dining__nav-icon img {
    transform: rotate(180deg);
}

.platform-dining__track-shell {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.platform-dining__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 229px 229px;
    gap: 9px;
    overflow: visible;
    align-content: stretch;
}

.platform-dining__slide {
    min-width: 0;
    min-height: 0;
}

.platform-dining__slide:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.platform-dining__slide:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.platform-dining__slide:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.platform-dining__card {
    border-radius: 21px;
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
    /* placeholder */
}

.platform-dining__gallery {
    display: flex;
    gap: 9px;
    align-items: stretch;
}

.platform-dining__col--small {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.platform-dining__col--large {
    flex: 1;
    min-width: 0;
}

.platform-dining__card {
    border-radius: 21px;
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
    /* placeholder */
}

.platform-dining__card--small {
    width: 100%;
    height: 229px;
}

.platform-dining__card--large {
    width: 100%;
    height: 467px;
}

.platform-dining__card img,
.platform-dining__card picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .platform-dining__body {
        flex-direction: column;
        gap: 50px;
    }

    .platform-dining__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .platform-dining__info-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .platform-dining__inner {
        padding: 0 20px;
    }

    .platform-dining__title {
        font-size: 24px;
    }

    .platform-dining__text-bold,
    .platform-dining__text-italic {
        font-size: 14px;
    }

    .platform-dining__icon-wrap {
        width: 32px;
        height: 32px;
    }

    .platform-dining__carousel {
        gap: 12px;
    }

    .platform-dining__nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .platform-dining__track-shell {
        overflow: hidden;
        height: 180px;
        max-height: 180px;
    }

    .platform-dining__track {
        display: flex;
        flex-direction: row;
        height: 100%;
        max-height: 180px;
        grid-template-columns: unset;
        grid-template-rows: unset;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .platform-dining__track::-webkit-scrollbar {
        display: none;
    }

    .platform-dining__slide {
        flex: 0 0 100%;
        height: 180px;
        max-height: 180px;
        scroll-snap-align: start;
        grid-column: unset;
        grid-row: unset;
    }

    .platform-dining__slide:nth-child(1),
    .platform-dining__slide:nth-child(2),
    .platform-dining__slide:nth-child(3) {
        grid-column: unset;
        grid-row: unset;
    }

    .platform-dining__card--small,
    .platform-dining__card--large {
        min-height: 0;
        height: 100%;
        width: 100%;
        aspect-ratio: unset;
    }

    .platform-dining__card {
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .platform-dining__nav-icon {
        width: 32px;
        height: 32px;
    }

    .platform-dining__nav-icon img {
        width: 9px;
        height: 16px;
    }
}

.platform-banner {
    background: #eef1f1;
    padding: 60px 0;
    /* assuming it goes after dining block which already gave padding, or we add mutual padding */
    /* overflow: hidden; removed so the image can expand */
}

.platform-banner__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-banner__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.platform-banner__visual {
    flex-shrink: 0;
    width: 425px;
    height: 248px;
    border-radius: 12px;
}

.platform-banner__visual img,
.platform-banner__visual picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.platform-banner__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
}

.platform-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.3;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.platform-banner__desc {
    font-family: 'Mulish', sans-serif;
    color: #4a4a4a;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.platform-banner__desc em {
    color: #8c8c8c;
    font-style: italic;
}

.platform-banner__btn.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 16px 32px;
    text-transform: uppercase;
    border-radius: 8px;
    /* Slightly rounded for banners usually */
}

.platform-banner__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-banner__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.platform-banner__visual {
    flex-shrink: 0;
    width: 425px;
    height: 248px;
    border-radius: 12px;
}

.platform-banner__visual img,
.platform-banner__visual picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.platform-banner__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
}

.platform-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.3;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.platform-banner__desc {
    font-family: 'Mulish', sans-serif;
    color: #4a4a4a;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.platform-banner__desc em {
    color: #8c8c8c;
    font-style: italic;
}

.platform-banner__btn.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 16px 32px;
    text-transform: uppercase;
    border-radius: 8px;
    /* Slightly rounded for banners usually */
}

@media (max-width: 1024px) {
    .platform-banner__card {
        flex-direction: column;
        padding: 30px 24px;
        gap: 30px;
    }

    .platform-banner__visual {
        width: 100%;
        height: unset;
        aspect-ratio: 425 / 248;
    }
}

@media (max-width: 768px) {
    .platform-banner__inner {
        padding: 0 20px;
    }

    .platform-banner__title {
        font-size: 18px;
    }

    .platform-banner__btn.btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .platform-banner__card {
        padding: 24px 16px;
        gap: 20px;
    }

    .platform-banner__title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .platform-banner__desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .platform-banner__btn.btn {
        padding: 14px 16px;
        font-size: 10px;
        white-space: normal;
        line-height: 1.3;
    }
}

.platform-services {
    padding: 60px 0;
    overflow: hidden;
}

.platform-services__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-services__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.15;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

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

.platform-services__gallery-wrap {
    flex: 1;
    min-width: 0;
	width: 100%;
}

.platform-services__gallery {
    display: flex;
    gap: 9px;
    align-items: stretch;
}

.platform-services__col--small {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.platform-services__col--large {
    flex: 1;
    min-width: 0;
}

.platform-services__card {
    border-radius: 21px;
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
}

.platform-services__card--small {
    width: 100%;
    height: 229px;
}

.platform-services__card--large {
    width: 100%;
    height: 467px;
}

.platform-services__card img,
.platform-services__card picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.platform-services__list-wrap {
    flex: 1;
    min-width: 0;
}

.platform-services__list {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    font-family: 'Mulish', sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.4;
    color: #4a4a4a;
}

.platform-services__list li {
    position: relative;
    margin-bottom: 6px;
}

.platform-services__list li:last-child {
    margin-bottom: 0;
}

/* Custom bullet point */
.platform-services__list li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #4a4a4a;
}

@media (max-width: 1024px) {
    .platform-services__body {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .platform-services__inner {
        padding: 0 20px;
    }

    .platform-services__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .platform-services__title {
        font-size: 20px;
    }

    .platform-services__gallery {
        flex-direction: column;
    }

    .platform-services__gallery-wrap {
        width: 100%;
    }

    .platform-services__col--small,
    .platform-services__col--large {
        width: 100%;
    }

    .platform-services__card--small {
        width: 100%;
        height: unset;
        aspect-ratio: 304 / 229;
    }

    .platform-services__card--large {
        width: 100%;
        height: unset;
        aspect-ratio: 324 / 467;
    }

    .platform-services__card {
        border-radius: 14px;
    }
}

.platform-banner-two__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-banner-two__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.platform-banner-two__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.3;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.platform-banner-two__desc {
    font-family: 'Mulish', sans-serif;
    color: #4a4a4a;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    margin: 0;
}

.platform-banner-two__desc em {
    color: #8c8c8c;
    font-style: italic;
}

@media (max-width: 768px) {
    .platform-banner-two__inner {
        padding: 0 20px;
    }

    .platform-banner-two__card {
        padding: 30px 24px;
    }

    .platform-banner-two__title {
        font-size: 18px;
    }
}

.platform-suggested {
    background: #eef1f1;
    padding: 60px 0 80px;
    overflow: hidden;
}

.platform-suggested__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platform-suggested__header {
    margin-bottom: 40px;
}

.platform-suggested__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.2;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.platform-suggested__subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    color: #6a7471;
    margin: 0;
    line-height: 1.4;
}

.platform-suggested__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-suggested__card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 20px 26px 18px 26px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-suggested__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.platform-suggested__card-media {
    width: 100%;
    aspect-ratio: 365 / 303;
    overflow: hidden;
    margin-bottom: 20px;
}

.platform-suggested__card-media img,
.platform-suggested__card-media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.platform-suggested__card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 8px;
}

.platform-suggested__card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: #2b2b2b;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    flex-grow: 1;
    letter-spacing: 0.02em;
}

.platform-suggested__card-arrow {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.platform-suggested__card-arrow svg {
    max-width: 110px;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .platform-suggested__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platform-suggested__inner {
        padding: 0 20px;
    }

    .platform-suggested__grid {
        grid-template-columns: 1fr;
    }

    .platform-suggested__card-media {
        aspect-ratio: 365 / 303;
        /* Keep aspect ratio on mobile or let it adapt if needed, but 4/3 might cut off */
    }
}

.platforms-banner {
    padding: 80px 0 60px;
    background: var(--color-bg);
    overflow: hidden;
}

.platforms-banner__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.platforms-banner__title {
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #4a4a4a;
    margin: 0;
}

.platforms-banner__content {
    position: relative;
    display: flex;
    justify-content: center;
}

.platforms-banner__cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(15px, 2vw, 30px);
}

.platforms-banner__card {
    border-radius: 21px;
    overflow: hidden;
    flex: 1;
    max-width: 327px;
    will-change: transform;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platforms-banner__card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.platforms-banner__img {
    width: 100%;
    height: auto;
    aspect-ratio: 327 / 229;
    object-fit: cover;
    display: block;
}

.platforms-banner__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 10px;
}

.platforms-banner__footer-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.platforms-banner__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
}

.platforms-banner__dot svg {
    width: 44px;
    height: 44px;
    display: block;
    color: #f7931e;
}

.platforms-banner__lead {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 16px;
    color: #121212;
    line-height: 1.4;
}

.platforms-banner__footer-right {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
}

.platforms-banner__desc {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 16px;
    color: rgba(18, 18, 18, 0.7);
    line-height: 1.4;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .platforms-banner__cards {
        flex-wrap: wrap;
        gap: 20px;
    }

    .platforms-banner__card {
        width: calc(50% - 10px);
        max-width: 327px;
        flex: none;
    }

    .platforms-banner__footer {
        flex-direction: column;
        gap: 20px;
    }

    .platforms-banner__footer-right {
        justify-content: flex-start;
        padding-left: 64px;
    }

    .platforms-banner__desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .platforms-banner {
        padding: 60px 0;
    }

    .platforms-banner__inner {
        padding: 0 20px;
        gap: 30px;
    }

    .platforms-banner__title {
        font-size: 28px;
    }

    .platforms-banner__card {
        width: calc(50% - 10px);
    }

    .platforms-banner__footer-right {
        padding-left: 0;
    }

    .platforms-banner__lead {
        font-size: 16px;
    }

    .platforms-banner__desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .platforms-banner__title {
        font-size: 24px;
    }

    .platforms-banner__cards {
        gap: 16px;
    }

    .platforms-banner__card {
        width: 100%;
        max-width: none;
    }

    .platforms-banner__dot svg {
        width: 34px;
        height: 34px;
    }

    .platforms-banner__footer-left {
        gap: 12px;
        flex-direction: column;
    }

    .platforms-banner__dot {
        margin-top: 0;
    }

    .platforms-banner__footer-right {
        padding-left: 0;
    }
}

.platforms-picker {
    padding: 60px 0 80px;
    background: var(--color-bg, #eef1f1);
}

.platforms-picker__sidebar {
    position: sticky;
    top: 100px;
    width: 330px;
    z-index: 5;
}

.platforms-picker__inner {
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
}

.platforms-picker__main-title {
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 32px;
    color: #4a4a4a;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.platforms-picker__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.platforms-picker__cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.platforms-picker__card {
    background: #fff;
    border-radius: 16px;
    padding: 21px 30px;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.platforms-picker__card.is-enlarged {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.platforms-picker__card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    gap: 20px;
    flex-shrink: 0;
}

.platforms-picker__card-title {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 20px;
    color: #222;
    line-height: 1.2;
    text-transform: uppercase;
}

.platforms-picker__card-capacity {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.platforms-picker__card-media {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.platforms-picker__card-img {
    width: 100%;
    /* Фиксированная высота картинки, без закругления */
    height: 300px;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

.platforms-picker__card-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.platforms-picker__card-desc {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 14px;
    color: #121212;
    opacity: 0.67;
    line-height: 1.4;
    margin: 0;
    /* Ограничения по макету */
    max-width: 499px;
    width: 100%;
}

.platforms-picker__card-footer {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    flex-shrink: 0;
}

.platforms-picker__card-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.spark-icon {
    color: #4287f5;
    font-size: 14px;
}

.highlight-text {
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 600;
}

.platforms-picker__card-arrow {
    width: 200px;
    display: flex;
    align-items: center;
}

.platforms-picker__card-arrow svg {
    width: 100%;
    height: auto;
    display: block;
}

.platforms-picker__card-arrow svg * {
    stroke: #f7931e;
}

@media (max-width: 1024px) {
    .platforms-picker__layout {
        flex-direction: column;
    }

    .platforms-picker__card {
        max-height: none;
        /* Разрешаем тянуться на мелких экранах */
    }

    .platforms-picker__card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .platforms-picker__sidebar {
        position: static;
        width: 100%;
    }

    .platforms-picker__inner {
        padding: 0 20px;
    }

    .platforms-picker__main-title {
        font-size: 26px;
    }

    .platforms-picker__card {
        padding: 20px;
    }

    .platforms-picker__card-title {
        font-size: 16px;

    }

    .platforms-picker__card-arrow {
        width: 100px;
        /* Уменьшено в 2 раза от 200px */
    }
}

@media (max-width: 480px) {
    .platforms-picker__main-title {
        font-size: 22px;
    }

    .platforms-picker__inner {
        padding: 0 16px;
    }
}

.privacy {
    background: #f1f5f4;
    /* Light background as in screenshot */
    padding: 80px 0;
    min-height: 100vh;
}

.privacy__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.privacy__title {
    font-family: var(--main-font);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #121212;
}

.privacy__content {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.privacy__content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .privacy {
        padding: 60px 0;
    }

    .privacy__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .privacy__container {
        padding: 0 20px;
    }

    .privacy__content {
        font-size: 14px;
    }
}

.thanks {
    position: relative;
    min-height: calc(100vh + 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    margin-top: -85px;
    z-index: 2;
}

.thanks__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.thanks__bgImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thanks__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.thanks__content {
    max-width: 1100px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.thanks__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 36px;
    letter-spacing: 0.04em;
    margin: 0 0 40px;
    line-height: 1.25;
    text-transform: uppercase;
}

.thanks__button {
    min-width: 280px;
    min-height: 52px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .thanks__title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .thanks {
        padding: 100px 0 60px;
    }

    .thanks__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .thanks__title br {
        display: none;
    }
}

@media (max-width: 480px) {
    .thanks__title {
        font-size: 24px;
    }

    .thanks__button {
        width: 100%;
        min-width: unset;
    }
}

/* Специфичный стиль для иконки 70+ если нужно */
.hero__statIcon--70 {
    width: 65px;
    height: 28px;
}

.services {
    padding: 80px 0;
}

.services--main {
    overflow: hidden;
    isolation: isolate;
}

.services__inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 40px;
}

.services__decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: -40%;
    right: -5%;
    width: min(52vw, 873px);
    max-width: none;
    z-index: -1;

    .services__decorImg {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.services__titleRow {
    grid-column: 1 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 340px;
    margin: 0 auto 20px;

    @media (max-width: 768px) {
        grid-column: 1 / -1 !important;
    }

    .services__titleImg {
        width: 100%;
        height: auto;
        display: block;
    }
}

.services__header {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
}

.services__title {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.05;
    color: #1a1a1a;
    text-transform: uppercase;
}

.services__lead-wrapper {
    grid-column: 2 / 5;
    display: flex;
    align-items: center;
}

.services__lead {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services__dot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services__dot svg {
    width: 44px;
    height: 44px;
    display: block;
}

.services__leadText {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.services__leadMain {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 16px;
    color: #121212;
}

.services__leadSub {
    font-family: var(--main-font);
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: rgba(18, 18, 18, 0.6);
}

/* ─── Главная карточка ─── */
.services__main-card-wrapper {
    grid-column: 1 / 2;
}

.services-card--featured {
    background: #fff;
    padding: 12px 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-card--featured .services-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
}

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

.services-card__label {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #121212;
}

.services-card__arrow {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.services-card__arrow svg {
    width: 100%;
    max-width: 123px;
    height: auto;
    display: block;
}

/* ─── Вторичные карточки ─── */
.services__secondary {
    grid-column: 2 / 5;
    display: grid;
    grid-template-columns: repeat(var(--secondary-count, 3), 1fr);
    gap: 20px;
    align-items: start;
}

.services-card--sm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-card--sm .services-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 6;
}

.services-card__label--sm {
    margin: 0;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 22px;
    max-width: 70%;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #343434;
}

.services-card__media .image {
    width: 100%;
    height: 100%;
}

.services-card__media .image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.services-card__media .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ─── Duo-вариант (2 колонки: main + 1 secondary, gap 60px) ─── */
.services__inner--duo {
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

.services__inner--duo .services__header {
    grid-column: 1 / 2;
}

.services__inner--duo .services__lead-wrapper {
    grid-column: 2 / 3;
}

.services__inner--duo .services__main-card-wrapper {
    grid-column: 1 / 2;
}

.services__inner--duo .services-card--featured {
    max-height: 369px;
}

.services__inner--duo .services-card--featured .services-card__media {
    aspect-ratio: unset;
    flex: 1;
    min-height: 0;
}

.services__secondary--duo {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services__secondary--duo .services-card--sm {
    width: 100%;
}

/* Правый блок: стартовая высота картинки по макету 138px */
.services__secondary--duo .services-card--sm .services-card__media {
    aspect-ratio: unset;
    height: 138px;
    max-height: none;
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .services {
        padding: 56px 0;
    }

    .services__inner {
        padding: 0 24px;
        column-gap: 16px;
        row-gap: 32px;
    }

    .services__inner--duo {
        column-gap: 32px;
    }

    .services__title {
        font-size: 28px;
    }

    .services__secondary {
        grid-template-columns: repeat(min(var(--secondary-count, 3), 2), 1fr);
    }

    .services__decor {
        width: min(48vw, 670px);
        top: 14%;
        right: -7%;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 48px 0;
    }

    .services__inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .services__inner--duo {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .services__header,
    .services__lead-wrapper,
    .services__main-card-wrapper,
    .services__secondary,
    .services__secondary--duo {
        grid-column: 1 / -1 !important;
    }

    /* На 768 главная карточка — ограниченная высота */
    .services-card--featured {
        max-height: none;
    }

    .services-card--featured .services-card__media {
        aspect-ratio: 4 / 3;
        height: auto;
        flex: none;
    }

    /* Duo main: сброс max-height */
    .services__inner--duo .services-card--featured {
        max-height: none;
    }

    .services__inner--duo .services-card--featured .services-card__media {
        aspect-ratio: 4 / 3;
        flex: none;
        min-height: unset;
    }

    /* Вторичная in duo — горизонтальный aspect */
    .services__secondary--duo .services-card--sm .services-card__media {
        height: auto;
        aspect-ratio: 16 / 7;
    }

    .services__secondary {
        grid-template-columns: repeat(min(var(--secondary-count, 3), 2), 1fr);
    }

    .services__title {
        font-size: 28px;
    }

    .services__decor {
        display: none;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 0;
    }

    .services__inner {
        padding: 0 16px;
        row-gap: 20px;
    }

    .services__title {
        font-size: 24px;
    }

    .services__leadMain {
        font-size: 14px;
    }

    .services__leadSub {
        font-size: 12px;
    }

    .services__dot svg {
        width: 34px;
        height: 34px;
    }

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

    .services-card--featured .services-card__media {
        aspect-ratio: 4 / 3;
    }

    .services-card__label {
        font-size: 16px;
    }

    .services-card__label--sm {
        font-size: 16px;
    }

    .services__secondary--duo .services-card--sm .services-card__media {
        aspect-ratio: 16 / 7;
        height: auto;
    }
}