/* ========================================
   ДимДома — Кальянный кейтеринг
   Основной файл стилей
   ======================================== */

/* ---- Custom Properties ---- */
:root {
    --font-body: "Montserrat", sans-serif;
    --font-heading: "Montserrat", sans-serif;
    --page-bg: #2e3134;
    --page-bg-rgb: 46, 49, 52;
    --card-notch-bg: #4a4f58;
    --header-primary: linear-gradient(270.11deg, #614ba9 1.34%, #7360b9 99.25%);
    --btn-call: linear-gradient(94.98deg, #f8827e 14.25%, #faa783 92.43%);
    --color-white: #fff;
    --color-muted: #6b6b6b;
    --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.12);

    /* SVG data URIs as custom properties for cleaner code */
    --icon-address: url("data:image/svg+xml,%3Csvg width='18' height='20' viewBox='0 0 18 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0C1.34315 0 0 1.35919 0 3.03583V13.9283C0 15.0782 0.642006 16.1294 1.65836 16.6437L7.65836 19.6795C8.50294 20.1068 9.49706 20.1068 10.3416 19.6795L16.3416 16.6437C17.358 16.1294 18 15.0782 18 13.9283V3.03583C18 1.35919 16.6569 0 15 0H3ZM2 3.03583C2 2.47695 2.44772 2.02389 3 2.02389H15C15.5523 2.02389 16 2.47695 16 3.03583V13.9283C16 14.3116 15.786 14.662 15.4472 14.8334L9.44721 17.8693C9.16569 18.0117 8.83431 18.0117 8.55279 17.8693L2.55279 14.8334C2.214 14.662 2 14.3116 2 13.9283V3.03583ZM12.308 7.67982C12.6334 7.22824 12.5355 6.59523 12.0892 6.26595C11.643 5.93668 11.0174 6.03582 10.692 6.4874L8.55065 9.45924L7.78409 8.47938C7.44128 8.0412 6.81235 7.96719 6.37934 8.31409C5.94632 8.66099 5.87319 9.29743 6.21599 9.73562L7.79933 11.7595C7.99332 12.0075 8.29071 12.1494 8.60317 12.1431C8.91564 12.1369 9.20725 11.9831 9.39138 11.7276L12.308 7.67982Z' fill='%23F6A282'/%3E%3C/svg%3E");
    --icon-clock: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18ZM13.1 10.63L11 9.42V5C11 4.73478 10.8946 4.48043 10.7071 4.29289C10.5196 4.10536 10.2652 4 10 4C9.73479 4 9.48043 4.10536 9.2929 4.29289C9.10536 4.48043 9 4.73478 9 5V10C9 10 9 10.08 9 10.12C9.00593 10.1889 9.02281 10.2564 9.05 10.32C9.0706 10.3793 9.09741 10.4363 9.13 10.49C9.15737 10.5468 9.1909 10.6005 9.23 10.65L9.39001 10.78L9.48 10.87L12.08 12.37C12.2324 12.4564 12.4048 12.5012 12.58 12.5C12.8014 12.5015 13.0171 12.4296 13.1932 12.2953C13.3693 12.1611 13.4959 11.9722 13.5531 11.7583C13.6103 11.5444 13.5948 11.3176 13.5092 11.1134C13.4236 10.9092 13.2726 10.7392 13.08 10.63H13.1Z' fill='%23F6A282'/%3E%3C/svg%3E");
    --icon-phone: url("data:image/svg+xml,%3Csvg width='10' height='22' viewBox='0 0 10 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.14672 2.61031C6.09382 2.58977 6.03739 2.58053 5.98106 2.58304C5.92474 2.58556 5.86974 2.59976 5.81952 2.62463C5.77099 2.64867 5.72787 2.68221 5.69269 2.72323C4.4229 4.29794 3.54168 6.15006 3.12036 8.13013L3.11853 8.13872C2.71433 9.95973 2.71612 11.8484 3.12402 13.6706L3.12604 13.6796C3.54853 15.6523 4.42679 17.4997 5.69061 19.0738C5.72643 19.1154 5.77022 19.1493 5.81936 19.1737C5.87042 19.199 5.92605 19.2133 5.98264 19.2158C6.03922 19.2183 6.0955 19.2089 6.14791 19.1884C6.20031 19.1679 6.24776 19.1368 6.28728 19.0969L6.29015 19.0941L7.78042 17.6038C7.78628 17.5979 7.79221 17.5921 7.79821 17.5864C7.86977 17.5183 7.91398 17.4261 7.92208 17.3269C7.93011 17.2287 7.90212 17.1303 7.84287 17.0504C7.38365 16.4512 6.99338 15.8023 6.67947 15.1158L6.67847 15.1136C6.64611 15.0424 6.59398 14.9818 6.52826 14.9392C6.4631 14.8969 6.38752 14.8741 6.31046 14.8733L5.05111 14.872C4.60163 14.8716 4.20768 14.5713 4.08812 14.138C3.50133 12.0114 3.49903 9.76666 4.08175 7.64066C4.20093 7.20585 4.59633 6.90456 5.04717 6.905L6.30654 6.90625C6.38354 6.90553 6.45843 6.88295 6.52257 6.84139C6.58726 6.79948 6.63855 6.7399 6.67038 6.66959L6.67138 6.66739C6.98404 5.98132 7.37318 5.33284 7.83142 4.73428C7.8889 4.65657 7.91676 4.56037 7.90934 4.46299C7.90183 4.36447 7.85869 4.27157 7.78762 4.20188L7.78061 4.195L6.28807 2.7024C6.28801 2.70234 6.28814 2.70246 6.28807 2.7024C6.24783 2.66228 6.19955 2.63081 6.14672 2.61031ZM5.892 0.585029C6.22576 0.570152 6.55892 0.624945 6.87032 0.745793C7.18171 0.866639 7.46457 1.05091 7.70096 1.28686L9.19182 2.77772C9.60627 3.18597 9.85929 3.73056 9.90355 4.31092C9.94795 4.89318 9.77915 5.47183 9.42808 5.93874L9.4225 5.94617C9.05457 6.42614 8.74217 6.94629 8.49131 7.49677L7.58134 7.08208L8.49231 7.49457C8.30247 7.9138 7.99628 8.26967 7.61003 8.51991C7.22378 8.77015 6.77389 8.90413 6.3138 8.90624L6.30821 8.90627L5.83774 8.90579C5.58102 10.2151 5.58258 11.5628 5.84244 12.8728L6.3217 12.8733C6.78176 12.8763 7.23126 13.0112 7.61707 13.2615C8.00247 13.5117 8.3084 13.8668 8.49871 14.285C8.75074 14.8359 9.06422 15.3568 9.43317 15.8376L9.43865 15.8447C9.79363 16.316 9.9635 16.9014 9.91544 17.4897C9.86777 18.0734 9.60882 18.6195 9.18704 19.0256L7.70723 20.5054C7.70668 20.5059 7.70612 20.5065 7.70557 20.5071C7.46985 20.7442 7.18723 20.9296 6.87577 21.0513C6.56358 21.1733 6.22939 21.2286 5.89462 21.2138C5.55985 21.1991 5.23188 21.1146 4.93167 20.9659C4.63145 20.8172 4.36553 20.6075 4.15089 20.3503L4.13944 20.3363C2.67703 18.5182 1.66044 16.3833 1.17131 14.1029C0.700655 11.9973 0.698467 9.81466 1.16507 7.70959C1.65289 5.4203 2.67305 3.27889 4.14312 1.45873L4.15308 1.44659C4.36711 1.18994 4.63232 0.980792 4.93176 0.832462C5.2312 0.684133 5.55823 0.599906 5.892 0.585029Z' fill='white'/%3E%3C/svg%3E");
}

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

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* ---- Layout ---- */
.page-shell {
    position: relative;
    isolation: isolate;
}

.page-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.page-bg__canvas,
.page-bg__layer,
.page-bg__base {
    pointer-events: none;
}

.page-bg__canvas {
    position: absolute;
    left: 50%;
    width: 1148px;
    margin-left: -574px;
    top: 0;
}

.page-bg__base {
    position: absolute;
    top: 0;
    left: var(--page-bg-base-left, -344px);
    width: var(--page-bg-base-width, 1817px);
    height: 100%;
    z-index: -1;
    opacity: var(--page-bg-base-opacity, 0.95);
    background-image: var(--page-bg-base-image);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: top center;
    pointer-events: none;
}

.page-bg__layer {
    position: absolute;
    will-change: transform;
}

.page-bg__layer img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-bg__layer {
        transform: none !important;
    }
}

