/* Первый экран главной: отдельный файл сохраняет стили остальных шаблонов неизменными. */
.home-hero {
    isolation: isolate;
    min-height: 720px;
    background-color: #050401;
    background-image: url("../img/home-hero-family-qr-memorial-v2.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 40%, rgba(216, 166, 74, .12), transparent 34%),
        linear-gradient(90deg, rgba(5, 4, 1, .96) 0%, rgba(5, 4, 1, .78) 48%, rgba(5, 4, 1, .08) 78%);
}   
   
.home-hero .head-page-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    padding: clamp(72px, 6vw, 105px) 0 125px;
}
 
.home-hero .head-page-content .small-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(216, 166, 74, .06);
    color: #ead6b2;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .14em;
}

.home-hero .head-page-content .small-title::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(216, 166, 74, .1);
}

.home-hero .head-page-content h1 {
    max-width: 780px;
    margin: 34px 0 25px;
    font-size: clamp(44px, 3.8vw, 66px);
    line-height: .98;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.home-hero .head-page-content h1 span {
    display: block;
    margin-top: 10px;
    font-size: .76em;
    line-height: 1.08;
}

.home-hero .head-page-descr {
    max-width: 680px;
    color: rgba(255, 255, 255, .78);
    font-size: 19px;
    line-height: 1.65;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.home-hero__primary {
    min-height: 62px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
}

.home-hero__secondary {
    min-height: 62px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-transform: uppercase;
    transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.home-hero__secondary span {
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}

.home-hero__secondary:hover,
.home-hero__secondary:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.home-hero__assurances {
    max-width: 760px;
    margin: 31px 0 0;
    padding: 23px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
}

.home-hero__assurances li {
    position: relative;
    padding-left: 21px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.4;
}

.home-hero__assurances li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
}

/* Премиальное позиционирование через конкретные стандарты сервиса. */
.premium-standard {
    position: relative;
    padding: 70px 0 92px;
    color: #fff; 
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(217,166,75,.09), transparent 28%),
        linear-gradient(180deg, #080c0f, #070b0e);
}

.premium-standard::before {
    content: "";
    position: absolute;
    top: -320px;
    right: -180px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(217,166,75,.08);
    border-radius: 50%;
    pointer-events: none;
}

.premium-standard__head {
    position: relative;
    z-index: 1;
    margin-bottom: 43px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: end;
    gap: clamp(35px, 7vw, 110px);
}

.premium-standard__label {
    margin-bottom: 16px;
    color: #d9a64b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.premium-standard__head h2 {
    max-width: 780px;
    margin: 0;
    color: #f8f3eb;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.03;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.premium-standard__head > p {
    max-width: 630px;
    margin: 0;
    padding-left: 29px;
    border-left: 1px solid rgba(217,166,75,.48);
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.72;
}

.premium-standard__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(217,166,75,.27);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,.012);
}

.premium-standard__card {
    position: relative;
    min-height: 285px;
    padding: 34px 30px 32px;
    border-right: 1px solid rgba(217,166,75,.18);
    background: linear-gradient(145deg, rgba(255,255,255,.024), transparent 55%);
    box-sizing: border-box;
    transition: background .25s ease;
}

.premium-standard__card:last-child {
    border-right: 0;
}

.premium-standard__card:hover {
    background: rgba(217,166,75,.055);
}

.premium-standard__number {
    display: block;
    color: #d9a64b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
}

.premium-standard__number::after {
    content: "";
    width: 36px;
    height: 1px;
    margin-top: 17px;
    display: block;
    background: rgba(217,166,75,.75);
}

.premium-standard__card h3 {
    margin: 31px 0 16px;
    color: #f6f0e8;
    font-size: 26px;
    line-height: 1.16;
    text-wrap: balance;
}

.premium-standard__card p {
    margin: 0;
    color: rgba(255,255,255,.61);
    font-size: 14px;
    line-height: 1.67;
}

.premium-standard__footer {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 20px 22px 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(217,166,75,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.015);
}

.premium-standard__footer ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    list-style: none;
}

.premium-standard__footer li {
    position: relative;
    padding-left: 19px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.premium-standard__footer li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #d9a64b;
    font-size: 7px;
    line-height: 2.1;
}

.premium-standard__footer a {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex-shrink: 0;
    border: 1px solid rgba(217,166,75,.7);
    border-radius: 999px;
    color: #e3bb6c;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.premium-standard__footer a:hover {
    background: #d9a64b;
    color: #15120d;
}

