

/* Start:/bitrix/templates/main/styles.css?178109566756837*/
:root {
  --font-sans: "Nunito Sans", ui-sans-serif, system-ui, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  --whn-primary: var(--color-primary, var(--primary, #b79357));
  --whn-card: var(--color-card, var(--card, #ffffff));
  --whn-bg: var(--color-background, var(--background, #ffffff));
  --whn-border: var(--color-border, var(--border, #e5e7eb));
  --whn-fg: var(--color-foreground, var(--foreground, #1f2937));
  --whn-muted: var(--color-muted-foreground, var(--muted-foreground, #6b7280));
  --whn-secondary: var(--color-secondary, var(--secondary, #f3f4f6));
}

html,
body,
button,
input,
optgroup,
select,
textarea {
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
}

.whn-nav { position: relative; }
.whn-nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--whn-primary);
  transform: scaleX(0); transform-origin: center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.whn-nav:hover::after { transform: scaleX(1); }
.whn-nav.whn-active { color: var(--whn-primary); }
.whn-nav.whn-active::after { transform: scaleX(1); }
a[data-spy].whn-active { color: var(--whn-primary); }


.whn-card {
  transition: opacity .6s ease,
              transform .3s cubic-bezier(.22,.61,.36,1),
              box-shadow .3s ease,
              border-color .25s ease !important;
  will-change: transform;
}
.whn-card:hover { transform: translateY(-6px) scale(1.03); }
.whn-img { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.whn-card:hover .whn-img { transform: scale(1.06); }
.whn-arrow { display: inline-block; transition: transform .3s ease; }
.whn-card:hover .whn-arrow { transform: translateX(6px); }
.whn-card:hover .whn-title { color: var(--whn-primary); }
.whn-thumb { aspect-ratio: 16 / 10; background: var(--whn-secondary); }

.whn-blog { margin-top: 56px; }
.whn-blog__head {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px;
}
@media (min-width: 768px) {
  .whn-blog__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.whn-swiper { position: relative; }
.whn-swiper__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px; scrollbar-width: none;
  -webkit-user-select: none; user-select: none;
}
.whn-swiper__track::-webkit-scrollbar { display: none; }
.whn-bcard {
  flex: 0 0 auto; width: min(440px, 86vw); scroll-snap-align: start;
  display: flex; background: var(--whn-card); border: 1px solid var(--whn-border);
  border-radius: 16px; overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .25s ease;
  will-change: transform;
}
.whn-bcard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--whn-primary) 40%, transparent); box-shadow: 0 16px 36px -14px rgba(0,0,0,.2); }
.whn-bcard__img { flex: 0 0 38%; max-width: 190px; overflow: hidden; display: block; }
.whn-bcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.whn-bcard:hover .whn-bcard__img img { transform: scale(1.07); }
.whn-bcard__body { flex: 1; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; }
.whn-bcard__meta { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--whn-muted); text-transform: uppercase; letter-spacing: .08em; }
.whn-bcard__cat { color: var(--whn-primary); font-weight: 700; }
.whn-bcard__title { margin: 10px 0 0; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.whn-bcard__title a { color: var(--whn-fg); text-decoration: none; transition: color .2s; }
.whn-bcard:hover .whn-bcard__title a { color: var(--whn-primary); }
.whn-bcard__text { margin: 8px 0 0; font-size: .85rem; color: var(--whn-muted); line-height: 1.5; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.whn-bcard__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--whn-primary); text-decoration: none; }
.whn-bcard:hover .whn-bcard__more .whn-arrow { transform: translateX(5px); }
.whn-swiper__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--whn-border);
  background: var(--whn-card); color: var(--whn-fg); font-size: 22px; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3);
  transition: background .2s, color .2s, opacity .2s; display: flex; align-items: center; justify-content: center;
}
.whn-swiper__btn:hover { background: var(--whn-primary); color: #fff; border-color: var(--whn-primary); }
.whn-swiper__btn--prev { left: -10px; }
.whn-swiper__btn--next { right: -10px; }
.whn-swiper__btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .whn-swiper__btn { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .whn-swiper__track { scroll-behavior: auto; }
  .whn-bcard:hover { transform: none; }
  .whn-bcard:hover .whn-bcard__img img { transform: none; }
}

.faq-ico { transition: transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(180deg); }
.faq-q[aria-expanded="true"] { color: var(--whn-primary); }
.faq-a { overflow: hidden; transition: height .3s ease; }
.faq-a__inner { padding-top: .25rem; }
.faq-list { list-style: disc; padding-left: 1.25rem; margin: 0; }
.faq-list li { margin: .35rem 0; }

.whn-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; color: var(--whn-fg);
  background: transparent; border: 0; cursor: pointer; transition: background .2s;
}
.whn-burger:hover { background: var(--whn-secondary); }
.whn-burger::before {
  content: ""; width: 20px; height: 14px; border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor; position: relative;
}
.whn-burger::after {
  content: ""; position: absolute; width: 20px; height: 2px; background: currentColor;
}
@media (min-width: 768px) { .whn-burger { display: none; } }

.whn-drawer-ov {
  position: fixed; inset: 0; background: rgba(15,18,23,.5);
  z-index: 1100; opacity: 0; transition: opacity .3s ease;
}
.whn-drawer-ov.is-open { opacity: 1; }
.whn-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 340px);
  background: var(--whn-card); z-index: 1101; box-shadow: -12px 0 40px rgba(0,0,0,.18);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column; padding: 22px; gap: 6px;
}
.whn-drawer.is-open { transform: translateX(0); }
.whn-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.whn-drawer__logo { font-weight: 800; font-size: 1.15rem; color: var(--whn-fg); text-decoration: none; }
.whn-drawer__x {
  width: 36px; height: 36px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--whn-secondary); color: var(--whn-fg); font-size: 16px; line-height: 1;
}
.whn-drawer__nav { display: flex; flex-direction: column; }
.whn-drawer__nav a {
  padding: 13px 6px; color: var(--whn-fg); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--whn-border); transition: color .2s;
}
.whn-drawer__nav a:hover, .whn-drawer__nav a.whn-active { color: var(--whn-primary); }
.whn-drawer__nav a::after { display: none; }
.whn-drawer__phone {
  margin-top: 16px; font-weight: 700; font-size: 1.05rem;
  color: var(--whn-fg); text-decoration: none;
}
.whn-drawer__cta {
  margin-top: 14px; padding: 13px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--whn-primary); color: #fff; font-weight: 700; font-size: 1rem;
}
.whn-drawer__cta:hover { filter: brightness(.95); }
.whn-drawer__theme {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 6px 4px; border-top: 1px solid var(--whn-border);
}
.whn-drawer__theme-label { font-weight: 600; color: var(--whn-fg); }
.whn-drawer__theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  border: 1px solid var(--whn-border); background: var(--whn-secondary);
  color: var(--whn-fg); cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.whn-drawer__theme-btn:hover { color: var(--whn-primary); border-color: var(--whn-primary); }
.whn-drawer__theme-btn svg { width: 20px; height: 20px; }

.whn-modal { position: fixed; inset: 0; z-index: 1200; display: flex;
  align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.whn-modal__ov { position: fixed; inset: 0; background: rgba(15,18,23,.55);
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s ease; }
.whn-modal.is-open .whn-modal__ov { opacity: 1; }
.whn-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 460px; margin: auto;
  background: var(--whn-card); color: var(--whn-fg);
  border: 1px solid var(--whn-border); border-radius: 18px; padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transform: translateY(16px) scale(.97); opacity: 0;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}
.whn-modal.is-open .whn-modal__dialog { transform: none; opacity: 1; }
.whn-modal__x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: var(--whn-secondary);
  color: var(--whn-fg); cursor: pointer; font-size: 15px; line-height: 1;
}
.whn-modal__x:hover { background: var(--whn-border); }
.whn-modal__title { font-size: 1.5rem; font-weight: 800; margin: 0 30px 6px 0; }
.whn-modal__sub { color: var(--whn-muted); font-size: .92rem; margin: 0 0 18px; }

.whn-form { display: flex; flex-direction: column; gap: 14px; }
.whn-field { display: flex; flex-direction: column; gap: 6px; }
.whn-field > span { font-size: .85rem; font-weight: 600; color: var(--whn-fg); }
.whn-field i { color: #dc2626; font-style: normal; margin-left: 2px; }
.whn-field input, .whn-field textarea, .whn-field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--whn-border);
  border-radius: 10px; background: var(--whn-bg); color: var(--whn-fg);
  font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.whn-field input:focus, .whn-field textarea:focus, .whn-field select:focus {
  outline: 0; border-color: var(--whn-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--whn-primary) 22%, transparent);
}
.whn-field textarea { resize: vertical; min-height: 78px; }
.whn-field.is-invalid input, .whn-field.is-invalid textarea, .whn-field.is-invalid select { border-color: #dc2626; }
.whn-field .whn-err { color: #dc2626; font-size: .78rem; display: none; }
.whn-field.is-invalid .whn-err { display: block; }

.whn-field__ctl { position: relative; display: block; }
.whn-field__ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--whn-muted); pointer-events: none;
}
.whn-field__ctl input { padding-left: 40px; }