.container {
    position: relative;
    z-index: 1;
    width: 1148px;
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--btn-call);
    color: var(--color-white);
    cursor: pointer;
    text-decoration: none;
}

.btn--phone {
    width: 242px;
    height: 60px;
    border-radius: 30px;
    font-size: 16px;
    font-family: var(--font-body), sans-serif;
}

.btn--phone::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 20px;
    margin-right: 1rem;
    background: var(--icon-phone) no-repeat 50% / cover;
    transition: transform 0.3s ease;
}

.btn--phone:hover::before {
    transform: rotate(90deg);
}

.btn--order {
    width: 430px;
    height: 72px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body), sans-serif;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: relative;
    z-index: 10;
    margin-top: 1rem;
}

.header__top {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.5rem 2rem;
}

.header__logo {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.header__logo svg,
.header__logo img {
    display: block;
}

.header__contacts {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    font-family: var(--font-body), sans-serif;
    justify-self: center;
}

.header__address,
.header__work-time {
    display: flex;
    color: var(--color-white);
    font-family: var(--font-body), sans-serif;
    font-style: normal;
}

.header__address::before,
.header__work-time::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.header__address::before {
    margin-top: 0.5rem;
    background: var(--icon-address) no-repeat 50% / cover;
}

.header__work-time::before {
    margin-top: 0.2rem;
    background: var(--icon-clock) no-repeat 50% / cover;
}

.header__social {
    display: flex;
    gap: 1rem;
    justify-self: center;
}

.header__phone {
    justify-self: end;
}

.header__phone .btn--phone {
    white-space: nowrap;
}

.header__social-icon {
    width: 40px;
    height: 40px;
}

.header__burger {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.header__burger-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #2a2a2a;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__burger--open .header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger--open .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger--open .header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Navigation ---- */
.header__nav {
    margin-top: 3.25rem;
    width: 100%;
    height: 80px;
    background: var(--header-primary);
    border-radius: 100px;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -0.74rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.header__nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    width: 100%;
    margin: 0;
    padding: 0 2.5rem;
    list-style: none;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    text-decoration: none;
    font-size: 16px;
    color: var(--color-white);
    font-family: var(--font-body), sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.header__nav-item--dropdown:hover>.header__dropdown,
.header__nav-item--dropdown:focus-within>.header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
    min-width: 240px;
    margin: 0;
    padding: 1.25rem 1.5rem;
    list-style: none;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.header__dropdown::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
}

.header__dropdown-item+.header__dropdown-item {
    margin-top: 0.85rem;
}

.header__dropdown-link {
    display: block;
    font:
        400 15px/1.35 var(--font-body),
        sans-serif;
    text-decoration: none;
    transition: color 0.15s ease;
}

.header__dropdown-link--accent {
    color: #7360b9;
}

.header__dropdown-link--accent:hover,
.header__dropdown-item--submenu:hover>.header__dropdown-link--accent {
    color: #f6a282;
}

.header__dropdown-link--primary {
    color: #f6a282;
}

.header__dropdown-link--primary:hover {
    color: #7360b9;
}

.header__dropdown-item--submenu:hover>.header__subdropdown,
.header__dropdown-item--submenu:focus-within>.header__subdropdown {
    opacity: 1;
    visibility: visible;
}

.header__subdropdown {
    position: absolute;
    top: -1.25rem;
    left: calc(100% + 0.35rem);
    min-width: 220px;
    margin: 0;
    padding: 1.25rem 1.5rem;
    list-style: none;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.header__subdropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: -0.5rem;
    width: 0.5rem;
    height: 100%;
}

.header__subdropdown li+li {
    margin-top: 0.75rem;
}

.header__subdropdown-link {
    display: block;
    color: #7360b9;
    font:
        400 15px/1.35 var(--font-body),
        sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.header__subdropdown-link:hover {
    color: #f6a282;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    display: grid;
    width: 655px;
    grid-template-rows: auto;
    gap: 1rem;
    margin-top: 3.25rem;
}

.hero__title {
    font-size: 50px;
    font-family: var(--font-heading), sans-serif;
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
}

.hero__service {
    display: grid;
    grid-template-columns: 18px 1fr;
    width: 403px;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
    align-items: center;
}

.hero__service-badge {
    margin-left: -0.5rem;
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 8px;
    background-color: var(--color-white);
}

.hero__service-badge::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #7364b2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========================================
   Features
   ======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 0;
}

.feature-card {
    --notch-y: 88px;
    --feature-text-width: 260px;
    position: relative;
    width: 350px;
    min-height: 300px;
    margin-left: 22px;
    filter: drop-shadow(var(--shadow-card));
}

.feature-card__notch {
    position: absolute;
    z-index: 1;
    left: -30px;
    top: calc(var(--notch-y) - 26px);
    width: 60px;
    height: 60px;
    background: var(--page-bg);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.feature-card__badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--btn-call);
    color: var(--color-white);
    font:
        700 18px/1 var(--font-body),
        sans-serif;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.feature-card__panel {
    position: relative;
    min-height: 300px;
    padding: 34px 32px 28px 36px;
    background: #fdfdfd;
    border: 1px solid #e7e7ea;
    border-radius: 14px;
    mask-image: radial-gradient(circle 20px at 0 var(--notch-y),
            transparent 20px,
            #000 21px);
}

.feature-card__panel::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #ececef;
    border-radius: 10px;
    pointer-events: none;
    -webkit-mask-image: inherit;
    mask-image: inherit;
}

.feature-card__title,
.feature-card__subtitle,
.feature-card__desc {
    width: 82%;
    max-width: var(--feature-text-width);
}

.feature-card__title {
    font-family: var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    color: #000;
    margin: 0 0 12px;
}

.feature-card__subtitle {
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
    margin: 0 0 10px;
}

.feature-card__subtitle strong {
    font-weight: 700;
    color: #1a1a1a;
}

.feature-card__desc {
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-muted);
    margin: 0;
}

/* ========================================
   Order Section
   ======================================== */

.order {
    margin-top: 12rem;
}

.order__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 44px;
    font-family: var(--font-heading), sans-serif;
    text-align: center;
    font-weight: 700;
    margin: 0;
}

