/*
Theme Name: Иншинка SPA
Theme URI: https://inshinka-spa.ru/
Author: Иншинка SPA
Description: Гид-агрегатор загородного отдыха Тульской области: каталоги, карточки объектов, подборки, заявки.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: inshinka-spa
*/

:root {
    --cream: #f7f2e8;
    --paper: #fffdf8;
    --ink: #1b2823;
    --muted: #5f6f67;
    --deep: #0e352c;
    --green: #1d5c49;
    --green-2: #2d7c63;
    --gold: #c9a24a;
    --gold-soft: #e8d5a6;
    --line: #e3dac9;
    --shadow: 0 18px 40px -24px rgba(14, 53, 44, .45);
    --radius: 18px;
    --radius-sm: 12px;
    --wrap: 1180px;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--deep);
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--deep);
    letter-spacing: -.01em;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(100% - 40px, var(--wrap));
    margin-inline: auto;
}

.wrap--narrow {
    width: min(100% - 40px, 760px);
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--deep);
    color: #fff;
    padding: 12px 18px;
    z-index: 100;
}

.skip:focus {
    left: 10px;
    top: 10px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--gold);
    color: #241c08;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn:hover {
    background: #d8b25a;
    color: #241c08;
    transform: translateY(-1px);
}

.btn--small {
    padding: 10px 18px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--deep);
}

.btn--ghost:hover {
    background: var(--deep);
    border-color: var(--deep);
    color: #fff;
}

.btn--light {
    background: var(--cream);
    color: var(--deep);
}

.btn--light:hover {
    background: #fff;
    color: var(--deep);
}

/* ---------- Шапка ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 242, 232, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--deep);
    flex-shrink: 0;
}

.logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--deep);
    color: var(--gold-soft);
    font-family: var(--serif);
    font-size: 22px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__text strong {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: .02em;
}

.logo__text small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}

.nav {
    margin-left: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
}

.menu a:hover,
.menu .current-menu-item > a {
    color: var(--green);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__phone {
    font-weight: 600;
    color: var(--deep);
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    padding: 11px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--deep);
    margin: 3px 0;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Хиро ---------- */

.hero {
    position: relative;
    color: var(--cream);
    background: var(--deep);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 80% 10%, rgba(201, 162, 74, .35), transparent 60%),
        radial-gradient(40% 60% at 10% 90%, rgba(45, 124, 99, .5), transparent 65%),
        linear-gradient(160deg, #0e352c 0%, #14473a 55%, #0e352c 100%);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 18px);
    opacity: .5;
}

.hero__inner {
    position: relative;
    padding: 84px 0 72px;
}

.hero__kicker {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--gold-soft);
    margin-bottom: 18px;
}

.hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    max-width: 16ch;
    margin-bottom: 20px;
}

.hero__lead {
    max-width: 58ch;
    color: rgba(247, 242, 232, .82);
    font-size: 18px;
    margin-bottom: 32px;
}

.hero__search {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: 16px;
    backdrop-filter: blur(6px);
    max-width: 880px;
}

.hero__search .field span {
    color: rgba(247, 242, 232, .7);
}

.hero__search .field select {
    background: rgba(255, 255, 255, .94);
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.hero__chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
}

.hero__chips a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ---------- Поля ---------- */

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 15px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
    border-color: var(--gold);
}

/* ---------- Секции ---------- */

.section {
    padding: 72px 0;
}

.section--tight {
    padding: 36px 0;
}

.section--alt {
    background: #f1e9da;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section__head h2 {
    margin-bottom: 6px;
}

.section__head p {
    color: var(--muted);
    margin: 0;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 32px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stats strong {
    display: block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 30px;
    color: var(--deep);
    line-height: 1;
}

.stats span {
    font-size: 14px;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 24px;
}

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

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

.grid--formats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Форматы ---------- */

.format {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.format:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gold-soft);
    color: var(--ink);
}

.format__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(29, 92, 73, .1);
    color: var(--green);
    margin-bottom: 6px;
}

.format__name {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--deep);
}

.format__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- Карточки объектов ---------- */

.card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #dfe7e1;
}

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

.card__ph {
    position: absolute;
    inset: 0;
}

.card__ph svg {
    width: 100%;
    height: 100%;
}

.card__initial {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 72px;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.card__badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 53, 44, .85);
    color: var(--cream);
    font-size: 12px;
    letter-spacing: .04em;
}