.whn-callbox {
  background: color-mix(in srgb, var(--whn-primary) 12%, var(--whn-card));
  border-radius: 14px; padding: 16px 18px; margin: 2px 0 14px;
}
.whn-callbox__lead { margin: 0 0 6px; font-weight: 700; color: var(--whn-fg); font-size: .95rem; }
.whn-callbox__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.3rem; font-weight: 800; color: var(--whn-primary);
  text-decoration: none; line-height: 1.2;
}
.whn-callbox__phone svg { width: 20px; height: 20px; }
.whn-callbox__phone:hover { filter: brightness(.92); }
.whn-callbox__note { margin: 4px 0 0; font-size: .8rem; color: var(--whn-muted); }

.whn-consents { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.whn-link { color: var(--whn-primary); text-decoration: none; }
.whn-link:hover { text-decoration: underline; }
.whn-check { display: flex; gap: 9px; align-items: flex-start; font-size: .82rem; color: var(--whn-muted); cursor: pointer; line-height: 1.4; }
.whn-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--whn-primary); flex-shrink: 0; }
.whn-check.is-invalid span { color: #dc2626; }
.whn-check i { color: #dc2626; font-style: normal; }
.whn-form__btn {
  margin-top: 4px; padding: 13px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--whn-primary); color: #fff; font-weight: 700; font-size: 1rem;
  transition: filter .2s;
}
.whn-form__btn:hover { filter: brightness(.95); }
.whn-form__btn:disabled, .whn-form__btn.is-loading { cursor: progress; opacity: .75; filter: none; }
.whn-form__ok {
  margin: 4px 0 0; padding: 16px; border-radius: 10px; text-align: center;
  background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
  color: var(--whn-fg); font-weight: 600;
}
.whn-form__ok small { color: var(--whn-muted); font-weight: 400; }
.whn-form__err {
  margin: 4px 0 0; padding: 12px 14px; border-radius: 10px;
  background: color-mix(in srgb, #dc2626 10%, transparent);
  color: #b91c1c; font-size: .9rem; font-weight: 500;
}

.whn-no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.whn-anim .whn-reveal { opacity: 0; transform: translateY(22px); }
.whn-anim .whn-reveal.is-in { opacity: 1; transform: none; }
.whn-reveal { transition: opacity .85s ease, transform .85s cubic-bezier(.22,.61,.36,1); }
.whn-anim .whn-reveal--soft { transform: none; }            /* для блока с картой */

/* Каскад карточек внутри появившейся секции — только прозрачность.
   ВАЖНО: здесь НЕТ свойства transition (иначе оно затирало бы
   переходы hover у карточек). Плавность opacity задаёт сама карточка
   (.whn-card / .whn-lift содержат `opacity` в своём transition). */
.whn-anim .whn-rise { opacity: 0; }
.whn-anim .whn-rise.is-in { opacity: 1; }

/* Hero: медленный Ken Burns + поэтапный вход контента */
.whn-kenburns { animation: whnKB 26s ease-in-out infinite alternate; transform-origin: 60% 40%; will-change: transform; }
@keyframes whnKB { from { transform: scale(1); } to { transform: scale(1.08); } }
.whn-anim .whn-intro { opacity: 0; transform: translateY(20px); }
.whn-anim .whn-intro.is-in { opacity: 1; transform: none; }
.whn-intro { transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); }

/* Печатающийся подзаголовок (аналог Typed.js).
   «Призрак» (самая длинная фраза, невидим) держит размер области,
   печатаемый текст лежит поверх него абсолютно — высота hero не прыгает.
   Без JS / reduced-motion остаётся обычный статичный текст. */
.whn-typed-box { position: relative; display: inline-block; }
.whn-typed-ghost { display: none; }
.whn-typed-box.is-typing .whn-typed-ghost {
  display: inline; visibility: hidden; white-space: nowrap;
}
.whn-typed-box.is-typing .whn-typed {
  position: absolute; left: 0; top: 0; white-space: nowrap;
}
.whn-typed-box.is-typing .whn-typed::after {
  content: ""; display: inline-block; width: .055em; height: 1.05em;
  background: currentColor; margin-left: .07em; vertical-align: -.12em;
  border-radius: 1px; animation: whnCaret 1.05s steps(1) infinite;
}
@keyframes whnCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whn-typed-box.is-typing .whn-typed::after { display: none; } }