.order__flavors {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    margin-top: 1rem;
    gap: 20px;
    font-size: 22px;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
}

.order__flavors-icon {
    display: block;
}

.order__content {
    margin-top: 3rem;
    margin-left: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    align-items: center;
    gap: 4rem;
}

.order__image img {
    width: 600px;
    height: 400px;
    border-radius: 4%;
    object-fit: cover;
}

/* ---- Form Card ---- */
.order__form-card {
    position: relative;
    width: 440px;
    min-height: 500px;
    background-color: var(--color-white);
    border-radius: 10px;
    display: grid;
    padding: 3rem 0 2rem;
}

.order__form-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #ececef;
    border-radius: 10px;
    pointer-events: none;
}

.order__form-header {
    display: grid;
    z-index: 1;
    grid-template-columns: 1fr 280px 1fr;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.order__form-decor:first-child {
    justify-self: start;
}

.order__form-decor:last-child {
    justify-self: end;
}

.order__form-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.order__form-intro strong {
    font-size: 26px;
    color: #000000;
    font-family: var(--font-body), sans-serif;
    line-height: 34px;
    font-weight: 600;
}

.order__form-intro small {
    font-size: 15px;
    color: #444;
    font-family: var(--font-body), sans-serif;
    font-weight: 600;
    line-height: 19px;
}

.order__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    z-index: 1;
}

