/*
 * Оформление сайта «СВЕТ БОЖИЙ».
 *
 * Светлая сторона того же мира, что и приложение: там тёмный храм и свеча в
 * ночи, здесь — утро, небо и золото на куполах. Общее у них золото и уставные
 * гарнитуры, поэтому сайт и приложение узнаются как одно, не будучи одинаковыми.
 */

@font-face {
    font-family: 'Ruslan Display';
    src: url('/assets/fonts/ruslan_display.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Old Standard';
    src: url('/assets/fonts/old_standard.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Old Standard';
    src: url('/assets/fonts/old_standard_bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Old Standard';
    src: url('/assets/fonts/old_standard_italic.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

:root {
    --sky: #eaf4fc;
    --sky-deep: #bfdcf2;
    --sky-far: #8fbfe0;
    --azure: #3f79ae;
    --azure-dark: #24506f;
    --gold: #d3a13a;
    --gold-hi: #f4dc9c;
    --gold-deep: #9a6f1f;
    --forest: #4e7f6b;
    --paper: #fffdf7;
    --ink: #22323f;
    --ink-dim: #5b7183;
    --wrap: 1180px;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(36, 80, 111, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 18px/1.68 'Old Standard', Georgia, serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--gold-deep); }

.wrap { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }
.center { text-align: center; }

/* ——— Шапка ——— */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px max(20px, calc((100vw - var(--wrap)) / 2));
    background: rgba(255, 253, 247, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(63, 121, 174, 0.14);
}
.topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Ruslan Display', serif;
    font-size: 21px;
    letter-spacing: 0.03em;
    color: var(--azure-dark);
}
.topbar__brand img { border-radius: 9px; box-shadow: 0 3px 10px rgba(154, 111, 31, .3); }
.topbar__nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
.topbar__nav a { color: var(--ink-dim); }
.topbar__nav a:hover { color: var(--azure); }
.topbar__cta {
    padding: 8px 18px;
    border-radius: 999px;
    color: #4a3410 !important;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold));
    box-shadow: 0 6px 16px rgba(211, 161, 58, 0.35);
}
.topbar__cta:hover { transform: translateY(-1px); }

/* ——— Пейзаж ——— */
/*
 * Первый экран во всю высоту окна и выше. Пейзаж живёт в его нижней трети,
 * текст — в верхней: при коротком экране храм оказывался прямо под кнопками
 * и подписи ложились ему на купола.
 */
.hero { position: relative; overflow: hidden; min-height: min(1020px, 104vh); }
.scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.scene__sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #cfe6f8 0%, #ddeefb 40%, #f0f7fd 62%, #fdf3e0 88%, #fff9ee 100%);
}
.scene__sun {
    position: absolute;
    top: -6%;
    left: 50%;
    width: min(720px, 92vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    will-change: transform;
}
/* Лучи поворачиваются очень медленно: заметно только если смотреть нарочно. */
.scene__rays { transform-origin: 200px 200px; animation: turn 240s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

.scene__forest {
    position: absolute;
    left: -2%;
    width: 104%;
    will-change: transform;
}
.scene__forest--far { bottom: 22%; height: 20%; }
.scene__forest--near { bottom: 0; height: 23%; }

.scene__church {
    position: absolute;
    left: 50%;
    bottom: 17%;
    width: min(340px, 34vw);
    transform: translateX(-50%);
    filter: drop-shadow(0 12px 22px rgba(36, 80, 111, 0.22));
    will-change: transform;
}

.scene__hill {
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 220%;
    /* Пологий — почти линия горизонта. Крутой холм закрывал небо целиком. */
    aspect-ratio: 12 / 1;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, #eef4e6 0%, #e2ecd8 42%, #d6e4cb 100%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, .7) inset;
}

.scene__birds { position: absolute; top: 16%; left: 0; width: 100%; height: 34%; }
.bird { opacity: 0.55; }
.bird--1 { animation: fly 26s linear infinite; }
.bird--2 { animation: fly 34s linear infinite 6s; }
.bird--3 { animation: fly 30s linear infinite 13s; }
@keyframes fly {
    0%   { transform: translate(-8%, 10px); opacity: 0; }
    8%   { opacity: 0.55; }
    92%  { opacity: 0.55; }
    100% { transform: translate(108%, -26px); opacity: 0; }
}

/*
 * Дымка у нижнего края: пейзаж должен переходить в бумагу страницы без
 * линейки. Высота небольшая и начинается прозрачной — при высокой дымке
 * ближний лес выбеливало до цвета неба, и он терял и цвет, и глубину.
 */
.scene__haze {
    position: absolute;
    inset: auto 0 0 0;
    height: 9%;
    background: linear-gradient(180deg,
        rgba(255, 253, 247, 0) 0%,
        rgba(255, 253, 247, 0.55) 55%,
        var(--paper) 100%);
}

/* ——— Первый экран ——— */
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 76px 0 clamp(300px, 44vh, 520px);
}
.hero__title {
    margin: 0;
    font-family: 'Ruslan Display', serif;
    font-size: clamp(44px, 8vw, 96px);
    line-height: 1.02;
    letter-spacing: 0.04em;
    color: var(--azure-dark);
    text-shadow: 0 2px 0 #fff, 0 14px 30px rgba(36, 80, 111, 0.16);
}
.hero__subtitle {
    margin: 12px 0 0;
    font-size: clamp(17px, 2.2vw, 23px);
    font-style: italic;
    color: var(--ink-dim);
}
.hero__lead { max-width: 30em; font-size: 20px; margin: 6px 0 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__meta { margin-top: 18px; color: var(--ink-dim); font-size: 15px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.badge {
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(63, 121, 174, 0.18);
    font-size: 15px;
    color: var(--azure-dark);
    box-shadow: 0 4px 14px rgba(36, 80, 111, 0.08);
}

/* ——— Кнопки ——— */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 15px 34px;
    border: 0;
    border-radius: 999px;
    font: 400 19px/1.2 'Old Standard', Georgia, serif;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn small { font-size: 13px; opacity: 0.8; }
.btn--gold {
    color: #4a3410;
    background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 62%, #bb8a2a 100%);
    box-shadow: 0 12px 26px rgba(211, 161, 58, 0.38);
}
.btn--gold:hover { color: #4a3410; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(211, 161, 58, .5); }
.btn--ghost {
    color: var(--azure-dark);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(63, 121, 174, 0.28);
    box-shadow: var(--shadow);
}
.btn--ghost:hover { transform: translateY(-3px); background: #fff; }
.btn--big { padding: 18px 44px; font-size: 22px; }

/* ——— Разделитель ——— */
.lozenge { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 26px; }
.lozenge span {
    height: 1px;
    width: min(150px, 24vw);
    background: linear-gradient(90deg, transparent, rgba(211, 161, 58, .7), transparent);
}
.lozenge i {
    width: 9px; height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 0 4px rgba(211, 161, 58, .16);
}

/* ——— Секции ——— */
.section { position: relative; padding: 84px 0; scroll-margin-top: 74px; }
.section--tint { background: linear-gradient(180deg, #f2f8fd, #fffdf7); }
.section__narrow { max-width: 780px; margin: 0 auto; }
.section__title {
    margin: 0;
    text-align: center;
    font-family: 'Ruslan Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0.03em;
    color: var(--azure-dark);
}
.section__lead { text-align: center; color: var(--ink-dim); margin-top: -8px; }
.prose p { margin: 0 0 16px; }
.prose--dim { color: var(--ink-dim); }

/* ——— Карточки ——— */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; margin-top: 28px; }
.card {
    position: relative;
    padding: 28px 26px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(63, 121, 174, 0.12);
    box-shadow: var(--shadow);
    transition: transform .24s ease, box-shadow .24s ease;
    overflow: hidden;
}
.card::after {
    /* Золотой луч в углу — от него карточка кажется освещённой сверху. */
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(244, 220, 156, .55), transparent 70%);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(36, 80, 111, .18); }
.card h3 {
    margin: 14px 0 8px;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--azure-dark);
}
.card p { margin: 0; color: var(--ink-dim); font-size: 17px; }
.card__icon {
    width: 46px; height: 46px;
    color: var(--gold-deep);
    display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(160deg, #fdf1d4, #f7e2ae);
    box-shadow: inset 0 0 0 1px rgba(211, 161, 58, .35);
}
.card__icon svg { width: 26px; height: 26px; }

/* ——— Экраны ——— */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); gap: 26px; margin-top: 30px; }
.screen { margin: 0; text-align: center; }
.phone {
    padding: 9px;
    border-radius: 26px;
    background: linear-gradient(160deg, #ffffff, #dfeaf3);
    box-shadow: 0 20px 44px rgba(36, 80, 111, .22), inset 0 0 0 1px rgba(255,255,255,.7);
    transition: transform .3s ease, box-shadow .3s ease;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 18px; }
.screen:hover .phone { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 28px 60px rgba(36, 80, 111, .28); }
.screen figcaption { margin-top: 14px; }
.screen strong {
    display: block;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 19px;
    color: var(--azure-dark);
}
.screen span { color: var(--ink-dim); font-size: 15px; }

/* ——— Радость ——— */
.joy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.joy__item {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f6fbff);
    border: 1px solid rgba(63, 121, 174, .12);
    box-shadow: var(--shadow);
}
.joy__item b {
    display: block;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 34px;
    color: var(--gold-deep);
    margin-bottom: 6px;
}
.joy__item span { color: var(--ink-dim); }

/* ——— Скачивание ——— */
.download { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.download__body .section__title, .download__body .lozenge { text-align: left; justify-content: flex-start; }
.steps { margin: 22px 0 0; padding-left: 22px; color: var(--ink-dim); font-size: 16px; }
.steps li { margin-bottom: 8px; }
.download__share {
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #fff6e2, #ffffff);
    border: 1px solid rgba(211, 161, 58, .28);
    box-shadow: var(--shadow);
}
.download__share h3 {
    margin: 0 0 4px;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--azure-dark);
}
.download__share p { margin: 0 0 16px; color: var(--ink-dim); font-size: 16px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share__btn {
    padding: 9px 16px;
    font: 400 16px 'Old Standard', Georgia, serif;
    color: var(--azure-dark);
    background: #fff;
    border: 1px solid rgba(63, 121, 174, .25);
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}
.share__btn:hover { transform: translateY(-2px); background: #f4faff; }
.share__badge { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--ink-dim); }
.share__badge img { border-radius: 14px; box-shadow: 0 8px 20px rgba(154, 111, 31, .28); }

/* ——— Отзывы ——— */
.reviews { display: grid; gap: 18px; margin: 28px 0; }
.reviews--teaser { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review {
    padding: 24px 26px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(63, 121, 174, .12);
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow);
}
.review__text { margin: 0 0 12px; }
.review__sign { margin: 0; color: var(--azure-dark); font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.review__sign span { color: var(--ink-dim); font-style: italic; }
.review__reply {
    margin: 14px 0 0; padding: 12px 14px;
    background: #fff7e6; border-radius: 10px; font-size: 16px;
}
.review__reply strong { color: var(--gold-deep); }

/* ——— Формы ——— */
.form { display: grid; gap: 16px; margin: 28px 0 40px; }
.form .btn, .admin__card form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--azure-dark); font-size: 16px; }
.field > span i { color: var(--ink-dim); font-style: italic; font-size: 14px; }
.field small { color: var(--ink-dim); font-size: 14px; }
input[type=text], input[type=email], input[type=password], textarea, select {
    width: 100%;
    padding: 13px 15px;
    font: 400 17px/1.5 'Old Standard', Georgia, serif;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(63, 121, 174, .25);
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(211, 161, 58, .16);
}
textarea { resize: vertical; }
.form__trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); }

.notice {
    padding: 15px 18px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    background: #fff7e6;
    margin: 18px 0;
}
.notice p { margin: 0 0 6px; }
.notice--good { border-left-color: #59a06a; background: #eef8f0; }
.notice--bad { border-left-color: #c2453a; background: #fdeeec; }

/* ——— Документы ——— */
.doc h2 {
    margin: 34px 0 10px;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 25px;
    color: var(--azure-dark);
}
.doc__meta { color: var(--ink-dim); font-size: 16px; }
.doc__summary {
    margin: 22px 0; padding: 22px;
    background: linear-gradient(160deg, #fff6e2, #ffffff);
    border: 1px solid rgba(211, 161, 58, .3);
    border-radius: var(--radius);
}
.doc__summary p { margin: 0; }
.doc code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: .86em;
    color: var(--gold-deep);
    background: #fdf3df;
    padding: 1px 6px;
    border-radius: 5px;
}
.doc__table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.doc__table th, .doc__table td {
    padding: 12px 14px;
    border: 1px solid rgba(63, 121, 174, .18);
    vertical-align: top;
    text-align: left;
}
.doc__table th { color: var(--azure-dark); font-weight: 400; background: #f2f8fd; }

/* ——— Подвал ——— */
.footer { position: relative; margin-top: 60px; padding: 120px 0 26px; background: #f2f8fd; }
.footer__hills { position: absolute; top: -1px; left: 0; width: 100%; height: 120px; transform: scaleY(-1); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; }
.footer__col h3 {
    margin: 0 0 12px;
    font-family: 'Ruslan Display', serif;
    font-weight: 400;
    font-size: 19px;
    color: var(--azure-dark);
}
.footer__col a { display: block; margin-bottom: 7px; color: var(--ink-dim); font-size: 16px; }
.footer__col a:hover { color: var(--azure); }
.footer__col--brand img { border-radius: 16px; box-shadow: 0 10px 24px rgba(154, 111, 31, .3); }
.footer__name { margin: 10px 0 6px; font-family: 'Ruslan Display', serif; color: var(--azure-dark); }
.footer__note { color: var(--ink-dim); font-size: 15px; margin-top: 8px; }
.footer__bottom {
    position: relative;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
    margin-top: 34px; padding-top: 18px;
    border-top: 1px solid rgba(63, 121, 174, .16);
    color: var(--ink-dim); font-size: 15px;
}

/* ——— Появление при прокрутке ——— */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ——— Админка ——— */
.admin { background: #f2f8fd; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login__box {
    width: min(100%, 380px);
    display: grid; gap: 16px; padding: 32px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.login__box h1 {
    margin: 0; text-align: center;
    font-family: 'Ruslan Display', serif; font-weight: 400; font-size: 26px;
    color: var(--azure-dark);
}
.login__note { text-align: center; margin: 0; font-size: 15px; }
.admin__top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px max(20px, calc((100vw - 1000px) / 2));
    background: #fff; border-bottom: 1px solid rgba(63, 121, 174, .16);
    color: var(--azure-dark);
}
.admin__top nav { display: flex; gap: 18px; font-size: 16px; }
.admin__body { width: min(100% - 40px, 1000px); margin: 26px auto 60px; }
.admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 24px; }
.admin__stats div { padding: 18px; text-align: center; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.admin__stats b { display: block; font-size: 28px; color: var(--gold-deep); }
.admin__stats span { color: var(--ink-dim); font-size: 15px; }
.admin__card { padding: 26px; margin-bottom: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin__card h2 {
    margin: 0 0 16px;
    font-family: 'Ruslan Display', serif; font-weight: 400; font-size: 24px;
    color: var(--azure-dark);
}
.admin__card form { display: grid; gap: 14px; max-width: 620px; }
.admin__review { padding: 16px; margin-bottom: 14px; background: #f8fbfe; border-left: 3px solid var(--gold); border-radius: 10px; }
.admin__review--hidden { opacity: .7; border-left-color: #c2453a; }
.admin__review header { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.admin__review header span { color: var(--ink-dim); font-size: 15px; }
.admin__contact { color: var(--gold-deep) !important; }
.admin__flag { margin-left: auto; font-style: italic; }
.admin__reply { color: var(--gold-deep); font-size: 16px; }
.admin__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin__actions form { display: flex; gap: 8px; margin: 0; }
.admin__replyform { flex: 1 1 320px; }
.admin__actions button {
    padding: 8px 15px;
    font: 400 15px 'Old Standard', Georgia, serif;
    color: var(--azure-dark); background: #fff;
    border: 1px solid rgba(63, 121, 174, .25); border-radius: 999px; cursor: pointer;
}
.admin__actions button.danger { color: #c2453a; border-color: rgba(194, 69, 58, .4); }
.admin__upload { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(63, 121, 174, .16); }
.dim { color: var(--ink-dim); }

/* ——— Узкие экраны ——— */
@media (max-width: 900px) {
    .download { grid-template-columns: 1fr; }
    .download__body .section__title { text-align: center; }
    .download__body .lozenge { justify-content: center; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .topbar__nav a:not(.topbar__cta) { display: none; }
    .hero__inner { padding-bottom: clamp(150px, 42vw, 280px); }
}
@media (max-width: 560px) {
    body { font-size: 17px; }
    /* На узком экране подписи занимают вчетверо больше строк, и храм
       оказывался прямо под ними. Пейзажу отдаётся больше низа, храм мельче. */
    .hero__inner { padding-bottom: clamp(330px, 54vh, 560px); }
    .scene__church { width: min(210px, 48vw); bottom: 14%; }
    .scene__forest--near { height: 20%; }
    .section { padding: 56px 0; }
    .footer__grid { grid-template-columns: 1fr; }
    .review__sign { flex-direction: column; gap: 2px; }
}

/* Кому движение мешает — тому его не будет. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scene__rays, .bird { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— Дополнения главной ——— */
.hero__icon {
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(154, 111, 31, .35);
    margin-bottom: 18px;
}
.joy__block { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.joy__block .section__title, .joy__block .lozenge { text-align: left; justify-content: flex-start; }
.joy__art { margin: 0; }
.joy__art img {
    width: 100%; height: auto; display: block;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(154, 111, 31, .28);
}
.download__badge {
    width: 100%; height: auto; display: block;
    border-radius: 18px; margin-bottom: 18px;
    box-shadow: 0 16px 36px rgba(36, 80, 111, .28);
}
@media (max-width: 900px) {
    .joy__block { grid-template-columns: 1fr; }
    .joy__block .section__title { text-align: center; }
    .joy__block .lozenge { justify-content: center; }
}