/* Единый деликатный hover-подъём + лёгкий scale карточек.
   Высокая специфичность, чтобы перебить tailwind transition/transform. */
.whn-anim .whn-lift, .whn-lift {
  transition: opacity .6s ease,
              transform .25s cubic-bezier(.22,.61,.36,1),
              box-shadow .25s ease,
              border-color .2s ease !important;
  will-change: transform;
}
.whn-anim .whn-lift:hover, .whn-lift:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.2) !important;
}
/* иконка внутри карточки чуть подрастает вместе с ней */
.whn-lift [class*="bg-primary/1"] { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.whn-lift:hover [class*="bg-primary/1"] { transform: scale(1.09); }

/* Блик на главных кнопках */
.whn-sheen { position: relative; overflow: hidden; isolation: isolate; }
.whn-sheen::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.whn-sheen:hover::after { left: 130%; }

/* Карта (Яндекс iframe) */
.wh-map { display: block; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .whn-kenburns { animation: none; }
  .whn-lift:hover { transform: none; }
  .whn-sheen::after { display: none; }
}

/* ===========================================================================
   Объекты: карточки выбора + панель (карта проезда + цены на объект)
   =========================================================================== */

/* --- Чипы городов: фильтр локаций --- */
.whn-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  position: relative;
}
.whn-city-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 12px;
  background: var(--whn-card);
  border: 1px solid var(--whn-border);
  border-radius: 999px;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--whn-fg);
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s cubic-bezier(.22,.61,.36,1),
              box-shadow .22s ease,
              border-color .22s ease,
              background-color .22s ease,
              color .22s ease;
}
.whn-city-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
              color-mix(in srgb, var(--whn-primary) 18%, transparent),
              transparent 55%);
  opacity: 0;
  z-index: -1;
  transition: opacity .25s ease;
  pointer-events: none;
}
.whn-city-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--whn-primary) 50%, var(--whn-border));
  box-shadow: 0 8px 18px -14px rgba(0,0,0,.28);
}
.whn-city-chip:focus-visible {
  outline: 0;
  border-color: var(--whn-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--whn-primary) 28%, transparent);
}
.whn-city-chip.is-active {
  border-color: var(--whn-primary);
  color: var(--whn-fg);
  box-shadow: 0 0 0 1px var(--whn-primary),
              0 12px 24px -18px color-mix(in srgb, var(--whn-primary) 55%, rgba(0,0,0,.4));
}
.whn-city-chip.is-active::before { opacity: 1; }
.whn-city-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--whn-muted) 60%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--whn-muted) 18%, transparent);
  transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.whn-city-chip:hover .whn-city-chip__dot {
  background: color-mix(in srgb, var(--whn-primary) 70%, transparent);
}
.whn-city-chip.is-active .whn-city-chip__dot {
  background: var(--whn-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--whn-primary) 22%, transparent);
  transform: scale(1.05);
}
.whn-city-chip__name { white-space: nowrap; letter-spacing: -.005em; }
.whn-city-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: .7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--whn-muted);
  background: color-mix(in srgb, var(--whn-muted) 12%, transparent);
  border-radius: 999px;
  transition: background-color .22s ease, color .22s ease;
}
.whn-city-chip.is-active .whn-city-chip__count {
  color: #fff;
  background: var(--whn-primary);
}
/* Мобильный горизонтальный скролл чипов с мягкими краями */
@media (max-width: 720px) {
  .whn-city-chips {
    /*flex-wrap: nowrap;*/
    /*overflow-x: auto;*/
    margin-left: -8px;
    margin-right: -8px;
    /*padding: 6px 16px 8px;*/
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /*mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);*/
    /*-webkit-mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 18px), transparent);*/
  }
  .whn-city-chips::-webkit-scrollbar { display: none; }
  .whn-city-chip { scroll-snap-align: start; flex: 0 0 auto; }
}