.order__input {
    width: 260px;
    height: 60px;
    background-color: #edf2f6;
    padding: 0 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body), sans-serif;
    outline: none;
    box-sizing: border-box;
}

.order__input:focus {
    outline: 2px solid #7360b9;
    outline-offset: 0;
}

.order__textarea {
    height: auto;
    min-height: 90px;
    padding: 16px 20px;
    line-height: 1.4;
    resize: vertical;
}

.order__submit {
    width: 300px;
    background: var(--btn-call);
    padding: 15px;
    color: var(--color-white);
    border: none;
    border-radius: 38px;
    font-size: 15px;
    font-weight: bold;
    font-family: var(--font-body), sans-serif;
    cursor: pointer;
}

.order__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.order__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.order__status {
    width: 100%;
    max-width: 300px;
    margin: 0;
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.order__status--success {
    color: #8fd98f;
}

.order__status--error {
    color: #ff9b9b;
}

.order__captcha {
    width: 100%;
    max-width: 300px;
    min-height: 102px;
}

.order__agreement {
    max-width: 250px;
    margin-top: 0.25rem;
    font-family: var(--font-body), sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.order__agreement a,
.order__agreement-link {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: rgb(164, 134, 246);
    font: inherit;
    text-decoration: underline;
}

.order__agreement-link:hover {
    color: #a486f6;
}

/* ========================================
   Steps Section
   ======================================== */

.steps {
    margin-top: 10rem;
    text-align: center;
}

.steps__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.steps__subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 18px/1.4 var(--font-body),
        sans-serif;
}

.steps__layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2.5rem 1.5rem;
    margin-top: 3rem;
    min-height: 600px;
    padding-bottom: 1rem;
}

.steps__arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.steps__center {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    z-index: 1;
}

.steps__center img {
    display: block;
    width: 220px;
    max-height: 540px;
    object-fit: contain;
    object-position: bottom center;
}

.steps__card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 420px;
    text-align: left;
}

.steps__card--order {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
}

.steps__card--delivery {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
}

.steps__card--finish {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    flex-direction: row-reverse;
}

.steps__card--service {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    flex-direction: row-reverse;
}

.steps__card-media {
    flex-shrink: 0;
    width: 200px;
}

.steps__card-media img {
    display: block;
    width: 100%;
    height: auto;
}

.steps__card-body {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.steps__card--finish .steps__card-body,
.steps__card--service .steps__card-body {
    text-align: right;
}

.steps__card-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
    color: var(--color-white);
    font:
        700 20px/1.2 var(--font-body),
        sans-serif;
    text-transform: uppercase;
}

.steps__card--finish .steps__card-title,
.steps__card--service .steps__card-title {
    justify-content: flex-end;
}

.steps__card-num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--header-primary);
    color: var(--color-white);
    font:
        700 16px/1 var(--font-body),
        sans-serif;
}

.steps__card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font:
        400 14px/1.5 var(--font-body),
        sans-serif;
}