@media (max-width: 1199px) {
    .premium-standard__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-standard__card:nth-child(2) {
        border-right: 0;
    }

    .premium-standard__card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(217,166,75,.18);
    }
}

@media (max-width: 767px) {
    .premium-standard {
        padding: 55px 0 65px;
    }

    .premium-standard__head {
        margin-bottom: 30px;
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .premium-standard__head h2 {
        font-size: 38px;
    }

    .premium-standard__head > p {
        padding-left: 19px;
        font-size: 15px;
    }

    .premium-standard__grid {
        grid-template-columns: 1fr;
        border-radius: 19px;
    }

    .premium-standard__card {
        min-height: 0;
        padding: 27px 23px 26px;
        border-right: 0;
        border-bottom: 1px solid rgba(217,166,75,.18);
    }

    .premium-standard__card:nth-child(3) {
        border-bottom: 1px solid rgba(217,166,75,.18);
    }

    .premium-standard__card:last-child {
        border-bottom: 0;
    }

    .premium-standard__card h3 {
        margin-top: 23px;
        font-size: 24px;
    }

    .premium-standard__footer {
        padding: 22px 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .premium-standard__footer ul {
        align-items: flex-start;
        flex-direction: column;
    }

    .premium-standard__footer a {
        width: 100%;
        box-sizing: border-box;
    }
}
 
/* Тарифы: четыре понятных направления без перегруженных карточек. */
.tariffs {
    padding-top: 0;
}

.tariffs__swipe-hint {
    display: none;
}

.tariffs__grid > div {
    display: flex;
}

.tariffs__grid .tariffs__card {
    width: 100%;
    min-height: 100%;
    height: 100%;
    padding: 28px 24px 24px;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255,255,255,.025), transparent 42%), #080c0f;
    box-shadow: 0 18px 55px rgba(0,0,0,.18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tariffs__grid .tariffs__card:hover {
    border-color: rgba(217,166,75,.58);
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
    transform: translateY(-5px);
}

.tariffs__grid .tariffs__card--active {
    background:
        linear-gradient(180deg, rgba(7,11,14,.18) 0%, #070b0e 43%),
        url(/img/russia.webp) #070b0e no-repeat center top / contain;
}

.tariffs__grid .tariffs__card--place {
    border-color: rgba(217,166,75,.48);
    background:
        radial-gradient(circle at 90% 3%, rgba(217,166,75,.14), transparent 28%),
        linear-gradient(155deg, rgba(255,255,255,.025), transparent 42%),
        #080c0f;
}

.tariffs__type {
    min-height: 14px;
    margin-bottom: 9px;
    color: rgba(217,166,75,.8);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tariffs__grid .tariffs__name {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 1.65vw, 30px);
    text-wrap: balance;
}

.tariffs__grid .tariffs__desc {
    min-height: 50px;
    font-size: 14px;
    line-height: 1.45;
}

.tariffs__grid .tariffs__line {
    margin: 12px auto;
}

.tariffs__grid .tariffs__list {
    margin: 17px 0;
    padding-top: 18px;
}

.tariffs__grid .tariffs__list li {
    margin-bottom: 9px;
    padding-left: 28px;
    font-size: 13px;
    line-height: 1.35;
}

.tariffs__grid .tariffs__bottom {
    margin-top: auto;
    padding-top: 18px;
}

.tariffs__grid .tariffs__price {
    font-size: 33px;
}

.tariffs__price-prefix {
    color: rgba(255,255,255,.6);
    font-size: .52em;
    font-weight: 500;
    text-transform: uppercase;
}

.tariffs__grid .tariffs__pay {
    min-height: 20px;
    line-height: 1.4;
}

.tariffs__grid .tariffs__btn {
    min-height: 48px;
    margin-top: 14px;
    border-radius: 999px;
    font-size: 14px;
}

.tariffs__grid .tariffs__badge {
    max-width: calc(100% - 34px);
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: .02em;
}

.tariffs__new {
    position: absolute;
    top: -13px;
    left: 50%;
    padding: 7px 10px;
    border: 1px solid rgba(217,166,75,.34);
    border-radius: 999px;
    background: rgba(217,166,75,.08);
    color: #e2b966;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

@media (min-width: 1600px) {
    .tariffs .uk-container-large {
        max-width: 1760px;
    }
}

/* SEO-материал внизу главной: комфортная ширина строки и редакционная подача. */
.home-seo {
    position: relative;
    padding: 85px 0 105px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(217,166,75,.08), transparent 30%),
        #070b0e;
}

.home-seo__shell {
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(217,166,75,.3);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,.008));
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.home-seo__topbar {
    min-height: 82px;
    padding: 18px clamp(25px, 4vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid rgba(217,166,75,.17);
    background: rgba(255,255,255,.018);
    box-sizing: border-box;
}

.home-seo__label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f2ede5;
    font-size: 14px;
    font-weight: 720;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-seo__label small {
    margin-bottom: 4px;
    display: block;
    color: #d9a64b;
    font-size: 9px;
    letter-spacing: .16em;
}

.home-seo__icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217,166,75,.48);
    border-radius: 50%;
    color: #d9a64b;
    background: rgba(217,166,75,.06);
}

.home-seo__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-seo__reading {
    color: rgba(255,255,255,.48);
    font-size: 13px;
}

.home-seo .seo-text {
    max-width: none;
    margin: 0;
    padding: clamp(38px, 5.5vw, 76px) clamp(25px, 6vw, 84px);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,.73);
    overflow: visible;
}