/* --- Сетка карточек объектов + анимация фильтрации --- */
.whn-obj-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.whn-obj-card.is-filtered-out {
  opacity: 0;
  transform: scale(.94) translateY(-4px);
  pointer-events: none;
}
.whn-obj-card[hidden] { display: none; }
/* Пустое состояние, если выбранный город не имеет локаций */
.whn-city-empty {
  display: none;
  padding: 28px 18px;
  text-align: center;
  color: var(--whn-muted);
  border: 1px dashed var(--whn-border);
  border-radius: 14px;
  font-size: .92rem;
}
.whn-city-empty.is-visible { display: block; }

/* --- Карточка-переключатель объекта (компактная) --- */
.whn-obj-card {
  position: relative;
  flex: 1 1 240px;
  max-width: 360px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 1px;
  align-items: center;
  text-align: left;
  padding: 12px 16px;
  background: var(--whn-card);
  /* border: 1px solid var(--whn-border); */
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  color: var(--whn-fg);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform .26s cubic-bezier(.22,.61,.36,1),
              box-shadow .26s ease, border-color .22s ease, background-color .22s ease,
              opacity .28s ease;
}
.whn-obj-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--whn-primary) 45%, transparent);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.34);
}
.whn-obj-card:focus-visible {
  outline: 0;
  border-color: var(--whn-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--whn-primary) 28%, transparent);
}
.whn-obj-card.is-active {
  border-color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 6%, var(--whn-card));
  box-shadow: 0 0 0 1px var(--whn-primary),
              0 16px 32px -20px color-mix(in srgb, var(--whn-primary) 55%, rgba(0,0,0,.4));
}
/* стрелка-указатель от активной карточки к панели — чёткий каретт */
.whn-obj-card.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 8px solid var(--whn-primary);
  transform: translateX(-50%);
  animation: whnObjPoke .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes whnObjPoke {
  from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.whn-obj-card__ico {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.whn-obj-card__ico svg { width: 19px; height: 19px; }
.whn-obj-card:hover .whn-obj-card__ico { transform: scale(1.06); }
.whn-obj-card.is-active .whn-obj-card__ico { background: var(--whn-primary); color: #fff; }
.whn-obj-card__addr {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--whn-fg);
  letter-spacing: -.01em;
  padding-right: 48px;
}
.whn-obj-card__facts {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: .73rem;
  color: var(--whn-muted);
  font-weight: 500;
}
/* «Выбран»: отдельный бейдж не нужен — состояние читается по золотой
   обводке, заливке иконки и стрелке к панели. Узел оставлен для семантики. */
.whn-obj-card__badge { display: none; }
/* Бейдж «Шаблон» на карточке-заготовке */
.whn-obj-card__tag {
  position: absolute;
  top: 9px;
  right: 11px;
  padding: 3px 8px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #92600c;
  background: #fbe6c2;
  border-radius: 999px;
  transition: opacity .2s ease;
}
/*.whn-obj-card.is-active .whn-obj-card__tag { opacity: 0; }*/
.whn-obj-card--tpl { border-style: dashed; }
@media (max-width: 520px) {
  .whn-obj-card { flex-basis: 100%; max-width: none; }
}

/* --- Панель выбранного объекта --- */
.whn-obj-detail { position: relative; }
.whn-obj-panel {
  background: var(--whn-card);
  border: 1px solid var(--whn-border);
  border-radius: 22px;
  overflow: hidden;
  /*padding: clamp(16px, 2.4vw, 26px);*/
  box-shadow: 0 26px 60px -34px rgba(0,0,0,.4);
  transition: opacity .45s ease, transform .5s cubic-bezier(.22,.61,.36,1);
}
.whn-anim .whn-obj-panel { opacity: 0; transform: translateY(14px); }
.whn-anim .whn-obj-panel.is-active { opacity: 1; transform: none; }
.whn-obj-panel__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  /*gap: clamp(16px, 2.4vw, 28px);*/
  align-items: stretch;
}
.whn-obj-map {
  min-height: clamp(320px, 42vw, 480px);
  /*border-radius: 16px;*/
  overflow: hidden;
  /*border: 1px solid var(--whn-border);*/
  /*box-shadow: 0 0px 34px -11px inset rgba(0,0,0,.45);*/
}
.whn-obj-map .wh-map { width: 100%; height: 100%; }

/* === MapLibre: кастомный маркер и попап === */
.wh-map { position: relative; }
.wh-map .maplibregl-ctrl-attrib { font-size: 10px; }
.wh-map .maplibregl-ctrl-group { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }

html.dark #wh-map .maplibregl-canvas {
  filter: brightness(.9) saturate(.95);
}

.whn-mlb-pin {
  --pin-bg: var(--whn-primary, #b79357);
  --pin-bg-dark: #8d6f3f;
  position: relative;
  width: 44px; height: 56px;
  cursor: pointer;
  filter: drop-shadow(0 6px 12px rgba(20, 16, 8, .28));
  transition: transform .2s ease;
}
.whn-mlb-pin:hover { transform: translateY(-3px) scale(1.04); }
.whn-mlb-pin__body {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pin-bg) 0%, var(--pin-bg-dark) 100%);
  border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.whn-mlb-pin__body svg { width: 22px; height: 22px; display: block; }