.steps__card-link {
    color: rgb(164, 134, 246);
    text-decoration: none;
    white-space: nowrap;
}

.steps__card-link:hover {
    text-decoration: underline;
}

/* ========================================
   Tariffs Section
   ======================================== */

.tariffs {
    margin-top: 10rem;
    text-align: center;
}

.tariffs__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.tariffs__subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 18px/1.4 var(--font-body),
        sans-serif;
}

.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

.tariff-card {
    --tariff-accent: #f8827e;
    --tariff-accent-end: #faa783;
    --tariff-btn-border: rgba(248, 130, 126, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.tariff-card--popular {
    --tariff-accent: #614ba9;
    --tariff-accent-end: #7360b9;
    --tariff-btn-border: rgba(115, 96, 185, 0.85);
}

.tariff-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -55%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    background: var(--color-white);
    color: #614ba9;
    font:
        600 13px/1 var(--font-body),
        sans-serif;
    white-space: nowrap;
    z-index: 1;
}

.tariff-card__badge::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-white);
}

.tariff-card__badge-icon {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    color: #614ba9;
    animation: tariff-badge-spin 3s linear infinite;
}

@keyframes tariff-badge-spin {
    to {
        transform: rotate(360deg);
    }
}

.tariff-card__name {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    max-width: 250px;
    min-height: 100px;
    margin: 0;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    background: linear-gradient(94.98deg,
            var(--tariff-accent) 14.25%,
            var(--tariff-accent-end) 92.43%);
    color: var(--color-white);
    font-family: var(--font-body), sans-serif;
}

.tariff-card__name-label {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.95;
}

.tariff-card__name-tier {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tariff-card__features {
    flex: 1;
    width: 100%;
    max-width: 250px;
    margin: 2rem 0 0;
    padding: 1.15rem 0.9rem;
    list-style: none;
    text-align: center;
    border-radius: 14px;
    background: rgba(20, 22, 24, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.tariff-card__features li {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font:
        400 15px/1.5 var(--font-body),
        sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.tariff-card__features li:last-child {
    margin-bottom: 0;
}

.tariff-card__features strong {
    font-weight: 700;
    color: var(--color-white);
}

.tariff-card__price {
    flex-shrink: 0;
    margin: 2.5rem 0 0;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    color: var(--color-white);
    font:
        300 32px/1.2 var(--font-body),
        sans-serif;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    background: rgba(20, 22, 24, 0.55);
}

.tariff-card__price-value {
    font-weight: 300;
}

.tariff-card__btn {
    flex-shrink: 0;
    width: 100%;
    max-width: 250px;
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--tariff-btn-border);
    border-radius: 100px;
    background: transparent;
    color: var(--color-white);
    font:
        600 13px/1 var(--font-body),
        sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.tariff-card__btn:hover {
    background: linear-gradient(94.98deg,
            var(--tariff-accent) 14.25%,
            var(--tariff-accent-end) 92.43%);
    border-color: transparent;
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews {
    margin-top: 10rem;
    text-align: center;
}

.reviews__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.reviews__years {
    display: inline-block;
    margin: 1.25rem 0 0;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    background: var(--header-primary);
    color: var(--color-white);
    font:
        500 15px/1.3 var(--font-body),
        sans-serif;
}

.reviews__layout {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    align-items: center;
    gap: 2rem 1.5rem;
    margin-top: 3rem;
    min-height: 520px;
}

.reviews__column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    height: 100%;
    min-height: 480px;
}

.reviews__column--left {
    align-items: flex-start;
    text-align: left;
}

.reviews__column--right {
    align-items: flex-end;
    text-align: right;
}

.reviews__center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
}

.reviews__center img {
    display: block;
    width: 656px;
    max-height: 811px;
    object-fit: contain;
    object-position: bottom center;
}

.reviews__item {
    max-width: 340px;
}

.reviews__item--right .reviews__item-image {
    margin-left: auto;
}

.reviews__item-image {
    display: block;
    width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.reviews__item-title {
    margin: 0 0 0.65rem;
    color: var(--color-white);
    font:
        700 22px/1.25 var(--font-body),
        sans-serif;
}

.reviews__item-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font:
        400 14px/1.5 var(--font-body),
        sans-serif;
}

/* ========================================
   Masters Section
   ======================================== */

.masters {
    margin-top: 10rem;
    text-align: center;
}

.masters__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.masters__subtitle {
    display: inline-block;
    margin: 1.25rem 0 0;
    padding: 0.15em 0.45em;
    color: var(--color-white);
    font:
        400 18px/1.5 var(--font-body),
        sans-serif;
}

.masters__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3.5rem;
    text-align: left;
}

.masters__cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.masters-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: auto;
    margin-left: 22px;
    padding: 1rem 1.25rem 1rem 1.5rem;
    background: #fdfdfd;
    border: 1px solid #e7e7ea;
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.masters-card__badge {
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--header-primary);
    color: var(--color-white);
    font:
        700 16px/1 var(--font-body),
        sans-serif;
    box-shadow: 0 0 0 4px var(--page-bg);
}

.masters-card__image {
    flex-shrink: 0;
    width: 200px;
    height: 244px;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
}

.masters-card__body {
    flex: 1;
    min-width: 0;
}

.masters-card__title {
    margin: 0 0 0.5rem;
    color: #1a1a1a;
    font:
        700 17px/1.3 var(--font-body),
        sans-serif;
}

.masters-card__desc {
    margin: 0;
    color: var(--color-muted);
    font:
        400 13px/1.45 var(--font-body),
        sans-serif;
}

.masters__hero {
    position: relative;
    min-height: 480px;
}

.masters__hero-image {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    object-fit: contain;
}

.masters__stat {
    position: absolute;
    color: var(--color-white);
}

.masters__stat--experience {
    top: 8%;
    left: 0;
}

.masters__stat--events {
    bottom: 18%;
    left: 0;
}

.masters__stat-value {
    display: block;
    font:
        700 56px/1 var(--font-body),
        sans-serif;
}

.masters__stat-label {
    display: block;
    margin-top: 0.35rem;
    max-width: 160px;
    font:
        400 14px/1.35 var(--font-body),
        sans-serif;
    opacity: 0.9;
}

.masters__guarantee {
    position: absolute;
    top: 10%;
    right: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 200px;
    text-align: left;
}

.masters__guarantee-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e85d4a;
}