.home-seo .seo-text > :first-child {
    margin-top: 0 !important;
}

.home-seo .seo-text h2,
.home-seo .seo-text h3 {
    max-width: 1050px;
    color: #f8f4ed;
    line-height: 1.16;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.home-seo .seo-text h2 {
    position: relative;
    margin: 66px 0 25px;
    padding-top: 22px;
    font-size: clamp(31px, 3.25vw, 47px);
}

.home-seo .seo-text h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #d9a64b, rgba(217,166,75,.15));
}

.home-seo .seo-text h3 {
    margin: 42px 0 18px;
    font-size: clamp(25px, 2.5vw, 34px);
}

.home-seo .seo-text p,
.home-seo .seo-text ul,
.home-seo .seo-text ol {
    max-width: 940px;
    color: rgba(255,255,255,.7);
    font-size: 17px;
    line-height: 1.82;
}

.home-seo .seo-text p {
    margin: 0 0 25px;
}

.home-seo .seo-text ul,
.home-seo .seo-text ol {
    margin: 22px 0 32px;
    padding-left: 0;
    list-style: none;
}

.home-seo .seo-text li {
    position: relative;
    margin: 11px 0;
    padding-left: 29px;
}

.home-seo .seo-text li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: .7em;
    left: 2px;
    border: 1px solid #d9a64b;
    transform: rotate(45deg);
}

.home-seo .seo-text ol {
    counter-reset: home-seo-list;
}

.home-seo .seo-text ol li {
    padding-left: 39px;
    counter-increment: home-seo-list;
}

.home-seo .seo-text ol li::before {
    content: counter(home-seo-list);
    width: 24px;
    height: 24px;
    top: .25em;
    left: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217,166,75,.55);
    border-radius: 50%;
    background: rgba(217,166,75,.06);
    color: #d9a64b;
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    transform: none;
}

.home-seo .seo-text strong {
    color: #f1d8aa;
}

.home-seo .seo-text a {
    color: #e1b968;
    text-decoration-color: rgba(225,185,104,.4);
    text-underline-offset: 3px;
}

