/* Sokroma — restored legacy styles.
   Original stylesheets for these pages are not preserved in any web archive; this file is written from scratch
   for the archived markup and reuses the variables of sokroma-theme.css (load it AFTER the theme).

   Families, each strictly scoped so nothing leaks into the main template:
     A) legacy "prorab" template (2019-2020 captures)  -> body.ubuntu
     B) investoram/hibiny landing                      -> body:has(> header.section)
     C) old "corp_services_orange" template            -> see section C
     D) book/ landing                                  -> body:has(#navbar-book)
   Uses native CSS nesting (Chrome 120+, Safari 17.2+, Firefox 117+). */

/* =====================================================================
   FAMILY A — legacy "prorab" template
   ===================================================================== */
body.ubuntu {
  --a-accent: #9a6c06;
  background: var(--bg-warm);
  overflow-x: clip;

  a:hover { color: var(--a-accent); }
  .clearfix::after { content: ""; display: block; clear: both; }
  .counter:empty { display: none; }
  .hide { display: none; }

  /* ---------- header ---------- */
  .header {
    background: #fff; position: relative; z-index: 60; border-bottom: 1px solid var(--line);
    > .inner.work { display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
  }
  .header_blocks {
    order: 1; display: flex; align-items: center; gap: 12px 34px; padding: 18px 0 16px;
    .header-item { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
    .header-item:first-child { margin-right: auto; }
    .header-item:last-child { margin-left: 4px; }
    .header-item > .fa { color: var(--gold); font-size: 20px; width: 20px; text-align: center; }
    .header-item br { display: none; }
    .hotels-on_map { font-weight: 600; font-size: 13px; line-height: 1.25; }
    .header-email { font-weight: 600; }
    .header-phone { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
    .call-free_header { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
    .header-item:has(.header-phone) { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; justify-items: start;
      > .fa { grid-row: 1 / span 2; }
    }
    .logo { display: inline-flex; align-items: center; }
    .logo img { max-height: 54px; width: auto; }
  }
  .header-book {
    display: inline-block; background: var(--gold); color: var(--ink) !important; border-radius: 999px; padding: 11px 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
    transition: background .2s, color .2s, transform .2s;
    &:hover, &:focus-visible { background: var(--ink); color: #fff !important; transform: translateY(-1px); }
  }

  .header_top {
    order: 2; display: flex; flex-direction: column;
    > .header_blocks { order: -1; }
    .left { display: block; float: none; order: 1; border-top: 1px solid var(--line); }
    .container { max-width: none; padding: 0; display: flex; align-items: center; gap: 16px; position: relative; }
  }
  .toggleMenu { display: none; }
  ul.nav.topficed {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto;
    > li { position: relative; list-style: none; margin: 0; float: none; }
    > li > a {
      display: flex; align-items: center; gap: 7px; padding: 14px 14px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
      color: var(--ink); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
    }
    > li:hover > a, > li:focus-within > a, > li > a.active { color: var(--a-accent); border-bottom-color: var(--gold); }
    > li > a .fa { font-size: 10px; color: var(--gold); margin: 0; }
    > li > ul {
      display: none; position: absolute; left: 0; top: 100%; min-width: 230px; margin: 0; padding: 8px; list-style: none; z-index: 70;
      background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
      li { list-style: none; margin: 0; }
      a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; }
      a:hover, a:focus-visible, li.item-selected > a { background: var(--sand); color: var(--ink); }
      li.item-selected > a { font-weight: 700; }
    }
    > li:hover > ul, > li:focus-within > ul { display: block; }
    > li.menu-socials { margin-left: auto; display: flex; align-items: center; gap: 10px; float: none !important; margin-top: 0 !important; padding-left: 10px;
      a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sand); padding: 0; transition: background .2s; }
      a:hover { background: var(--gold-soft); }
      .header-social, .ph-img { display: none; }
      a::before { font-family: FontAwesome; font-size: 15px; line-height: 1; color: var(--ink); content: "\f08e"; }
    }
  }
  .menu-socials a[href*="vk.com"]::before, .socials-titles a[href*="vk.com"]::before { content: "\f189" !important; }
  .menu-socials a[href*="instagram.com"]::before, .socials-titles a[href*="instagram.com"]::before { content: "\f16d" !important; }
  .menu-socials a[href*="facebook.com"]::before, .socials-titles a[href*="facebook.com"]::before { content: "\f09a" !important; }
  .menu-socials a[href*="youtube.com"]::before, .socials-titles a[href*="youtube.com"]::before { content: "\f167" !important; }
  .search_mob {
    flex: none; display: flex; align-items: center; position: relative;
    .lup { display: none; }
    .toggleSearch { display: block; }
    form { margin: 0; position: relative; }
    .form_control {
      width: 190px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-warm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237a7a7a' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.8'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E") no-repeat 12px 50% / 15px;
      padding: 0 14px 0 36px; font-size: 13.5px; color: var(--ink); outline: 0; transition: border-color .2s, width .2s, background-color .2s;
      &::placeholder { color: var(--muted); }
      &:focus { border-color: var(--gold); background-color: #fff; width: 240px; box-shadow: 0 0 0 3px rgba(239,183,50,.22); }
    }
  }

  /* ---------- page body ---------- */
  .content { padding: 28px 15px 56px; }
  .content .content { padding: 0; }
  .content .content > .inner.work { display: block; max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .content > .inner.work {
    max-width: 1200px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
    padding: 34px 40px 40px; position: relative;
  }

  .breadcrumb-box { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  ul.breadcrumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted);
    li { display: inline-flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; background: none; }
    a { color: var(--ink-2); font-weight: 600; }
    a:hover { color: var(--a-accent); }
    .fa { font-size: 9px; color: var(--gold); }
    li.active { color: var(--muted); gap: 10px; }
    li.active span { color: var(--ink); font-weight: 600; }
  }

  .sidebar { float: right !important; width: 310px; margin: 0 0 28px 40px; }
  .main.right, .content .inner.work > .right { float: none !important; overflow: hidden; min-width: 0; }
  .main.right { min-height: 200px; }

  .main, .apartsdetail, .detailtext, .detail { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
  .main.right, .inner.work > .right {
    h1 { font-size: 34px; line-height: 1.2; margin: 0 0 22px; color: var(--ink); }
    h2 { font-size: 26px; margin: 34px 0 14px; }
    h3 { font-size: 20px; margin: 30px 0 14px; }
    p { margin: 0 0 1em; }
    a:not(.btn):not(.bron-button):not(.ap-list-item):not(.fancy) { color: var(--a-accent); text-decoration: underline; text-decoration-color: rgba(154,108,6,.35); text-underline-offset: 3px; }
    a:not(.btn):not(.bron-button):not(.ap-list-item):not(.fancy):hover { text-decoration-color: currentColor; }
    ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
    li { margin-bottom: .35em; }
    img { max-width: 100%; height: auto; border-radius: 12px; }
    table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
    td, th { padding: 10px 12px; border: 1px solid var(--line); }
    hr, hr.styled { border: 0; border-top: 1px solid var(--line); margin: 32px 0; height: 0; }
    blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--bg-warm); border-radius: 0 12px 12px 0; }
  }
  .wrapper_about .title h1, .detail h1 { margin-top: 0; }
  .wrapper_about > div > p:empty { display: none; }
  .detail.splash_detail > p, .splash_detail time { color: var(--muted); font-size: 14px; }
  .splash_detail [itemprop="author"] span[style*="white"] { display: none; }
  .slider_container { margin: 0 0 24px; img, .ph-img { width: 100%; border-radius: 16px; display: block; } .ph-img { min-height: 260px; } }
  .get_info {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 34px; padding: 24px 28px;
    background: var(--sand); border-radius: 16px; clear: both;
    .left, .right { float: none; }
    .left span { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); display: block; margin-bottom: 4px; }
    .left p { margin: 0; font-size: 14.5px; line-height: 1.5; }
  }
  .btn.color, a.fancybox.btn {
    display: inline-block; background: var(--gold); border: 1px solid var(--gold); color: var(--ink) !important; border-radius: 999px; padding: 11px 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 14px; text-decoration: none !important; cursor: pointer; transition: all .2s;
    &:hover, &:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff !important; }
  }
  .date_news { display: none; }

  /* ---------- apartment pages ---------- */
  .apartsdetail { margin-bottom: 8px; }
  .detailname { font-size: 32px; line-height: 1.2; margin: 0 0 14px; }
  .opistextbox { margin-bottom: 10px; }
  .adrbox { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; margin-bottom: 14px;
    img, .ph-img { width: 16px; height: 16px; min-height: 0; padding: 0; background: none; flex: none; border-radius: 0; }
    .ph-img::before { content: "\f041"; font-size: 15px; color: var(--gold); }
  }
  .opissipbox, .side-item-props { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 20px; }
  .si-prop {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 999px;
    font-size: 13.5px; line-height: 1.3; color: var(--ink); width: auto; float: none;
    .si-text { font-weight: 600; }
    .si-icon, .ph-img { width: 16px; height: 16px; min-height: 0; padding: 0; background: none; flex: none; border-radius: 0; }
    .ph-img::before { content: "\f0b2"; font-size: 14px; color: var(--gold); }
  }
  svg.svg-inline--fa { height: 1em; width: auto; max-width: 1.4em; font-size: 16px; vertical-align: -.125em; flex: none; overflow: visible; display: inline-block; }
  svg.svg-inline--fa path { fill: var(--gold); }
  .detailtext p { margin: 0 0 1em; }

  .sliderbox { margin: 26px 0; clear: both; }
  .fotorama { width: 100%; }
  .slider-nav, .fotorama .slider:not(:has(img)) { display: none; }
  .slider-single { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
    > div { margin: 0; border-radius: 12px; overflow: hidden; background: var(--sand); }
    > div a { display: block; }
    > div img, > div .ph-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; display: flex; }
  }
  .bronform { margin: 8px 0 8px; padding: 22px 26px; border: 1px dashed #d8cfbd; border-radius: 16px; background: var(--bg-warm); font-size: 14px; color: var(--muted);
    a { color: var(--ink-2); font-weight: 600; }
  }
  .bx-section-desc-post:empty { display: none; }
  .bx-section-desc + .ap-list-item { display: none; }
  .ap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin-top: 14px; clear: both;
    br { display: none; }
    > .ap-list-item {
      display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s;
      &:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
      > a.ap-list-item { display: block; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
      > a.ap-list-item img, > a.ap-list-item .ph-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
      > a:not(.ap-list-item) { display: block; padding: 12px 14px 14px; }
    }
    .ap-list-item-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; }
  }
  .main.right .ap-list a, .apartsdetail ~ .ap-list a { text-decoration: none; }

  /* ---------- sidebar ---------- */
  .another_proposal { margin-bottom: 22px; img, .ph-img { width: 100%; border-radius: 14px; } img { display: block; } .ph-img { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; } }
  .sidebar_hotels {
    background: var(--bg-warm); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px 8px;
    .top { margin-bottom: 14px; }
    .sidehotelshead { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); }
    .item { margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s;
      &:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
      > a { display: block; color: var(--ink); }
    }
    .imgbox { aspect-ratio: 250 / 170; background: var(--sand); overflow: hidden;
      img, .ph-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
      img { display: block; }
      .ph-img { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
    }
    .side-item-text { padding: 14px 16px 16px; }
    .side-item-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 10px; }
    .side-item-props { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 14px; }
    .si-prop { padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; color: var(--ink-2); gap: 9px; }
    .si-prop .si-text { font-weight: 400; }
    .si-prop svg { width: 16px; max-width: none; text-align: center; }
    .bron-button, a.bron-button {
      display: block; text-align: center; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 9px 16px;
      font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: background .2s, color .2s;
      &:hover { background: var(--ink); color: #fff; }
    }
  }

  /* ---------- forms ---------- */
  input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
    font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; outline: 0;
    transition: border-color .2s, box-shadow .2s;
    &:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(239,183,50,.22); }
  }
  textarea { border-radius: 14px; }
  input[type="submit"], input[type="button"], button[type="submit"] {
    font-family: var(--font-head); font-weight: 700; font-size: 13.5px; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: 11px 22px; cursor: pointer; transition: background .2s, color .2s;
    &:hover, &:focus-visible { background: var(--ink); color: #fff; }
  }

  /* ---------- footer ---------- */
  .footer {
    background: var(--ink); color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.65; margin-top: 0;
    a { color: #fff; }
    a:hover, a:focus-visible { color: var(--gold-2); }
    .inner.work { max-width: 1200px; margin: 0 auto; padding: 56px 15px 36px; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
    .inner.work.footer-copyright_block { display: block; padding: 22px 15px 30px; }
    hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); max-width: 1200px; margin: 0 auto; height: 0; }
    .col { float: none; width: auto; min-width: 0; }
    .col p { margin: 0 0 10px; }
    .logo { display: inline-flex; margin-bottom: 14px; img, .ph-img { max-height: 48px; width: auto; } .ph-img { min-height: 0; background: none; padding: 0; } }
    .logo .wordmark { color: #fff; }
    .footer-text { max-width: 340px; color: rgba(255,255,255,.65); }
    .footer-phones { margin-bottom: 18px; }
    .footer-phone a { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
    .footer-free_call { font-size: 12px; color: rgba(255,255,255,.5); margin-top: -6px; margin-left: 24px; }
    .footer-phone .fa, .footer-email .fa { color: var(--gold) !important; width: 20px; }
    .socials-titles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
      .social-text { width: 100%; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 2px; }
      a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .2s; }
      a:hover { background: var(--gold); }
      img, .ph-img { display: none; }
      a::before { font-family: FontAwesome; font-size: 16px; line-height: 1; color: #fff; content: "\f08e"; }
      a:hover::before { color: var(--ink); }
    }
    .subscribe { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 12px; }
    .col_3 form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
    .col_3 input[type="text"] { flex: 1 1 160px; min-width: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; &::placeholder { color: rgba(255,255,255,.5); } }
    .col_3 input[type="text"]:focus { border-color: var(--gold); }
    .col_3 input[type="submit"] { flex: none; }
    .col_3 input[type="submit"]:hover { background: #fff; color: var(--ink); }
    .footer-info_link { display: block; padding: 3px 0; color: rgba(255,255,255,.8); font-size: 14px; }
    .footer-copyright { font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.6;
      p { margin: 0 0 8px; }
      p:first-child { color: rgba(255,255,255,.7); font-size: 13.5px; }
    }
  }
  .crp-button-up {
    position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 22px;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); cursor: pointer; transition: background .2s, color .2s;
    &:hover, &:focus-visible { background: var(--ink); color: #fff; }
  }

  @media (max-width: 1100px) {
    .header_blocks { gap: 12px 22px; .header-email { display: none; } }
    .search_mob .form_control { width: 150px; &:focus { width: 180px; } }
    .footer .inner.work { grid-template-columns: 1fr 1fr; }
    .footer .col_3 { grid-column: 1 / -1; }
  }
  @media (max-width: 991.98px) {
    .header > .inner.work { padding: 0 16px; }
    .header_blocks {
      flex-wrap: wrap; padding: 14px 0 12px; gap: 10px 16px;
      .header-item:not(:first-child):not(:has(.header-phone)):not(:has(.header-book)) { display: none; }
      .header-item:first-child { margin-right: auto; }
      .header-item:has(.header-phone) { margin-left: auto; }
      .header-item:has(.header-phone) .header-phone { font-size: 16px; }
      .header-item:has(.header-phone) > .fa, .call-free_header { display: none; }
      .header-item:last-child { flex: 1 1 100%; margin: 0; }
      .header-item:last-child .header-book { flex: 1; }
      .header-book { display: block; text-align: center; padding: 11px 16px; }
      .logo img { max-height: 40px; }
    }
    .header_top .container { display: block; }
    .header_top > .left { position: relative; }
    .header_top > .left::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
    .search_mob, ul.nav.topficed > li.menu-socials, ul.nav.topficed > li > ul { display: none !important; }
    ul.nav.topficed { gap: 0; margin: 0 -6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; > li > a { white-space: nowrap; } > li > a { padding: 11px 10px; font-size: 13.5px; border-bottom-width: 0; } > li > a .fa { display: none; } }
    .content { padding: 14px 0 36px; }
    .content > .inner.work {
      display: flex; flex-direction: column; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 20px 16px 28px;
      > .breadcrumb-box { order: 0; }
      > * { order: 1; }
      > .breadcrumb-box { order: 0; }
      > .sidebar { order: 2; }
    }
    .sidebar { float: none !important; width: auto; margin: 34px 0 0; }
    .sidebar_hotels { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 16px; .top { grid-column: 1 / -1; } }
    .main.right { overflow: visible; }
    .main.right h1, .detailname { font-size: 26px; }
    .get_info { padding: 20px; flex-direction: column; align-items: flex-start; }
    .ap-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slider-single { grid-template-columns: repeat(2, 1fr); }
    .footer .inner.work { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 24px; }
    .footer .col_3 { grid-column: auto; }
    .crp-button-up { right: 14px; bottom: 14px; }
  }
  @media (max-width: 480px) {
    .sidebar_hotels { grid-template-columns: 1fr; }
    .slider-single { grid-template-columns: 1fr; }
  }
}

/* =====================================================================
   FAMILY B — investoram/hibiny landing
   Hook: <body> whose direct child is <header class="section"> (only this page).
   ===================================================================== */
body:has(> header.section) {
  --b-accent: #9a6c06;
  --b-card: 0 1px 0 var(--line), 0 12px 32px rgba(46,42,37,.07);
  background: #fff; overflow-x: clip; scroll-padding-top: 90px;

  .bold { font-weight: 700; }
  .light { font-weight: 400; color: var(--muted); }
  .i { font-style: normal; }
  .text-primary { color: var(--b-accent) !important; }
  .text-center { text-align: center; }
  .text-large { font-size: 18px; line-height: 1.6; }
  .text-large-x { font-size: 22px; line-height: 1.4; font-family: var(--font-head); }
  .small { font-size: 13px; line-height: 1.4; }
  .nowrap { white-space: nowrap; }
  .m-bottom-15 { margin-bottom: 15px; }
  .m-top-10 { margin-top: 10px; }
  .flex { display: flex; }
  .flex-column { flex-direction: column; }
  .flex-center { align-items: center; }
  .margin-auto-left { margin-left: auto; }
  .gap-10 { gap: 10px; } .gap-15 { gap: 15px; } .gap-20 { gap: 20px; } .gap-25 { gap: 25px; } .gap-30 { gap: 30px; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, auto); }
  .container { max-width: 1200px; }

  section { padding: 84px 0; position: relative; }
  section:nth-of-type(even) { background: var(--bg-warm); }
  h1, h2, .h2 { font-family: var(--font-head); font-weight: 800; line-height: 1.18; color: var(--ink); letter-spacing: -.01em; }
  h1 { font-size: clamp(30px, 4.4vw, 54px); }
  h2, .h2 { font-size: clamp(26px, 3.2vw, 38px); display: block; margin: 0 0 22px; }
  h1 .bold, h2 .bold, .h2 .bold { color: var(--b-accent); }
  /* convention: H1 has no decoration; section titles get a short gold rule under the text */
  .container > h2::after, .container > .h2::after, .content > .h2::after, .content > h2::after {
    content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 14px;
  }
  .container > h2.text-center::after, .container > .h2.text-center::after, .content > .h2.text-center::after,
  .forecast .container > h2::after, .vudjavr .content > .h2::after, .season2022 .container > h2::after, .shedule .container > h2::after, .plans2 .container > h2::after { margin-left: auto; margin-right: auto; }
  .main-banner h1::after, .h2.description::after { content: none; }
  .forecast .content > h2::after, .forecast .content > .h2::after { margin-left: auto; margin-right: auto; }
  .description { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
  section > .container > .description, .content > .description { margin-top: 18px; }
  .description.text-large { font-size: 19px; }
  .icon-arrow, .icon-arrow-circle { margin: 14px auto; }

  /* font-icon stand-ins (the lost icon font -> FontAwesome 4.7 glyphs) */
  [class^="icon-"], [class*=" icon-"], [class^="bicon-"], [class*=" bicon-"] {
    font-family: FontAwesome; font-style: normal; font-weight: 400; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: none;
    -webkit-font-smoothing: antialiased;
  }
  [class^="icon-"]::before, [class*=" icon-"]::before, [class^="bicon-"]::before, [class*=" bicon-"]::before { content: "\f111"; }
  .icon-phone::before, .icon-phone2::before { content: "\f095"; }
  .icon-home::before { content: "\f015"; }
  .icon-hotel::before { content: "\f0f7"; }
  .icon-skier::before { content: "\f2dc"; }
  .icon-calendar::before, .icon-calendar2::before { content: "\f073"; }
  .icon-mountain::before { content: "\f1bb"; }
  .icon-point::before, .icon-point2::before { content: "\f041"; }
  .icon-flower::before, .icon-flower2::before { content: "\f06c"; }
  .icon-winter::before { content: "\f2dc"; }
  .icon-summer::before { content: "\f185"; }
  .icon-camera::before { content: "\f03d"; }
  .icon-report::before { content: "\f15c"; }
  .icon-mail::before { content: "\f0e0"; }
  .icon-arrow::before { content: "\f107"; }
  .icon-arrow-circle::before { content: "\f0ab"; }
  .icon-arrow-right::before { content: "\f178"; }
  .icon-whatsapp::before, .bicon-whatsapp::before { content: "\f232"; }
  .icon-telegram::before, .bicon-telegram::before { content: "\f2c6"; }
  .icon-vk::before, .bicon-vk::before { content: "\f189"; }
  .bicon-tiktok::before { content: "\f001"; }
  .bicon-youtube-play::before { content: "\f16a"; }
  [class^="icon-"]:not(.icon-whatsapp):not(.icon-telegram):not(.icon-vk):not(.icon-phone):not(.icon-arrow-right) { color: var(--b-accent); font-size: 34px; }
  .icon-arrow, .icon-arrow-circle { color: var(--b-accent); font-size: 40px; display: flex; justify-content: center; }

  .social-buttons, .social-icons { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: center; }
  .social-buttons.grid { display: grid; }
  .social-buttons li { list-style: none; margin: 0; }
  .social-buttons a, .social-icons a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 19px; display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s, transform .2s;
    &:hover, &:focus-visible { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
  }
  .social-icons a[class^="icon-"] { font-size: 22px; width: 48px; height: 48px; color: var(--ink); }

  .button, button.button, a.button {
    display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: 14.5px; line-height: 1.25; padding: 12px 26px; color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    &:hover, &:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46,42,37,.15); text-decoration: none; }
  }
  .button.button-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); &:hover, &:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; } }
  .button.button-secondary { background: var(--ink); border-color: var(--ink); color: #fff; &:hover, &:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); } }
  .button-large { padding: 16px 34px; font-size: 15.5px; }
  .button-primary.button-large, .text-center > .button, .flex-center > .button { margin-top: 22px; }

  .input, .input-style {
    font-family: var(--font-body); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #ddd5c5; border-radius: 999px; padding: 0 24px; height: 52px; outline: 0; width: 100%;
    transition: border-color .2s, box-shadow .2s;
    &:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(239,183,50,.25); }
    &::placeholder { color: #9a9488; }
  }
  .input-large { height: 58px; }
  form.form {
    display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; max-width: 920px; margin: 30px auto 0;
    .input { flex: 1 1 230px; width: auto; min-width: 0; }
    .button { flex: 0 1 auto; margin: 0; }
  }
  .form .information:empty { display: none; }
  .information.alert-success, .information.alert-error { flex: 1 1 100%; border-radius: 12px; padding: 12px 18px; font-size: 14px; }
  .information.alert-success { background: #e6f4ea; color: #1e5b32; }
  .information.alert-error { background: #fdeaea; color: #8a1f1f; }

  /* placeholders for lost photos (background images) */
  .image, .photos li, a.video, .gallery > div, .brand, #map, .slider li, .images > div {
    background-color: var(--sand);
    background-image: radial-gradient(circle at 28% 20%, #fbf3df 0, transparent 55%), linear-gradient(135deg, #f3efe8 0%, #e6dccb 100%);
    position: relative; overflow: hidden;
  }
  .image::after, .photos li::after, a.video::after, #map::after, .slider li::after, .images > div::after, .gallery > div:not(.image5)::after {
    content: "\f03e"; font-family: FontAwesome; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 34px; line-height: 1; color: rgba(160,140,100,.38); pointer-events: none;
  }
  .image > *, a.video > * { position: relative; z-index: 2; }
  .image5::after { display: none; }

  /* header */
  > header.section {
    position: relative; z-index: 100; padding: 0; background: #fff; border-bottom: 1px solid var(--line);
    .contacts-wrapper { display: flex; align-items: center; gap: 22px; padding: 14px 0; }
    .logo { display: inline-flex; align-items: center; flex: none;
      img, .ph-img { max-height: 46px; width: auto; }
      .ph-img { min-height: 0; padding: 0; background: none; }
    }
    .logo-text { font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 250px; padding-left: 22px; border-left: 1px solid var(--line); }
    .phone a { font-family: var(--font-head); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
    .phone .icon-phone { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--ink); font-size: 15px; }
    .grid.gap-25 { display: flex; align-items: center; }
    .button { padding: 11px 22px; font-size: 13.5px; background: var(--gold); border-color: var(--gold); &:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
    .menu-hamburger { display: none; }
    .menu-wrapper { border-top: 1px solid var(--line); }
    .menu-wrapper .inner { align-items: center; gap: 16px; }
    .close-button { display: none; }
    .main-menu { list-style: none; margin: 0; padding: 0; gap: 0 4px; flex-wrap: wrap;
      li { list-style: none; margin: 0; }
      a { display: block; padding: 13px 14px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; cursor: pointer; }
      a:hover, a:focus-visible { color: var(--b-accent); border-bottom-color: var(--gold); }
    }
    .menu-wrapper .social-buttons a { width: 32px; height: 32px; font-size: 15px; }
  }

  .main-banner {
    padding: 72px 0 80px; background: radial-gradient(1000px 520px at 85% 0%, #fbeec6 0, transparent 60%), radial-gradient(800px 500px at 0% 100%, #f3ead6 0, transparent 60%), var(--bg-warm);
    h1 { max-width: 920px; margin: 0 0 40px; }
    .tile { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .tile li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); box-shadow: var(--b-card); margin: 0; }
    .tile li > div { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
    .tile .h2 { font-size: clamp(34px, 3.6vw, 46px); margin: 0; color: var(--b-accent); line-height: 1; }
    .tile .icon-home { font-size: 40px; }
    .description { font-size: 19px; max-width: 760px; margin-top: 0; }
    .description .m-bottom-15 { margin-bottom: 8px; color: var(--ink); }
    .images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
      > div { aspect-ratio: 4 / 3; border-radius: 18px; }
    }
  }

  .forecast { text-align: center;
    .container { max-width: 960px; }
    .description { max-width: 720px; margin-left: auto; margin-right: auto; }
    h2 { margin-bottom: 14px; }
  }

  .vudjavr {
    .content { text-align: center; margin-bottom: 36px; }
    .content .h2 { margin-bottom: 8px; }
    .content .h2.description { font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: var(--ink-2); }
    .hibin-gor { text-align: center; color: var(--muted); margin-bottom: 20px; }
    .tile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .tile li { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; box-shadow: var(--b-card); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
    .tile .bold { color: var(--ink); font-family: var(--font-head); }
  }
  .vudjavr.size-auto { background: #fff; }

  .season2022 { text-align: center;
    h2 { max-width: 880px; margin-left: auto; margin-right: auto; }
    .text-primary { font-family: var(--font-head); font-size: 20px; margin-bottom: 14px; }
    .description { max-width: 820px; margin: 0 auto 36px; }
    .videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 auto 40px; text-align: left; }
    .flex-column { margin-top: 12px; }
  }
  a.video {
    display: flex; align-items: flex-end; min-height: 280px; border-radius: 20px; color: #fff; box-shadow: var(--b-card);
    &::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,42,37,0) 35%, rgba(46,42,37,.82) 100%); z-index: 1; }
    .video-description { position: relative; z-index: 3; padding: 22px 26px 24px; font-size: 16px; line-height: 1.45; font-weight: 600; color: #fff; }
    &::after { color: rgba(255,255,255,.65) !important; content: "\f144" !important; font-size: 64px !important; top: 42% !important; z-index: 2; }
    &:hover { color: #fff; }
    &:hover::after { color: var(--gold) !important; }
  }

  .radius100 { padding: 40px 0;
    .image { border-radius: 28px; min-height: 380px; display: flex; align-items: center; padding: 56px; }
    .image::after { display: none; }
    .content { max-width: 620px; }
    .h2 { margin-bottom: 18px; }
    .description { margin: 0; }
  }

  .shedule { text-align: center; padding-bottom: 20px;
    .container { max-width: 900px; }
    .text-primary { font-family: var(--font-head); margin-bottom: 14px; }
    .description { margin-bottom: 22px; }
    .icon-arrow-circle { justify-content: center; }
  }

  .events { padding-top: 20px;
    .timeline-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .timeline-events li { list-style: none; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); position: relative; border-top: 3px solid var(--gold); }
    .timeline-events .bold { font-family: var(--font-head); font-size: 15px; color: var(--b-accent); margin-bottom: 4px; }
    .circle-left, .circle-right { display: none; }
    .icon-arrow-circle { justify-content: center; }
  }

  .investors {
    > .container > .grid { grid-template-columns: auto 1fr; align-items: center; margin-bottom: 26px; }
    .text-hero { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1; color: var(--b-accent); }
    .text-hero-x { font-size: clamp(64px, 10vw, 140px); line-height: .9; }
    .description { margin-bottom: 26px; }
    .logotypes { display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
      img, .ph-img { height: 76px; min-height: 0; width: auto; min-width: 150px; max-width: 220px; border-radius: 14px; background-color: #fff; border: 1px solid var(--line); padding: 10px 18px; object-fit: contain; flex: 0 0 auto; }
    }
  }

  .plans { padding-bottom: 40px;
    .tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .tiles > .flex { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--b-card); }
    .tiles > .flex.revert { flex-direction: row-reverse; }
    .image { flex: 0 0 42%; min-height: 220px; }
    .body { padding: 26px 26px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); align-self: center; }
    .body .bold { font-family: var(--font-head); font-size: 16.5px; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
  }
  .plans2 {
    h2 { text-align: center; max-width: 880px; margin: 0 auto 44px; }
    .tiles { display: grid; gap: 22px; }
    .tiles > .flex { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--b-card); min-height: 300px; }
    .tiles > .flex.revert { flex-direction: row-reverse; }
    .body { flex: 1 1 56%; display: flex; gap: 22px; padding: 34px 38px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); align-items: flex-start; }
    .body > div:last-child { min-width: 0; }
    .body .text-large { font-family: var(--font-head); font-size: 19px; line-height: 1.35; margin-bottom: 12px; display: block; }
    .counter { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
    .image { flex: 0 0 38%; min-height: 260px; }
  }

  .two_hotels {
    > .container > .text-primary { margin-bottom: 30px; font-family: var(--font-head); }
    .cards-tabs { display: none !important; }
    .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-bottom: 30px; }
    .card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--b-card); }
    .card .image { min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 26px; border-radius: 0; }
    .card .image::after { display: none; }
    .card .image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,42,37,0) 30%, rgba(46,42,37,.72) 100%); z-index: 1; }
    .title-image { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.2; color: #fff; }
    .percent { margin-top: 10px; display: inline-flex; align-self: flex-start; align-items: baseline; gap: 6px; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14px; }
    .percent span { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
    .card .body { padding: 26px 28px 30px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
    .card .info { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
    .card .description, .card .icons-description { list-style: none; margin: 0 0 16px; padding: 0; }
    .card .description { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; font-size: 15px; }
    .card .description li, .card .icons-description li { list-style: none; margin: 0; }
    .card .icons-description li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
    .card .icons-description [class^="icon-"] { font-size: 20px; margin-top: 2px; width: 24px; }
    > .container > .info { display: flex; align-items: flex-start; background: var(--sand); border-radius: 18px; padding: 22px 28px; margin-bottom: 8px; color: var(--ink-2); line-height: 1.6; }
    > .container > .info [class^="icon-"] { font-size: 28px; margin-top: 2px; }
  }

  .variants {
    > .container > .text-primary, > .container > .visible-xs { margin-bottom: 30px; font-family: var(--font-head); }
    .tabs { list-style: none; margin: 0 0 24px; padding: 0; display: grid !important; gap: 14px; }
    .tabs li { list-style: none; margin: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 14px; padding: 16px 20px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--ink-2); display: flex !important; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
    .tabs li .bold { font-family: var(--font-head); color: var(--ink); }
    .tabs-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 36px; align-items: start; }
    .tab-content { display: block !important; opacity: 1; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--b-card); padding: 34px 34px 30px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
    .tab-content .title { font-size: 22px; margin-bottom: 14px; }
    .tab-content .description-p { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
    .description-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
    .description-grid > div { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 14px; color: var(--ink); }
    .tab-content .description { font-size: 15px; }
    .tab-content .description.grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
    .tab-content .description.grid > div { background: var(--bg-warm); border-radius: 14px; padding: 16px 18px; }
    .tab-content .button { margin-top: 12px; width: 100%; }
    .tab-content .info { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); }
    .tab-content .info [class^="icon-"] { font-size: 24px; }
    > .container > .text-large { margin-top: 10px; padding: 22px 28px; background: var(--ink); color: #fff; border-radius: 18px; font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.5; }
  }

  .book-consultation {
    background: radial-gradient(900px 400px at 100% 0%, rgba(239,183,50,.18) 0, transparent 60%), var(--ink) !important; color: rgba(255,255,255,.82);
    .h2, h2 { color: #fff; }
    .h2 .bold, h2 .bold { color: var(--gold-2); }
    .description, .light { color: rgba(255,255,255,.75); }
    .light.bold { font-weight: 600; }
    .bold { color: #fff; }
    .visible-xs { color: rgba(255,255,255,.75); }
    form.form { margin-left: 0; margin-right: 0; margin-top: 28px; margin-bottom: 26px; }
    .input { border-color: transparent; }
    .button.button-secondary { background: var(--gold); border-color: var(--gold); color: var(--ink); &:hover, &:focus-visible { background: #fff; border-color: #fff; color: var(--ink); } }
    > .container > .flex { align-items: center; gap: 20px 28px; flex-wrap: wrap; }
    .social-icons a { background: rgba(255,255,255,.1); color: #fff; &:hover { background: var(--gold); color: var(--ink); } }
    .container > .bold { margin-bottom: 14px; }
  }
  .book-consultation.get-catalog .container { max-width: 980px; }

  .protection {
    h2 { margin-bottom: 36px; }
    .content { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
    .description { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px; box-shadow: var(--b-card); }
    .description ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
    .description li { list-style: none; margin: 0; padding-left: 28px; position: relative; font-size: 15.5px; line-height: 1.65; }
    .description li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 2px; color: var(--b-accent); }
    .description li p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; }
    .info { background: var(--gold-soft); border-radius: 22px; padding: 32px 34px; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.45; color: var(--ink); }
    .info p { margin: 16px 0 0; font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
  }
  .state_support {
    .h2 { margin-bottom: 18px; }
    .description { max-width: 820px; margin-bottom: 30px; }
    .logotypes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .logotypes > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
    .logotypes img, .logotypes .ph-img { height: 84px; width: auto; max-width: 100%; min-height: 0; object-fit: contain; background-color: transparent; }
    .logotypes .small { color: var(--ink-2); }
  }
  .demand {
    > .container > .text-primary { max-width: 800px; margin: 0 auto 34px; }
    .winter-summer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .winter-summer > div { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px; display: flex; gap: 22px; align-items: flex-start; box-shadow: var(--b-card); color: var(--ink-2); line-height: 1.6; }
    .winter-summer [class^="icon-"] { width: 64px; height: 64px; border-radius: 18px; background: var(--gold-soft); font-size: 30px !important; }
    .winter-summer .text-large-x { margin-bottom: 8px; }
    .winter-summer .text-large { font-size: 16px; }
  }

  .slider-section { padding: 30px 0 70px; overflow: hidden;
    .slider { position: relative; }
    .slider ul { list-style: none; margin: 0; padding: 6px max(16px, calc((100vw - 1200px) / 2 + 15px)) 18px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .slider li { list-style: none; flex: 0 0 min(300px, 78vw); height: 340px; border-radius: 22px; scroll-snap-align: start; display: flex; align-items: flex-end; padding: 20px 22px; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; color: #fff; box-shadow: var(--b-card); text-shadow: 0 1px 8px rgba(0,0,0,.25);
      background-image: linear-gradient(180deg, rgba(46,42,37,0) 40%, rgba(46,42,37,.8) 100%), radial-gradient(circle at 28% 20%, #fbf3df 0, transparent 55%), linear-gradient(135deg, #f3efe8 0%, #e6dccb 100%); }
    .slider li::after { top: 38%; }
    .button-left, .button-right { display: none; }
  }

  .monitoring {
    .h2 { margin-bottom: 36px; }
    .description.grid { grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0; }
    .description.grid > div { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--b-card); }
    .description.grid [class^="icon-"] { width: 64px; height: 64px; border-radius: 18px; background: var(--gold-soft); font-size: 28px !important; }
    .text-large { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
    .text-large .bold { color: var(--ink); }
  }

  .review { display: flex; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 34px; box-shadow: var(--b-card); margin-top: 34px; }
  .review .photos { list-style: none; margin: 0; padding: 0; display: flex; flex: none; }
  .review .photos li { list-style: none; width: 150px; height: 150px; border-radius: 50%; margin: 0; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(46,42,37,.15); }
  .review .photos li + li { margin-left: -36px; }
  .review .photos li::after { font-size: 28px; }
  .review-text { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
  .review-text .name { font-family: var(--font-head); font-size: 20px; color: var(--ink); }
  .review-text .position { color: var(--b-accent); margin-bottom: 10px; font-size: 14px; }
  .review-text .full-review { display: none; }
  .owner-reviews .brands { margin-top: 28px; }
  .brands-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .brands-container > div { display: flex; gap: 16px; align-items: center; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); background: var(--bg-warm); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
  .brand { flex: none; width: 54px; height: 54px; border-radius: 14px; }
  .investor-reviews {
    h2 { margin-bottom: 34px; }
    .orlova { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 26px; }
    .orlova .info { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--b-card); }
    .orlova .name { margin-bottom: 6px; }
    .orlova .body { margin: 14px 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
    .orlova .info > a[video] { font-weight: 700; color: var(--b-accent); text-decoration: underline; text-underline-offset: 3px; }
    .video5 { min-height: 280px; border-radius: 24px; display: block; }
    .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 14px; }
    .reviews .review { flex-direction: column; align-items: flex-start; margin: 0; padding: 26px; gap: 18px; }
    .reviews .photos li { width: 84px; height: 84px; }
    .reviews .photos li::after { font-size: 20px; }
    .reviews .review-text { font-size: 14.5px; }
    .reviews .review-text .name { font-size: 17px; }
  }

  .smi {
    h2 { margin-bottom: 36px; }
    .news { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .news .card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--b-card); padding: 0 0 20px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; line-height: 1.45; color: var(--ink); transition: transform .2s, box-shadow .2s; }
    .news .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
    .news .card img, .news .card .ph-img { width: 100%; height: 170px; min-height: 0; object-fit: cover; border-radius: 0; margin-bottom: 16px; }
    .news .card > :not(img):not(.ph-img) { padding: 0 20px; }
  }

  .hotels80 {
    h2 { margin-bottom: 30px; }
    .check-bloks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
    .block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 22px 56px; position: relative; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); box-shadow: var(--b-card); }
    .block::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 20px; top: 22px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 12px; display: flex; align-items: center; justify-content: center; }
    .block .bold { font-family: var(--font-head); color: var(--ink); font-size: 16px; }
    > .container > .description { max-width: 900px; margin: 0 auto 34px; }
    .gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px; }
    .gallery > .image { border-radius: 22px; }
    .gallery > .image1 { grid-column: span 2; grid-row: span 2; display: flex; align-items: flex-end; }
    .gallery > .image1::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,42,37,0) 35%, rgba(46,42,37,.8) 100%); z-index: 1; }
    .gallery .image1 .content { padding: 32px 36px; color: #fff; z-index: 3; position: relative; font-size: 20px; line-height: 1.45; }
    .gallery .image1 .content img, .gallery .image1 .content .ph-img { display: none; }
    .gallery .image1 .content .bold { color: var(--gold-2); }
    .gallery > .image5 { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; font-family: var(--font-head); font-size: 18px; line-height: 1.4; cursor: pointer; background: var(--gold-soft); transition: background .2s; }
    .gallery > .image5:hover { background: var(--gold); }
    .gallery > .image5 .icon-arrow-right { margin-top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff !important; font-size: 18px !important; }
  }

  .rating {
    h2 { margin-bottom: 40px; }
    .rating-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
    .rating-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; box-shadow: var(--b-card); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
    .number { font-family: var(--font-head); font-weight: 800; font-size: 52px; line-height: 1; color: var(--b-accent); margin-bottom: 10px; }
    .number .smaller { font-size: 26px; }
    .rating-grid .bold { font-family: var(--font-head); color: var(--ink); font-size: 16px; margin-bottom: 4px; }
    > .container > .description { max-width: 860px; margin: 0 auto; }
  }

  .youtube-channel {
    .h2 { margin-bottom: 30px; }
    .videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  }

  .faq {
    .container { max-width: 960px; }
    .h2 { margin-bottom: 34px; }
    .accordion { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
    .accordion > li { list-style: none; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px 24px; box-shadow: var(--b-card); }
    .accordion .title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); margin-bottom: 10px; padding-left: 30px; position: relative; }
    .accordion .title::before { content: "?"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
    .accordion .content { display: block !important; height: auto !important; padding-left: 30px; }
    .accordion .text { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
    .accordion .text a { color: var(--b-accent); text-decoration: underline; word-break: break-all; }
    .description { margin-bottom: 8px; }
  }

  .map { padding-bottom: 84px; background: #fff !important;
    > .container { text-align: center; margin-bottom: 34px; }
    /* the embedded map is not preserved (restore.js hides the empty #map) -> contacts become a plain card row */
    .map-container > .container { padding: 0 15px; }
    ul.information { list-style: none; margin: 0; padding: 28px 34px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 18px 30px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 24px; max-width: 1170px; margin: 0 auto; font-size: 16px; line-height: 1.5; }
    ul.information li { list-style: none; margin: 0; display: flex; gap: 14px; align-items: center; }
    ul.information [class^="icon-"] { font-size: 20px !important; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--ink) !important; }
    ul.information a { display: flex; gap: 14px; align-items: center; font-weight: 700; color: var(--ink); }
  }

  > footer {
    background: var(--ink); color: rgba(255,255,255,.72); padding: 34px 0; font-size: 13.5px;
    > .container > .flex { align-items: center; gap: 22px 30px; flex-wrap: wrap; }
    .logo { display: inline-flex; flex: none; img, .ph-img { max-height: 40px; width: auto; } .ph-img { min-height: 0; background: none; padding: 0; } }
    .logo .wordmark { color: #fff; }
    .logo-text { color: rgba(255,255,255,.6); max-width: 300px; line-height: 1.45; }
    .privacy-policy { max-width: 360px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.5); }
    a { color: #fff; }
  }

  .modal-video { display: none; }
  .modal .modal-content { border: 0; border-radius: 24px; padding: 14px 10px 10px; box-shadow: 0 30px 80px rgba(46,42,37,.3); }
  .modal .modal-body { padding: 18px 26px 24px; }
  .modal-head { margin-bottom: 18px; }
  .modal-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.25; color: var(--ink); }
  .modal .close { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); opacity: 1; font-size: 13px; display: flex; align-items: center; justify-content: center; color: var(--ink); text-shadow: none; }
  .form-item { margin-bottom: 16px; }
  .title-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; padding-left: 4px; }
  .title-label span { color: #c0392b; }
  .input-item { position: relative; }
  .input-item .fa, .has-feedback .fa { display: none; }
  .legal-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
  .legal-check a { color: var(--b-accent); text-decoration: underline; }
  .checkbox-style { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
  .modal .btn.btn-warning { display: block; width: 100%; background: var(--gold); border-color: var(--gold); color: var(--ink); padding: 14px; font-size: 15px; }
  .contact-us-modal-footer { margin: 22px 0 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
  .social-buttons-modal-footer .social-buttons { justify-content: center; display: flex; }

  @media (max-width: 1100px) {
    section { padding: 68px 0; }
    .main-banner .tile, .vudjavr .tile { grid-template-columns: repeat(2, 1fr); }
    .events .timeline-events { grid-template-columns: repeat(2, 1fr); }
    .smi .news { grid-template-columns: repeat(2, 1fr); }
    .check-bloks { grid-template-columns: repeat(2, 1fr) !important; }
    .investor-reviews .reviews { grid-template-columns: 1fr 1fr; }
    .state_support .logotypes { grid-template-columns: repeat(2, 1fr); }
    > header.section .logo-text { display: none; }
  }

  @media (max-width: 991.98px) {
    section { padding: 52px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .text-large-x { font-size: 19px; }
    .text-large { font-size: 16px; }
    .description { font-size: 15.5px; }
    .grid-3 { grid-template-columns: 1fr; }

    > header.section {
      .contacts-wrapper { padding: 10px 0; gap: 12px; }
      .logo img, .logo .wordmark { max-height: 34px; }
      .logo .wordmark { font-size: 18px; }
      .menu-hamburger, .close-button { display: none !important; }
      a.visible-xs[href^="tel"] { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex !important; align-items: center; justify-content: center; font-size: 17px; }
      .menu-wrapper { border-top: 0; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
      .menu-wrapper::-webkit-scrollbar { display: none; }
      .menu-wrapper .inner { display: block; }
      .main-menu { flex-wrap: nowrap; gap: 6px; padding: 0 0 10px; width: max-content; }
      .main-menu a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; white-space: nowrap; background: var(--bg-warm); }
      .main-menu a:hover { border-color: var(--gold); background: var(--gold-soft); }
      .menu-wrapper .margin-auto-left { display: none; }
    }
    .main-banner { padding: 40px 0 48px;
      h1 { margin-bottom: 26px; }
      .tile { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
      .tile li { padding: 16px; font-size: 13px; }
      .images { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
      .images > div { aspect-ratio: 16 / 9; }
    }
    form.form { flex-direction: column; .input, .button { flex: none; width: 100%; } }
    .vudjavr .tile { grid-template-columns: 1fr; gap: 12px; }
    .vudjavr .tile li { flex-direction: row; align-items: center; padding: 18px; }
    .season2022 .videos, .youtube-channel .videos { grid-template-columns: 1fr; gap: 16px; }
    a.video { min-height: 210px; }
    .radius100 { padding: 20px 0; .image { min-height: 300px; padding: 28px 22px; border-radius: 22px; } }
    .events .timeline-events { grid-template-columns: 1fr; gap: 10px; }
    .investors > .container > .grid { grid-template-columns: 1fr; gap: 6px; }
    .investors .logotypes img, .investors .logotypes .ph-img { height: 60px; min-width: 120px; flex: 1 1 120px; }
    .plans .tiles { grid-template-columns: 1fr; gap: 16px; }
    .plans .tiles > .flex, .plans .tiles > .flex.revert { flex-direction: column; }
    .plans .image { flex: none; min-height: 170px; }
    .plans2 .tiles > .flex, .plans2 .tiles > .flex.revert { flex-direction: column-reverse; }
    .plans2 .body { padding: 24px 22px; gap: 16px; }
    .plans2 .image { flex: none; min-height: 190px; }
    .two_hotels .cards { grid-template-columns: 1fr; }
    .two_hotels .card .description { grid-template-columns: 1fr; }
    .variants .tabs-container { grid-template-columns: 1fr; }
    .variants .tab-content { padding: 24px 20px; }
    .protection .content { grid-template-columns: 1fr; }
    .protection .description, .protection .info { padding: 24px 22px; }
    .state_support .logotypes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .demand .winter-summer, .monitoring .description.grid { grid-template-columns: 1fr; }
    .demand .winter-summer > div, .monitoring .description.grid > div { padding: 22px; gap: 16px; }
    .slider-section .slider li { height: 260px; }
    .review { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 20px; }
    .review .photos li { width: 100px; height: 100px; }
    .brands-container, .investor-reviews .orlova, .investor-reviews .reviews { grid-template-columns: 1fr; }
    .smi .news { grid-template-columns: 1fr; gap: 14px; }
    .hotels80 .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
    .hotels80 .gallery > .image1 { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
    .hotels80 .gallery .image1 .content { padding: 22px; font-size: 16px; }
    .hotels80 .gallery > .image5 { grid-column: 1 / -1; padding: 20px; font-size: 16px; }
    .check-bloks { grid-template-columns: 1fr !important; gap: 10px !important; }
    .rating .rating-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .rating .rating-grid > div { padding: 18px; }
    .rating .number { font-size: 38px; }
    .faq .accordion > li { padding: 18px 20px; }
    .faq .accordion .title { font-size: 16px; }
    .map { padding-bottom: 52px; }
    .map > ul.information { margin: 0 16px; max-width: none; grid-template-columns: 1fr; padding: 22px 20px; }
    > footer .flex { flex-direction: column; align-items: flex-start; }
    > footer .privacy-policy { max-width: none; margin-top: 16px; }
    .modal .modal-body { padding: 14px 16px 20px; }
  }
  @media (max-width: 480px) {
    .rating .rating-grid { grid-template-columns: 1fr; }
    .main-banner .tile { grid-template-columns: 1fr; }
    .state_support .logotypes { grid-template-columns: 1fr; }
  }
}

/* =====================================================================
   FAMILY C — old "corp_services_orange" template (table-era markup)
   Hook: body whose direct child is #page-wrapper (exactly the 22 corp_services_orange pages).
   ===================================================================== */
body:has(> #page-wrapper) {
  --c-accent: #9a6c06;
  background: var(--bg-warm);
  overflow-x: clip;
  font-size: 16px;

  a:hover { color: var(--c-accent); }
  #panel, .wrapper.top, .clear:empty { display: none; }
  b.r0, b.r1 { display: none; }

  /* ----- top bar: logo + contacts ----- */
  #header:not(.header) {
    background: #fff; max-width: none;
    > table { width: 100%; max-width: 1200px; margin: 0 auto; border-collapse: separate; border-spacing: 0; }
    > table td { padding: 0; vertical-align: middle; }
    #logo { padding: 16px 15px; width: 280px; }
    #logo img { max-width: 100%; height: auto; max-height: 64px; width: auto; }
    #logo .wordmark { font-size: 24px; }
    #logo .ph-img { font-size: 0; min-height: 0; width: auto; padding: 0; background: none; flex-direction: row; justify-content: flex-start; gap: 10px; }
    #logo .ph-img::before { content: ""; font-size: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
    #logo .ph-img::after { content: "SOKROMA"; font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: .18em; color: var(--ink); }
    #slogan { padding: 10px 15px 10px 0; }
    .call table, .call tbody, .call tr { display: flex; width: 100% !important; }
    .call table { float: none !important; padding-right: 0 !important; }
    .call tr { justify-content: flex-end; align-items: center; gap: 0 26px; }
    .call td { padding: 0; vertical-align: middle; width: auto !important; }
    .call td:first-child { text-align: right; }
    .ya-phone { min-width: 0 !important; padding-top: 0 !important; line-height: 1.5; }
    .ya-phone a { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
    .head-contacts .mail { font-size: 14px !important; color: var(--ink-2) !important; }
    .head-contacts .mail span { margin-left: 0 !important; }
    .head-contacts .mail a { font-weight: 600; }
    span.button {
      display: inline-flex; align-items: center; background: var(--gold); border-radius: 999px; padding: 12px 24px; cursor: pointer; transition: background .2s; white-space: nowrap;
      > span { color: var(--ink) !important; padding: 0 !important; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
    }
    a:hover span.button, a:focus-visible span.button { background: var(--ink); }
    a:hover span.button > span, a:focus-visible span.button > span { color: #fff !important; }
  }

  /* ----- main menu ----- */
  #header.header {
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 60;
    max-width: none; padding: 0 max(15px, calc((100% - 1200px) / 2 + 15px));
    display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px;
  }
  #top-menu {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto;
    > li { position: relative; list-style: none; margin: 0; padding: 0; float: none; background: none; }
    > li > a {
      display: block; padding: 15px 15px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
    }
    > li:hover > a, > li:focus-within > a, > li.selected > a { color: var(--c-accent); border-bottom-color: var(--gold); }
    > li.leop > a::after { content: "\f107"; font-family: FontAwesome; margin-left: 7px; color: var(--gold); }
    ul.leo {
      display: none !important; position: absolute; left: 0; top: 100%; min-width: 230px; margin: 0; padding: 8px; list-style: none; z-index: 70;
      background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    }
    li.leop:hover > ul.leo, li.leop:focus-within > ul.leo { display: block !important; }
    .leo-li { list-style: none; margin: 0; padding: 0; background: none; }
    .leo-li a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; }
    .leo-li a:hover, .leo-li a:focus-visible { background: var(--sand); }
    .leo-li br { display: none; }
  }
  .pizda-zip {
    display: flex; align-items: center; gap: 16px; height: auto !important; padding: 0 !important; text-align: left !important; margin-left: auto;
    .lang a { color: var(--ink-2) !important; text-decoration: none !important; font-size: 13px; font-weight: 600; margin: 0 !important; border-bottom: 1px dashed #c9bfa8; }
    .lang a:hover { color: var(--c-accent) !important; }
    .left { float: none !important; padding: 0 !important; line-height: 1 !important; display: flex; gap: 8px; }
  }
  a.vk, a.fb, a.in {
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); align-items: center; justify-content: center; background-image: none; text-indent: 0; padding: 0; transition: background .2s, transform .2s;
    &::before { font-family: FontAwesome; font-size: 15px; color: var(--ink); line-height: 1; }
    &:hover, &:focus-visible { background: var(--gold); transform: translateY(-1px); }
  }
  a.vk::before { content: "\f189"; }
  a.fb::before { content: "\f09a"; }
  a.in::before { content: "\f16d"; }

  /* ----- content ----- */
  #content-wrapper { max-width: 1200px; margin: 0 auto; padding: 18px 15px 0; }
  #breadcrumb { margin-bottom: 14px; }
  #content { padding: 0; }
  #breadcrumb { font-size: 13.5px; color: var(--muted);
    p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
    a { color: var(--ink-2); font-weight: 600; }
    img, .ph-img { width: 14px; height: 14px; min-height: 0; padding: 0; background: none; display: inline-flex; }
    .ph-img::before { content: "\f015"; font-size: 14px; color: var(--gold); }
  }
  #workarea-wrapper { padding: 0 0 56px; }
  #workarea { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 36px 44px 44px; overflow: hidden; }
  #workarea-inner { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
  #contentwr {
    .wrapper_about { margin: 0; }
    .wrapper_about > div > div > .title, .wrapper_about .title:not(h2) {
      font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1.2; color: var(--ink); margin: 0 0 28px; text-align: left;
    }
    .wrapper_about > div[style] .title:not(h2) { text-align: center; }
    p { margin: 0 0 1em; }
    a:not(.btn) { color: var(--c-accent); text-decoration: underline; text-decoration-color: rgba(154,108,6,.35); text-underline-offset: 3px; }
    img { max-width: 100%; height: auto; border-radius: 12px; }
    .errortext { display: block; padding: 18px 22px; background: #fdf3e0; border: 1px solid var(--gold-soft); border-radius: 14px; color: var(--ink); font-weight: 600; }
  }
  .news-detail {
    h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--ink); margin: 6px 0 16px; }
    .news-date-time { display: inline-block; background: var(--gold-soft); color: var(--ink); border-radius: 999px; padding: 3px 14px; font-size: 13px; font-weight: 600; }
    img:not([src*="/emoji/"]) { display: block; margin: 20px auto; }
    img[src*="/emoji/"] { display: inline; width: 16px; height: 16px; margin: 0 2px; vertical-align: -3px; border-radius: 0; }
  }
  .news-list, div.news-list { }
  div.news-list img.preview_picture { border-radius: 10px; }

  /* ----- feedback form ----- */
  .contform {
    margin-top: 56px; padding: 44px 40px 40px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 22px; clear: both;
    h2.title { font-family: var(--font-head); font-weight: 800; font-size: 28px; text-align: center !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; color: var(--ink); &::before { display: none !important; } &::after { content: "" !important; display: block !important; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin: 14px auto 0; } }
    > p { margin-bottom: 30px !important; text-align: center; }
    .mess-email:empty { display: none; }
    .content-form form { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
    .field { margin: 0; }
    .form-input { display: block; }
    input[type="text"], input[type="email"], textarea {
      width: 100% !important; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #ddd5c5; border-radius: 999px; padding: 13px 22px; outline: 0; transition: border-color .2s, box-shadow .2s; line-height: 1.4 !important;
      &:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(239,183,50,.25); }
      &::placeholder { color: #9a9488; }
    }
    textarea { border-radius: 20px; min-height: 130px; resize: vertical; }
    .legal-basket { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 8px; padding-left: 6px; }
    .legal-basket a { color: var(--c-accent); }
    form > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .mf-captcha img, .mf-captcha .ph-img { width: 150px; height: 46px; min-height: 0; padding: 0; border-radius: 10px; flex-direction: row; }
    .mf-captcha .ph-img::before { font-size: 16px; }
    .captchas { flex: 1 1 200px; }
    .captchas input { width: 100% !important; }
    #contact_us_submit { margin-left: auto; }
  }
  input[type="button"], input[type="submit"] {
    font-family: var(--font-head); font-weight: 700; font-size: 14px; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: 13px 30px; cursor: pointer; transition: background .2s, color .2s;
    &:hover, &:focus-visible { background: var(--ink); color: #fff; }
  }

  /* ----- map + footer ----- */
  #space-for-footer { margin-top: 0; }
  #full-map { height: 360px !important; position: relative; overflow: hidden; }
  #full-map:not(:has(ymaps)) {
    background: radial-gradient(circle at 28% 20%, #fbf3df 0, transparent 55%), linear-gradient(135deg, #f3efe8 0%, #e6dccb 100%);
    &::after { content: "\f041"; font-family: FontAwesome; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 54px; color: rgba(154,108,6,.45); }
  }
  .wrapper.footer {
    background: var(--ink); color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; padding: 54px 15px 40px;
    a { color: rgba(255,255,255,.85); }
    a:hover, a:focus-visible { color: var(--gold-2); }
    > div { max-width: 1200px; margin: 0 auto; }
    .wrap_footer { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; align-items: start; }
    .wrap_footer > div { width: auto !important; margin: 0 !important; min-width: 0; }
    .one { width: 100% !important; margin: 0 0 26px !important; float: none !important; }
    .footlogo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px !important; }
    .footlogo > div { width: auto !important; float: none !important; }
    .footlogo img, .footlogo .ph-img { max-height: 54px; width: auto; min-height: 0; background: none; padding: 0; flex-direction: row; font-size: 0; }
    .footlogo .ph-img::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); font-size: 0; }
    .footte { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: .06em; }
    .foottes { font-size: 12.5px; color: rgba(255,255,255,.55); }
    .phone { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: #fff; }
    .mail a { color: var(--gold-2); font-weight: 600; }
    .mail ~ .f-title { margin-top: 18px; }
    .f-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
    .left { float: none !important; display: flex; gap: 8px; }
    a.vk, a.fb, a.in { background: rgba(255,255,255,.1); &::before { color: #fff; } &:hover { background: var(--gold); &::before { color: var(--ink); } } }
    .one > a:not(.vk):not(.fb):not(.in) { display: block; padding: 2px 0; font-size: 13.5px; }
    .phone, .mail { display: block; }
    br { display: none; }
    form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
    form input[type="text"] { flex: 1 1 180px; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 11px 18px; font-size: 14px; outline: 0; &::placeholder { color: rgba(255,255,255,.5); } &:focus { border-color: var(--gold); } }
    form input[type="submit"] { flex: none; padding: 11px 22px; font-size: 13px; }
    form input[type="submit"]:hover { background: #fff; color: var(--ink); }
    .legal-basket { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; }
    .legal-basket a { color: rgba(255,255,255,.7); text-decoration: underline; }
  }
  #footer { background: #231f1b; color: rgba(255,255,255,.5); padding: 18px 15px; text-align: center; font-size: 12.5px;
    #copyright p { margin: 0; }
  }

  @media (max-width: 991.98px) {
    #header:not(.header) {
      > table, > table tbody, > table tr, > table td { display: block; width: 100% !important; }
      #logo { padding: 14px 16px 6px; text-align: left; }
      #logo img { max-height: 44px; }
      #slogan { padding: 0 16px 14px; }
      .call table, .call tbody, .call tr, .call td { display: block; width: 100% !important; padding: 0; text-align: left !important; }
      .call td + td { margin-top: 12px; }
      .ya-phone a { font-size: 15px; }
      span.button { width: 100%; justify-content: center; }
    }
    #header.header { padding: 0 16px; display: block; }
    #top-menu { margin: 0 -8px; > li > a { padding: 11px 9px; font-size: 13.5px; border-bottom-width: 0; } > li.leop > a::after { display: none; } ul.leo { display: none !important; } }
    .pizda-zip { padding: 8px 0 12px !important; }
    #content-wrapper { padding: 12px 0 0; }
    #breadcrumb { padding: 0 16px; p { display: block; line-height: 1.7; } }
    #workarea-wrapper { padding: 0 0 36px; }
    #workarea { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 22px 16px 30px; }
    #contentwr .wrapper_about .title:not(h2) { font-size: 26px; }
    .wrapper_about > div[style] { width: auto !important; }
    .contform { padding: 28px 18px; margin-top: 36px; }
    .wrapper.footer { padding: 40px 16px 28px; .wrap_footer { grid-template-columns: 1fr; gap: 10px; } }
    #full-map { height: 280px !important; }
  }
}

/* =====================================================================
   FAMILY D — book/ landing ("Деньги под матрасом")
   Hook: body that contains #navbar-book (only book/index.html).
   ===================================================================== */
body:has(#navbar-book) {
  --d-accent: #9a6c06;
  background: #fff;
  > .wrapper { overflow: visible; overflow-x: clip; }

  a:hover { color: var(--d-accent); }
  .container { max-width: 1200px; }

  /* header = pill nav */
  .header {
    position: relative; z-index: 100; background: #fff; border-bottom: 1px solid var(--line);
    .navbar { padding: 10px 0; justify-content: center; }
    .nav-pills { justify-content: center; gap: 4px 6px; flex-wrap: wrap; }
    .nav-link { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink) !important; border-radius: 999px; padding: 8px 16px !important; transition: background .2s, color .2s; }
    .nav-link:hover, .nav-link:focus-visible { background: var(--gold-soft); color: var(--ink) !important; }
    .nav-link.active { background: var(--gold); color: var(--ink) !important; }
    .nav-item:nth-last-child(3) .nav-link { background: var(--ink); color: #fff !important; }
    .nav-item:nth-last-child(3) .nav-link:hover { background: var(--gold); color: var(--ink) !important; }
  }

  /* hero (original photo is gone) */
  .promo-section { position: relative; background: radial-gradient(900px 480px at 80% 10%, #fbeec6 0, transparent 60%), radial-gradient(700px 420px at 5% 100%, #f1e6cf 0, transparent 60%), var(--bg-warm); }
  .promo-banner {
    min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 70px 16px 120px; gap: 16px;
    &::before { content: "Книга Дарьи Ковалевской"; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--d-accent); }
    &::after { content: "Деньги под матрасом"; font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 7vw, 88px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); max-width: 900px; }
  }
  .promo-box { position: absolute; left: 0; right: 0; bottom: 56px;
    .row { justify-content: center; margin: 0; }
    .col-md-6 { flex: none; max-width: none; width: auto; text-align: center; }
    .btn { padding: 16px 40px; font-size: 16px; box-shadow: 0 12px 28px rgba(239,183,50,.4); }
  }
  .btn { font-family: var(--font-head); font-weight: 700; border-radius: 999px; }
  .btn-warning { background: var(--gold); border-color: var(--gold); color: var(--ink); &:hover, &:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; } }

  /* section rhythm */
  .book-section, .inner-section, .audience-section, .why-section, .about-section, .reviews-section, .order-form, .massage-autor, .gallery-section { padding: 80px 0; position: relative; }
  .asd-section { padding: 0; }
  .asd-section:empty, .asd-section > .container:empty { display: none; }
  .audience-section, .reviews-section, .massage-autor { background: var(--bg-warm); }
  .mb-125 { margin-bottom: 0; }

  .head-box { margin-bottom: 34px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
  .head-box-mb { margin-bottom: 30px; }
  .title-box {
    font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink);
    &::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 14px; }
  }
  .head-box .text-italic { font-size: 22px; }
  .title-block { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); margin-bottom: 22px; }
  .text-italic { font-style: italic; font-family: var(--font-head); font-weight: 500; color: var(--d-accent); font-size: 26px; line-height: 1.3; }

  .desc-box { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
  .desc-box strong span, .quote-box strong { background: linear-gradient(transparent 62%, var(--gold-soft) 62%); font-weight: 700; color: var(--ink); }
  .desc-box-one { max-width: 860px; font-size: 20px; }
  .desc-box-one p { margin: 0 0 14px; }
  .desc-box-two { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding: 26px 32px; background: var(--ink); color: rgba(255,255,255,.85); border-radius: 22px; font-size: 20px;
    .text-italic { color: var(--gold-2); font-size: 30px; }
    strong span { background: none; color: var(--gold-2); }
  }
  ul.desc-box { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;
    > li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.6; }
    > li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 11px; display: flex; align-items: center; justify-content: center; }
  }

  /* what's inside */
  .inner-top, .inner-bottom { margin-bottom: 0; }
  .inner-top { margin-bottom: 70px; }
  .swiper { overflow: visible; }
  .swiperBOOK .swiper-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  @media (max-width: 575.98px) { .swiperBOOK .swiper-wrapper { grid-template-columns: repeat(2, 1fr); } }
  .book-page { aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow);
    img, .ph-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; display: flex; } }
  .swiper-pagination, .swiper-button-prev, .swiper-button-next, .ctrl-slider { display: none !important; }
  .video-box { display: block; border-radius: 22px; overflow: hidden; background: var(--sand); position: relative; min-height: 240px;
    img, .ph-img { width: 100%; height: 100%; min-height: 260px; border-radius: 0; display: flex; object-fit: cover; }
    .ph-img::before { display: none; }
    &::after { content: "\f144"; font-family: FontAwesome; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 72px; color: var(--gold); text-shadow: 0 4px 20px rgba(0,0,0,.25); transition: transform .2s; }
    &:hover::after { transform: translate(-50%, -50%) scale(1.08); }
  }
  .inner-bottom .desc-box { font-size: 20px; font-family: var(--font-head); font-weight: 600; }

  /* audience cards */
  .tr-list .row { row-gap: 24px; }
  .tr-item::before { display: none; }
  .tr-item { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; box-shadow: 0 12px 32px rgba(46,42,37,.06); transition: transform .2s, box-shadow .2s; }
  .tr-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .tr-img { width: 64px; height: 64px; border-radius: 18px; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
    img { width: 34px; height: 34px; border-radius: 0; } .ph-img { width: 34px; height: 34px; min-height: 0; padding: 0; background: none; border-radius: 0; } .ph-img::before { font-size: 22px; color: var(--d-accent); } }
  .tr-t { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); margin-bottom: 12px; }
  .tr-tt { font-size: 15px; line-height: 1.65; color: var(--ink-2); }

  /* why */
  .why-img { border-radius: 24px; overflow: hidden; background: var(--sand); min-height: 320px;
    img, .ph-img { width: 100%; height: 100%; min-height: 380px; object-fit: contain; border-radius: 0; display: flex; } }
  .why-btn { margin-top: 30px; .btn { padding: 15px 36px; } }

  /* author */
  .dariya-cnt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 30px; .text-box { font-size: 20px; } }
  .about-cnt ul.desc-box > li { font-size: 17px; }
  .about-cnt br { display: none; }
  .about-img { border-radius: 22px; overflow: hidden; background: var(--sand);
    img, .ph-img { width: 100%; min-height: 260px; border-radius: 0; display: flex; object-fit: cover; } }
  .quote-box { position: relative; }
  .about-section > .container > .quote-box { margin-top: 48px; padding: 38px 44px 38px 84px; background: var(--gold-soft); border-radius: 24px; font-size: 20px; line-height: 1.6; color: var(--ink);
    &::before { content: "\201C"; position: absolute; left: 28px; top: 14px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: var(--gold); }
  }

  /* reviews */
  .reviews-slider .swiper-wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
  .reviews-slider .swiper-slide { height: auto; display: flex; }
  .reviews-item { flex: 1 1 auto; height: auto; display: flex; }
  .reviews-item .quote-box { flex: 1 1 auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px 26px; box-shadow: 0 12px 32px rgba(46,42,37,.06); }
  .reviews-item .quote-box::before { content: "\201C"; font-family: Georgia, serif; font-size: 64px; line-height: .6; height: 28px; color: var(--gold); }
  .reviews-item .desc-box { font-size: 14.5px; line-height: 1.7; flex: 1; margin-bottom: 20px; }
  .reviews-t { margin-top: auto; min-height: 80px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; line-height: 1.5; color: var(--ink); padding-top: 16px; border-top: 1px solid var(--line); }

  /* order form (dark) */
  .order-form { background: radial-gradient(800px 360px at 100% 0%, rgba(239,183,50,.2) 0, transparent 60%), var(--ink); color: rgba(255,255,255,.85);
    .title-box { color: #fff; }
    .desc-box { color: rgba(255,255,255,.8); }
    .desc-box strong span { color: #fff; background: linear-gradient(transparent 62%, rgba(239,183,50,.5) 62%); }
    .form-order { margin-top: 36px; }
    .form-floating { display: flex; flex-direction: column-reverse; position: relative; }
    .form-floating > label { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; color: rgba(255,255,255,.7); margin: 0 0 6px 18px; }
    .form-control { height: 52px; border-radius: 999px; border: 1px solid transparent; padding: 0 22px; font-size: 16px; background: #fff; color: var(--ink); &:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(239,183,50,.28); } }
    .btn-light { display: block; width: 100%; background: var(--gold); border-color: var(--gold); color: var(--ink); padding: 15px 24px; font-size: 15.5px; &:hover, &:focus-visible { background: #fff; border-color: #fff; color: var(--ink); } }
    .legal-btn { display: block; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.55); }
    .legal-btn a { color: rgba(255,255,255,.85); text-decoration: underline; }
  }

  /* message the author */
  .massage-box { display: flex; align-items: center; gap: 44px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 36px 44px; box-shadow: 0 12px 32px rgba(46,42,37,.06); }
  .massage-qr { flex: none; width: 190px; height: 190px; border-radius: 16px; overflow: hidden; background: var(--sand);
    img, .ph-img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 0; display: flex; } }
  .massage-cnt .text-italic { margin-bottom: 8px; }
  .massage-cnt .text-box { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
  .tg-cnt { margin-top: 16px; }
  .login_tg { display: inline-block; margin-top: 6px; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 8px 22px; font-family: var(--font-head); font-weight: 700; &:hover { background: var(--ink); color: #fff; } }

  /* gallery */
  .gallery-box { position: relative; border-radius: 26px; overflow: hidden; background: var(--sand); min-height: 340px;
    > img, > .ph-img { width: 100%; min-height: 380px; object-fit: cover; border-radius: 0; display: flex; }
  }
  .gallery-btn { position: absolute; z-index: 3; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.94); border-radius: 18px; padding: 14px 20px; box-shadow: var(--shadow);
    .btn-link { color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; padding: 0; text-align: left; &:hover { color: var(--d-accent); } }
    svg { width: 30px; height: 30px; flex: none; }
  }

  /* footer */
  .footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; font-size: 14px;
    .footer-box { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; }
    .copyright { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 8px; }
    .legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
    .legal a { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 3px; &:hover { color: var(--gold-2); } }
    .btn-outline-dark { color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: transparent; padding: 11px 26px; &:hover, &:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); } }
  }

  @media (max-width: 991.98px) {
    .book-section, .inner-section, .audience-section, .why-section, .about-section, .reviews-section, .order-form, .massage-autor, .gallery-section { padding: 52px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .header .navbar { padding: 8px 0; position: relative; }
    .header .navbar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
    .header .nav-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; padding-right: 28px; }
    .header .nav-pills::-webkit-scrollbar { display: none; }
    .header .nav-link { white-space: nowrap; padding: 7px 14px !important; font-size: 12.5px; }
    .promo-banner { min-height: 380px; padding: 56px 16px 110px; }
    .promo-box { bottom: 40px; }
    .inner-top { margin-bottom: 44px; }
    .inner-top .col-lg-7 { margin-top: 30px; }
    .inner-bottom .col-lg-5 { margin-top: 26px; }
    .why-section .col-lg-6 + .col-lg-6 { margin-top: 26px; }
    .about-img { max-width: none; margin-top: 20px; }
    .about-section > .container > .quote-box { padding: 30px 22px 26px 22px; font-size: 17px; &::before { position: static; display: block; height: 40px; font-size: 70px; } }
    .reviews-slider .swiper-wrapper { grid-template-columns: 1fr; }
    .massage-box { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 22px; }
    .desc-box-two { padding: 22px; }
    .gallery-btn { right: 14px; bottom: 14px; padding: 10px 14px; }
    .footer-box { flex-direction: column; align-items: flex-start; }
    .order-form .col-lg-4.align-self-center { margin-top: 20px; }
    .tr-item { padding: 26px 22px; }
  }
}

/* QA round 3 (added by the main pass) */
body:has(> #page-wrapper) #rtye { margin-top: 0 !important; }
body:has(> #page-wrapper) .wrapper.footer .footlogo { align-items: flex-start; }
body:has(> #page-wrapper) .footlogo .ph-img::before { margin-top: 8px; }
@media (max-width: 991.98px) { body:has(> #page-wrapper) #workarea-wrapper { padding-bottom: 16px; } }
body.ubuntu .footer .col { padding-left: 0; padding-right: 0; }