.whn-mlb-pin__stem {
  position: absolute; bottom: 2px; left: 50%;
  width: 14px; height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(145deg, var(--pin-bg) 0%, var(--pin-bg-dark) 100%);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  z-index: -1;
}
.whn-mlb-pin__pulse {
  position: absolute; top: 14px; left: 4px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pin-bg);
  opacity: .35;
  animation: whn-mlb-pulse 2.2s ease-out infinite;
  z-index: -2;
}
@keyframes whn-mlb-pulse {
  0%   { transform: scale(.6); opacity: .55; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whn-mlb-pin__pulse { animation: none; opacity: 0; }
}

/* Попап */
.whn-mlb-popwrap .maplibregl-popup-content {
  padding: 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px -10px rgba(20,16,8,.25);
  border: 1px solid var(--whn-border);
  background: var(--whn-card);
}
.whn-mlb-popwrap .maplibregl-popup-close-button {
  width: 28px; height: 28px;
  font-size: 20px; line-height: 1;
  color: var(--whn-muted);
  top: 6px; right: 6px;
  border-radius: 50%;
  background: transparent;
}
.whn-mlb-popwrap .maplibregl-popup-close-button:hover {
  background: var(--whn-secondary);
  color: var(--whn-fg);
}
.whn-mlb-popwrap .maplibregl-popup-tip { border-top-color: var(--whn-card) !important; }

.whn-mlb-pop { color: var(--whn-fg); }
.whn-mlb-pop__head {
  padding: 16px 18px 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--whn-primary) 14%, var(--whn-card)) 0%, color-mix(in srgb, var(--whn-primary) 28%, var(--whn-card)) 100%);
  border-bottom: 1px solid var(--whn-border);
}
.whn-mlb-pop__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--whn-primary) 18%, transparent);
  color: var(--whn-primary);
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase;
}
.whn-mlb-pop__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .2);
}
.whn-mlb-pop__title {
  margin: 8px 0 2px; font-size: 17px; font-weight: 800; color: var(--whn-fg);
}
.whn-mlb-pop__sub { margin: 0; color: var(--whn-muted); font-size: 13px; }
.whn-mlb-pop__body { padding: 14px 18px 16px; }
.whn-mlb-pop__row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 13.5px; color: var(--whn-fg);
}
.whn-mlb-pop__row svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--whn-primary); margin-top: 2px; }
.whn-mlb-pop__row b { font-weight: 700; }
.whn-mlb-pop__cta { display: flex; gap: 8px; margin-top: 12px; }
.whn-mlb-pop__btn {
  flex: 1; text-align: center;
  padding: 10px 12px; border-radius: 10px;
  font-weight: 700; font-size: 13px; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.whn-mlb-pop__btn--primary { background: var(--whn-primary); color: #fff; }
.whn-mlb-pop__btn--primary:hover { background: color-mix(in srgb, var(--whn-primary) 80%, #000); }
.whn-mlb-pop__btn--ghost { background: var(--whn-secondary); color: var(--whn-fg); }
.whn-mlb-pop__btn--ghost:hover { background: color-mix(in srgb, var(--whn-secondary) 75%, #000); }

.whn-obj-mapholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--whn-muted);
  background:
    repeating-linear-gradient(45deg,
      color-mix(in srgb, var(--whn-primary) 4%, transparent) 0 12px,
      transparent 12px 24px),
    var(--whn-secondary);
  border: 2px dashed color-mix(in srgb, var(--whn-primary) 35%, var(--whn-border));
  border-radius: 14px;
}
.whn-obj-mapholder svg { width: 40px; height: 40px; color: var(--whn-primary); opacity: .8; }
.whn-obj-mapholder p { margin: 4px 0 0; font-weight: 700; color: var(--whn-fg); }
.whn-obj-mapholder span { font-size: .82rem; max-width: 34ch; }
.whn-obj-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.whn-obj-info__addr { display: flex; align-items: flex-start; gap: 12px; }
.whn-obj-info__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
}
.whn-obj-info__ico svg { width: 21px; height: 21px; }
.whn-obj-info__addr p {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--whn-fg);
}
.whn-obj-info__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.whn-obj-info__list li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--whn-muted); }
.whn-obj-info__list svg { width: 19px; height: 19px; color: var(--whn-primary); flex-shrink: 0; }
.whn-obj-info__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.whn-obj-info__cta button { flex: 1 1 auto; }

/* --- Компактные тарифы (в колонке справа от карты) --- */
.whn-obj-prices { display: flex; flex-direction: column; gap: 9px; }
.whn-obj-prices__head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--whn-fg);
}
.whn-obj-prices__unit {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--whn-muted);
}
.whn-obj-tariffs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.whn-obj-tar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 11px;
  padding: 9px 13px;
  border: 1px solid var(--whn-border);
  border-radius: 11px;
  background: var(--whn-card);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .22s ease,
              background-color .22s ease,
              box-shadow .22s ease,
              transform .22s cubic-bezier(.22,.61,.36,1);
}
.whn-obj-tar:hover,
.whn-obj-tar:focus-within {
  z-index: 5;
}
.whn-obj-tar:hover {
  border-color: color-mix(in srgb, var(--whn-primary) 38%, transparent);
  transform: translateY(-1px);
}
.whn-obj-tar:focus-visible {
  outline: 0;
  border-color: var(--whn-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--whn-primary) 26%, transparent);
}
.whn-obj-tar.is-pop {
  border-color: color-mix(in srgb, var(--whn-primary) 55%, transparent);
  background: color-mix(in srgb, var(--whn-primary) 7%, var(--whn-card));
}
/* Активный выбор тарифа — приоритетнее, чем «Хит» */
.whn-obj-tar.is-selected {
  border-color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 10%, var(--whn-card));
  box-shadow: 0 0 0 1px var(--whn-primary),
              0 10px 22px -16px color-mix(in srgb, var(--whn-primary) 60%, rgba(0,0,0,.4));
}
.whn-obj-tar.is-selected .whn-obj-tar__ico {
  background: var(--whn-primary);
  color: #fff;
}
.whn-obj-tar__ico { transition: background-color .22s ease, color .22s ease; }
.whn-obj-tar__price,
.whn-obj-tar__price b { transition: color .22s ease; }
.whn-obj-tar.is-selected .whn-obj-tar__price,
.whn-obj-tar.is-selected .whn-obj-tar__price b { color: var(--whn-primary); }
.whn-obj-tar__ico {
  grid-column: 1; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
}
.whn-obj-tar__ico svg { width: 16px; height: 16px; }
.whn-obj-tar__name {
  grid-column: 2; grid-row: 1; align-self: end; justify-self: start;
  position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 7px;
  min-width: 0;
  font-size: .9rem; font-weight: 700; color: var(--whn-fg); line-height: 1.2;
}
.whn-obj-tar__vol {
  grid-column: 2; grid-row: 2; align-self: start;
  font-size: .72rem; color: var(--whn-muted);
}
.whn-obj-tar__price {
  grid-column: 3; grid-row: 1 / span 2; align-self: center;
  white-space: nowrap; font-size: .76rem; font-weight: 600; color: var(--whn-muted);
  min-width: 73px; text-align: right;
}
.whn-obj-tar__price b { font-size: 1.18rem; font-weight: 800; color: var(--whn-fg); }
.whn-obj-tar.is-pop .whn-obj-tar__price,
.whn-obj-tar.is-pop .whn-obj-tar__price b { color: var(--whn-primary); }
.whn-obj-tar.is-promo .whn-obj-tar__price {
  grid-row: 2; align-self: start;
}
.whn-obj-tar__hit {
  font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--whn-primary);
  padding: 2px 6px; border-radius: 999px;
}