.home-seo__footer {
    padding: 25px clamp(25px, 4vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(217,166,75,.18);
    background: rgba(217,166,75,.035);
}

.home-seo__footer > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-seo__footer > div span {
    color: #d9a64b;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home-seo__footer strong {
    color: rgba(255,255,255,.82);
    font-size: 15px;
    font-weight: 600;
}

.home-seo__footer > a {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex-shrink: 0;
    border: 1px solid rgba(217,166,75,.65);
    border-radius: 999px;
    color: #e4bc6c;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.home-seo__footer > a:hover {
    background: #d9a64b;
    color: #15120d;
}

@media (max-width: 1199px) {
    .home-hero {
        min-height: 650px;
    }

    .home-hero .head-page-content {
        max-width: 650px;
        padding-top: 76px;
    }

    .home-hero .head-page-content h1 {
        font-size: clamp(42px, 4.7vw, 57px);
    }

    .tariffs__grid .tariffs__name {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: auto;
        background-position: 40% center;
    }

    .home-hero::after {
        z-index: 0;
        background: linear-gradient(180deg, rgba(5, 4, 1, .94) 0%, rgba(5, 4, 1, .72) 48%, rgba(5, 4, 1, .2) 100%);
    }

    .home-hero .head-page-content {
        padding: 28px 0 82px;
    }

    .home-hero .head-page-content h1 {
        margin-top: 30px;
        font-size: clamp(34px, 9.3vw, 43px);
        line-height: 1.02;
    }

    .home-hero .head-page-content h1 span {
        font-size: .72em;
    }

    .home-hero .head-page-descr {
        font-size: 16px;
        line-height: 1.6;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .home-hero .home-hero__primary,
    .home-hero__secondary {
        width: 100%;
        min-height: 56px;
        height: 56px;
        padding: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
        line-height: 1.2;
        text-align: center;
    }

    .home-hero__assurances {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 25px;
        padding-top: 20px;
    }

    .tariffs {
        padding-top: 48px;
    }

    .tariffs__swipe-hint {
        margin: -12px 0 18px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        color: rgba(255,255,255,.52);
        font-size: 12px;
    }

    .tariffs__swipe-hint span {
        color: #d9a64b;
        font-size: 19px;
    }

    .tariffs__grid.uk-grid {
        margin-left: -15px;
        padding: 22px 15px 18px;
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        scroll-padding-left: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tariffs__grid.uk-grid::-webkit-scrollbar {
        display: none;
    }

    .tariffs__grid.uk-grid > div {
        width: min(86vw, 365px) !important;
        flex: 0 0 min(86vw, 365px);
        padding-left: 0;
        scroll-snap-align: start;
    }

    .tariffs__grid .tariffs__card {
        padding: 27px 21px 22px;
    }

    .tariffs__grid .tariffs__card:hover {
        transform: none;
    }

    .tariffs__grid .tariffs__name {
        min-height: 0;
        font-size: 27px;
    }

    .tariffs__grid .tariffs__desc {
        min-height: 0;
    }

    .home-seo {
        padding: 58px 0 72px;
    }

    .home-seo__shell {
        border-radius: 20px;
    }

    .home-seo__topbar {
        min-height: 72px;
        padding: 14px 19px;
    }

    .home-seo__reading {
        display: none;
    }

    .home-seo .seo-text {
        padding: 32px 20px 40px;
    }

    .home-seo .seo-text h2 {
        margin-top: 48px;
        padding-top: 17px;
        font-size: 30px;
    }

    .home-seo .seo-text h3 {
        margin-top: 34px;
        font-size: 25px;
    }

    .home-seo .seo-text p,
    .home-seo .seo-text ul,
    .home-seo .seo-text ol {
        font-size: 15.5px;
        line-height: 1.72;
    }

    .home-seo__footer {
        padding: 22px 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .home-seo__footer > a {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__secondary {
        transition: none;
    }

    .tariffs__grid .tariffs__card {
        transition: none;
    }

    .home-seo__footer > a {
        transition: none;
    }
}

/* Партнёры */
.home-partners{
    padding:clamp(72px,8vw,112px) 0;
    background:
        radial-gradient(circle at 87% 18%,rgba(216,166,74,.08),transparent 27%),
        #0a0f12;
    color:#fff;
}
.home-partners__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.55fr);
    gap:65px;
    align-items:end;
    margin-bottom:42px;
}
.home-partners__head>div>span{
    display:block;
    margin-bottom:15px;
    color:#d8a64a;
    font-size:11px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}
.home-partners__head h2{
    margin:0;
    color:#fff;
    font:600 clamp(40px,4.8vw,62px)/1.05 Georgia,"Times New Roman",serif;
    letter-spacing:-.025em;
}
.home-partners__head>p{
    margin:0;
    color:rgba(255,255,255,.62);
    font-size:15px;
    line-height:1.7;
}
.home-partners__grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,380px));
    gap:17px;
    justify-content:center;
}
.home-partner{
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(216,166,74,.32);
    border-radius:19px;
    background:rgba(255,255,255,.018);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
    transition:background-color .22s ease,border-color .22s ease,transform .22s ease;
}
.home-partner:hover{border-color:rgba(216,166,74,.68);background:rgba(216,166,74,.055);transform:translateY(-3px)}
.home-partner__logo-link,.home-partner__logo-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:235px;
    padding:24px 27px;
    background:#fff;
    text-decoration:none!important;
}
.home-partner__logo-link:focus-visible{outline:3px solid #d8a64a;outline-offset:-6px}
.home-partners__logo{
    display:block;
    width:100%;
    max-width:325px;
    height:auto;
    max-height:145px;
    padding:12px;
    border:1px solid rgba(39,35,30,.08);
    border-radius:14px;
    background:#f8f7f5;
    box-sizing:border-box;
    object-fit:contain;
    filter:none;
    opacity:1;
    transition:border-color .25s ease,background-color .25s ease;
}
.home-partner:hover .home-partners__logo,.home-partner__logo-link:focus-visible .home-partners__logo{
    border-color:rgba(216,166,74,.28);
    background:#fff;
    opacity:1;
    transform:none;
}
.home-partner h3{
    margin:0;
    padding:20px 20px 17px;
    color:rgba(255,255,255,.9);
    font-family:inherit;
    font-size:17px;
    font-weight:750;
    line-height:1.4;
    text-align:center;
    letter-spacing:.02em;
}
.home-partner__city{display:flex;align-items:center;justify-content:center;gap:7px;min-height:18px;margin:19px 15px -9px;color:#d8a64a;font-size:11px;font-weight:750;letter-spacing:.1em;line-height:1.3;text-transform:uppercase}.home-partner__city svg{display:block;flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.home-partner__city span{display:block;line-height:16px}
.home-partner__phone{display:block;margin:-6px 15px 24px;color:#d8a64a!important;font-size:17px;font-weight:750;line-height:1.3;text-align:center;text-decoration:none!important}.home-partner__phone:hover{text-decoration:underline!important}
.home-partners__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-top:18px;
    padding:22px 25px;
    border:1px solid rgba(216,166,74,.2);
    border-radius:15px;
    background:rgba(216,166,74,.035);
}
.home-partners__footer>span{color:rgba(255,255,255,.56);font-size:12px;line-height:1.55}
.home-partners__footer>a{display:flex;align-items:center;gap:11px;color:#d8a64a!important;font-size:12px;font-weight:750;white-space:nowrap;text-decoration:none!important}
.home-partners__footer>a b{font-size:18px;transition:transform .2s ease}.home-partners__footer>a:hover b{transform:translateX(4px)}
.home-partners__empty{display:flex;align-items:center;gap:18px;padding:28px;border:1px dashed rgba(216,166,74,.42);border-radius:18px;background:rgba(255,255,255,.02)}
.home-partners__empty strong{font:500 21px/1.2 Georgia,serif}.home-partners__empty span{color:rgba(255,255,255,.58);font-size:12px}.home-partners__empty a{margin-left:auto;padding:11px 17px;border-radius:999px;background:#d8a64a;color:#19150f!important;font-size:11px;font-weight:750;text-decoration:none!important}
@media(max-width:959px){.home-partners__head{grid-template-columns:1fr;gap:18px}}
@media(max-width:639px){.home-partners{padding:65px 0}.home-partners__head{margin-bottom:29px}.home-partners__head h2{font-size:38px}.home-partners__head>p{font-size:14px}.home-partners__grid{grid-template-columns:minmax(0,1fr)}.home-partner__logo-link,.home-partner__logo-wrap{min-height:205px;padding:23px}.home-partners__logo{max-width:310px;max-height:125px}.home-partner h3{padding:18px 12px 16px;font-size:16px}.home-partner__city{font-size:10px}.home-partner__phone{font-size:16px}.home-partners__footer{align-items:flex-start;flex-direction:column;padding:20px}.home-partners__empty{align-items:flex-start;flex-direction:column}.home-partners__empty a{margin-left:0}}
@media(prefers-reduced-motion:reduce){.home-partner,.home-partners__logo,.home-partners__footer>a b{transition:none!important}}

/* Tariff presentation with optional video backgrounds. */
.tariff-preview{
    position:relative;
    overflow:hidden;
    padding:clamp(72px,8vw,120px) 0;
    background:
        radial-gradient(circle at 12% 4%,rgba(216,166,74,.13),transparent 25%),
        radial-gradient(circle at 88% 92%,rgba(75,102,78,.14),transparent 30%),
        linear-gradient(115deg,rgba(255,255,255,.018),transparent 28%),
        #070c0e;
    color:#fff;
}
.tariff-preview::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:min(82vw,1320px);
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(216,166,74,.36),transparent);
    transform:translateX(-50%);
    pointer-events:none;
}
.tariff-preview.tariff-preview--lead{
    padding-top:clamp(24px,3vw,44px);
}
.tariff-preview__header{
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(300px,.55fr);
    gap:clamp(36px,5vw,78px);
    align-items:center;
    margin-bottom:32px;
}
.tariff-preview__admin-label{
    display:inline-flex;
    margin-bottom:24px;
    padding:8px 13px;
    border:1px solid rgba(216,166,74,.35);
    border-radius:999px;
    color:#e3bb70;
    background:rgba(216,166,74,.07);
    font-size:10px;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.tariff-preview__eyebrow{display:flex;align-items:center;gap:11px;margin-bottom:13px;color:#ddb25e;font-size:10px;font-weight:780;letter-spacing:.2em;text-transform:uppercase}
.tariff-preview__eyebrow i{width:34px;height:1px;display:block;background:linear-gradient(90deg,#d8a64a,rgba(216,166,74,.18))}
.tariff-preview__header h2{max-width:780px;margin:0;color:#fff;font-size:clamp(48px,4.25vw,68px);line-height:.96;letter-spacing:-.038em;text-wrap:balance;text-shadow:0 12px 42px rgba(0,0,0,.24)}
.tariff-preview__header h2 span{display:block;color:#f4f0e8}
.tariff-preview__intro{position:relative;max-width:490px;padding:9px 0 9px 24px;border-left:1px solid rgba(216,166,74,.52)}
.tariff-preview__intro>span{display:block;margin-bottom:8px;color:#d8a64a;font-size:10px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.tariff-preview__intro p{margin:0;color:rgba(255,255,255,.7);font-size:14px;line-height:1.62}
.tariff-preview__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tariff-preview__card{
    position:relative;
    min-height:540px;
    overflow:hidden;
    isolation:isolate;
    border:1px solid rgba(216,166,74,.3);
    border-radius:30px;
    background:#101616;
    box-shadow:0 25px 70px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.055);
    transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .35s ease,box-shadow .35s ease;
}
.tariff-preview__card:hover{border-color:rgba(227,182,94,.7);box-shadow:0 38px 95px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.08);transform:translateY(-6px)}
.tariff-preview__card--hero{
    border-color:rgba(233,190,105,.82);
    box-shadow:0 32px 90px rgba(185,127,41,.24),inset 0 1px rgba(255,229,174,.16);
    transform:translateY(-5px);
}
.tariff-preview__card--hero::after{
    content:"";
    position:absolute;
    z-index:2;
    top:0;
    right:24px;
    left:24px;
    height:2px;
    border-radius:0 0 4px 4px;
    background:linear-gradient(90deg,transparent,#e5bd6b,transparent);
    box-shadow:0 0 24px rgba(229,189,107,.48);
    pointer-events:none;
}
.tariff-preview__media,.tariff-preview__shade{position:absolute;z-index:-2;inset:0}
.tariff-preview__media video,.tariff-preview__poster{width:100%;height:100%;display:block;object-fit:cover}
.tariff-preview__media video{filter:saturate(.68) contrast(1.08);transition:transform 1.2s cubic-bezier(.2,.7,.2,1),filter .6s ease}
.tariff-preview__poster{
    background:#17201d;
}
.tariff-preview__card--static{background:#101716}
.tariff-preview__card--static .tariff-preview__media{
    overflow:hidden;
    background:
        radial-gradient(circle at 78% 18%,rgba(222,181,101,.2),transparent 28%),
        radial-gradient(circle at 16% 84%,rgba(51,101,82,.3),transparent 34%),
        linear-gradient(145deg,#1a2421 0%,#101817 48%,#080d0e 100%);
}
.tariff-preview__card--family.tariff-preview__card--static .tariff-preview__media{background:radial-gradient(circle at 75% 20%,rgba(184,139,80,.22),transparent 28%),radial-gradient(circle at 10% 88%,rgba(83,96,65,.3),transparent 36%),linear-gradient(145deg,#27231d,#151814 52%,#090d0c)}
.tariff-preview__card--hero.tariff-preview__card--static .tariff-preview__media{background:radial-gradient(circle at 76% 16%,rgba(181,65,55,.2),transparent 25%),radial-gradient(circle at 8% 88%,rgba(39,72,73,.34),transparent 36%),linear-gradient(145deg,#202426,#111718 54%,#080c0d)}
.tariff-preview__card--place.tariff-preview__card--static .tariff-preview__media{background:radial-gradient(circle at 80% 18%,rgba(197,164,104,.2),transparent 26%),radial-gradient(circle at 12% 84%,rgba(51,77,96,.34),transparent 38%),linear-gradient(145deg,#1d252b,#11181b 52%,#080d0f)}
.tariff-preview__card--static .tariff-preview__media::before,.tariff-preview__card--static .tariff-preview__media::after{content:"";position:absolute;border:1px solid rgba(224,183,103,.16);border-radius:50%;transition:transform .8s ease,border-color .4s ease}
.tariff-preview__card--static .tariff-preview__media::before{width:440px;height:440px;top:-235px;right:-170px;box-shadow:0 0 0 42px rgba(224,183,103,.025),0 0 0 84px rgba(224,183,103,.018)}
.tariff-preview__card--static .tariff-preview__media::after{width:190px;height:190px;right:18%;bottom:12%;border-color:rgba(255,255,255,.055)}
.tariff-preview__card--static:hover .tariff-preview__media::before{border-color:rgba(224,183,103,.3);transform:scale(1.06) translate(-8px,8px)}
.tariff-preview__ornament{position:absolute;z-index:-1;right:clamp(25px,4vw,58px);bottom:105px;width:clamp(105px,12vw,165px);height:clamp(105px,12vw,165px);display:grid;place-items:center;border:1px solid rgba(224,183,103,.22);border-radius:50%;color:rgba(224,183,103,.25);font:400 clamp(32px,4vw,54px)/1 Georgia,serif;box-shadow:inset 0 0 45px rgba(224,183,103,.035)}
.tariff-preview__ornament::before,.tariff-preview__ornament::after{content:"";position:absolute;background:rgba(224,183,103,.24)}
.tariff-preview__ornament::before{width:42px;height:1px;left:-22px}.tariff-preview__ornament::after{width:1px;height:42px;top:-22px}
.tariff-preview__shade{
    z-index:-1;
    background:
        linear-gradient(180deg,rgba(5,9,9,.2) 0%,rgba(5,9,9,.44) 34%,rgba(5,9,9,.95) 76%,#050909 100%),
        linear-gradient(90deg,rgba(5,9,9,.66),rgba(5,9,9,.08) 78%);
}  
.tariff-preview__card--hero .tariff-preview__shade{background:linear-gradient(180deg,rgba(3,6,7,.08),rgba(4,7,8,.46) 38%,#050809 84%)}
.tariff-preview__card:hover .tariff-preview__media video{filter:saturate(.95) contrast(1.03);transform:scale(1.035)}
.tariff-preview__content{min-height:540px;padding:clamp(25px,2.2vw,34px);display:flex;box-sizing:border-box;flex-direction:column;justify-content:space-between}
.tariff-preview__top{position:relative;max-width:650px;padding-right:55px}
.tariff-preview__number{position:absolute;top:-8px;right:0;color:rgba(255,255,255,.34);font:400 29px/1 Georgia,serif;letter-spacing:-.03em}
.tariff-preview__number small{color:rgba(216,166,74,.62);font:700 9px/1 Arial,sans-serif;letter-spacing:.04em}
.tariff-preview__type{display:block;margin-bottom:14px;color:#e3b75f;font-size:9px;font-weight:780;letter-spacing:.18em;text-transform:uppercase}
.tariff-preview__top h3{margin:0 0 16px;color:#fff;font:400 clamp(31px,2.45vw,42px)/1.03 Georgia,"Times New Roman",serif;letter-spacing:-.025em;text-wrap:balance;text-shadow:0 8px 26px rgba(0,0,0,.28)}
.tariff-preview__top p{max-width:550px;margin:0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.62}
.tariff-preview__details{display:flex;align-items:stretch;flex-direction:column;gap:21px;margin-top:42px;padding-top:22px;border-top:1px solid rgba(255,255,255,.11)}
.tariff-preview__details ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.tariff-preview__details li{position:relative;padding-left:21px;color:rgba(255,255,255,.88);font-size:13px;line-height:1.5}
.tariff-preview__details li::before{content:"";position:absolute;top:.48em;left:0;width:6px;height:6px;border:1px solid #d8a64a;border-radius:50%;box-shadow:0 0 0 3px rgba(216,166,74,.06)}
.tariff-preview__button{width:100%;min-height:56px;padding:7px 10px 7px 22px;display:flex;box-sizing:border-box;align-items:center;justify-content:space-between;gap:15px;border:1px solid rgba(255,230,174,.4);border-radius:999px;color:#18130c!important;background:linear-gradient(135deg,#efd184 0%,#d9a33e 58%,#bd7f28 100%);font-size:13px;font-weight:780;text-decoration:none!important;box-shadow:0 14px 34px rgba(174,122,48,.22),inset 0 1px rgba(255,255,255,.46);transition:transform .25s ease,filter .25s ease,box-shadow .25s ease}
.tariff-preview__button .tariff-preview__arrow{width:38px;height:38px;display:grid;flex:0 0 38px;place-items:center;border-radius:50%;background:rgba(24,19,12,.12);transition:transform .25s ease,background .25s ease}.tariff-preview__button .tariff-preview__arrow svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tariff-preview__button:hover{filter:brightness(1.07);box-shadow:0 18px 38px rgba(174,122,48,.3);transform:translateY(-2px)}.tariff-preview__button:hover .tariff-preview__arrow{background:rgba(24,19,12,.18);transform:translate(2px,-2px)}
@media(max-width:1199px){.tariff-preview__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tariff-preview__card,.tariff-preview__content{min-height:540px}.tariff-preview__card:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 10px);justify-self:center}}
@media(max-width:959px){.tariff-preview__header{grid-template-columns:1fr;gap:22px}.tariff-preview__intro{max-width:620px}.tariff-preview__grid{grid-template-columns:1fr}.tariff-preview__card,.tariff-preview__content{min-height:max-content}.tariff-preview__card:last-child:nth-child(odd){grid-column:auto;width:100%}.tariff-preview__card--hero{transform:none}}
@media(max-width:639px){.tariff-preview{padding:64px 0}.tariff-preview__header{gap:18px;margin-bottom:26px}.tariff-preview__eyebrow{margin-bottom:12px;font-size:9px}.tariff-preview__header h2{font-size:clamp(36px,10.7vw,44px);line-height:1}.tariff-preview__intro{padding:4px 0 4px 16px}.tariff-preview__intro>span{margin-bottom:6px;font-size:9px}.tariff-preview__intro p{font-size:13px;line-height:1.5}.tariff-preview__card{min-height:max-content;border-radius:22px;height:max-content}.tariff-preview__content{min-height:max-content;padding:27px 22px}.tariff-preview__top{padding-right:42px}.tariff-preview__top h3{font-size:36px}.tariff-preview__details{align-items:stretch;flex-direction:column;margin-top:48px}.tariff-preview__button{flex-basis:auto;width:100%;max-width:none}}
@media(prefers-reduced-motion:reduce){.tariff-preview__card,.tariff-preview__media video,.tariff-preview__button{transition:none}}

/* Компактный первый экран главной на телефонах. Полные тексты остаются в HTML. */
@media(max-width:767px){
    .home-hero .head-page-content{
        padding:22px 0 58px;
    }
    .home-hero .head-page-content .small-title{
        padding:8px 11px;
        font-size:9px;
        letter-spacing:.1em;
    }
    .home-hero .head-page-content h1{
        margin:20px 0 15px;
        font-size:clamp(30px,8.4vw,37px);
        line-height:1;
    }
    .home-hero .head-page-content h1 span{
        margin-top:7px;
        font-size:.68em;
        line-height:1.12;
    }
    .home-hero .head-page-descr{
        display:-webkit-box;
        max-width:34em;
        overflow:hidden;
        font-size:14px;
        line-height:1.5;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:4;
    }
    .home-hero__actions{
        gap:9px;
        margin-top:20px;
    }
    .home-hero .home-hero__primary,
    .home-hero .home-hero__secondary{
        min-height:50px!important;
        height:50px;
        font-size:13px!important;
    }
    .home-hero__assurances{
        grid-template-columns:1fr 1fr;
        gap:7px 12px;
        margin-top:18px;
        padding-top:15px;
    }
    .home-hero__assurances li{
        padding-left:17px;
        font-size:11px;
        line-height:1.35;
    }
    .home-hero__assurances li:last-child{
        grid-column:1/-1;
    }
}