.masters__guarantee-text {
    margin: 0;
    color: var(--color-white);
    font:
        400 13px/1.4 var(--font-body),
        sans-serif;
}

.masters__profile {
    position: absolute;
    right: 0;
    bottom: 8%;
    text-align: center;
}

.masters__profile-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: var(--color-white);
    color: #1a1a1a;
    font:
        700 15px/1 var(--font-body),
        sans-serif;
    letter-spacing: 0.04em;
}

.masters__profile-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--header-primary);
}

.masters__profile-role {
    display: inline-block;
    margin: 0.5rem 0 0;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    background: var(--color-white);
    color: #1a1a1a;
    font:
        500 13px/1 var(--font-body),
        sans-serif;
}

/* ========================================
   Stars Section
   ======================================== */

.stars-section {
    margin-top: 10rem;
    text-align: center;
}

.stars-section__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.stars-section__subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font:
        400 18px/1.4 var(--font-body),
        sans-serif;
}

.stars-section__label {
    display: inline-block;
    margin: 1.5rem 0 0;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    background: var(--header-primary);
    color: var(--color-white);
    font:
        500 15px/1.3 var(--font-body),
        sans-serif;
}

.stars-section__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.stars-section__tag {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(248, 130, 126, 0.75);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--color-white);
    font:
        700 11px/1.2 var(--font-body),
        sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.stars-section__tag:hover,
.stars-section__tag--active {
    border-color: var(--color-white);
}

.stars-section__tag--active {
    background: rgba(255, 255, 255, 0.08);
}

.stars-section__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 1.75rem;
}

.stars-section__gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.stars-section__gallery-item:hover {
    opacity: 0.88;
}

.stars-section__gallery-item:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.stars-section__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 287 / 200;
    object-fit: cover;
}

/* ========================================
   Image Lightbox
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox--open {
    animation: lightbox-backdrop-in 0.28s ease;
}

.lightbox__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: min(100%, 1100px);
    touch-action: pan-y pinch-zoom;
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    max-width: calc(100% - 120px);
}

.lightbox__stage {
    position: relative;
    width: min(calc(100vw - 8rem), 900px);
    height: min(78vh, 720px);
    overflow: hidden;
}

.lightbox__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__counter {
    color: rgba(255, 255, 255, 0.75);
    font:
        500 14px/1 var(--font-body),
        sans-serif;
}

.lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--header-primary);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.lightbox__nav:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 0.75rem;
    }

    .lightbox__content {
        gap: 0.5rem;
        width: 100%;
    }

    .lightbox__figure {
        max-width: calc(100% - 96px);
    }

    .lightbox__stage {
        width: min(calc(100vw - 6rem), 900px);
        height: min(72vh, 720px);
    }

    .lightbox__nav {
        width: 44px;
        height: 44px;
    }

    .lightbox__close {
        top: 0.25rem;
        right: 0.25rem;
    }
}

@media (max-width: 480px) {
    .lightbox__content {
        flex-direction: column;
        justify-content: center;
    }

    .lightbox__figure {
        order: 1;
        max-width: 100%;
        width: 100%;
    }

    .lightbox__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox__nav--prev {
        left: 0;
    }

    .lightbox__nav--next {
        right: 0;
    }

    .lightbox__close {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@keyframes lightbox-backdrop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-image-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-image-from-next {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-image-from-prev {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-image--initial {
    animation: slide-image-fade-in 0.32s ease;
}

.slide-image--from-next {
    animation: slide-image-from-next 0.36s ease;
}

.slide-image--from-prev {
    animation: slide-image-from-prev 0.36s ease;
}

.slide-counter {
    animation: slide-image-fade-in 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {

    .lightbox--open,
    .slide-image--initial,
    .slide-image--from-next,
    .slide-image--from-prev,
    .slide-counter {
        animation: none;
    }
}

.stars-section__partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 3.5rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.stars-section__partner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stars-section__partner img {
    display: block;
    width: auto;
    height: 60px;
    object-fit: contain;
    opacity: 0.9;
}

.stars-section__footer {
    margin: 1.75rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 16px/1.4 var(--font-body),
        sans-serif;
}

/* ========================================
   Feedback Section
   ======================================== */