/* Акция «2-й месяц бесплатно» */
.whn-obj-tar__promo {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    margin: 0 0 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--primary-foreground);
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    background: var(--primary);
    /*box-shadow: 0 4px 5px -4px rgb(211 47 47), inset 0 0 0 1px rgba(255, 255, 255, .18);*/
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}
.whn-obj-tar__promo svg { width: 13px; height: 13px; flex-shrink: 0; }
.whn-obj-tar__promo sup { font-size: .72em; line-height: 0; top: -.2em; }

/* Угловой бейдж «Акция» (фигурная лента, левый верхний угол) */
.whn-obj-tar__flag {
  position: absolute; top: -2px; left: -4px;
  width: 3.625rem; height: 3.625rem;
  z-index: 6; pointer-events: none;
  transform: rotate(-90deg);
  transform-origin: 70% 30%;
  background: linear-gradient(180deg, #f9c602 1.72%, #f82c37 94.83%);
  filter: drop-shadow(0 3px 5px rgba(120,10,20,.4));
  animation: whn-flag-beat 4s ease-in-out infinite;
  -webkit-clip-path: path('M51.8187 26.4853L28.8481 3.51472C26.5977 1.26428 23.5454 0 20.3628 0H2.1618C0.379992 0 -0.51234 2.15429 0.74759 3.41422L51.9192 54.5858C53.1791 55.8457 55.3334 54.9534 55.3334 53.1716V34.9706C55.3334 31.788 54.0691 28.7357 51.8187 26.4853Z');
  clip-path: path('M51.8187 26.4853L28.8481 3.51472C26.5977 1.26428 23.5454 0 20.3628 0H2.1618C0.379992 0 -0.51234 2.15429 0.74759 3.41422L51.9192 54.5858C53.1791 55.8457 55.3334 54.9534 55.3334 53.1716V34.9706C55.3334 31.788 54.0691 28.7357 51.8187 26.4853Z');
}

@keyframes whn-flag-beat {
  0%, 58%, 100% {
    transform: rotate(-90deg) scale(1);
    filter: drop-shadow(0 3px 5px rgba(120,10,20,.4));
  }
  66% {
    transform: rotate(-90deg) scale(1.12);
    filter: drop-shadow(0 0 8px rgba(248,44,55,.8)) drop-shadow(0 3px 5px rgba(120,10,20,.4));
  }
  74% { transform: rotate(-90deg) scale(1); }
  82% {
    transform: rotate(-90deg) scale(1.07);
    filter: drop-shadow(0 0 5px rgba(248,44,55,.5)) drop-shadow(0 3px 5px rgba(120,10,20,.4));
  }
  90% { transform: rotate(-90deg) scale(1); }
}
.whn-obj-tar__flag-txt {
  transform: rotate(45deg) translate(15px, 10px);
  width: 60px; color: #fff; text-align: center;
  font-size: 13px; line-height: 1; font-weight: 800;
  text-shadow: 0 1px 1px rgba(120,10,20,.45);
}
.whn-obj-tar__promo::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: whn-promo-sheen 3.4s ease-in-out infinite;
}
@keyframes whn-promo-sheen {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .whn-obj-tar__promo::after { animation: none; }
  .whn-obj-tar__flag { animation: none; }
}
/* Мобильные: компактный бейдж над ценой, чтобы не сжимать колонку названия */
@media (max-width: 560px) {
  .whn-obj-tar { column-gap: 9px; }
  .whn-obj-tar__name { row-gap: 5px; }
  .whn-obj-tar__promo {
    font-size: .58rem;
    padding: 3px 8px 3px 6px;
  }
  .whn-obj-tar__promo svg { width: 12px; height: 12px; }
  .whn-obj-tar__price { min-width: 64px; }
}
/* Сноска под тарифами */
.whn-obj-promo-note {
  margin: 11px 0 0;
  font-size: .72rem; line-height: 1.45; color: var(--whn-muted);
  display: flex; gap: 6px; align-items: flex-start;
}
.whn-obj-promo-note__star {
  color: #D32F2F; font-weight: 800; flex-shrink: 0;
}
/* Иконка-подсказка с тултипом (описание тарифа) */
.whn-obj-tar__info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--whn-muted); cursor: help;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease;
}
.whn-obj-tar__info svg { width: 15px; height: 15px; }
.whn-obj-tar__info:hover,
.whn-obj-tar__info:focus-visible { color: var(--whn-primary); outline: 0; }
.whn-obj-tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  z-index: 30;
  width: 250px;
  max-width: 250px;
  padding: 6px;
  font-size: .78rem; font-weight: 500; line-height: 1.45;
  color: var(--whn-fg);
  background: var(--whn-card);
  border: 1px solid var(--whn-border);
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.42);
  opacity: 0; visibility: hidden; transform: translateY(-50%) translateX(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.whn-obj-tip__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.whn-obj-tip::after {
  content: "";
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--whn-card);
}
.whn-obj-tar__info:hover + .whn-obj-tip,
.whn-obj-tar__info:focus-visible + .whn-obj-tip {
  opacity: 1; visibility: visible; transform: translateY(-50%);
}

