/*
 * Новинки Парк — общие компоненты темы.
 * Обычный CSS, пересборка Tailwind не нужна. Подключается после main.css.
 * Всё лежит в слое components, поэтому утилиты Tailwind (mb-16, text-white и т. п.)
 * могут точечно переопределять компоненты прямо в разметке.
 *
 * Правила кнопок («золотая метка»):
 *  - главное действие (бронь, звонок) — .np-btn--primary: белая пилюля, золотая метка с иконкой
 *    справа; иконка: по умолчанию стрелка, .np-btn--cal — календарь, --phone — трубка, --send — Telegram;
 *    на фото и тёмном фоне добавляйте .np-btn--on-dark (та же кнопка в стекле);
 *  - второстепенное («все фото», «как добраться», «подробнее») — .np-btn--outline на светлом фоне,
 *    .np-btn--glass на тёмном фоне и на фото; иконку (<i>) ставьте перед текстом;
 *  - при наведении любая кнопка заливается золотом, текст тёмный;
 *  - текст на кнопках только тёмный или белый — золото только в метке, заливке и иконках.
 *  - заголовок секции — .np-h2, вводный текст — .np-lead;
 *  - капсула над заголовком — .np-eyebrow, метка на фото карточки — .np-tag.
 */

@layer components {

  :root {
    --np-gold: #AE9675;
    --np-gold-light: #C4AF8E;
    --np-gold-dark: #7A6649;
    --np-ink: #191F16;
    --np-muted: #555E40;
    --np-cream: #F5F2E9;
    --np-line: #E8E5D5;
    --np-gradient-gold: linear-gradient(135deg, var(--np-gold-light) 0%, var(--np-gold) 100%);
    --np-shadow-gold: 0 8px 25px rgba(174, 150, 117, 0.3);
    --np-radius-card: 1.5rem;
    --np-ease: cubic-bezier(.22, 1, .36, 1);
  }

  html { scroll-behavior: smooth; }

  /* ---------- Кнопки («золотая метка») ---------- */
  :root {
    --np-gold-mark: #AE9675;          /* песочный акцент палитры */
    --np-ink-btn: #303827;
    --np-ic-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
    --np-ic-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
    --np-ic-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    --np-ic-send: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
    --np-btn-h: 3.5rem;
    --np-mark: 2.5rem;
  }
  .np-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    height: var(--np-btn-h);
    padding: 0 1.75rem;
    box-sizing: border-box;
    border-radius: 9999px;
    border: 1px solid rgba(48, 56, 39, .2);
    background: rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: var(--np-ink-btn);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color .35s var(--np-ease), border-color .35s var(--np-ease), box-shadow .35s var(--np-ease);
  }
  /* слой заливки: у второстепенных растёт от иконки слева */
  .np-btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 2.125rem;
    width: 0;
    height: 0;
    border-radius: 9999px;
    background: var(--np-gold-mark);
    transition: top .45s var(--np-ease), left .45s var(--np-ease), right .45s var(--np-ease),
                width .45s var(--np-ease), height .45s var(--np-ease);
  }
  .np-btn:hover, .np-btn:focus-visible { color: var(--np-ink-btn); border-color: var(--np-gold-mark); box-shadow: 0 10px 28px rgba(174, 150, 117, .35); }
  .np-btn:hover::before, .np-btn:focus-visible::before { top: 0; left: 0; width: 100%; height: 100%; }
  .np-btn:focus-visible { outline: 3px solid rgba(174, 150, 117, .45); outline-offset: 3px; }
  .np-btn i { color: var(--np-gold-mark); transition: color .35s var(--np-ease); }
  .np-btn:hover i, .np-btn:focus-visible i { color: var(--np-ink-btn); }

  /* второстепенная на тёмном фоне и на фото */
  .np-btn--glass { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
  .np-btn--glass i { color: #C4AF8E; }

  /* главная: золотая метка справа, заливка растёт из неё */
  .np-btn--primary {
    --np-ic: var(--np-ic-arrow);
    padding: 0 calc(var(--np-mark) + 1.25rem) 0 1.75rem;
    background: #fff;
    border-color: rgba(48, 56, 39, .14);
    box-shadow: 0 6px 20px rgba(48, 56, 39, .08);
  }
  .np-btn--primary::before {
    top: calc((100% - var(--np-mark)) / 2);
    left: auto;
    right: calc((var(--np-btn-h) - var(--np-mark)) / 2 - 1px);
    width: var(--np-mark);
    height: var(--np-mark);
  }
  .np-btn--primary:hover::before, .np-btn--primary:focus-visible::before { top: 0; right: 0; left: auto; width: 100%; height: 100%; }
  .np-btn--primary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc((var(--np-btn-h) - var(--np-mark)) / 2 - 1px + (var(--np-mark) - 1.125rem) / 2);
    width: 1.125rem;
    height: 1.125rem;
    margin-top: -.5625rem;
    background: var(--np-ink-btn);
    -webkit-mask: var(--np-ic) center / contain no-repeat;
    mask: var(--np-ic) center / contain no-repeat;
    transition: transform .35s var(--np-ease);
  }
  .np-btn--primary:hover::after { transform: translateX(2px); }
  .np-btn--cal   { --np-ic: var(--np-ic-cal); }
  .np-btn--phone { --np-ic: var(--np-ic-phone); }
  .np-btn--send  { --np-ic: var(--np-ic-send); }
  .np-btn--primary.np-btn--on-dark { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); box-shadow: none; }
  .np-btn--primary.np-btn--on-dark:hover, .np-btn--primary.np-btn--on-dark:focus-visible { color: var(--np-ink-btn); border-color: var(--np-gold-mark); }

  .np-btn--sm { --np-btn-h: 2.875rem; --np-mark: 2rem; padding: 0 1.375rem; font-size: .9375rem; }
  .np-btn--sm.np-btn--primary { padding: 0 calc(var(--np-mark) + 1rem) 0 1.25rem; }
  .np-btn--lg { --np-btn-h: 4rem; --np-mark: 3rem; padding: 0 2.25rem; font-size: 1.0625rem; }
  .np-btn--lg.np-btn--primary { padding: 0 calc(var(--np-mark) + 1.5rem) 0 2.25rem; }
  .np-btn--block { display: flex; width: 100%; }

  /* ссылка-переход с маленькой меткой («Подробнее» в карточках) */
  .np-link { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--np-ink-btn); text-decoration: none; }
  .np-link::after {
    content: "";
    width: 1.875rem; height: 1.875rem; flex: none;
    border-radius: 9999px;
    background: var(--np-ic-arrow) center / .9375rem no-repeat, var(--np-gold-mark);
    transition: transform .3s var(--np-ease);
  }
  .np-link:hover { color: var(--np-ink-btn); }
  .np-link:hover::after { transform: translateX(6px); }

  /* ---------- Капсулы и метки ---------- */
  .np-badge {                       /* стеклянная капсула в шапке (hero) */
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    color: #fff;
    font-size: .875rem;
    letter-spacing: .03em;
  }
  .np-badge i { color: var(--np-gold-light); font-size: 1rem; }
  .np-badge__dot {
    width: .5rem; height: .5rem; border-radius: 9999px; flex-shrink: 0;
    background: var(--np-gold);
    animation: np-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
  }
  @keyframes np-pulse { 50% { opacity: .5; } }

  .np-eyebrow {                     /* капсула над заголовком секции */
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem 1.5rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(174, 150, 117, .3);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 30px rgba(174, 150, 117, .15);
    color: var(--np-gold-dark);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .np-eyebrow i, .np-eyebrow svg { color: var(--np-gold); }
  .np-eyebrow--dark {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(174, 150, 117, .4);
    box-shadow: 0 8px 30px rgba(174, 150, 117, .2);
    color: #fff;
  }
  .np-eyebrow--dark i, .np-eyebrow--dark svg { color: var(--np-gold-light); }

  .np-tag {                         /* метка поверх фото в карточке */
    display: inline-flex;
    align-items: center;
    padding: .375rem .75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .92);
    border: 1.5px solid rgba(174, 150, 117, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--np-ink);
    font-size: .75rem;
    letter-spacing: .03em;
    line-height: 1.2;
  }

  /* ---------- Типографика секций ---------- */
  .np-h2 {
    margin: 0 0 1rem;
    color: var(--np-ink);
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.015em;
  }
  @media (min-width: 768px)  { .np-h2 { font-size: 2.25rem; } }
  @media (min-width: 1024px) { .np-h2 { font-size: 3rem; } }

  .np-lead {
    color: var(--np-muted);
    font-size: 1rem;
    line-height: 1.7;
  }
  @media (min-width: 768px) { .np-lead { font-size: 1.125rem; } }
  .np-lead > * + * { margin-top: .75rem; }
  .np-lead--dark { color: rgba(255, 255, 255, .8); }

  /* ---------- Шапка страницы (hero) ---------- */
  .np-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: #191F16 center / cover no-repeat;
    color: #fff;
  }
  .np-hero--full { min-height: 100vh; min-height: 100svh; }
  .np-hero--page { min-height: 72vh; min-height: 72svh; }

  .np-hero__media { position: absolute; inset: 0; z-index: 0; }
  .np-hero__media img,
  .np-hero__media video { width: 100%; height: 100%; object-fit: cover; }
  .np-hero__media video { opacity: 0; transition: opacity .8s ease; }
  .np-hero__media video.is-ready { opacity: 1; }
  .np-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .65) 100%);
  }

  .np-hero__inner {
    position: relative; z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;   /* у всех шапок бейдж и заголовок на одной высоте, как на главной */
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 8rem 1rem 6rem;
    text-align: center;
  }
  @media (min-width: 640px) { .np-hero__inner { padding-top: 10rem; } }
  @media (min-width: 768px) { .np-hero__inner { padding-top: 12rem; } }
  .np-hero__inner--top { padding-bottom: 2rem; }   /* под содержимым идёт блок extra (плитки) */

  .np-hero__badge { margin-bottom: 1.5rem; }
  @media (min-width: 640px) { .np-hero__badge { margin-bottom: 2rem; } }

  .np-h1 {
    max-width: 56rem;
    margin: 0 0 1.5rem;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: #fff;
  }
  @media (min-width: 640px)  { .np-h1 { font-size: 3rem; } }
  @media (min-width: 768px)  { .np-h1 { font-size: 3.75rem; } }
  @media (min-width: 1024px) { .np-h1 { font-size: 4.5rem; max-width: 72rem; } }   /* «Банный комплекс в Новинки Парк» — в одну строку */
  .np-hero--page .np-h1 { max-width: 48rem; }
  @media (min-width: 1024px) { .np-hero--page .np-h1 { font-size: 3.75rem; } }

  .np-hero__text {
    max-width: 48rem;
    margin: 0 0 2.5rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.0625rem;
    line-height: 1.65;
  }
  @media (min-width: 768px)  { .np-hero__text { font-size: 1.25rem; } }
  @media (min-width: 1024px) { .np-hero__text { font-size: 1.375rem; } }
  .np-hero__text > * + * { margin-top: .75rem; }

  .np-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  @media (max-width: 639px) { .np-hero__actions { flex-direction: column; width: 100%; max-width: 22rem; } }

  .np-hero__extra {
    position: relative; z-index: 2;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem 2rem;
  }
  @media (min-width: 640px) { .np-hero__extra { padding-bottom: 3rem; } }
  @media (min-width: 768px) { .np-hero__extra { padding-bottom: 5rem; } }

  .np-hero__scroll {
    position: absolute; left: 50%; bottom: 2rem; z-index: 3;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 1.75rem;
    line-height: 1;
    animation: np-bounce 1.6s infinite;
    transition: color .3s;
  }
  .np-hero__scroll:hover { color: #fff; }
  @keyframes np-bounce {
    0%, 100% { transform: translate(-50%, -25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
    50%      { transform: translate(-50%, 0);    animation-timing-function: cubic-bezier(0, 0, .2, 1); }
  }
  .np-anchor { display: block; position: relative; top: -6rem; visibility: hidden; }

  /* ---------- Секции и сетки ---------- */
  .np-section { padding: 5rem 1rem; background: #fff; color: var(--np-ink); }
  @media (min-width: 768px) { .np-section { padding: 6.5rem 1.5rem; } }
  .np-section--soft { background: #F5F2E9; }
  .np-section--dark { background: var(--np-ink); color: #fff; }
  .np-container { max-width: 80rem; margin: 0 auto; }
  .np-container--narrow { max-width: 74rem; }
  .np-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
  .np-section-head-row .np-h2 { margin-bottom: .5rem; }

  /* ---------- Страница дома ---------- */
  .np-hero--overlap .np-hero__inner { padding-bottom: 10rem; }

  .np-factbar-wrap { position: relative; z-index: 5; margin-top: -5.5rem; padding: 0 1rem; background: linear-gradient(to bottom, transparent 5.5rem, #fff 5.5rem); }
  .np-factbar {
    max-width: 74rem; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem;
    padding: 1.5rem; border-radius: 1.75rem; background: #fff;
    box-shadow: 0 30px 60px -20px rgba(25, 31, 22, .25);
  }
  @media (min-width: 768px) { .np-factbar { padding: 1.75rem 2rem; } }
  .np-fact { display: flex; align-items: center; gap: .875rem; flex: 1 1 11rem; min-width: 0; }
  .np-fact__icon {
    width: 3rem; height: 3rem; border-radius: 1rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--np-cream); color: var(--np-gold); font-size: 1.125rem;
  }
  .np-fact__value { font-size: 1.125rem; color: var(--np-ink); line-height: 1.3; }
  .np-fact__label { font-size: .8125rem; color: var(--np-muted); line-height: 1.3; }
  .np-factbar__price {
    flex: 1 1 15rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.25rem;
    padding-left: 1.5rem; border-left: 1px solid var(--np-line);
  }
  @media (max-width: 767px) { .np-factbar__price { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px solid var(--np-line); justify-content: space-between; } }
  .np-price { font-size: 1.75rem; letter-spacing: -.02em; color: var(--np-ink); line-height: 1.2; }
  .np-price span { font-size: .875rem; color: var(--np-muted); letter-spacing: 0; }

  .np-split { max-width: 80rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
  .np-split__text { flex: 1 1 26rem; min-width: 0; }
  .np-split__media { flex: 1 1 32rem; min-width: 0; }
  .np-split__media img {
    display: block; width: 100%; height: 28rem; object-fit: cover; border-radius: 2rem;
    box-shadow: 0 30px 70px -15px rgba(174, 150, 117, .35);
  }

  .np-photo-grid {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem;
  }
  @media (min-width: 768px) { .np-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 14rem; gap: 1rem; } }
  .np-photo {
    position: relative; display: block; padding: 0; border: 0; cursor: zoom-in;
    border-radius: 1.25rem; overflow: hidden; background: var(--np-cream);
  }
  .np-photo:first-child { grid-column: span 2; grid-row: span 2; border-radius: 1.75rem; }
  .np-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--np-ease); }
  .np-photo:hover img { transform: scale(1.05); }
  .np-photo:focus-visible { outline: 3px solid rgba(174, 150, 117, .6); outline-offset: 3px; }
  .np-photo--more { display: none; }

  .np-amenities { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
  .np-amenity { display: flex; align-items: center; gap: .875rem; padding: .375rem 0; }
  .np-amenity__icon {
    width: 2.75rem; height: 2.75rem; border-radius: .875rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--np-cream); color: var(--np-gold); font-size: 1.0625rem;
  }
  .np-amenity__name { font-size: 1rem; color: var(--np-ink); line-height: 1.35; }

  .np-book { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
  .np-book__head .np-h2 { margin: 1.25rem 0 .75rem; }
  .np-book__head .np-lead { margin: 0; }
  .np-book__widget, .np-book__prices { width: 100%; max-width: 56rem; }
  .np-book__widget { min-width: 0; background: #fff; color: var(--np-ink); border-radius: 1.75rem; padding: 1.5rem; text-align: left; }
  .np-book__prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
  .np-book__price { display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: 1.25rem 1.5rem; border-radius: 1.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }
  .np-book__price span { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .np-book__price strong { font-family: var(--np-serif); font-weight: 500; font-size: 1.75rem; line-height: 1.1; color: #fff; font-variant-numeric: lining-nums; }
  .np-book__price small { font-size: 1.125rem; color: rgba(255, 255, 255, .6); }
  .np-book__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; }
  .np-book__note { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
  .np-book__note i { color: var(--np-gold-light); }
  .np-book__note a { color: var(--np-gold-light); }

  .np-rules { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .np-rule { display: flex; gap: .875rem; align-items: flex-start; padding: 1.25rem; border-radius: 1.25rem; border: 1px solid var(--np-line); background: #fff; }
  .np-rule > i { color: var(--np-gold); font-size: 1.25rem; margin-top: .125rem; }
  .np-rule__label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--np-muted); margin-bottom: .25rem; }

  .np-house-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
  .np-house-card {
    display: block; text-decoration: none; color: var(--np-ink); background: #fff;
    border-radius: var(--np-radius-card); overflow: hidden; border: 1px solid var(--np-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06); transition: transform .4s var(--np-ease), box-shadow .4s var(--np-ease);
  }
  .np-house-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .1); }
  .np-house-card img { display: block; width: 100%; height: 13.75rem; object-fit: cover; }
  .np-house-card__body { padding: 1.5rem; }
  .np-house-card__title { font-size: 1.375rem; margin-bottom: .5rem; }
  .np-house-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .875rem; color: var(--np-muted); margin-bottom: 1rem; }
  .np-house-card__meta i { color: var(--np-gold); margin-right: .25rem; }
  .np-house-card__price { font-size: .875rem; color: var(--np-muted); }
  .np-house-card__price b { font-size: 1.375rem; font-weight: 400; color: var(--np-ink); }

  .np-mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--np-line);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .08); color: var(--np-ink);
  }
  .np-mobile-bar b { font-size: 1.25rem; font-weight: 400; }
  .np-mobile-bar__from { font-size: .8125rem; color: var(--np-muted); }
  .np-mobile-bar-spacer { height: 4.75rem; }
  @media (min-width: 768px) { .np-mobile-bar, .np-mobile-bar-spacer { display: none; } }

  /* ---------- Текст из визуального редактора (контент страниц) ---------- */
  .np-content { color: #303827; font-size: 1.0625rem; line-height: 1.75; }
  .np-content > :first-child { margin-top: 0; }
  .np-content h1, .np-content h2 { margin: 2.5rem 0 1rem; color: var(--np-ink); font-size: 1.875rem; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
  @media (min-width: 768px) { .np-content h1, .np-content h2 { font-size: 2.25rem; } }
  .np-content h3 { margin: 2rem 0 .75rem; color: var(--np-ink); font-size: 1.375rem; font-weight: 500; line-height: 1.3; }
  .np-content h4 { margin: 1.5rem 0 .5rem; color: var(--np-ink); font-size: 1.125rem; font-weight: 600; }
  .np-content p { margin: 0 0 1rem; }
  .np-content ul, .np-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
  .np-content ul { list-style: disc; }
  .np-content ol { list-style: decimal; }
  .np-content li { margin: .375rem 0; }
  .np-content li::marker { color: var(--np-gold); }
  .np-content a { color: var(--np-gold); text-decoration: underline; text-underline-offset: 3px; }
  .np-content a:hover { color: var(--np-gold-dark); }
  .np-content strong, .np-content b { font-weight: 600; color: var(--np-ink); }
  .np-content img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: var(--np-radius-card); }
  .np-content blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--np-gold); background: var(--np-cream); border-radius: 0 1rem 1rem 0; }
  .np-content table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .9375rem; }
  .np-content th, .np-content td { padding: .75rem 1rem; border-bottom: 1px solid var(--np-line); text-align: left; }
  .np-content th { color: var(--np-ink); font-weight: 600; background: var(--np-cream); }
  .np-content hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--np-line); }


  /* ---------- Меню навигации (parts/navigation.tpl): тёмное стекло, светлый текст ---------- */
  .np-nav {
    background: rgba(25, 31, 22, .22);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    backdrop-filter: blur(28px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background .4s ease, box-shadow .4s ease;
  }
  /* стекло не меняет цвет при прокрутке; над светлыми секциями текст держит лёгкая тень */
  .np-nav.is-scrolled { box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .3); }
  .np-nav__brand, .np-nav__links > a:not([href^="tel:"]) { text-shadow: 0 1px 3px rgba(14, 18, 12, .45); }

  /* ---------- Главная в новой стилистике (parts/landing/sections) ---------- */
  :root { --np-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; }
  /* у Cormorant по умолчанию «старые» цифры (1 и 0 ниже строчных) — включаем обычные */
  .np-hero--serif .np-h1, .npm-h2, .npm-stats b, .npm-card__name, .npm-card__price b, .npm-act__name, .npm-panel__title, .npa__h1, .npa__title, .npa__count b, .npa__pv-num { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
  .np-hero--serif .np-h1 { font-family: var(--np-serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.02; }
  @media (min-width: 1024px) { .np-hero--serif .np-h1 { font-size: 4.75rem; } }
  .npm { --npm-bg: #191F16; --npm-bg2: #222A1D; --npm-tx: #F5F2E9; --npm-mu: rgba(245, 242, 233, .68); background: var(--npm-bg); color: var(--npm-tx); }
  .npm-sec { position: relative; padding: 7rem 0; background: var(--npm-bg); }
  .npm-sec--alt { background: var(--npm-bg2); }
  .npm-sec--tight { padding: 4.5rem 0; }
  .npm-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
  .npm-eyebrow { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--np-gold-light); }
  .npm-h2 { margin: 1rem 0 1rem; font-family: var(--np-serif); font-weight: 500; font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; color: #fff; }
  .npm-lead, .npm-lead p { margin: 0; max-width: 36rem; font-size: 1.0625rem; line-height: 1.65; color: var(--npm-mu); }
  .npm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .npm-link { display: inline-flex; align-items: center; gap: .5rem; padding-bottom: .25rem; border-bottom: 1px solid rgba(174, 150, 117, .6); font-size: .9375rem; font-weight: 600; color: var(--npm-tx, #F5F2E9); text-decoration: none; white-space: nowrap; transition: color .3s, gap .3s; }
  .npm-link svg { width: 1rem; height: 1rem; color: var(--np-gold-light); }
  .npm-link:hover { color: var(--np-gold-light); gap: .75rem; }
  .npm-grade { filter: saturate(.75) contrast(1.06) brightness(.85) sepia(.12); }

  /* бронирование */
  .npm-booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2.5rem; border-radius: 2rem; background: var(--npm-bg2); border: 1px solid rgba(245, 242, 233, .1); }
  @media (min-width: 1024px) { .npm-booking { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); padding: 3rem; } }
  .npm-booking__head .npm-h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
  .npm-booking__widget { padding: 1.25rem; border-radius: 1.5rem; background: var(--np-cream); color: var(--np-ink); }

  /* о парке */
  .npm-about { min-height: 40rem; display: flex; align-items: center; overflow: hidden; }
  .npm-about__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .npm-about__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--npm-bg) 0%, rgba(25, 31, 22, .78) 40%, rgba(25, 31, 22, .25) 100%), linear-gradient(180deg, var(--npm-bg) 0%, rgba(25, 31, 22, 0) 25%, rgba(25, 31, 22, 0) 75%, var(--npm-bg) 100%); }
  .npm-about__inner { position: relative; width: 100%; }
  .npm-about__text { max-width: 34rem; }
  .npm-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 3.5rem 0 0; padding: 0; list-style: none; }
  .npm-stats li { min-width: 10rem; padding: .25rem 2.25rem .25rem 0; margin-right: 2.25rem; border-right: 1px solid rgba(174, 150, 117, .35); }
  .npm-stats li:last-child { border-right: 0; }
  .npm-stats b { display: block; font-family: var(--np-serif); font-weight: 500; font-size: 2.75rem; line-height: 1; color: #fff; }
  .npm-stats span { display: block; margin-top: .5rem; font-size: .875rem; line-height: 1.4; color: var(--npm-mu); }

  /* коттеджи */
  .npm-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 1fr); gap: 1.25rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: rgba(174, 150, 117, .4) transparent; }
  @media (min-width: 1024px) { .npm-cards { grid-auto-columns: calc((100% - 3.75rem) / 4); } }
  .npm-card { border-radius: 1.5rem; overflow: hidden; background: var(--npm-bg2); border: 1px solid rgba(245, 242, 233, .08); }
  .npm-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
  .npm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--np-ease); }
  .npm-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .65)); }
  .npm-card:hover .npm-card__media img { transform: scale(1.05); }
  .npm-card__name { position: absolute; z-index: 1; left: 1.25rem; bottom: 1rem; font-family: var(--np-serif); font-size: 2rem; line-height: 1; color: #fff; }
  .npm-card__body { padding: 1.25rem; }
  .npm-card__meta { font-size: .875rem; color: var(--npm-mu); }
  .npm-card__price { margin-top: .375rem; font-size: .9375rem; color: var(--npm-mu); }
  .npm-card__price b { font-family: var(--np-serif); font-weight: 500; font-size: 1.5rem; color: #fff; }
  .npm-card__links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(245, 242, 233, .1); }
  .npm-card__book { font-size: .875rem; font-weight: 600; color: var(--np-gold-light); text-decoration: none; }
  .npm-card__book:hover { color: #fff; }

  /* активности */
  .npm-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
  .npm-act { position: relative; display: block; height: 22rem; border-radius: 1.5rem; overflow: hidden; color: #fff; text-decoration: none; }
  .npm-act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--np-ease); }
  .npm-act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(12, 15, 10, .8)); }
  .npm-act:hover img { transform: scale(1.05); }
  .npm-act__body { position: absolute; z-index: 1; left: 1.5rem; right: 4.5rem; bottom: 1.5rem; }
  .npm-act__tag { display: block; margin-bottom: .5rem; font-size: .8125rem; color: rgba(255, 255, 255, .75); }
  .npm-act__name { display: block; font-family: var(--np-serif); font-size: 2rem; line-height: 1.05; }
  .npm-act__go { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.5rem; width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: var(--np-gold-light); color: #191F16; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
  .npm-act__go svg { width: 1rem; height: 1rem; }
  .npm-act:hover .npm-act__go { transform: rotate(45deg); }

  /* баня и ресторан */
  .npm-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
  @media (min-width: 900px) { .npm-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .npm-panel { position: relative; display: flex; align-items: flex-end; min-height: 34rem; border-radius: 2rem; overflow: hidden; color: #fff; text-decoration: none; }
  .npm-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--np-ease); }
  .npm-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 20%, rgba(14, 18, 12, .55) 50%, rgba(14, 18, 12, .94) 100%); }
  .npm-panel:hover img { transform: scale(1.04); }
  .npm-panel__body { position: relative; z-index: 1; display: block; padding: 2.5rem; max-width: 34rem; }
  .npm-panel__title { display: block; margin: .875rem 0 .75rem; font-family: var(--np-serif); font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1.04; }
  .npm-panel__text { display: block; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }

  /* карта и отзывы */
  .npm-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  @media (min-width: 1024px) { .npm-map { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
  .npm-frame { position: relative; height: 34rem; border-radius: 1.75rem; overflow: hidden; border: 1px solid rgba(245, 242, 233, .12); background: #fff; display: flex; flex-direction: column; }
  .npm-frame iframe { width: 100%; flex: 1; border: 0; }
  .npm-map__reviews a { padding: .75rem; text-align: center; font-size: .75rem; color: #555E40; background: #fff; text-decoration: none; }

  @media (max-width: 767px) {
    .npm-sec { padding: 4.5rem 0; }
    .npm-booking { padding: 1.5rem; }
    .npm-stats li { min-width: 45%; margin: 0 0 1.5rem; padding-right: 1rem; border-right: 0; }
    .npm-panel { min-height: 28rem; }
    .npm-panel__body { padding: 1.75rem; }
    .npm-frame { height: 26rem; }
  }

  /* кремовая кнопка с золотой меткой (главное действие в тёмных блоках) */
  .npm-cta { display: inline-flex; align-items: center; gap: .75rem; height: 3.25rem; padding: 0 .5rem 0 1.625rem; border-radius: 9999px; background: var(--np-cream); color: #191F16; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background .3s; }
  .npm-cta i { width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: var(--np-gold-light); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
  .npm-cta svg { width: 1rem; height: 1rem; }
  .npm-cta:hover { background: #fff; color: #191F16; }
  .npm-cta:hover i { transform: translateX(3px); }

  /* ---------- Банный комплекс (parts/landing_bath/sections) ---------- */
  .npb-baths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  @media (min-width: 900px) { .npb-baths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .npb-bath { display: flex; flex-direction: column; border-radius: 2rem; overflow: hidden; background: var(--npm-bg2); border: 1px solid rgba(245, 242, 233, .08); color: var(--npm-tx); text-decoration: none; }
  .npb-bath__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
  .npb-bath__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--np-ease); }
  .npb-bath:hover .npb-bath__media img { transform: scale(1.04); }
  .npb-bath__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2rem; flex: 1; }
  .npb-bath__name { font-family: var(--np-serif); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; color: #fff; font-variant-numeric: lining-nums; }
  .npb-feat ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
  .npb-feat li { padding: .375rem .875rem; border-radius: 9999px; border: 1px solid rgba(245, 242, 233, .16); font-size: .875rem; color: var(--npm-mu); }
  .npb-bath .npm-link { margin-top: auto; }

  /* бани строками: фото + описание, стороны чередуются */
  .npb-rows { display: grid; gap: 4.5rem; }
  .npb-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
  @media (min-width: 900px) {
    .npb-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
    .npb-row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .npb-row--flip .npb-row__media { order: 2; }
  }
  .npb-row__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 11; padding: 0; border: 0; border-radius: 2rem; overflow: hidden; background: var(--npm-bg2); cursor: zoom-in; }
  .npb-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--np-ease); }
  .npb-row__media:hover img { transform: scale(1.04); }
  .npb-row__count { position: absolute; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border-radius: 9999px; background: rgba(25, 31, 22, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .8125rem; color: #fff; }
  .npb-row__count i { color: var(--np-gold-light); }
  .npb-row__title { margin: .875rem 0 1rem; font-family: var(--np-serif); font-weight: 500; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1.05; color: #fff; }
  .npb-row__lead { margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.65; color: var(--npm-mu); }
  .npb-row .npb-feat ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem 1.5rem; margin: 0 0 2rem; padding: 1.25rem 0 0; border-top: 1px solid rgba(245, 242, 233, .1); list-style: none; }
  .npb-row .npb-feat li { position: relative; padding: 0 0 0 1rem; border: 0; border-radius: 0; font-size: .9375rem; color: var(--npm-tx); }
  .npb-row .npb-feat li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 9999px; background: var(--np-gold-light); }
  .npb-row__more { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font: inherit; font-weight: 600; }
  .npb-table { margin-top: 2.5rem; border-top: 1px solid rgba(245, 242, 233, .14); }
  .npb-table__row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(var(--npb-cols, 2), minmax(0, 1fr)); align-items: center; border-bottom: 1px solid rgba(245, 242, 233, .1); }
  .npb-table__label, .npb-table__val { padding: 1.125rem 1rem; }
  .npb-table__label { font-size: 1rem; color: var(--npm-tx); }
  .npb-table__val { text-align: center; color: var(--npm-mu); }
  .npb-table__row--head .npb-table__val { font-family: var(--np-serif); font-size: 1.625rem; color: #fff; }
  .npb-table__row--price .npb-table__val { font-family: var(--np-serif); font-size: 1.625rem; color: var(--np-gold-light); font-variant-numeric: lining-nums; }
  .npb-yes, .npb-no { width: 1.375rem; height: 1.375rem; display: inline-block; vertical-align: middle; }
  .npb-yes { color: var(--np-gold-light); }
  .npb-no, .npb-none { color: rgba(245, 242, 233, .3); }
  @media (max-width: 640px) {
    .npb-table__row { grid-template-columns: minmax(0, 1fr) repeat(var(--npb-cols, 2), minmax(0, 5.5rem)); }
    .npb-table__label, .npb-table__val { padding: .875rem .375rem; font-size: .875rem; }
    .npb-table__row--head .npb-table__val, .npb-table__row--price .npb-table__val { font-size: 1.125rem; }
  }

  .npb-for { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
  .npb-occ { position: relative; display: flex; align-items: flex-end; min-height: 26rem; border-radius: 1.5rem; overflow: hidden; }
  .npb-occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .npb-occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(14, 18, 12, .6) 55%, rgba(14, 18, 12, .94)); }
  .npb-occ__body { position: relative; z-index: 1; padding: 1.75rem; }
  .npb-occ__name { margin: 0 0 .625rem; font-family: var(--np-serif); font-weight: 500; font-size: 2rem; line-height: 1.05; color: #fff; }
  .npb-occ__text, .npb-occ__text p { margin: 0; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }

  .npb-options { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
  .npb-options .npm-h2 { margin-bottom: 0; font-size: clamp(1.875rem, 3vw, 2.5rem); }
  .npb-opts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
  .npb-opts li { display: inline-flex; align-items: center; gap: .625rem; padding: .75rem 1.25rem; border-radius: 9999px; border: 1px solid rgba(174, 150, 117, .4); color: var(--npm-tx); font-size: .9375rem; }
  .npb-opts i { color: var(--np-gold-light); }

  .npb-book { position: relative; overflow: hidden; border-radius: 2rem; border: 1px solid rgba(245, 242, 233, .08); }
  .npb-book__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .npb-book__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 31, 22, .96) 0%, rgba(25, 31, 22, .82) 45%, rgba(25, 31, 22, .3) 100%); }
  .npb-book__inner { position: relative; max-width: 40rem; padding: 4.5rem 4rem; }
  .npb-book .npm-lead { margin-bottom: 2.25rem; }
  .npb-facts { display: grid; gap: 1rem; margin: 0 0 2.5rem; padding: 1.5rem 0 0; border-top: 1px solid rgba(174, 150, 117, .3); }
  .npb-facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
  .npb-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 242, 233, .5); }
  .npb-facts dd { margin: 0; font-size: 1rem; color: var(--npm-tx); }
  @media (max-width: 640px) { .npb-book__inner { padding: 2.5rem 1.5rem; } .npb-facts div { grid-template-columns: 1fr; gap: .25rem; } }

  /* ---------- Ресторан (parts/landing_restaurant/sections) ---------- */
  .npm-content { font-size: 1.0625rem; line-height: 1.7; color: var(--npm-mu); }
  .npm-content p { margin: 0 0 1rem; }
  .npm-content strong, .npm-content b { color: var(--npm-tx); font-weight: 600; }
  .npm-content a { color: var(--np-gold-light); }
  .npr-about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
  @media (min-width: 900px) { .npr-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; } }
  .npr-about__media { border-radius: 2rem; overflow: hidden; aspect-ratio: 4 / 5; }
  .npr-about__media img { width: 100%; height: 100%; object-fit: cover; }
  .npr-menus { margin-top: 0; }
  .npr-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 1100px) { .npr-events { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 640px) { .npr-events { grid-template-columns: minmax(0, 1fr); } }
  .npr-menus .npm-panel:only-child { grid-column: 1 / -1; min-height: 30rem; }

  .npr-gallery__main { position: relative; height: clamp(22rem, 48vw, 36rem); border-radius: 2rem; overflow: hidden; }
  .npr-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
  .npr-gallery__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(14, 18, 12, .8)); pointer-events: none; }
  .npr-gallery__caption { position: absolute; z-index: 1; left: 2rem; bottom: 1.75rem; margin: 0; font-family: var(--np-serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: #fff; }
  .npr-gallery__nav { position: absolute; z-index: 2; top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(25, 31, 22, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s, color .3s; }
  .npr-gallery__nav svg { width: 1.25rem; height: 1.25rem; }
  .npr-gallery__nav:hover { border-color: var(--np-gold-light); color: var(--np-gold-light); }
  .npr-gallery__nav--prev { left: 1.25rem; }
  .npr-gallery__nav--next { right: 1.25rem; }
  .npr-gallery__thumbs { display: flex; gap: .75rem; overflow-x: auto; padding: 1rem .25rem .5rem; scrollbar-width: none; }
  .npr-gallery__thumbs::-webkit-scrollbar { display: none; }
  .npr-gallery__thumbs .thumb { flex: none; width: 9rem; height: 6rem; padding: 0; border: 0; border-radius: .875rem; overflow: hidden; cursor: pointer; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
  .npr-gallery__thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .npr-gallery__thumbs .thumb:hover { opacity: .85; }
  .npr-gallery__thumbs .thumb.ring-4 { opacity: 1; outline-color: var(--np-gold-light); box-shadow: none; transform: none; }
  .npr-facts { margin-top: 3rem; }
  .npr-facts span { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 242, 233, .5); }
  .npr-facts b { font-size: 1.75rem; line-height: 1.15; }
  .npr-facts li { min-width: 12rem; }
  .npb-facts dd a { color: var(--npm-tx); text-decoration: none; border-bottom: 1px solid rgba(174, 150, 117, .5); }
  .npb-facts dd a:hover { color: var(--np-gold-light); }

  /* ---------- Каталог домов (parts/secondary/pages/cottages.tpl) ---------- */
  .npc-count { font-family: var(--np-serif); font-size: 1.75rem; color: var(--npm-mu); font-variant-numeric: lining-nums; }
  .npc-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(245, 242, 233, .12); }
  .npc-group { display: flex; flex-wrap: wrap; gap: .5rem; }
  .npc-group button { height: 2.5rem; padding: 0 1.125rem; border-radius: 9999px; border: 1px solid rgba(245, 242, 233, .18); background: transparent; color: var(--npm-mu); font: inherit; font-size: .875rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
  .npc-group button:hover { border-color: rgba(174, 150, 117, .6); color: var(--npm-tx); }
  .npc-group button.is-on { background: var(--np-cream); border-color: var(--np-cream); color: #191F16; font-weight: 600; }
  .npc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
  .npc-card[hidden] { display: none; }
  .npc-card__tag { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .3125rem .75rem; border-radius: 9999px; background: rgba(25, 31, 22, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .75rem; color: #fff; }
  .npc-empty { margin: 2rem 0 0; color: var(--npm-mu); }
  .npc-text { max-width: 52rem; }
  .npc-text h2, .npc-text h3 { font-family: var(--np-serif); font-weight: 500; color: #fff; }

  /* ---------- Контакты (parts/secondary/pages/contacts.tpl) ---------- */
  .npk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; }
  @media (min-width: 1024px) { .npk { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
  .npk__facts { margin-top: 2rem; }
  .npk__facts dd { font-size: 1.0625rem; }
  .npk__note { display: block; margin-top: .25rem; font-size: .875rem; color: var(--np-gold-light); }
  .npk__route { margin-top: .5rem; }
  .npk__route p { margin: .75rem 0 0; font-size: .9375rem; line-height: 1.7; color: var(--npm-mu); }
  .npk__map { height: clamp(26rem, 60vh, 38rem); position: sticky; top: 7rem; }
  .npk__req { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem 2rem; margin: 1.5rem 0 0; }
  .npk__req div { padding-top: .875rem; border-top: 1px solid rgba(245, 242, 233, .1); }
  .npk__req-wide { grid-column: span 2; }
  @media (max-width: 640px) { .npk__req-wide { grid-column: auto; } }
  .npk__req dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 242, 233, .45); }
  .npk__req dd { margin: .375rem 0 0; font-size: .9375rem; color: var(--npm-tx); font-variant-numeric: tabular-nums; }

  /* ---------- Страница дома в тёмной стилистике (обёртка .npo в object.tpl) ---------- */
  .npo .np-section { background: var(--npm-bg); color: var(--npm-tx); }
  .npo .np-section--soft { background: var(--npm-bg2); }
  .npo .np-h2 { font-family: var(--np-serif); font-weight: 500; color: #fff; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.05; margin: .875rem 0 .75rem; font-variant-numeric: lining-nums; }
  .npo .np-lead { color: var(--npm-mu); }
  .npo .np-content { color: var(--npm-mu); }
  .npo .np-content strong, .npo .np-content b, .npo .np-content h2, .npo .np-content h3 { color: var(--npm-tx); }
  .npo .np-factbar-wrap { background: linear-gradient(to bottom, transparent 5.5rem, var(--npm-bg) 5.5rem); }
  .npo .np-factbar { background: var(--npm-bg2); border: 1px solid rgba(245, 242, 233, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
  .npo .np-fact__icon { background: rgba(174, 150, 117, .12); color: var(--np-gold-light); }
  .npo .np-fact__value { color: var(--npm-tx); }
  .npo .np-fact__label { color: rgba(245, 242, 233, .5); }
  .npo .np-factbar__price { border-color: rgba(245, 242, 233, .12); }
  .npo .np-price { font-family: var(--np-serif); font-size: 2.25rem; color: #fff; font-variant-numeric: lining-nums; }
  .npo .np-price span { font-family: 'Open Sans', sans-serif; color: rgba(245, 242, 233, .5); }
  .npo .np-split__media img { box-shadow: none; filter: saturate(.75) contrast(1.06) brightness(.85) sepia(.12); }
  .npo .np-photo { background: var(--npm-bg2); }
  .npo .npo-more { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font: inherit; font-weight: 600; }
  .npo .np-amenity__icon { background: rgba(174, 150, 117, .12); color: var(--np-gold-light); }
  .npo .np-amenity__name { color: var(--npm-tx); }
  .npo .np-section--dark { background: var(--npm-bg2); }
  .npo .np-book__widget { background: var(--np-cream); }
  .npo .np-book__price { background: rgba(245, 242, 233, .04); border-color: rgba(245, 242, 233, .12); }
  .npo .np-rule { background: var(--npm-bg2); border-color: rgba(245, 242, 233, .1); color: var(--npm-tx); }
  .npo .np-rule > i { color: var(--np-gold-light); }
  .npo .np-rule__label { color: rgba(245, 242, 233, .5); }
  .npo .np-house-grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
  .npm-cta--sm { height: 2.75rem; padding-left: 1.125rem; font-size: .875rem; }
  .npm-cta--sm i { width: 2rem; height: 2rem; }
  .np-mobile-bar { background: rgba(25, 31, 22, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top-color: rgba(245, 242, 233, .1); color: #F5F2E9; }
  .np-mobile-bar__from { color: rgba(245, 242, 233, .55); }
  .np-mobile-bar b { font-family: var(--np-serif); font-size: 1.5rem; font-variant-numeric: lining-nums; }

  /* ---------- Текстовые страницы, галереи, меню (secondary/pages: simple, default, gallery, menu) ---------- */
  .npm-prose { max-width: 46rem; color: rgba(245, 242, 233, .82); }
  .npm-prose h1, .npm-prose h2 { margin: 2.5rem 0 1rem; font-family: var(--np-serif); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; color: #fff; }
  .npm-prose h3, .npm-prose h4 { margin: 2rem 0 .75rem; font-size: 1.1875rem; font-weight: 600; color: var(--npm-tx); }
  .npm-prose > :first-child { margin-top: 0; }
  .npm-prose ul, .npm-prose ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
  .npm-prose ul { list-style: disc; } .npm-prose ol { list-style: decimal; }
  .npm-prose li { margin: .375rem 0; }
  .npm-prose li::marker { color: var(--np-gold-light); }
  .npm-prose table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .9375rem; }
  .npm-prose th, .npm-prose td { padding: .75rem 1rem; border-bottom: 1px solid rgba(245, 242, 233, .12); text-align: left; }
  .npm-prose th { color: var(--npm-tx); }
  .npm-prose img { max-width: 100%; height: auto; border-radius: 1.25rem; }
  .npm-prose hr { margin: 2.5rem 0; border: 0; border-top: 1px solid rgba(245, 242, 233, .12); }
  .npg-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.75rem; font-size: .875rem; color: var(--npm-mu); text-decoration: none; transition: color .3s; }
  .npg-back svg { width: 1rem; height: 1rem; color: var(--np-gold-light); }
  .npg-back:hover { color: var(--npm-tx); }
  .npm .npm-sec > .npm-wrap > .npm-h2 + .npm-content { margin-top: 1.5rem; }
  .npg-next { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(245, 242, 233, .1); }

  .npmn-group { margin-top: 3.5rem; }
  .npmn-group__title { margin: 0 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(174, 150, 117, .3); font-family: var(--np-serif); font-weight: 500; font-size: 2rem; color: #fff; }
  .npmn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem 1.25rem; }
  .npmn-dish { display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--npm-tx); font: inherit; cursor: zoom-in; }
  .npmn-dish__img { display: block; aspect-ratio: 4 / 3; border-radius: 1.25rem; overflow: hidden; background: var(--npm-bg2); }
  .npmn-dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--np-ease); }
  .npmn-dish:hover .npmn-dish__img img { transform: scale(1.05); }
  .npmn-dish__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .875rem; }
  .npmn-dish__name { font-size: 1rem; line-height: 1.35; }
  .npmn-dish__price { flex: none; font-family: var(--np-serif); font-size: 1.375rem; color: var(--np-gold-light); font-variant-numeric: lining-nums; }
  .npmn-book { background: var(--npm-bg2); }
  .npmn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }

  /* ---------- Футер (parts/footer.tpl) ---------- */
  .npf { background: #10140D; color: #F5F2E9; border-top: 1px solid rgba(174, 150, 117, .35); }
  .npf__wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
  .npf__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 5rem 0 3.5rem; border-bottom: 1px solid rgba(245, 242, 233, .12); }
  .npf__slogan { margin: 0; font-family: var(--np-serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; color: #fff; }
  .npf__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
  .npf__phone { font-family: var(--np-serif); font-size: 1.625rem; color: #F5F2E9; text-decoration: none; font-variant-numeric: lining-nums; transition: color .3s; }
  .npf__phone:hover { color: var(--np-gold-light); }
  .npf__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 3.5rem 0; }
  @media (min-width: 768px) { .npf__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
  .npf__logo { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-size: 1.125rem; font-weight: 600; letter-spacing: .02em; }
  .npf__logo img { width: 2.75rem; height: 2.75rem; object-fit: contain; }
  .npf__brand p { max-width: 20rem; margin: 1.25rem 0 0; font-size: .875rem; line-height: 1.6; color: rgba(245, 242, 233, .55); }
  .npf__label { margin-bottom: 1.25rem; font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--np-gold-light); }
  .npf__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
  .npf__col a { font-size: .9375rem; color: rgba(245, 242, 233, .75); text-decoration: none; transition: color .3s; }
  .npf__col a:hover { color: #fff; }
  .npf__addr { font-size: .875rem; line-height: 1.5; color: rgba(245, 242, 233, .55); }
  .npf__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.75rem 0 2.25rem; border-top: 1px solid rgba(245, 242, 233, .12); font-size: .8125rem; color: rgba(245, 242, 233, .45); }
  .npf__bottom p { margin: 0; }
  .npf__bottom div { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
  .npf__bottom a { color: rgba(245, 242, 233, .45); text-decoration: none; transition: color .3s; }
  .npf__bottom a:hover { color: #F5F2E9; }

  /* сезонная галерея дома: снаружи зима / лето, внутри — отдельно */
  .npo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; margin-bottom: 2.25rem; }
  .npo-head .np-lead { margin: 0; }
  .npo-tabs { display: flex; gap: 1.625rem; }
  .npo-tabs button { display: inline-flex; align-items: center; gap: .4375rem; padding: 0 0 .375rem; border: 0; border-bottom: 1.5px solid transparent; background: none; color: rgba(245, 242, 233, .5); font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
  .npo-tabs svg { width: 13px; height: 13px; opacity: .8; }
  .npo-tabs button:hover { color: rgba(245, 242, 233, .85); }
  .npo-tabs button.is-on { color: #F5F2E9; border-color: var(--np-gold-light); }
  .npo-tabs button.is-on svg { color: var(--np-gold-light); opacity: 1; }
  .npo-mosaic[hidden], .npo-hint[hidden], .npo-more[hidden] { display: none !important; }
  .npo .npo-mosaic .np-photo img { filter: saturate(.85) contrast(1.04) brightness(.92); }
  .npo-more-row { margin-top: 2rem; text-align: center; }

  /* ---------- Витрина активностей («Чем заняться») — parts/secondary/activities.tpl ---------- */
  .npa {
    --npa-bg: #191F16;
    --npa-tx: #F5F2E9;
    --npa-mu: rgba(245, 242, 233, .72);
    --npa-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    position: relative;
    min-height: max(760px, 100vh);
    max-height: 1000px;
    height: 100vh;
    overflow: hidden;
    background: var(--npa-bg);
    color: var(--npa-tx);
    isolation: isolate;
  }
  .npa__media { position: absolute; inset: 0; z-index: -2; }
  .npa__layer {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0;
    filter: saturate(.75) contrast(1.06) brightness(.82) sepia(.12);   /* приводим дневные фото к тону шапки */
    transition: opacity .7s ease;
  }
  .npa__layer.is-on { opacity: 1; transition-delay: 0s; }
  .npa__video.is-on { transition: opacity 1.2s ease; }
  .npa__default { transition: opacity .9s ease .2s; }
  .npa:not(.is-summer) .npa__default--w, .npa.is-summer .npa__default--s { opacity: 1; }
  .npa.is-active .npa__default { opacity: 0; transition-delay: 0s; }
  .npa__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      linear-gradient(90deg, var(--npa-bg) 0%, rgba(25, 31, 22, .82) 32%, rgba(25, 31, 22, .2) 65%, rgba(25, 31, 22, .1) 100%),
      linear-gradient(180deg, rgba(25, 31, 22, .5) 0%, rgba(25, 31, 22, 0) 22%, rgba(25, 31, 22, 0) 50%, rgba(25, 31, 22, .92) 100%);
  }
  .npa__inner { max-width: 80rem; margin: 0 auto; padding: 10rem 1.5rem 0; }
  .npa__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--np-gold-light); }
  .npa__h1 { margin: 1.125rem 0 1.875rem; max-width: 46rem; font-family: var(--npa-serif); font-weight: 500; font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.01em; color: #fff; }
  .npa__stage { position: relative; min-height: 17rem; max-width: 36rem; }
  .npa__text {
    position: absolute; left: 0; top: 0; right: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;   /* уходящий текст гаснет сразу */
  }
  .npa__text.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .25s, transform .4s ease .25s, visibility 0s linear .25s; }   /* новый — после него, без наложения */
  .npa:not(.is-active):not(.is-summer) .npa__text--default.npa-s-winter,
  .npa.is-summer:not(.is-active) .npa__text--default.npa-s-summer {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .4s ease .25s, transform .4s ease .25s, visibility 0s linear .25s;
  }
  .npa.is-active .npa__text--default { transition: opacity .25s, transform .25s, visibility 0s linear .25s; transform: translateY(-8px); }
  .npa__lead { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--npa-mu); }
  .npa__lead--lg { font-size: 1.1875rem; margin-bottom: 0; max-width: 31rem; }
  .npa__count { display: flex; align-items: center; gap: .875rem; margin-top: 2.125rem; font-size: .875rem; color: var(--npa-mu); }
  .npa__count b { font-family: var(--npa-serif); font-weight: 500; font-size: 2.75rem; line-height: 1; color: #fff; }
  .npa__count span { line-height: 1.4; }
  .npa__count i { width: 3.75rem; height: 1px; margin-left: .625rem; background: var(--np-gold-light); }
  .npa__count em { font-style: normal; }
  .npa__badge {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .875rem; border-radius: 9999px;
    border: 1px solid rgba(174, 150, 117, .5); background: rgba(25, 31, 22, .35);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .8125rem; color: var(--npa-tx);
  }
  .npa__badge::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--np-gold-light); }
  .npa__title { margin: 1.125rem 0 .75rem; font-family: var(--npa-serif); font-weight: 500; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.04; color: #fff; }
  .npa__title a { color: inherit; text-decoration: none; }
  .npa__title a:hover { color: #fff; }

  .npa__dock { position: absolute; left: 0; right: 0; bottom: 2.5rem; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
  .npa__seasons { display: flex; gap: 1.625rem; margin-bottom: .875rem; }
  .npa__seasons button {
    display: inline-flex; align-items: center; gap: .4375rem; padding: 0 0 .375rem; border: 0; border-bottom: 1.5px solid transparent;
    background: none; color: rgba(245, 242, 233, .5); font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s;
  }
  .npa__seasons svg { width: 13px; height: 13px; opacity: .8; }
  .npa__seasons button:hover { color: rgba(245, 242, 233, .85); }
  .npa__seasons button.is-on { color: var(--npa-tx); border-color: var(--np-gold-light); }
  .npa__seasons button.is-on svg { color: var(--np-gold-light); opacity: 1; }
  .npa__strip { display: flex; border-top: 1px solid rgba(245, 242, 233, .22); counter-reset: npa; overflow-x: auto; scrollbar-width: none; }
  .npa__strip::-webkit-scrollbar { display: none; }
  .npa__pv {
    position: relative; flex: 0 0 25%; min-width: 15rem; display: flex; align-items: center; gap: 1rem; padding: 1.625rem 1.375rem .5rem 0;
    color: var(--npa-tx); text-decoration: none; counter-increment: npa; transition: opacity .3s;
  }
  .npa.is-summer .npa-s-winter, .npa:not(.is-summer) .npa-s-summer { display: none; }
  .npa__pv::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--np-gold-light); transition: width .5s ease; }
  .npa__pv-num::before { content: counter(npa, decimal-leading-zero); }
  .npa__pv-num { flex: none; width: 1.875rem; font-family: var(--npa-serif); font-size: 1.375rem; color: rgba(245, 242, 233, .55); transition: color .3s; }
  .npa__pv img { width: 4rem; height: 4rem; flex: none; border-radius: .875rem; object-fit: cover; opacity: .75; transition: opacity .3s, transform .3s; }
  .npa__pv-name { display: block; font-size: 1rem; font-weight: 600; line-height: 1.25; }
  .npa__pv-tag { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--npa-mu); }
  .npa__pv.is-on::before, .npa__pv:hover::before { width: 100%; }
  .npa__pv.is-on .npa__pv-num, .npa__pv:hover .npa__pv-num { color: var(--np-gold-light); }
  .npa__pv.is-on img, .npa__pv:hover img { opacity: 1; transform: scale(1.06); }
  .npa.is-active .npa__pv:not(.is-on) { opacity: .55; }
  .npa__pv:hover, .npa__pv:focus-visible { color: var(--npa-tx); opacity: 1 !important; }

  @media (max-width: 767px) {
    .npa { height: auto; min-height: 100svh; max-height: none; padding-bottom: 12rem; }
    .npa__inner { padding-top: 7.5rem; }
    .npa__stage { min-height: 19rem; }
    .npa__count em, .npa__count i { display: none; }
    .npa__pv { flex-basis: 78%; }
    .npa__shade { background: linear-gradient(180deg, rgba(25, 31, 22, .55) 0%, rgba(25, 31, 22, .7) 45%, rgba(25, 31, 22, .95) 100%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .npa__layer, .npa__text, .npa__pv, .npa__pv::before { transition: none !important; }
  }

  @media (prefers-reduced-motion: reduce) {
    .np-badge__dot, .np-hero__scroll { animation: none; }
    .np-btn, .np-btn::before, .np-btn::after, .np-link::after { transition: none; }
    html { scroll-behavior: auto; }
  }
}

/* Вне слоя components, чтобы перебить утилиты Tailwind в разметке меню (text-gray-900, bg-gray-900) */
.np-nav__brand, .np-nav__links > a:not([href^="tel:"]) { color: #F5F2E9; }
.np-nav__burger span span { background: #F5F2E9; }

/* Текст из редактора на тёмном фоне: в нём бывают классы Tailwind с тёмным цветом (text-[#191F16] и т. п.) */
.npm-content [class*="text-"], .npo .np-content [class*="text-"] { color: inherit; }
.npm-content .font-medium, .npm-content strong, .npm-content b { color: #F5F2E9; }


/* Палитра «лес»: градиентные кнопки из разметки Tailwind */
/* Виджет бронирования (homereserve): фирменный коричневый → олива палитры */
:root { --custom-main: #555E40 !important; --custom-main-dark: #303827 !important; --custom-main-light: #E8E5D5 !important; --custom-background: #F5F2E9 !important; --custom-text: #191F16 !important; }
#hr-widget .search__container { background-color: #555E40 !important; }

/* ---------- Светлые секции (чередование крем / лес) ---------- */
.npm-light { --npm-bg: #F5F2E9; --npm-bg2: #ECE8DB; --npm-tx: #191F16; --npm-mu: rgba(25, 31, 22, .68); background: var(--npm-bg); color: var(--npm-tx); }
.npm-light--alt { background: var(--npm-bg2); }
.npm-light .npm-eyebrow { color: #7A6649; }
.npm-light .npm-h2, .npm-light .npm-stats b, .npm-light .npm-card__price b, .npm-light .npb-bath__name { color: #191F16; }
.npm-light .npm-link { color: #191F16; border-bottom-color: rgba(122, 102, 73, .6); }
.npm-light .npm-link svg { color: #7A6649; }
.npm-light .npm-link:hover { color: #7A6649; }
.npm-light .npm-stats li { border-right-color: rgba(25, 31, 22, .14); }
.npm-light .npm-frame { border-color: rgba(25, 31, 22, .1); }
.npm-light .npm-content [class*="text-"] { color: inherit; }
/* кнопка-обводка для светлых секций */
.npm-pill { display: inline-flex; align-items: center; gap: .625rem; height: 3rem; padding: 0 1.5rem; border-radius: 9999px; border: 1px solid rgba(25, 31, 22, .35); color: #191F16; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.npm-pill svg { width: 1rem; height: 1rem; }
.npm-pill:hover { background: #191F16; border-color: #191F16; color: #F5F2E9; }

/* поиск сразу под первым экраном */
.npm-sec--book { padding-bottom: 0; z-index: 2; }
.npm-booking--float { background: #F5F2E9; border: 1px solid rgba(25, 31, 22, .06); box-shadow: 0 24px 50px -28px rgba(14, 18, 12, .3); }
.npm-booking--float .npm-booking__widget { padding: 0; background: transparent; }
.npm-sec--book { padding-top: 4rem; }
@media (max-width: 767px) { .npm-sec--book { padding-top: 2rem; } }

/* о парке: текст + фото */
.npm-about2 { padding-top: 6rem; }
.npm-about2__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .npm-about2__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.npm-about2__media { border-radius: 2rem; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(14, 18, 12, .5); }
.npm-about2__media img { width: 100%; height: 100%; object-fit: cover; }
.npm-stats--sm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0; margin: 2.5rem 0; }
@media (min-width: 640px) { .npm-stats--sm { grid-template-columns: repeat(4, minmax(0, auto)); } }
.npm-stats--sm li { min-width: 0; padding: 0 1.25rem 0 0; margin-right: 1.25rem; }
.npm-stats--sm b { font-size: 1.875rem; }
.npm-stats--sm span { font-size: .8125rem; }
/* токен Tailwind gold-yellow → песок палитры */
.bg-gold-yellow { background-color: #AE9675 !important; }
.border-gold-yellow\/20 { border-color: rgba(174, 150, 117, .2) !important; }
a.bg-gold-yellow[href^="tel:"] { color: #191F16 !important; }

/* ---------- Светлые секции: компоненты ---------- */
.npm-light { --np-gold-light: #7A6649; --npm-line: rgba(25, 31, 22, .12); }
/* заголовки и крупные цифры */
.npm-light .npb-row__title, .npm-light .npb-table__row--head .npb-table__val,
.npm-light .npc-text h2, .npm-light .npc-text h3, .npm-light .np-h2, .npm-light .np-h2.text-white, .npm-light .np-price,
.npm-light .npm-prose h1, .npm-light .npm-prose h2, .npm-light .npmn-group__title, .npm-light .np-book__price strong { color: #191F16; }
/* второстепенный текст */
.npm-light .np-lead, .npm-light .np-lead--dark, .npm-light .npm-prose,
.npm-light .np-book__price small, .npm-light .np-book__note { color: var(--npm-mu); }
.npm-light .npb-facts dt, .npm-light .npr-facts span, .npm-light .npk__req dt, .npm-light .np-fact__label, .npm-light .np-rule__label,
.npm-light .np-book__price span, .npm-light .np-price span { color: rgba(25, 31, 22, .5); }
.npm-light .npb-no, .npm-light .npb-none { color: rgba(25, 31, 22, .28); }
.npm-light .npm-content strong, .npm-light .npm-content b, .npm-light .npm-content .font-medium { color: #191F16; }
/* линии и рамки */
.npm-light .npm-booking, .npm-light .npm-card, .npm-light .npm-card__links, .npm-light .npm-frame, .npm-light .npb-bath, .npm-light .npb-feat li,
.npm-light .npb-row .npb-feat ul, .npm-light .npb-table, .npm-light .npb-table__row, .npm-light .npb-book, .npm-light .npc-filters,
.npm-light .npc-group button, .npm-light .npk__req div, .npm-light .np-rule, .npm-light .np-book__price, .npm-light .npm-prose th,
.npm-light .npm-prose td, .npm-light .npm-prose hr, .npm-light .npg-next { border-color: var(--npm-line); }
.npm-light .npb-row .npb-feat li { border: 0; }
.npm-light .np-book__price, .npm-light .np-rule { background: #ECE8DB; }
.npm-light .np-book__widget { background: #ECE8DB; }
/* фильтры каталога */
.npm-light .npc-group button:hover { border-color: rgba(122, 102, 73, .6); }
.npm-light .npc-group button.is-on { background: #191F16; border-color: #191F16; color: #F5F2E9; }
/* вкладки зима/лето */
.npm-light .npo-tabs button { color: rgba(25, 31, 22, .5); }
.npm-light .npo-tabs button:hover { color: rgba(25, 31, 22, .85); }
.npm-light .npo-tabs button.is-on { color: #191F16; }
/* главная кнопка на светлом фоне — тёмная */
.npm-light .npm-cta { background: #191F16; color: #F5F2E9; }
.npm-light .npm-cta i { background: #AE9675; color: #191F16; }
.npm-light .npm-cta:hover { background: #303827; color: #F5F2E9; }
/* ссылка-карточка «Забронировать» */
.npm-light .npm-card__book:hover { color: #191F16; }

/* страница дома: плашка фактов под первым экраном — светлая, как поиск на главной */
.npo .np-factbar-wrap { background: none; margin-bottom: -3.5rem; }
/* следующая секция (светлая или тёмная) заходит под плашку — без «полосы» другого цвета */
.npo .np-factbar-wrap + section { padding-top: calc(5rem + 3.5rem); }
.npo .np-factbar { background: #F5F2E9; border-color: rgba(25, 31, 22, .06); box-shadow: 0 24px 50px -28px rgba(14, 18, 12, .35); color: #191F16; }
.npo .np-factbar .np-fact__value { color: #191F16; }
.npo .np-factbar .np-fact__label, .npo .np-factbar .np-price span { color: rgba(25, 31, 22, .5); }
.npo .np-factbar .np-fact__icon { background: rgba(122, 102, 73, .12); color: #7A6649; }
.npo .np-factbar .np-factbar__price { border-color: rgba(25, 31, 22, .12); }
.npo .np-factbar .np-price { color: #191F16; }
.npo .np-factbar .npm-cta { background: #191F16; color: #F5F2E9; }
.npo .np-factbar .npm-cta:hover { background: #303827; }
/* тёмный «остров» с фото внутри светлой секции (бронирование бани) */
.npm-light .npb-book { --npm-tx: #F5F2E9; --npm-mu: rgba(245, 242, 233, .68); --np-gold-light: #C4AF8E; color: #F5F2E9; border-color: transparent; }
.npm-light .npb-book .npm-h2 { color: #fff; }
.npm-light .npb-book .npm-eyebrow { color: #C4AF8E; }
.npm-light .npb-book .npb-facts dt { color: rgba(245, 242, 233, .5); }
.npm-light .npb-book .npm-cta { background: #F5F2E9; color: #191F16; }
.npm-light .npb-book .npm-cta:hover { background: #fff; }
.npm-light .npb-book .npm-cta i { background: #C4AF8E; }

/* меню над светлой секцией: светлое стекло, тёмный текст */
.np-nav { transition: background .4s ease, box-shadow .4s ease, border-color .4s ease; }
.np-nav__brand, .np-nav__links > a:not([href^="tel:"]) { transition: color .4s ease, text-shadow .4s ease; }
.np-nav__burger span span { transition: background .4s ease; }
.np-nav.is-light { background: rgba(245, 242, 233, .55); border-color: rgba(25, 31, 22, .08); }
.np-nav.is-light .np-nav__brand, .np-nav.is-light .np-nav__links > a:not([href^="tel:"]) { color: #191F16; text-shadow: none; }
.np-nav.is-light .np-nav__burger span span { background: #191F16; }
/* светлая карточка дома на тёмной секции — как в каталоге */
.npm-card.npm-light { background: #ECE8DB; border-color: rgba(25, 31, 22, .12); }
/* «Чем заняться»: без градиента — ровное затемнение фото, как у остальных первых экранов */
.npa__shade { background: rgba(14, 18, 12, .45) !important; }
.npa__h1, .npa__lead, .npa__inner { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* =====================================================================
   ЗИМНИЙ ПРАЗДНИЧНЫЙ РЕЖИМ (html.np-winter): снег, лёд, тёплое золото
   ===================================================================== */
html.np-winter { --custom-main: #D9A94E !important; --custom-main-dark: #B98A35 !important; --custom-main-light: #FBF1DC !important; --custom-background: #F6F9FC !important; --custom-text: #1D2A3A !important; }
.np-winter body { background: #F6F9FC; color: #1D2A3A; }
/* все секции светлые: белый снег и голубой лёд по очереди */
.np-winter :is(.npm-sec, .np-section) { --npm-bg: #F6F9FC; --npm-bg2: #FFFFFF; --npm-tx: #1D2A3A; --npm-mu: rgba(29, 42, 58, .68); background: var(--npm-bg); color: var(--npm-tx); }
.npm-light--alt { background: var(--npm-bg2); }
.np-winter :is(.npm-sec, .np-section) .npm-eyebrow { color: #94702F; }
.np-winter :is(.npm-sec, .np-section) .npm-h2, .np-winter :is(.npm-sec, .np-section) .npm-stats b, .np-winter :is(.npm-sec, .np-section) .npm-card__price b, .np-winter :is(.npm-sec, .np-section) .npb-bath__name { color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npm-link { color: #1D2A3A; border-bottom-color: rgba(148, 112, 47, .6); }
.np-winter :is(.npm-sec, .np-section) .npm-link svg { color: #94702F; }
.np-winter :is(.npm-sec, .np-section) .npm-link:hover { color: #94702F; }
.np-winter :is(.npm-sec, .np-section) .npm-stats li { border-right-color: rgba(29, 42, 58, .14); }
.np-winter :is(.npm-sec, .np-section) .npm-frame { border-color: rgba(29, 42, 58, .1); }
.np-winter :is(.npm-sec, .np-section) { --np-gold-light: #94702F; --npm-line: rgba(29, 42, 58, .12); }
/* заголовки и крупные цифры */
.np-winter :is(.npm-sec, .np-section) .npb-row__title, .np-winter :is(.npm-sec, .np-section) .npb-table__row--head .npb-table__val,
.np-winter :is(.npm-sec, .np-section) .npc-text h2, .np-winter :is(.npm-sec, .np-section) .npc-text h3, .np-winter :is(.npm-sec, .np-section) .np-h2, .np-winter :is(.npm-sec, .np-section) .np-h2.text-white, .np-winter :is(.npm-sec, .np-section) .np-price,
.np-winter :is(.npm-sec, .np-section) .npm-prose h1, .np-winter :is(.npm-sec, .np-section) .npm-prose h2, .np-winter :is(.npm-sec, .np-section) .npmn-group__title, .np-winter :is(.npm-sec, .np-section) .np-book__price strong { color: #1D2A3A; }
/* второстепенный текст */
.np-winter :is(.npm-sec, .np-section) .np-lead, .np-winter :is(.npm-sec, .np-section) .np-lead--dark, .np-winter :is(.npm-sec, .np-section) .npm-prose,
.np-winter :is(.npm-sec, .np-section) .np-book__price small, .np-winter :is(.npm-sec, .np-section) .np-book__note { color: var(--npm-mu); }
.np-winter :is(.npm-sec, .np-section) .npb-facts dt, .np-winter :is(.npm-sec, .np-section) .npr-facts span, .np-winter :is(.npm-sec, .np-section) .npk__req dt, .np-winter :is(.npm-sec, .np-section) .np-fact__label, .np-winter :is(.npm-sec, .np-section) .np-rule__label,
.np-winter :is(.npm-sec, .np-section) .np-book__price span, .np-winter :is(.npm-sec, .np-section) .np-price span { color: rgba(29, 42, 58, .5); }
.np-winter :is(.npm-sec, .np-section) .npb-no, .np-winter :is(.npm-sec, .np-section) .npb-none { color: rgba(29, 42, 58, .28); }
.np-winter :is(.npm-sec, .np-section) .npm-content strong, .np-winter :is(.npm-sec, .np-section) .npm-content b, .np-winter :is(.npm-sec, .np-section) .npm-content .font-medium { color: #1D2A3A; }
/* линии и рамки */
.np-winter :is(.npm-sec, .np-section) .npm-booking, .np-winter :is(.npm-sec, .np-section) .npm-card, .np-winter :is(.npm-sec, .np-section) .npm-card__links, .np-winter :is(.npm-sec, .np-section) .npm-frame, .np-winter :is(.npm-sec, .np-section) .npb-bath, .np-winter :is(.npm-sec, .np-section) .npb-feat li,
.np-winter :is(.npm-sec, .np-section) .npb-row .npb-feat ul, .np-winter :is(.npm-sec, .np-section) .npb-table, .np-winter :is(.npm-sec, .np-section) .npb-table__row, .np-winter :is(.npm-sec, .np-section) .npb-book, .np-winter :is(.npm-sec, .np-section) .npc-filters,
.np-winter :is(.npm-sec, .np-section) .npc-group button, .np-winter :is(.npm-sec, .np-section) .npk__req div, .np-winter :is(.npm-sec, .np-section) .np-rule, .np-winter :is(.npm-sec, .np-section) .np-book__price, .np-winter :is(.npm-sec, .np-section) .npm-prose th,
.np-winter :is(.npm-sec, .np-section) .npm-prose td, .np-winter :is(.npm-sec, .np-section) .npm-prose hr, .np-winter :is(.npm-sec, .np-section) .npg-next { border-color: var(--npm-line); }
.np-winter :is(.npm-sec, .np-section) .npb-row .npb-feat li { border: 0; }
.np-winter :is(.npm-sec, .np-section) .np-book__price, .np-winter :is(.npm-sec, .np-section) .np-rule { background: #FFFFFF; }
.np-winter :is(.npm-sec, .np-section) .np-book__widget { background: #FFFFFF; }
/* фильтры каталога */
.np-winter :is(.npm-sec, .np-section) .npc-group button:hover { border-color: rgba(148, 112, 47, .6); }
.np-winter :is(.npm-sec, .np-section) .npc-group button.is-on { background: #1D2A3A; border-color: #1D2A3A; color: #F6F9FC; }
/* вкладки зима/лето */
.np-winter :is(.npm-sec, .np-section) .npo-tabs button { color: rgba(29, 42, 58, .5); }
.np-winter :is(.npm-sec, .np-section) .npo-tabs button:hover { color: rgba(29, 42, 58, .85); }
.np-winter :is(.npm-sec, .np-section) .npo-tabs button.is-on { color: #1D2A3A; }
/* главная кнопка на светлом фоне — тёмная */
.np-winter :is(.npm-sec, .np-section) .npm-cta { background: #1D2A3A; color: #F6F9FC; }
.np-winter :is(.npm-sec, .np-section) .npm-cta i { background: #E2B865; color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npm-cta:hover { background: #2C3E55; color: #F6F9FC; }
/* ссылка-карточка «Забронировать» */
.np-winter :is(.npm-sec, .np-section) .npm-card__book:hover { color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npb-book { --npm-tx: #F6F9FC; --npm-mu: rgba(246, 249, 252, .68); --np-gold-light: #F0CF8A; color: #F6F9FC; border-color: transparent; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-h2 { color: #fff; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-eyebrow { color: #F0CF8A; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npb-facts dt { color: rgba(246, 249, 252, .5); }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-cta { background: #F6F9FC; color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-cta:hover { background: #fff; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-cta i { background: #F0CF8A; }
.np-winter :is(.npm-sec, .np-section) { background: #F6F9FC; }
.np-winter :is(.npm-sec--alt, .npm-light--alt, .np-section--soft) { background: linear-gradient(180deg, #EAF2F9, #F1F6FB); }
.np-winter .npm-eyebrow, .np-winter .npf__label { color: #94702F; }
/* карточки — белые, с мягкой голубоватой тенью */
.np-winter .npm-card, .np-winter .npm-card.npm-light { background: #fff; border-color: rgba(29, 42, 58, .07); box-shadow: 0 22px 44px -26px rgba(40, 72, 115, .38); }
.np-winter .npm-card__book { padding: .5rem 1rem; border-radius: 9999px; background: #F5DDA6; color: #1D2A3A; }
.np-winter .npm-card__book:hover { background: #EFC979; color: #1D2A3A; }
.np-winter .npm-booking, .np-winter .npm-booking--float { background: rgba(255, 255, 255, .92); border-color: rgba(29, 42, 58, .06); box-shadow: 0 26px 60px -30px rgba(40, 72, 115, .45); }
.np-winter .npm-about2__media, .np-winter .npm-frame { box-shadow: 0 30px 60px -32px rgba(40, 72, 115, .5); }
/* главные кнопки — тёплое золото */
.np-winter .npm-cta, .np-winter :is(.npm-sec, .np-section) .npm-cta, .np-winter .npo .np-factbar .npm-cta { background: linear-gradient(180deg, #F6D892, #E7B95E); color: #1D2A3A; box-shadow: 0 12px 26px -14px rgba(176, 124, 36, .7); }
.np-winter .npm-cta i, .np-winter :is(.npm-sec, .np-section) .npm-cta i { background: #fff; color: #B98A35; }
.np-winter .npm-cta:hover, .np-winter :is(.npm-sec, .np-section) .npm-cta:hover { background: linear-gradient(180deg, #F9E2AC, #EDC373); color: #1D2A3A; }
.np-winter .npm-pill { border-color: rgba(29, 42, 58, .3); color: #1D2A3A; }
/* цифры о парке с иконками */
.npm-stats__ic { display: block; width: 2rem; height: 2rem; margin-bottom: .625rem; color: var(--np-gold-light); }
.np-winter .npm-stats__ic { color: #C9973C; }
/* меню: всегда светлое стекло */
.np-winter .np-nav, .np-winter .np-nav.is-scrolled, .np-winter .np-nav.is-light { background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .9); box-shadow: 0 10px 30px -18px rgba(40, 72, 115, .45); }
.np-winter .np-nav__brand, .np-winter .np-nav__links > a:not([href^="tel:"]) { color: #1D2A3A !important; text-shadow: none; }
.np-winter .np-nav__links > a:not([href^="tel:"]):hover { color: #94702F !important; }
.np-winter .np-nav__burger span span { background: #1D2A3A; }
/* первый экран: светлее, холоднее, снизу «сугроб» в цвет страницы */
.np-winter .np-hero__media img, .np-winter .np-hero__media video { filter: brightness(1.12) saturate(1.08) contrast(.96) hue-rotate(-4deg); }
.np-winter .np-hero__overlay { background:
    radial-gradient(70% 55% at 50% 40%, rgba(246, 249, 252, .55), rgba(246, 249, 252, .12) 70%, transparent),
    linear-gradient(180deg, rgba(246, 249, 252, .25) 0%, rgba(246, 249, 252, 0) 35%, rgba(246, 249, 252, 0) 70%, #F6F9FC 100%); }
.np-winter .np-hero .np-h1, .np-winter .np-hero__text, .np-winter .np-hero__text p { color: #1D2A3A; text-shadow: 0 1px 24px rgba(255, 255, 255, .9); }
.np-winter .np-hero__badge, .np-winter .np-hero .np-badge { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .9); color: #1D2A3A; }
.np-winter .np-hero .np-btn--on-dark, .np-winter .np-hero .np-btn--glass { color: #1D2A3A; background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .95); }
.np-winter .np-hero__scroll { color: #1D2A3A; }
/* футер: финальный зимний баннер + светлый подвал */
.np-winter .npf { background: #EAF2F9; color: #1D2A3A; border-top: 0; }
.np-winter .npf__cta { position: relative; margin: 0 -1.5rem; padding: 6rem 1.5rem 5rem; justify-content: center; flex-direction: column; text-align: center; border-bottom: 0; border-radius: 0 0 2rem 2rem; overflow: hidden; isolation: isolate; }
.np-winter .npf__cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(../images/main/hero_poster.webp) center 60% / cover; filter: brightness(1.15) saturate(1.05); }
.np-winter .npf__cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #EAF2F9 0%, rgba(234, 242, 249, .55) 35%, rgba(234, 242, 249, .55) 65%, #EAF2F9 100%); }
.np-winter .npf__slogan { color: #1D2A3A; }
.npf__sub { margin: .75rem 0 0; font-size: 1.0625rem; color: rgba(29, 42, 58, .72); }
.np-winter .npf__cta-actions { justify-content: center; }
.np-winter .npf__phone { color: #1D2A3A; }
.np-winter .npf__logo { color: #1D2A3A; }
.np-winter .npf__brand p, .np-winter .npf__addr { color: rgba(29, 42, 58, .6); }
.np-winter .npf__col a { color: rgba(29, 42, 58, .78); }
.np-winter .npf__col a:hover, .np-winter .npf__bottom a:hover { color: #94702F; }
.np-winter .npf__grid { border-top: 1px solid rgba(29, 42, 58, .08); }
.np-winter .npf__bottom { border-top-color: rgba(29, 42, 58, .08); color: rgba(29, 42, 58, .5); }
.np-winter .npf__bottom a { color: rgba(29, 42, 58, .5); }
/* снегопад */
.np-snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }
/* зима: общий фон страниц-обёрток и всё, что было кремовым/тёмным */
.np-winter .npm { --npm-bg: #F6F9FC; --npm-bg2: #FFFFFF; --npm-tx: #1D2A3A; --npm-mu: rgba(29, 42, 58, .68); --np-gold-light: #94702F; background: #F6F9FC; color: #1D2A3A; }
.np-winter .npo .np-factbar { background: rgba(255, 255, 255, .94); border-color: rgba(29, 42, 58, .06); box-shadow: 0 26px 60px -30px rgba(40, 72, 115, .45); color: #1D2A3A; }
.np-winter .npo .np-factbar .np-fact__value, .np-winter .npo .np-factbar .np-price { color: #1D2A3A; }
.np-winter .npo .np-factbar .np-fact__label, .np-winter .npo .np-factbar .np-price span { color: rgba(29, 42, 58, .55); }
.np-winter .npo .np-factbar .np-fact__icon { background: #EAF2F9; color: #B98A35; }
.np-winter .npo .np-factbar .np-factbar__price { border-color: rgba(29, 42, 58, .1); }
/* карточка брони без фото (меню ресторана) — светлая */
.np-winter :is(.npm-sec, .np-section) .npmn-book { --npm-tx: #1D2A3A; --npm-mu: rgba(29, 42, 58, .68); --np-gold-light: #94702F; background: #fff; color: #1D2A3A; border-color: rgba(29, 42, 58, .07); box-shadow: 0 22px 44px -26px rgba(40, 72, 115, .38); }
.np-winter :is(.npm-sec, .np-section) .npmn-book .npm-h2 { color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npmn-book .npm-eyebrow { color: #94702F; }
.np-winter :is(.npm-sec, .np-section) .npmn-book .npb-facts dt { color: rgba(29, 42, 58, .5); }
.np-winter :is(.npm-sec, .np-section) .npmn-book .npm-cta { background: linear-gradient(180deg, #F6D892, #E7B95E); color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npmn-book .npm-cta i { background: #fff; color: #B98A35; }
/* фильтры каталога: активный — золотой */
.np-winter :is(.npm-sec, .np-section) .npc-group button.is-on { background: #1D2A3A; border-color: #1D2A3A; color: #fff; }
/* зима: главная кнопка первого экрана — золотая, виджет брони — золотая рамка */
.np-winter .np-hero .np-btn--primary { background: linear-gradient(180deg, #F6D892, #E7B95E); color: #1D2A3A; border-color: transparent; box-shadow: 0 12px 26px -14px rgba(176, 124, 36, .7); }
.np-winter .np-hero .np-btn--primary::before { background: #fff; }
.np-winter .np-hero .np-btn--primary::after { background: #B98A35; }
html.np-winter { --np-gold-mark: #E2B865; }
.np-winter .np-hero .np-btn--glass i { color: #B98A35; }
.np-winter #hr-widget .search__container { background-color: #E7B95E !important; }
.np-winter .npf__cta::after { background: linear-gradient(180deg, #EAF2F9 0%, rgba(234, 242, 249, .68) 30%, rgba(234, 242, 249, .68) 70%, #EAF2F9 100%); }
/* зима: блоки поверх фото остаются «тёмными островами» со светлым текстом */
.np-winter :is(.npm-panel, .npm-act, .npb-occ) { --np-gold-light: #F0CF8A; --npm-tx: #fff; --npm-mu: rgba(255, 255, 255, .78); color: #fff; }
.np-winter :is(.npm-panel, .npm-act, .npb-occ) .npm-eyebrow { color: #F0CF8A; }
.np-winter :is(.npm-panel, .npm-act, .npb-occ) .npm-link { color: #fff; border-bottom-color: rgba(240, 207, 138, .7); }
.np-winter :is(.npm-panel, .npm-act, .npb-occ) .npm-link svg { color: #F0CF8A; }
.np-winter .npm-act__go { background: linear-gradient(180deg, #F6D892, #E7B95E); color: #1D2A3A; }
/* цифры о парке: на средних экранах в две колонки, чтобы «Ресторан» не наезжал на соседа */
@media (min-width: 1024px) and (max-width: 1279px) { .npm-stats--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-cta { background: linear-gradient(180deg, #F6D892, #E7B95E); color: #1D2A3A; }
.np-winter :is(.npm-sec, .np-section) .npb-book .npm-cta i { background: #fff; color: #B98A35; }
.np-winter .npm-content a, .np-winter .npm-prose a { color: #94702F; }
/* зима: «Чем заняться» — светлая дымка слева, тёмно-синий текст */
.np-winter .npa { --npa-tx: #1D2A3A; --npa-mu: rgba(29, 42, 58, .72); --np-gold-light: #94702F; }
.np-winter .npa__shade { background: linear-gradient(90deg, rgba(246, 249, 252, .9) 0%, rgba(246, 249, 252, .72) 38%, rgba(246, 249, 252, .15) 70%, rgba(246, 249, 252, 0) 100%), linear-gradient(180deg, rgba(246, 249, 252, 0) 70%, #F6F9FC 100%) !important; }
.np-winter :is(.npa__h1, .npa__count b, .npa__title, .npa__title a, .npa__title a:hover) { color: #1D2A3A; }
.np-winter .npa__h1, .np-winter .npa__lead, .np-winter .npa__inner { text-shadow: 0 1px 18px rgba(255, 255, 255, .7); }
.np-winter .npa__seasons button { color: rgba(29, 42, 58, .5); }
.np-winter .npa__seasons button:hover { color: rgba(29, 42, 58, .85); }
.np-winter .npa__pv-num { color: rgba(29, 42, 58, .45); }
.np-winter .npa__default img, .np-winter .npa__layer img { filter: brightness(1.1) saturate(1.05); }
@media (max-width: 767px) { .np-winter .npa__shade { background: linear-gradient(180deg, rgba(246, 249, 252, .75), rgba(246, 249, 252, .85) 50%, #F6F9FC 100%) !important; } }
.np-winter .npm-card.npm-light { --npm-tx: #1D2A3A; --npm-mu: rgba(29, 42, 58, .68); --np-gold-light: #94702F; --npm-line: rgba(29, 42, 58, .1); color: #1D2A3A; }
.np-winter :is(.npm-booking__widget, .np-book__widget) { color: #1D2A3A; }
/* дом: «О доме» и фото снаружи в одном блоке */
.npo-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .npo-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.npo-intro__text .np-content { margin-top: 1.25rem; }
.npo-intro__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.npo-intro__nav .npo-more[hidden], .npo-intro__media .npo-mosaic[hidden] { display: none !important; }
@media (min-width: 768px) { .npo-intro .np-photo-grid { grid-auto-rows: 12rem; } }
.npo-intro__media .npo-intro__nav { justify-content: space-between; margin-top: 1.25rem; }
/* дом: просмотрщик фото снаружи — крупное фото + лента превью */
.npo-viewer[hidden] { display: none !important; }
.npo-viewer__stage { position: relative; border-radius: 1.75rem; overflow: hidden; aspect-ratio: 3 / 2; background: #e9eef3; box-shadow: 0 30px 60px -34px rgba(20, 30, 20, .55); }
.npo-viewer__main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.npo-viewer__main img { width: 100%; height: 100%; object-fit: cover; display: block; animation: npoFade .45s ease; }
@keyframes npoFade { from { opacity: .35; } to { opacity: 1; } }
.npo-viewer__arrow { position: absolute; top: 50%; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; border-radius: 9999px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .82); color: #191F16; cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.npo-viewer__arrow svg { width: 1.25rem; height: 1.25rem; }
.npo-viewer__arrow--prev { left: 1rem; } .npo-viewer__arrow--next { right: 1rem; }
.npo-viewer__stage:hover .npo-viewer__arrow, .npo-viewer__arrow:focus-visible { opacity: 1; }
.npo-viewer__arrow:hover { background: #fff; }
@media (hover: none) { .npo-viewer__arrow { opacity: 1; } }
.npo-viewer__count { position: absolute; left: 1rem; bottom: 1rem; padding: .375rem .75rem; border-radius: 9999px; background: rgba(20, 24, 18, .55); color: #fff; font-size: .8125rem; font-variant-numeric: lining-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.npo-viewer__count b { font-weight: 600; }
.npo-viewer__thumbs { display: flex; gap: .625rem; margin-top: .75rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .25rem; scrollbar-width: thin; }
.npo-thumb { flex: 0 0 auto; width: 6.5rem; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: .875rem; overflow: hidden; background: #e9eef3; cursor: pointer; opacity: .62; scroll-snap-align: start; transition: opacity .25s, border-color .25s; }
.npo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.npo-thumb:hover { opacity: .9; }
.npo-thumb.is-on { opacity: 1; border-color: var(--np-gold-mark); }
.np-winter .npo-thumb.is-on { border-color: #E2B865; }
.npo-viewer__thumbs { scroll-snap-type: none; position: relative; }
/* зима: заснеженные еловые ветки по краям первого экрана и финального баннера */
.np-winter .np-hero::before, .np-winter .np-hero::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 3; width: min(42vw, 66vh); pointer-events: none; background-repeat: no-repeat; background-size: auto 100%; filter: drop-shadow(0 12px 18px rgba(40, 72, 115, .18)); }
.np-winter .np-hero::before { left: 0; background-image: url(../images/winter/branch-right.webp); background-position: right top; transform: scaleX(-1); }
.np-winter .np-hero::after { right: 0; background-image: url(../images/winter/branch-right.webp); background-position: right top; }
@media (max-width: 767px) {
    .np-winter .np-hero::before, .np-winter .np-hero::after { bottom: auto; height: 46vh; width: 31vh; opacity: .9; }
    .np-winter .np-hero::before { left: -3vh; } .np-winter .np-hero::after { right: -3vh; }
}
/* зима: финальный баннер — небо и заснеженная поляна с беседкой на всю ширину */
.np-winter .npf { overflow: hidden; }
.np-winter .npf__cta { overflow: visible; border-radius: 0; padding: 5.5rem 1.5rem calc(min(30vw, 30rem)); }
.np-winter .npf__cta::before { left: calc(50% - 50vw); right: calc(50% - 50vw); filter: none;
    background: url(../images/winter/footer-scene.webp) center bottom / 100% auto no-repeat, linear-gradient(180deg, #F6F9FC 0%, #E3EEF8 55%, #D6E6F4 100%); }
.np-winter .npf__cta::after { display: none; }
.np-winter .npf__grid { border-top: 0; }
@media (max-width: 767px) { .np-winter .npf__cta { padding-bottom: 46vw; } .np-winter .npf__cta::before { background-size: 160% auto, auto; } }
/* цифры о парке: аккуратные плитки 2×2 — иконка в круге, значение, подпись */
.npm-stats--sm, .npm-stats--sm:is(*) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .875rem; margin: 2.25rem 0 0; }
.npm-stats--sm li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); grid-template-areas: "ic val" "ic lbl"; column-gap: .9375rem; align-items: center; min-width: 0; margin: 0; padding: 1.125rem 1.25rem; border: 1px solid var(--npm-line, rgba(245, 242, 233, .12)) !important; border-radius: 1.25rem; background: rgba(255, 255, 255, .04); }
.npm-stats--sm .npm-stats__ic { grid-area: ic; width: 3rem; height: 3rem; margin: 0; padding: .75rem; border-radius: 9999px; background: rgba(174, 150, 117, .16); box-sizing: border-box; }
.npm-stats--sm b { grid-area: val; align-self: end; font-size: 1.625rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.npm-stats--sm span { grid-area: lbl; align-self: start; margin-top: .1875rem; font-size: .8125rem; line-height: 1.35; }
.npm-light .npm-stats--sm li { background: rgba(255, 255, 255, .55); }
.np-winter .npm-stats--sm li { background: #fff; border-color: rgba(29, 42, 58, .06) !important; box-shadow: 0 16px 34px -24px rgba(40, 72, 115, .4); }
.np-winter .npm-stats--sm .npm-stats__ic { background: #FBF1DC; color: #C08A2E; }
@media (max-width: 420px) { .npm-stats--sm li { grid-template-columns: 2.5rem minmax(0, 1fr); padding: .875rem 1rem; } .npm-stats--sm .npm-stats__ic { width: 2.5rem; height: 2.5rem; padding: .625rem; } .npm-stats--sm b { font-size: 1.375rem; } }
.npm-stats--sm b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: clamp(1.25rem, 1.65vw, 1.625rem); }

/* =====================================================================
   ЕДИНАЯ ТИПОГРАФИКА — одна шкала размеров на всех страницах
   ===================================================================== */
/* запасной шрифт с метриками, близкими к Cormorant: заголовки не «прыгают», пока грузится веб-шрифт */
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'), local('Times New Roman'); size-adjust: 84%; ascent-override: 95%; descent-override: 30%; line-gap-override: 0%; }
:root {
    --np-serif: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
    --npa-serif: var(--np-serif);
    --t-h1: clamp(2.75rem, 5.4vw, 4.75rem);
    --t-h2: clamp(2.25rem, 4.2vw, 3.5rem);
    --t-h3: clamp(1.75rem, 2.6vw, 2.25rem);
    --t-h4: 1.375rem;
    --t-lead: 1.0625rem;
    --t-body: 1.0625rem;
    --t-small: .9375rem;
    --t-btn: .9375rem;
}
/* заголовок первого экрана */
.np-hero--serif .np-h1, .npa__h1 { font-size: var(--t-h1); line-height: 1.02; }
/* заголовки секций */
.npm-h2, .np-h2, .npo .np-h2 { font-family: var(--np-serif); font-weight: 500; font-size: var(--t-h2); line-height: 1.05; letter-spacing: -.01em; }
/* подзаголовки и названия карточек/блоков */
.npb-row__title, .npm-panel__title, .npb-bath__name { font-size: var(--t-h3); line-height: 1.05; }
.npm-act__name, .npb-occ__name, .npm-card__name { font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.05; }
/* заголовки внутри текста из редактора — одинаковые на всех страницах */
.npm-prose h1, .npm-prose h2, .np-content h1, .np-content h2, .npc-text h2, .npm-content h2 { margin: 2.25rem 0 .875rem; font-family: var(--np-serif); font-weight: 500; font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.12; letter-spacing: -.005em; }
.npm-prose h3, .npm-prose h4, .np-content h3, .npc-text h3, .npm-content h3 { margin: 1.75rem 0 .625rem; font-family: inherit; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.npm-prose > :first-child, .np-content > :first-child, .npc-text > :first-child { margin-top: 0; }
/* вводный текст и основной текст */
.npm-lead, .np-lead { font-size: var(--t-lead); line-height: 1.65; }
.np-content, .npm-prose, .npm-prose p, .npm-content p, .npc-text p, .npk p { font-size: var(--t-body); line-height: 1.7; }
/* кнопки и ссылки-стрелки — один размер */
.np-btn, .npm-cta, .npm-pill { font-size: var(--t-btn); }
.npm-link { font-size: var(--t-btn); }
.npmn-group__title, .npr-gallery__caption { font-size: var(--t-h3); line-height: 1.05; }

/* =====================================================================
   ЕДИНАЯ СИСТЕМА КНОПОК
   B1 — главное действие: заливка + круг с иконкой справа.
   B2 — второстепенное: стекло/обводка той же формы.
   Ссылка со стрелкой (.npm-link) — для «Подробнее».
   Поведение у всех одно: лёгкий подъём и тень, иконка сдвигается на 2px.
   ===================================================================== */
:root {
    --b1-bg: #F5F2E9; --b1-tx: #191F16; --b1-ic-bg: #AE9675; --b1-ic-tx: #191F16; --b1-hover: #fff;
    --b2-bg: rgba(255, 255, 255, .08); --b2-bd: rgba(255, 255, 255, .34); --b2-tx: #fff; --b2-hover: rgba(255, 255, 255, .18); --b2-ic: #C4AF8E;
}
/* светлый фон (летом) — тёмная главная, обводка второстепенной */
.npm-light, .npm-card.npm-light, .npo .np-factbar {
    --b1-bg: #191F16; --b1-tx: #F5F2E9; --b1-ic-bg: #AE9675; --b1-ic-tx: #191F16; --b1-hover: #303827;
    --b2-bg: transparent; --b2-bd: rgba(25, 31, 22, .26); --b2-tx: #191F16; --b2-hover: rgba(25, 31, 22, .06); --b2-ic: #7A6649;
}
/* тёмные блоки поверх фото внутри светлых секций */
.npm-light :is(.npb-book:not(.npmn-book), .npm-panel, .npm-act) {
    --b1-bg: #F5F2E9; --b1-tx: #191F16; --b1-ic-bg: #AE9675; --b1-ic-tx: #191F16; --b1-hover: #fff;
    --b2-bg: rgba(255, 255, 255, .08); --b2-bd: rgba(255, 255, 255, .34); --b2-tx: #fff; --b2-hover: rgba(255, 255, 255, .18); --b2-ic: #C4AF8E;
}
/* зима: везде золото + белое стекло */
html.np-winter, .np-winter :is(.npm-light, .npm-card.npm-light, .npo .np-factbar, .npb-book, .npm-panel, .npm-act) {
    --b1-bg: linear-gradient(180deg, #F6D892, #E7B95E); --b1-tx: #1D2A3A; --b1-ic-bg: #fff; --b1-ic-tx: #B98A35; --b1-hover: linear-gradient(180deg, #F9E2AC, #EDC373);
    --b2-bg: rgba(255, 255, 255, .78); --b2-bd: rgba(29, 42, 58, .12); --b2-tx: #1D2A3A; --b2-hover: #fff; --b2-ic: #B98A35;
}

/* общая форма */
body :is(.npm-cta, .np-btn, .npm-pill, .npm-card__book, .np-grad, .np-hero__extra a):not(#_) {
    display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
    min-height: 3.25rem; height: auto; padding: 0 1.5rem; border-radius: 9999px; border: 1px solid transparent;
    font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
body :is(.npm-cta, .np-btn, .npm-pill, .npm-card__book, .np-grad, .np-hero__extra a):not(#_):hover { transform: translateY(-2px); }
body :is(.npm-cta, .np-btn, .npm-pill, .npm-card__book, .np-grad, .np-hero__extra a):not(#_):focus-visible { outline: 2px solid #E2B865; outline-offset: 3px; }

/* B1 — главное действие */
body :is(.npm-cta, .np-btn--primary, .np-grad, .np-hero__extra a:first-child):not(#_) { background: var(--b1-bg); color: var(--b1-tx); border-color: transparent; box-shadow: 0 12px 26px -16px rgba(20, 24, 18, .55); }
body :is(.npm-cta, .np-btn--primary, .np-grad, .np-hero__extra a:first-child):not(#_):hover { background: var(--b1-hover); color: var(--b1-tx); box-shadow: 0 18px 32px -16px rgba(20, 24, 18, .6); }
.np-winter :is(.npm-cta, .np-btn--primary, .np-grad, .np-hero__extra a:first-child):not(#_) { box-shadow: 0 12px 26px -14px rgba(176, 124, 36, .65); }
/* круг с иконкой справа: у .npm-cta это <i>, у .np-btn--primary — псевдоэлементы */
html body .npm-cta:not(#_) { padding-right: .5rem; padding-left: 1.5rem; }
html body .npm-cta:not(#_) i { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 9999px; display: grid; place-items: center; background: var(--b1-ic-bg); color: var(--b1-ic-tx); transition: transform .25s ease; }
html body .npm-cta:not(#_):hover i { transform: translateX(2px); }
html body .np-btn--primary:not(#_) { padding-right: 3.25rem; padding-left: 1.5rem; }
html body .np-btn--primary:not(#_)::before { top: 50%; left: auto; right: .5rem; width: 2.25rem; height: 2.25rem; transform: translateY(-50%); background: var(--b1-ic-bg); transition: none; }
html body .np-btn--primary:not(#_):hover::before { top: 50%; left: auto; right: .5rem; width: 2.25rem; height: 2.25rem; }
html body .np-btn--primary:not(#_)::after { right: 1.0625rem; background: var(--b1-ic-tx); transition: transform .25s ease; }
html body .np-btn--primary:not(#_):hover::after { transform: translateX(2px); }
/* у кнопки телефона в меню — компактнее */
html body .np-nav .np-grad:not(#_) { min-height: 2.75rem; padding: 0 1.25rem; font-size: .875rem; }
html body a.np-grad.w-10:not(#_), html body a.np-grad[class*="w-1"]:not(#_) { padding: 0; width: 2.75rem; min-height: 2.75rem; }

/* B2 — второстепенное действие */
body :is(.np-btn--glass, .npm-pill, .npm-card__book, .np-hero__extra a:not(:first-child)):not(#_) { background: var(--b2-bg); color: var(--b2-tx); border-color: var(--b2-bd); box-shadow: none; }
body :is(.np-btn--glass, .npm-pill, .npm-card__book, .np-hero__extra a:not(:first-child)):not(#_):hover { background: var(--b2-hover); color: var(--b2-tx); border-color: #E2B865; box-shadow: 0 14px 28px -18px rgba(20, 24, 18, .45); }
html body .np-btn--glass:not(#_)::before { display: none; }
body :is(.np-btn--glass, .np-hero__extra a) i, body .npm-pill svg { color: var(--b2-ic); }
html body .np-hero__extra a:first-child i { color: inherit; }
/* маленькая — «Забронировать» в карточке дома */
html body .npm-card__book:not(#_) { min-height: 2.5rem; padding: 0 1.125rem; font-size: .875rem; }
/* плитки разделов на первом экране главной — во всю ширину ячейки */
html body .np-hero__extra a:not(#_) { display: flex; width: 100%; min-height: 3.5rem; }
/* маленькая главная (плашка дома на телефоне) */
html body .npm-cta--sm:not(#_) { min-height: 2.75rem; padding-left: 1.125rem; font-size: .875rem; }
html body .npm-cta--sm:not(#_) i { width: 2rem; height: 2rem; }
.np-winter .bg-gold-yellow { background: linear-gradient(180deg, #F6D892, #E7B95E) !important; color: #1D2A3A !important; }
/* круглые кнопки-стрелки слайдеров — одинаковые везде */
html body :is(.npr-gallery__nav, .npo-viewer__arrow):not(#_) { width: 2.75rem; height: 2.75rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .82); color: #191F16; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); transition: background .25s, transform .25s; }
html body :is(.npr-gallery__nav, .npo-viewer__arrow):not(#_):hover { background: #fff; transform: scale(1.06); }
.np-winter :is(.npr-gallery__nav, .npo-viewer__arrow) { color: #1D2A3A; }
/* телефон в меню — песочная капсула летом, золото зимой */
.np-nav .np-grad { --b1-bg: #AE9675; --b1-hover: #C4AF8E; --b1-tx: #191F16; }
.np-winter .np-nav .np-grad { --b1-bg: linear-gradient(180deg, #F6D892, #E7B95E); --b1-hover: linear-gradient(180deg, #F9E2AC, #EDC373); --b1-tx: #1D2A3A; }

/* Одна анатомия для всех кнопок: текст слева, круг с иконкой справа.
   Главная и второстепенная отличаются только заливкой. */
:root { --b2-ic-bg: rgba(196, 175, 142, .2); }
.npm-light, .npm-card.npm-light, .npo .np-factbar { --b2-ic-bg: rgba(122, 102, 73, .12); }
html.np-winter, .np-winter :is(.npm-light, .npm-card.npm-light, .npo .np-factbar, .npb-book, .npm-panel, .npm-act) { --b2-ic-bg: #FBF1DC; }

/* второстепенные с иконкой: иконку переносим вправо в круг */
html body :is(.np-btn--glass, .np-hero__extra a):not(#_) { padding-right: .5rem; padding-left: 1.5rem; }
html body :is(.np-btn--glass, .np-hero__extra a):not(#_) i { order: 2; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 9999px; display: grid; place-items: center; font-size: .875rem; background: var(--b2-ic-bg); color: var(--b2-ic); transition: transform .25s ease; }
html body .np-hero__extra a:first-child:not(#_) i { background: var(--b1-ic-bg); color: var(--b1-ic-tx); }
html body :is(.np-btn--glass, .np-hero__extra a):not(#_):hover i { transform: translateX(2px); }
html body .np-hero__extra a:not(#_) { justify-content: space-between; }
html body .np-hero__extra a:not(#_) span { flex: 1; text-align: center; }
/* обводка со стрелкой */
html body .npm-pill:not(#_) { padding-right: .5rem; }
html body .npm-pill:not(#_) svg { order: 2; flex: none; width: 2.25rem; height: 2.25rem; padding: .625rem; border-radius: 9999px; background: var(--b2-ic-bg); color: var(--b2-ic); box-sizing: border-box; transition: transform .25s ease; }
html body .npm-pill:not(#_):hover svg { transform: translateX(2px); }
/* «Забронировать» в карточке: маленький круг со стрелкой */
html body .npm-card__book:not(#_) { gap: .5rem; padding-right: .375rem; }
html body .npm-card__book:not(#_)::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: var(--b2-ic-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6649' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / .875rem no-repeat; transition: transform .25s ease; }
.np-winter .npm-card__book::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B98A35' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") !important; }
html body .npm-card__book:not(#_):hover::after { transform: translateX(2px); }
/* карточка дома: две кнопки одинаковой ширины — «Подробнее» (второстепенная) и «Забронировать» (главная) */
html body .npm-card__links:not(#_) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; align-items: stretch; }
html body .npm-card__links :is(.npm-link, .npm-card__book):not(#_) {
    display: flex; align-items: center; justify-content: center; gap: .375rem; min-height: 2.75rem; width: 100%; margin: 0; padding: 0 .75rem;
    border-radius: 9999px; border: 1px solid transparent; font-size: .875rem; font-weight: 600; line-height: 1.1; text-align: center; text-decoration: none; white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
html body .npm-card__links .npm-link:not(#_) { background: var(--b2-bg); color: var(--b2-tx); border-color: var(--b2-bd); }
html body .npm-card__links .npm-link:not(#_) svg { display: none; }
html body .npm-card__links .npm-card__book:not(#_) { background: var(--b1-bg); color: var(--b1-tx); border-color: transparent; box-shadow: 0 10px 22px -16px rgba(20, 24, 18, .5); }
html body .npm-card__links .npm-card__book:not(#_)::after { display: none; }
html body .npm-card__links .npm-link:not(#_):hover { background: var(--b2-hover); border-color: #E2B865; transform: translateY(-2px); }
html body .npm-card__links .npm-card__book:not(#_):hover { background: var(--b1-hover); color: var(--b1-tx); transform: translateY(-2px); }
/* узкая карточка: кнопки друг под другом во всю ширину */
html body .npm-card:not(#_) { container-type: inline-size; }
@container (max-width: 290px) {
    html body .npm-card__links:not(#_) { grid-template-columns: 1fr; }
}
/* зима, мобильная версия: веток нет, текст первого экрана на светлой матовой подложке */
@media (max-width: 767px) {
    html.np-winter .np-hero::before, html.np-winter .np-hero::after { display: none; }
    html.np-winter .np-hero__overlay { background:
        linear-gradient(180deg, rgba(246, 249, 252, .55) 0%, rgba(246, 249, 252, .35) 45%, rgba(246, 249, 252, 0) 72%, #F6F9FC 100%); }
    html.np-winter .np-hero .np-h1 { color: #16212F; text-shadow: 0 0 2px rgba(255, 255, 255, .9), 0 2px 28px rgba(255, 255, 255, 1); }
    html.np-winter .np-hero__text {
        max-width: 22rem; margin-inline: auto; padding: .875rem 1.125rem; border-radius: 1.25rem;
        background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .95);
        -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
        box-shadow: 0 14px 32px -20px rgba(29, 42, 58, .45);
    }
    html.np-winter .np-hero__text, html.np-winter .np-hero__text p { color: #1D2A3A; text-shadow: none; }
    html.np-winter .np-hero__badge { background: rgba(255, 255, 255, .85); }
}
/* зима, главная: снежные волны между секциями и чередование двух близких оттенков фона */
.np-wave { display: none; }
html.np-winter { --snow-a: #F6F9FC; --snow-b: #EBF2F9; }
html.np-winter .np-wave { display: block; position: relative; z-index: 1; height: 5rem; margin: -2.5rem 0; pointer-events: none; background: var(--wv-top); color: var(--wv-bot); }
html.np-winter .np-wave svg { display: block; width: 100%; height: 100%; fill: currentColor; }
html.np-winter .np-wave--flip svg { transform: scaleX(-1); }
html.np-winter .np-wave--a-b { --wv-top: var(--snow-a); --wv-bot: var(--snow-b); }
html.np-winter .np-wave--b-a { --wv-top: var(--snow-b); --wv-bot: var(--snow-a); }
html.np-winter .npm #cottages:not(#_), html.np-winter .npm #bath:not(#_) { --npm-bg: var(--snow-b); background: var(--snow-b); }
html.np-winter .npm #map:not(#_) { background: var(--snow-a); }
@media (max-width: 767px) { html.np-winter .np-wave { height: 2.75rem; margin: -1.375rem 0; } }
html.np-winter .np-wave .np-wave__crest { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .9; vector-effect: non-scaling-stroke; }
html.np-winter .np-wave .np-wave__crest--soft { opacity: .55; stroke-width: 1; }