.feedback {
    margin-top: 10rem;
    text-align: center;
}

.feedback__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
}

.feedback__subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font:
        400 18px/1.4 var(--font-body),
        sans-serif;
}

.feedback__slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    min-height: 540px;
}

.feedback__nav {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--header-primary);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.feedback__nav:hover {
    opacity: 0.85;
}

.feedback__phone {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 540px;
    margin: 0;
    overflow: hidden;
}

.feedback__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .feedback__slider {
        gap: 1rem;
        min-height: min(540px, 70vh);
    }

    .feedback__phone {
        width: min(300px, calc(100vw - 8rem));
        height: min(540px, 70vh);
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    margin-top: 10rem;
    padding: 3rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.95fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer__logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
    text-decoration: none;
}

.footer__logo img,
.footer__logo svg {
    display: block;
    width: 72px;
    height: auto;
}

.footer__tagline {
    margin: 0;
    max-width: 220px;
    color: var(--color-white);
    font:
        400 14px/1.45 var(--font-body),
        sans-serif;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.25rem;
}

.footer__policy {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    color: rgb(164, 134, 246);
    font:
        400 14px/1.4 var(--font-body),
        sans-serif;
    text-decoration: none;
}

.footer__policy:hover {
    text-decoration: underline;
}

.footer__email {
    color: var(--color-white);
    font:
        400 14px/1.4 var(--font-body),
        sans-serif;
    text-decoration: none;
}

.footer__email:hover {
    text-decoration: underline;
}

.footer__messengers-label,
.footer__call-label {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 13px/1.4 var(--font-body),
        sans-serif;
}

.footer__social {
    display: flex;
    gap: 0.65rem;
}

.footer__social-link {
    display: block;
    line-height: 0;
}

.footer__social-link img {
    width: 40px;
    height: 40px;
}

.footer__call {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer__operator {
    position: relative;
    flex-shrink: 0;
}

.footer__operator::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--page-bg);
    border-radius: 50%;
    background: #4cd964;
}