.card__badge--promo {
    background: var(--gold);
    color: #241c08;
    font-weight: 600;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}

.card__kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.card__title {
    font-size: 21px;
    margin: 0;
}

.card__title a {
    color: var(--deep);
    text-decoration: none;
}

.card__features {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.card__price {
    font-weight: 700;
    color: var(--deep);
    font-size: 18px;
}

.card__price small {
    font-weight: 400;
    color: var(--muted);
    font-size: 13px;
}

.card__rating {
    font-size: 14px;
    color: #8a6a1f;
    background: #f6ecd4;
    border-radius: 999px;
    padding: 4px 10px;
}

/* ---------- Подборки ---------- */

.collection {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(170deg, #fffdf8, #f3ecdd);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
}

.collection:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.collection__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--green);
}

.collection h2,
.collection h3 {
    margin: 0;
    font-size: 22px;
}

.collection p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.collection__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-weight: 600;
    font-size: 14px;
    color: var(--green);
}

/* ---------- Шаги ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.step {
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step__num {
    display: block;
    font-family: var(--serif);
    font-size: 40px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
}

.step h3 {
    margin-bottom: 6px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Районы ---------- */

.districts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.district {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--deep);
    font-weight: 600;
}

.district:hover {
    border-color: var(--gold);
    color: var(--green);
}

/* ---------- Заявка ---------- */

.lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
    border-radius: 26px;
    background: linear-gradient(150deg, #0e352c, #1a5142 70%, #0e352c);
    color: var(--cream);
    margin: 40px 0;
}

.lead h2 {
    color: #fff;
}

.lead__text p {
    color: rgba(247, 242, 232, .8);
}

.lead__points {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.lead__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(247, 242, 232, .9);
    font-size: 15px;
}

.lead__points svg {
    color: var(--gold);
    flex-shrink: 0;
}

.lead__form-wrap {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 24px;
}

.lead__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lead__form .field {
    margin-bottom: 14px;
}

.lead__form .field span {
    color: rgba(247, 242, 232, .65);
}

.lead__note {
    font-size: 12px;
    color: rgba(247, 242, 232, .55);
    margin: 12px 0 0;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(247, 242, 232, .75);
    margin: 4px 0 16px;
}

.consent a {
    color: var(--gold-soft);
}

.hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 15px;
}

.notice--ok {
    background: #e6f3e9;
    color: #1c4b2e;
    border: 1px solid #b9dcc4;
}

.lead--compact {
    display: block;
    padding: 24px;
    margin: 0;
    border-radius: var(--radius);
}

.lead--compact h2 {
    font-size: 22px;
}

.lead--compact .lead__points {
    display: none;
}

.lead--compact .lead__form-wrap {
    margin-top: 16px;
    background: transparent;
    border: 0;
    padding: 0;
}

.lead--compact .lead__row {
    grid-template-columns: 1fr;
}

/* ---------- Подвал ---------- */

.site-footer {
    margin-top: 40px;
    background: var(--deep);
    color: rgba(247, 242, 232, .75);
    padding: 56px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
}

.site-footer h3 {
    color: #fff;
    font-family: var(--sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: rgba(247, 242, 232, .78);
    text-decoration: none;
    font-size: 15px;
}

.site-footer a:hover {
    color: var(--gold-soft);
}

.footer__about p {
    font-size: 14px;
    max-width: 34ch;
}

.logo--footer .logo__mark {
    background: var(--gold);
    color: var(--deep);
}

.logo--footer .logo__text strong {
    color: #fff;
}

.footer__phone a {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
}

.footer__bottom p {
    margin: 0;
}

/* ---------- Страницы ---------- */

.page__head {
    padding: 40px 0 28px;
    background: linear-gradient(180deg, #f1e9da, var(--cream));
    border-bottom: 1px solid var(--line);
}

.page__title {
    margin: 18px 0 8px;
    max-width: 22ch;
}

.page__head .page__lead {
    max-width: 66ch;
    color: var(--muted);
    margin: 0;
}

.page__body {
    padding: 44px 0 12px;
}

.crumbs {
    font-size: 13px;
    color: var(--muted);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.crumbs li + li::before {
    content: "→";
    margin-right: 8px;
    color: var(--gold);
}

.crumbs a {
    color: var(--muted);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--green);
}

/* ---------- Карточка объекта ---------- */

.hotel__hero {
    padding: 36px 0 40px;
    background: linear-gradient(170deg, #f1e9da, var(--cream));
    border-bottom: 1px solid var(--line);
}

.hotel__hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.hotel__kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    color: var(--green);
    margin-bottom: 10px;
}

.hotel__title {
    margin-bottom: 14px;
}

.hotel__lead {
    color: var(--muted);
    max-width: 56ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.chips li {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--deep);
}

.hotel__price-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hotel__rating {
    font-size: 15px;
    color: #8a6a1f;
    margin: 0 0 8px;
}

.hotel__rating small {
    color: var(--muted);
}

.hotel__price {
    font-family: var(--serif);
    font-size: 34px;
    color: var(--deep);
    margin: 0 0 4px;
    line-height: 1.1;
}

.hotel__price small {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--muted);
}

.hotel__note {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 14px;
}

.hotel__hint {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 10px 0 0;
}

.hotel__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    padding: 44px 0;
    align-items: start;
}