@media (max-width: 900px) {
  .whn-obj-panel__top { grid-template-columns: 1fr; }
  .whn-obj-map { min-height: 0; height: clamp(260px, 56vw, 380px); }
}
@media (max-width: 560px) {
  .whn-obj-info__cta button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .whn-obj-card, .whn-obj-card:hover,
  .whn-obj-panel, .whn-obj-panel.is-active { transition: none; transform: none; }
  .whn-obj-card.is-active::after { animation: none; }
  .whn-obj-tip { transition: none; }
}

/* ===========================================================================
   Страница статьи / записи блога (article.html)
   =========================================================================== */

/* Индикатор прогресса чтения */
.whn-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1400;
  background: transparent; pointer-events: none;
}
.whn-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--whn-primary), color-mix(in srgb, var(--whn-primary) 55%, #fff));
  transition: width .12s linear;
}

/* Хлебные крошки */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--whn-muted); margin-bottom: 22px; }
.crumbs a { color: var(--whn-muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--whn-primary); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs__cur { color: var(--whn-fg); }

/* Шапка статьи */
.post-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--whn-primary) 7%, var(--whn-bg)), var(--whn-bg)); padding-top: 28px; }
.post-cat {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
  padding: 6px 12px; border-radius: 999px;
}
.post-title { margin: 16px 0 0; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--whn-fg); letter-spacing: -.01em; }
.post-excerpt { margin: 16px 0 0; font-size: 1.1rem; line-height: 1.6; color: var(--whn-muted); max-width: 60ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: .85rem; color: var(--whn-muted); }
.post-meta__dot { opacity: .5; }
.post-share { display: inline-flex; gap: 8px; margin-left: auto; }
.post-share__btn {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--whn-border); background: var(--whn-card); color: var(--whn-muted);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.post-share__btn svg { width: 16px; height: 16px; }
.post-share__btn:hover { color: #fff; background: var(--whn-primary); border-color: var(--whn-primary); transform: translateY(-2px); }
.post-cover { margin: 30px 0 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--whn-border); box-shadow: 0 26px 60px -28px rgba(0,0,0,.4); aspect-ratio: 16 / 7; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Тело статьи — типографика */
.article { max-width: 720px; margin: 0 auto; padding: 48px 20px 56px; color: var(--whn-fg); }
.article > * { margin: 0; }
.article > * + * { margin-top: 22px; }
.article__lead { font-size: 1.2rem; line-height: 1.65; color: var(--whn-fg); font-weight: 500; }
.article p { font-size: 1.05rem; line-height: 1.85; color: color-mix(in srgb, var(--whn-fg) 88%, var(--whn-muted)); }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; line-height: 1.25; margin-top: 44px; color: var(--whn-fg); }
.article h2 + p, .article h2 + ul, .article h2 + figure { margin-top: 14px; }
.article h3 { font-size: 1.2rem; font-weight: 700; margin-top: 32px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { font-size: 1.05rem; line-height: 1.75; margin: 8px 0; color: color-mix(in srgb, var(--whn-fg) 88%, var(--whn-muted)); }
.article ul li::marker { color: var(--whn-primary); }
.article a { color: var(--whn-primary); text-decoration: underline; text-underline-offset: 3px; }
.article strong { font-weight: 700; color: var(--whn-fg); }
.article blockquote {
  margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--whn-primary);
  background: color-mix(in srgb, var(--whn-primary) 7%, transparent); border-radius: 0 12px 12px 0;
  font-size: 1.12rem; line-height: 1.6; font-style: italic; color: var(--whn-fg);
}
.article figure { margin-top: 30px; }
.article figure img { width: 100%; border-radius: 16px; border: 1px solid var(--whn-border); display: block; background: var(--whn-secondary); }
.article figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--whn-muted); }
.article__callout {
  margin-top: 28px; padding: 18px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--whn-primary) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--whn-primary) 25%, transparent);
  font-size: 1rem; line-height: 1.65;
}
.article__callout strong { color: var(--whn-primary); }
.article__cta {
  margin-top: 44px; padding: 26px; border-radius: 18px;
  background: var(--whn-card); border: 1px solid var(--whn-border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.article__cta h3 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--whn-fg); }