.footer__operator-photo {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.footer__call-text {
    min-width: 0;
}

.footer__phone {
    color: var(--color-white);
    font:
        600 22px/1.2 var(--font-body),
        sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.footer__phone:hover {
    text-decoration: underline;
}

.footer__legal {
    margin-top: 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 13px/1.6 var(--font-body),
        sans-serif;
}

.footer__legal p {
    margin: 0;
}

/* ========================================
   SEO Content (landing pages)
   ======================================== */

.seo-content {
    margin-top: 2.5rem;
    max-width: 1148px;
    color: var(--color-white);
    font-family: var(--font-body), sans-serif;
}

.seo-content__intro,
.seo-content__text {
    margin: 0 0 1.25rem;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.seo-content__intro strong,
.seo-content__text strong {
    color: #a486f6;
    font-weight: 600;
}

.seo-content__title {
    margin: 2rem 0 1rem;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.seo-content__subtitle {
    margin: 2rem 0 1rem;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.seo-content__list {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.seo-content__list li {
    margin-bottom: 0.5rem;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.seo-content__list--ordered {
    list-style: decimal;
}

/* ========================================
   Blog
   ======================================== */

.blog {
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.blog__heading {
    margin: 0;
    color: var(--color-white);
    font:
        700 44px/1.15 var(--font-heading),
        sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.blog__heading--post {
    text-align: left;
    text-transform: none;
    font-size: 36px;
}

.blog__subtitle {
    margin: 1rem auto 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.85);
    font:
        400 18px/1.4 var(--font-body),
        sans-serif;
    text-align: center;
}

.blog__back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: rgb(164, 134, 246);
    font:
        500 15px/1.4 var(--font-body),
        sans-serif;
    text-decoration: none;
}

.blog__back:hover {
    text-decoration: underline;
}

.blog__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
}

.blog__item {
    display: flex;
    flex: 1 1 calc(50% - 0.625rem);
    min-width: min(100%, 320px);
}

.blog__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.blog__card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.blog__card-title {
    margin: 0 0 0.75rem;
    color: var(--color-white);
    font:
        700 20px/1.3 var(--font-body),
        sans-serif;
}

.blog__card-excerpt {
    flex: 1;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.75);
    font:
        400 14px/1.55 var(--font-body),
        sans-serif;
}

.blog__card-link {
    color: rgb(164, 134, 246);
    font:
        600 14px/1 var(--font-body),
        sans-serif;
}

.blog--post .blog-article {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .blog__item {
        flex: 1 1 100%;
    }

    .blog__heading--post {
        font-size: 28px;
    }
}

/* ========================================
   Scroll reveal (как на dimdoma.ru / Tilda)
   ======================================== */

.scroll-reveal {
    opacity: 0;
}

.scroll-reveal--visible.scroll-reveal--up {
    animation: scroll-reveal-up var(--scroll-reveal-duration, 1s) ease var(--scroll-reveal-delay, 0s) forwards;
}

.scroll-reveal--visible.scroll-reveal--left {
    animation: scroll-reveal-left var(--scroll-reveal-duration, 1s) ease var(--scroll-reveal-delay, 0s) forwards;
}

.scroll-reveal--visible.scroll-reveal--right {
    animation: scroll-reveal-right var(--scroll-reveal-duration, 1s) ease var(--scroll-reveal-delay, 0s) forwards;
}

@keyframes scroll-reveal-up {
    from {
        opacity: 0;
        transform: translate3d(0, var(--scroll-reveal-distance, 100px), 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scroll-reveal-left {
    from {
        opacity: 0;
        transform: translate3d(calc(var(--scroll-reveal-distance, 100px) * -1), 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scroll-reveal-right {
    from {
        opacity: 0;
        transform: translate3d(var(--scroll-reveal-distance, 100px), 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
    }

    .scroll-reveal--visible.scroll-reveal--up,
    .scroll-reveal--visible.scroll-reveal--left,
    .scroll-reveal--visible.scroll-reveal--right {
        animation: none;
    }
}

/* ========================================
   Age Gate (18+)
   ======================================== */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.88);
}

.age-gate__dialog {
    width: min(100%, 560px);
    padding: 2.75rem 2.5rem 2.5rem;
    border-radius: 0;
    background: var(--color-white);
    text-align: center;
}

.age-gate__title {
    margin: 0 0 1.75rem;
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

.age-gate__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.age-gate__text,
.age-gate__notice {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    color: #000;
}

.age-gate__legal {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.45;
    color: #7360b9;
}

.age-gate__notice {
    margin-top: 0.25rem;
}

.age-gate__cookie {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.62);
    text-align: center;
}

.age-gate__cookie code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.78);
}

.age-gate__policy {
    margin: 0 0 1.25rem;
    text-align: center;
}

.age-gate__policy-link {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: rgb(164, 134, 246);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.age-gate__policy-link:hover {
    color: #c4b0ff;
}

.age-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 320px);
    padding: 1rem 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #7360b9;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-white);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.age-gate__btn:hover {
    background: #614ba9;
}

.age-gate__btn:focus-visible {
    outline: 2px solid #614ba9;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .age-gate {
        padding: 1rem;
    }

    .age-gate__dialog {
        padding: 2rem 1.25rem 1.75rem;
    }

    .age-gate__body {
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .age-gate__text,
    .age-gate__notice,
    .age-gate__legal {
        font-size: 0.9375rem;
    }
}

/* ========================================
   Privacy Policy Modal
   ======================================== */

.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.88);
}

.policy-modal__dialog {
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    max-height: min(88vh, 900px);
    background: var(--color-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.policy-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #ececef;
}

.policy-modal__title {
    margin: 0;
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.policy-modal__close {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f3f3f5;
    color: #444;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.policy-modal__close:hover {
    background: #e7e7ea;
}

.policy-modal__close:focus-visible {
    outline: 2px solid #7360b9;
    outline-offset: 2px;
}

.policy-modal__body {
    overflow-y: auto;
    padding: 1rem 1.5rem 1.75rem;
}

.policy-modal__section + .policy-modal__section {
    margin-top: 1.25rem;
}

.policy-modal__section-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading), sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.policy-modal__paragraph {
    margin: 0 0 0.65rem;
    font-family: var(--font-body), sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #444;
}

.policy-modal__paragraph:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .policy-modal {
        padding: 0.75rem;
    }

    .policy-modal__dialog {
        max-height: 92vh;
    }

    .policy-modal__header {
        padding: 1.25rem 1.25rem 0.85rem;
    }

    .policy-modal__body {
        padding: 0.85rem 1.25rem 1.5rem;
    }

    .policy-modal__paragraph {
        font-size: 0.8125rem;
    }
}