.hotel__main {
    font-size: 17px;
}

.hotel__main h2 {
    margin-top: 1.4em;
}

.hotel__main ul {
    padding-left: 1.2em;
}

.hotel__aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.contact-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.contact-card h2 {
    font-size: 20px;
    margin-bottom: 14px;
}

.contact-card ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--muted);
}

.contact-card svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Фильтры и каталог ---------- */

.filters {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 18px;
}

.filters__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.chip span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    background: var(--paper);
}

.chip input:checked + span {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--cream);
}

.chip input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.catalog__count {
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0 20px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 36px 0 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--deep);
    text-decoration: none;
    font-size: 15px;
}

.pagination .current {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--cream);
}

.empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}

.empty .btn {
    margin-top: 8px;
}

/* ---------- Статьи ---------- */

.post-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.post-card__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    height: 100%;
    text-decoration: none;
    color: var(--ink);
}

.post-card__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--green);
}

.post-card h2 {
    font-size: 22px;
    margin: 0;
}

.post-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.post-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--green);
}

.article__meta {
    color: var(--muted);
    font-size: 14px;
}

.article__body {
    padding: 36px 0;
    font-size: 18px;
    line-height: 1.75;
}

.article__body h2 {
    margin-top: 1.6em;
}

.article__body blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    border-left: 3px solid var(--gold);
    background: var(--paper);
    font-family: var(--serif);
    font-size: 20px;
}

.seo-text {
    padding-top: 24px;
}

.seo-text h2 {
    font-size: 26px;
}

.seo-text p {
    color: var(--muted);
}

/* ---------- CTA ---------- */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border-radius: 24px;
    background: linear-gradient(140deg, #14473a, #0e352c);
    color: var(--cream);
    margin: 40px 0;
}

.cta h2 {
    color: #fff;
    margin-bottom: 4px;
}

.cta p {
    margin: 0;
    color: rgba(247, 242, 232, .78);
}

/* ---------- Поиск ---------- */

.searchform {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 560px;
    margin: 0 auto;
}

.searchform .field {
    flex: 1;
}

/* ---------- Адаптив ---------- */

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

    .grid--cards,
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .lead {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .hotel__hero-grid,
    .hotel__grid {
        grid-template-columns: 1fr;
    }

    .hotel__aside {
        position: static;
    }

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

    .header__phone {
        display: none;
    }

    .nav {
        position: fixed;
        inset: 76px 0 auto;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: block;
    }

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

    .burger {
        display: block;
    }

    .header__cta {
        display: none;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .hero__inner {
        padding: 56px 0 48px;
    }

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

    .stats {
        grid-template-columns: 1fr 1fr;
        padding: 22px;
    }

    .grid--cards,
    .grid--3,
    .grid--formats,
    .districts {
        grid-template-columns: 1fr;
    }

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

    .lead {
        padding: 24px;
        border-radius: 20px;
    }

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

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

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

    .footer__bottom {
        flex-direction: column;
    }

    .section {
        padding: 48px 0;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .page__head {
        padding: 28px 0 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Ритм внутри страниц ---------- */

.page__body > h2,
.hotel__main > h2 {
    margin-top: 2.2em;
}

.page__body > section + h2,
.page__body > .catalog + h2 {
    margin-top: 56px;
}

.page__body > section,
.page__body > .catalog {
    margin-bottom: 8px;
}

.article__body > h2 {
    margin-top: 2em;
}

@media (max-width: 720px) {
    .page__body > section + h2,
    .page__body > .catalog + h2 {
        margin-top: 36px;
    }
}