.article__cta p { margin: 6px 0 0; font-size: .92rem; color: var(--whn-muted); }
.article__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.article__cta-btn {
  padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--whn-primary); color: #fff; font-weight: 700; font-size: .95rem;
  transition: filter .2s, transform .2s;
}
.article__cta-btn:hover { filter: brightness(.95); transform: translateY(-2px); }
.article__cta-btn--ghost { background: transparent; color: var(--whn-primary); border: 1px solid var(--whn-primary); }
.article__cta-btn--ghost:hover { background: var(--whn-primary); color: #fff; }
.post-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags span { font-size: .8rem; color: var(--whn-muted); background: var(--whn-secondary); padding: 5px 12px; border-radius: 999px; }
.post-back { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--whn-primary); text-decoration: none; }
.post-back:hover { text-decoration: underline; }
.post-share__btn.is-copied { color: #fff; background: var(--whn-primary); border-color: var(--whn-primary); }
@media (max-width: 640px) {
  .post-cover { aspect-ratio: 4 / 3; border-radius: 14px; }
  .article__cta { padding: 20px; }
}

/* --- Страница контактов --- */
.contacts-wrap { padding: 8px 0 56px; }
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .contacts-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 28px;
  background: var(--whn-card); border: 1px solid var(--whn-border); border-radius: 18px;
  text-decoration: none; box-shadow: 0 14px 36px -26px rgba(0,0,0,.35);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .25s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--whn-primary) 40%, transparent);
  box-shadow: 0 22px 48px -24px rgba(0,0,0,.4);
}
.contact-card__ico {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 6px;
  color: var(--whn-primary); background: color-mix(in srgb, var(--whn-primary) 12%, transparent);
  transition: background .25s ease, color .25s ease;
}
.contact-card__ico svg { width: 22px; height: 22px; }
.contact-card:hover .contact-card__ico { background: var(--whn-primary); color: #fff; }
.contact-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--whn-muted); }
.contact-card__value { font-size: 1.35rem; font-weight: 800; color: var(--whn-fg); letter-spacing: -.01em; word-break: break-word; }
.contact-card:hover .contact-card__value { color: var(--whn-primary); }
.contact-card__hint { font-size: .88rem; color: var(--whn-muted); }
.req-card {
  margin-top: 22px; padding: 28px; background: var(--whn-card);
  border: 1px solid var(--whn-border); border-radius: 18px;
}
.req-card__title { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--whn-fg); }
.req-card__sub { margin: 6px 0 0; font-size: .9rem; color: var(--whn-muted); }
.req-list { margin: 18px 0 0; }
.req-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 18px;
  padding: 15px 0; border-top: 1px solid var(--whn-border);
}
.req-row:first-child { border-top: 0; padding-top: 0; }
.req-row dt { margin: 0; font-size: .85rem; color: var(--whn-muted); }
.req-row dd { margin: 0; font-weight: 600; color: var(--whn-fg); }
@media (max-width: 640px) {
  .req-row { grid-template-columns: 1fr; gap: 4px; padding: 13px 0; }
  .req-card, .contact-card { padding: 22px; }
}

/* ---------- Фотографии объекта (плейсхолдеры + лайтбокс) ---------- */
/* Псевдо-фото: декоративный градиентный плейсхолдер с иконкой-картинкой */
.whn-ph {
  position: relative;
  background-color: var(--whn-secondary);
  background-image:
    radial-gradient(120% 90% at 15% 12%, color-mix(in srgb, var(--whn-primary) 26%, transparent), transparent 60%),
    radial-gradient(110% 90% at 88% 90%, color-mix(in srgb, var(--whn-primary) 16%, transparent), transparent 62%),
    repeating-linear-gradient(45deg,
      color-mix(in srgb, var(--whn-primary) 6%, transparent) 0 14px,
      transparent 14px 28px);
}
.whn-ph--1 { filter: hue-rotate(18deg); }
.whn-ph--2 { filter: hue-rotate(-22deg) saturate(1.1); }
.whn-ph--3 { filter: hue-rotate(40deg); }
.whn-ph--4 { filter: hue-rotate(-44deg) saturate(1.05); }

.whn-obj-gallery {
  margin-top: clamp(14px, 2vw, 22px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
}
.whn-obj-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--whn-border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  color: var(--whn-fg);
  box-shadow: 0 10px 26px -20px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.whn-obj-photo:hover,
.whn-obj-photo:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--whn-primary) 55%, var(--whn-border));
  box-shadow: 0 18px 36px -20px rgba(0,0,0,.5);
  outline: none;
}
.whn-obj-photo__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  font-size: .8rem;
  font-weight: 600;
  text-align: left;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62), transparent);
}
.whn-obj-photo__zoom {
  position: absolute;
  top: 8px; right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease;
}
.whn-obj-photo__zoom svg { width: 18px; height: 18px; }
.whn-obj-photo:hover .whn-obj-photo__zoom,
.whn-obj-photo:focus-visible .whn-obj-photo__zoom { opacity: 1; transform: scale(1); }

/* Лайтбокс */
.whn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  transition: opacity .26s ease;
}
.whn-lightbox.is-open { opacity: 1; }
.whn-lightbox[hidden] { display: none; }
.whn-lightbox__ov {
  position: absolute;
  inset: 0;
  background: rgba(8,10,14,.86);
  backdrop-filter: blur(3px);
}
.whn-lightbox__fig {
  position: relative;
  margin: 0;
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: scale(.96);
  transition: transform .26s ease;
}
.whn-lightbox.is-open .whn-lightbox__fig { transform: scale(1); }
.whn-lightbox__img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.whn-lightbox__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,.32);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.whn-lightbox__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.whn-lightbox__count { color: rgba(255,255,255,.7); font-weight: 500; }
.whn-lightbox__x,
.whn-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.12);
  transition: background .2s ease, transform .2s ease;
}
.whn-lightbox__x:hover,
.whn-lightbox__nav:hover { background: rgba(255,255,255,.24); }
.whn-lightbox__x {
  top: clamp(12px, 3vw, 26px);
  right: clamp(12px, 3vw, 26px);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1rem;
}
.whn-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}
.whn-lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.whn-lightbox__nav--prev { left: clamp(8px, 2.5vw, 28px); }
.whn-lightbox__nav--next { right: clamp(8px, 2.5vw, 28px); }

@media (max-width: 860px) {
  .whn-obj-gallery { grid-template-columns: repeat(3, 1fr); }
  .whn-obj-photo:nth-child(4),
  .whn-obj-photo:nth-child(5) { display: none; }
}
@media (max-width: 560px) {
  .whn-obj-gallery { grid-template-columns: repeat(2, 1fr); }
  .whn-obj-photo:nth-child(3) { display: none; }
  .whn-lightbox__nav { width: 40px; height: 40px; font-size: 1.4rem; }
}

/* End */
/* /bitrix/templates/main/styles.css?178109566756837 */
