    :root {
      --primary: #385C8E;
      --text-main: #243447;
      --bg-outer: #FAF8F4;
      --bg-card: #FAF8F4;
      --accent: #C9A27C;
      --text-muted: #546477;
      --border-color: #282726;
      --font-serif: 'Playfair Display', serif;
      --font-body: 'Jost', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg-outer);
      color: var(--text-main);
      font-family: var(--font-body);
      display: flex;
      justify-content: center;
      align-items: flex-start;
      min-height: 100vh;
    }

    /* АДАПТИВНЫЙ ГЛОБАЛЬНЫЙ КОНТЕЙНЕР */
    .site-wrapper {
      width: 100%;
      background: var(--bg-card);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    @media (min-width: 769px) {
      .site-wrapper {
        max-width: 100%;
        padding: 0 40px;
      }
    }

    @media (max-width: 768px) {
      .site-wrapper {
        max-width: 100%;
      }
    }

    /* ОГРАНИЧЕНИЕ ШИРИНЫ */
    .hero-inner,
    .stats-inner,
    .about-grid,
    .srv-grid,
    .rv-grid,
    .news-grid,
    .booking-grid,
    .formats-grid-main,
    .footer-grid,
    nav .nav-container {
      max-width: 1400px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    /* НАВИГАЦИЯ */
    nav {
      position: sticky;
      top: 0;
      width: 100%;
      border-bottom: 1px solid var(--border-color);
      padding: 15px 0;
      background: var(--bg-card);
      z-index: 100;
    }

    nav .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }

    .nav-logo {
      font-family: var(--font-serif);
      font-size: 22px;
      font-weight: 400;
      letter-spacing: 0.02em;
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 25px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      font-size: 13px;
      font-weight: 400;
      color: var(--text-main);
      letter-spacing: 0.05em;
      transition: opacity 0.2s;
    }

    .nav-links a:hover {
      opacity: 0.6;
    }

    .nav-links .nav-cta {
      font-weight: 600;
      text-decoration: underline;
      color: var(--primary);
    }

    @media (max-width: 768px) {
      nav .nav-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }

      .nav-links {
        gap: 15px;
        justify-content: center;
        width: 100%;
      }

      .nav-links a {
        font-size: 12px;
      }
    }

    /* СЕКЦИИ САЙТА */
    .page-section {
      padding: 60px 0;
      border-bottom: 1px solid var(--border-color);
    }

    @media (max-width: 768px) {
      .page-section {
        padding: 40px 20px;
      }
    }

    /* СЕКЦИЯ ХЕРО */
    #s-hero {
      padding-top: 40px;
    }

    @media (min-width: 769px) {
      .hero-inner {
        display: grid;
        grid-template-columns: 55% 45%;
        align-items: center;
        gap: 20px;
        position: relative;
      }

      .hero-title-block {
        grid-column: 1;
        grid-row: 1;
        margin-right: -130px;
        position: relative;
        z-index: 12;
      }

      .hero-left-content {
        grid-column: 1;
        grid-row: 2;
        position: relative;
        z-index: 10;
        padding-right: 10px;
      }

      .hero-right {
        grid-column: 2;
        grid-row: 1 / span 4;
        display: flex;
        justify-content: center;
        width: 100%;
      }

      .hero-name {
        font-family: var(--font-serif);
        font-size: 46px;
        font-weight: 400;
        line-height: 1.15;
        text-transform: uppercase;
        letter-spacing: 0.01em;
      }
    }

    @media (max-width: 768px) {
      #s-hero.page-section {
        padding-top: 24px;
      }

      .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .hero-title-block {
        margin-right: 0;
      }

      .hero-name {
        font-family: var(--font-serif);
        font-size: 31px !important;
        font-weight: 400;
        line-height: 1.2;
        text-transform: uppercase;
      }

      .hero-right {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        position: relative;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
        transform: none;
        z-index: 5;
      }
    }

    .hero-name em {
      font-style: normal;
      display: block;
    }

    .hero-badge {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 8px;
      text-transform: lowercase;
      letter-spacing: 0.05em;
    }

    .hero-photo-wrap {
      width: 100%;
      max-width: 400px;
      aspect-ratio: 4 / 5;
      border: 1px solid var(--border-color);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .hero-photo-inner {
      width: 100%;
      height: 100%;
      background: #dfdfdf;
    }

    .hero-photo-inner img {
      width: 151%;
      height: 148%;
      object-fit: cover;
    }

    .hero-desc {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text-main);
      font-weight: 300;
      margin-top: 25px;
    }

    /* КНОПКИ */
    .btn-style {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 340px;
      padding: 14px;
      border: 1px solid var(--primary);
      background: transparent;
      color: var(--primary);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .btn-style:hover {
      background: var(--primary);
      color: var(--bg-card);
    }

    .hero-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 25px;
    }

    .hero-socials {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 10px;
      max-width: 340px;
    }

    .soc-pill {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 11px;
      border: 1px solid var(--border-color);
      font-size: 12px;
      text-transform: uppercase;
      color: var(--text-main);
      text-decoration: none;
      letter-spacing: 0.05em;
    }

    .soc-pill:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* СТАТИСТИКА */
    .stats-inner {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      text-align: center;
    }

    .stat-num {
      font-family: var(--font-serif);
      font-size: 32px;
      color: var(--primary);
    }

    .stat-lbl {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-top: 5px;
      letter-spacing: 0.05em;
    }

    /* БЛОК ОБ АВТОРЕ */
    @media (min-width: 769px) {
      .about-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 50px;
      }
    }

    .about-heading {
      font-family: var(--font-serif);
      font-size: 32px;
      font-weight: 400;
      margin-bottom: 25px;
    }

    .about-para {
      font-size: 15px;
      line-height: 1.6;
      margin-bottom: 15px;
      font-weight: 300;
    }

    .about-spec-list {
      border-top: 1px solid var(--border-color);
      margin-top: 20px;
    }

    .spec-item {
      padding: 15px 5px;
      font-size: 14px;
      border-bottom: 1px solid var(--border-color);
    }

    .about-eyebrow,
    .section-eyebrow {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 15px;
    }

    /* ДИПЛОМЫ */
    .cert-blob-card {
      border-bottom: 1px solid var(--border-color);
      padding: 18px 5px;
      display: flex;
      gap: 15px;
      cursor: pointer;
    }



    .cert-name {
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      color: inherit;
      display: block;
      cursor: pointer;
    }

    .cert-yr,
    .cert-org {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* УСЛУГИ */
    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-heading {
      font-family: var(--font-serif);
      font-size: 32px;
      font-weight: 400;
    }

    .srv-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
    }

    @media (min-width: 769px) {
      .srv-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
      }
    }

    .srv-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border: 1px solid var(--border-color);
      padding: 25px;
    }

    .srv-name {
      font-family: var(--font-serif);
      font-size: 20px;
      margin-bottom: 12px;
      color: var(--primary);
    }

    .srv-desc {
      font-size: 14px;
      line-height: 1.5;
      color: var(--text-muted);
      margin-bottom: 20px;
      font-weight: 300;
    }

    .srv-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-top: 15px;
      border-top: 1px dashed var(--border-color);
    }

    .srv-price {
      font-size: 18px;
      font-weight: 600;
    }

    .srv-dur {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* ОТЗЫВЫ */
    .rv-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    @media (min-width: 769px) {
      .rv-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .rv-card {
      border: 1px solid var(--border-color);
      padding: 25px;
    }

    .rv-stars {
      margin-bottom: 10px;
      color: var(--accent);
    }

    .rv-text {
      font-size: 14px;
      line-height: 1.5;
      font-style: italic;
      margin-bottom: 20px;
    }

    .rv-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .rv-ava {
      width: 35px;
      height: 35px;
      border: 1px solid var(--border-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      background: var(--bg-outer);
    }

    .rv-name {
      font-size: 13px;
      font-weight: 500;
    }


    .rv-meta {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* НОВОСТИ */
    .news-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      margin: 40px auto;
      justify-items: center;
    }

    @media (min-width: 769px) {
      .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1200px) {
      .news-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .news-card {
      border: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .news-photo-placeholder {
      width: 100%;
      aspect-ratio: 1 / 1;
      background: #dfdfdf;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 12px;
      position: relative;
    }

    .news-photo-placeholder img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .news-body {
      padding: 20px;
    }

    .news-date {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 5px;
      letter-spacing: 0.05em;
    }

    .news-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .news-desc {
      font-size: 13px;
      line-height: 1.5;
      color: var(--text-muted);
    }

    /* ОБНОВЛЕННАЯ СЕТКА ФОРМЫ ЗАПИСИ (ФОРМИРОВАНИЕ ПОРЯДКА) */
    .booking-form {
      justify-content: center;
      border: 1px solid var(--border-color);
      padding: 48px;
      width: 60%;
      margin-left: auto;
      margin-right: auto;
    }

    .booking-grid {
      display: flex;
      flex-direction: column;
    }

    /* ПОРЯДОК НА МОБИЛЬНЫХ УСТРОЙСТВАХ */
    .fg-title {
      order: 1;
    }

    .fg-name {
      order: 2;
    }

    .fg-contacts {
      order: 3;
      margin-bottom: 20px;
    }

    .fg-service {
      order: 4;
    }

    .fg-date {
      order: 5;
    }

    .fg-time {
      order: 6;
    }

    .fg-format {
      order: 7;
    }

    .fg-payment {
      order: 8;
    }

    .fg-soglasie {
      order: 9;
    }

    .fg-submit {
      order: 10;
      margin-top: 10px;
    }

    @media (max-width: 1054px) {
      .booking-form {
        width: 100%;
        padding: 20px 15px;
      }
    }

    @media (min-width: 769px) and (max-width: 1200px) {
      .booking-form {
        width: 85%;
        padding: 30px 25px;
      }
    }

    /* ПОРЯДОК И РАСПОЛОЖЕНИЕ НА ДЕСКТОПЕ (С ИСПОЛЬЗОВАНИЕМ CSS GRID AREAS) */
    @media (min-width: 1200px) {
      .booking-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
          "title   ."
          "name    time"
          "contact format"
          "service payment"
          "date    soglasie"
          "submit  submit";
        /* Точка означает пустую ячейку, так как календарь (date) высокий и займет место ниже */
        column-gap: 20px;
        align-items: start;
      }

      .fg-title {
        grid-area: title;
        margin-bottom: 20px;
      }

      .fg-name {
        grid-area: name;
      }

      .fg-contacts {
        grid-area: contact;
      }

      .fg-service {
        grid-area: service;
      }

      /* Теперь услуга встанет в левый столбец под контакты */
      .fg-date {
        grid-area: date;
      }


      .fg-time {
        grid-area: time;
      }

      .fg-format {
        grid-area: format;
      }

      .fg-payment {
        grid-area: payment;
      }

      .fg-soglasie {
        grid-area: soglasie;
      }

      .fg-submit {
        grid-area: submit;
      }

      .fg-submit {
        grid-area: submit;
        margin-top: 0;
      }
    }


    .form-ttl {
      font-family: var(--font-serif);
      font-size: 22px;
      margin-bottom: 0;
    }

    .fg {
      margin-bottom: 20px;
      width: 100%;
    }

    .fl {
      font-size: 11px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 6px;
      display: block;
      letter-spacing: 0.05em;
    }

    .fi-inp,
    .fi-sel {
      width: 100%;
      padding: 12px;
      border: 1px solid var(--border-color);
      border-radius: 0;
      background: transparent;
      color: var(--text-main);
      font-size: 14px;
      font-family: var(--font-body);
    }

    .fi-inp:focus,
    .fi-sel:focus {
      outline: 1px solid var(--primary);
    }

    .form-row2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }

    @media (max-width: 768px) {
      .form-row2 {
        grid-template-columns: 1fr;
        gap: 20px;
      }
    }

    /* Плашки выбора формата */
    .fmt-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 20px;
    }

    .fmt-card {
      border: 1px solid var(--border-color);
      padding: 15px;
      cursor: pointer;
      text-align: center;
    }

    .fmt-card.on {
      background: var(--primary);
      color: var(--bg-card);
      border-color: var(--primary);
    }

    .fmt-card .fn {
      font-size: 14px;
      font-weight: 500;
    }

    .fmt-card .fd {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 3px;
    }

    .fmt-card.on .fd {
      color: rgba(255, 255, 255, 0.7);
    }

    /* Календарь */
    .cal-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .cal-nav-btn {
      background: transparent;
      border: 1px solid var(--border-color);
      padding: 4px 14px;
      cursor: pointer;
      color: var(--text-main);
    }

    .cal-month {
      font-size: 14px;
      font-weight: 500;
    }

    .cal-grid-f {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }

    .cald {
      font-size: 11px;
      color: var(--text-muted);
      text-align: center;
      padding: 5px 0;
    }

    .calday {
      text-align: center;
      padding: 8px 0;
      font-size: 13px;
      cursor: pointer;
      border: 1px solid transparent;
    }

    .calday.dis {
      opacity: 0.15;
      cursor: default;
      pointer-events: none;
    }

    .calday.tod {
      border-color: var(--primary);
    }

    .calday.sel {
      background: var(--primary);
      color: var(--bg-card);
    }

    /* Сетка времени */
    .time-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
    }

    @media (max-width: 480px) {
      .time-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .tsl {
      border: 1px solid var(--border-color);
      padding: 8px;
      font-size: 12px;
      text-align: center;
      cursor: pointer;
    }

    .tsl.sel {
      background: var(--primary);
      color: var(--bg-card);
      border-color: var(--primary);
    }

    .tsl.busy {
      opacity: 0.2;
      text-decoration: line-through;
      cursor: default;
      pointer-events: none;
    }

    .pay-opts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 10px;
    }

    .pay-opt {
      max-width: 100%;
    }

    .pay-opt.on {
      background: var(--primary) !important;
      color: var(--bg-card) !important;
      border-color: var(--primary) !important;
    }

    .cancel-hint {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 10px;
    }

    /* ФОРМАТЫ И КАРТА */
    @media (min-width: 769px) {
      .formats-grid-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: stretch;
      }
    }

    .map-col {
      display: flex;
    }

    .map-block {
      flex: 1;
      border: 1px solid var(--border-color);
    }

    .map-block iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .plat-card {
      border: 1px solid var(--border-color);
      padding: 20px;
      margin-bottom: 15px;
    }

    .plat-name {
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 4px;
      color: var(--primary);
    }

    .plat-sub {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .rules-list {
      margin-top: 15px;
      list-style: none;
    }

    .rule-row {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 8px;
      display: flex;
      gap: 8px;
    }

    .rule-dot {
      display: inline-block;
      width: 5px;
      height: 5px;
      background: var(--accent);
      margin-top: 7px;
      flex-shrink: 0;
    }

    .map-block {
      border: 1px solid var(--border-color);
      width: 100%;
    }

    .platforms-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 15px;
    }

    .contacts-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 15px;
    }

    .contacts-grid>*:nth-child(odd) {
      justify-self: end;
    }

    /* Правая колонка (четные элементы) - выравнивание по левому краю */
    .contacts-grid>*:nth-child(even) {
      justify-self: start;
    }

    /* ПОДВАЛ */
    footer {
      padding: 60px 0;
      background: var(--bg-card);
      border-top: 1px solid var(--border-color);
    }

    @media (min-width: 769px) {
      .footer-grid {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 60px;
      }
    }

    .footer-brand {
      font-family: var(--font-serif);
      font-size: 24px;
      margin-bottom: 10px;
      color: var(--primary);
    }

    .footer-tag {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .foot-contact-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
      }

      .foot-contact-container {
        margin-top: 10px;
        align-items: center;
      }
    }

    .foot-col-h {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 5px;
    }

    .foot-ct-item {
      border: 1px solid var(--primary);
      padding: 14px;
      text-align: center;
      width: 100%;
      max-width: 300px;
    }

    .fci-v {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 500;
      color: var(--primary);
      text-decoration: none;
      display: block;
    }

    .fci-v:hover {
      color: var(--text-main);
    }

    .footer-bottom {
      margin-top: 50px;
      padding-top: 25px;
      border-top: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-muted);
    }

    @media (max-width: 768px) {
      .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }
    }

    .foot-policy a {
      color: var(--text-muted);
    }

    /* МОДАЛЬНОЕ ОКНО */
    .modal-ov {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(36, 52, 71, 0.6);
      align-items: center;
      justify-content: center;
      padding: 15px;
    }

    .modal-ov.open {
      display: flex;
    }

    .modal-box {
      background: var(--bg-card);
      border: 1px solid var(--primary);
      padding: 35px;
      max-width: 460px;
      width: 100%;
      position: relative;
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: transparent;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: var(--text-main);
    }

    .modal-ttl {
      font-family: var(--font-serif);
      font-size: 24px;
      margin-bottom: 12px;
      text-align: center;
      color: var(--primary);
    }

    .modal-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.5;
      text-align: center;
    }

    .summary-box {
      text-align: left;
      border: 1px solid var(--border-color);
      padding: 15px 20px;
      margin-bottom: 25px;
      font-size: 14px;
      line-height: 1.7;
      background: rgba(36, 52, 71, 0.02);
    }

    .summary-box p {
      margin-bottom: 8px;
      border-bottom: 1px dashed var(--border-color);
      padding-bottom: 4px;
    }

    .summary-box p:last-child {
      margin-bottom: 0;
      border-bottom: none;
      padding-bottom: 0;
    }

    .summary-box strong {
      font-weight: 500;
      text-transform: uppercase;
      font-size: 11px;
      color: var(--text-muted);
      display: inline-block;
      width: 90px;
    }



    .s-services {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      margin: 40px 0;
      font-family: sans-serif;
    }

    @media (min-width: 769px) {
      .s-services {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1200px) {
      .s-services {
        grid-template-columns: repeat(4, 1fr);
      }
    }






    /* Дизайн карточки под стиль новостей */
    .s-card {
      border: 1px solid var(--border-color);
      padding: 20px;
      background: transparent;
      display: flex;
      flex-direction: column;
      transition: none;
    }

    /* Стилизуем цену как дату в новостях (.news-date) */
    .s-price {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 5px;
      letter-spacing: 0.05em;
    }

    /* Стилизуем заголовок как в новостях (.news-title) */
    .s-title {
      font-size: 16px;
      font-weight: 500;
      margin: 0 0 8px 0;
      color: var(--primary);
    }

    /* Блок превью как описание в новостях (.news-desc) */
    .s-preview {
      position: relative;
      max-height: 110px;
      overflow: hidden;
      font-size: 13px;
      line-height: 1.5;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .s-preview p {
      margin: 0;
    }

    /* Используем цвет фона сайта (var(--bg-card) = #FAF8F4) вместо белого для градиента */
    .s-preview.fade::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50px;
      background: linear-gradient(to bottom, rgba(250, 248, 244, 0), rgba(250, 248, 244, 1));
      pointer-events: none;
    }

    /* Кнопки */
    .s-more-btn {
      background: none;
      border: none;
      color: var(--primary);
      cursor: pointer;
      padding: 0;
      font-size: 13px;
      text-decoration: underline;
      align-self: flex-start;
      margin-bottom: 20px;
    }

    .s-more-btn:hover {
      opacity: 0.6;
    }

    .s-hidden-content {
      display: none;
    }

    .s-spacer {
      flex-grow: 1;
    }

    /* Кнопка переделана под глобальный класс сайта .btn-style */
    .s-book-btn {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 14px;
      border: 1px solid var(--primary);
      background: transparent;
      color: var(--primary);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .s-book-btn:hover {
      background: var(--primary);
      color: var(--bg-card);
    }

    /* --- СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА --- */
    .s-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /* Используем фирменный цвет затемнения как в форме записи */
      background: rgba(36, 52, 71, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s ease;
      z-index: 9999;
      padding: 20px;
    }

    .s-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .s-modal-box {
      /* Фирменный фон, рамка и острые углы */
      background: var(--bg-card);
      border: 1px solid var(--primary);
      border-radius: 0;
      width: 100%;
      max-width: 600px;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      position: relative;
      transform: translateY(20px);
      transition: 0.3s ease;
    }

    .s-modal-overlay.active .s-modal-box {
      transform: translateY(0);
    }

    .s-modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 24px;
      border: none;
      background: transparent;
      cursor: pointer;
      color: var(--text-main);
      z-index: 10;
      transition: opacity 0.2s;
    }

    .s-modal-close:hover {
      opacity: 0.6;
    }

    .s-modal-title {
      margin: 0;
      padding: 30px 30px 20px;
      border-bottom: 1px solid var(--border-color);
      /* Фирменный шрифт заголовков */
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 400;
      color: var(--primary);
      text-align: center;
    }

    .s-modal-body {
      padding: 30px;
      overflow-y: auto;
      font-size: 15px;
      line-height: 1.6;
      font-family: var(--font-body);
      color: var(--text-main);
      font-weight: 300;
    }

    .s-modal-body p {
      margin-bottom: 15px;
    }

    .s-modal-body p:last-child {
      margin-bottom: 0;
    }

    .s-modal-body ul {
      padding-left: 20px;
      margin-bottom: 15px;
    }

    .s-modal-body li {
      margin-bottom: 8px;
    }

    .s-checkmark-list {
      list-style: none;
      padding-left: 0 !important;
    }

    .s-checkmark-list li {
      margin-bottom: 10px;
    }

    .s-bonus-box {
      /* Стилизация блока бонуса под общий стиль сайта */
      background: rgba(36, 52, 71, 0.02);
      padding: 20px;
      border: 1px solid var(--border-color);
      margin-top: 20px;
      font-size: 14px;
    }

    .s-bonus-box p:last-child {
      margin-bottom: 0;
    }

    .s-modal-btn {
      margin: 0 30px 30px;
      width: calc(100% - 60px);
    }


    /* скрываем стандартный чекбокс */
    .custom-check input {
      display: none;
    }

    .custom-check span {
      position: relative;
      padding-left: 22px;
      cursor: pointer;
    }

    /* Большой квадрат (рамка) — в обычном состоянии */
    .custom-check span::before {
      content: "";
      position: absolute;
      left: 0;
      top: 2px;
      width: 14px;
      height: 14px;
      border: 1px solid #243447;
      background: #FAF8F4;
    }

    /* Убираем старый ::after с маленьким квадратиком — он больше не нужен */

    /* Когда чекбокс ОТМЕЧЕН: большой квадрат становится синим,
   а внутри появляется "рамка" цвета фона толщиной 2px */
    .custom-check input:checked+span::before {
      background: #385C8E;
      /* фирменный синий (--primary) */
      border-color: #385C8E;
      /* рамка того же цвета, сливается */
      box-shadow: inset 0 0 0 2px #FAF8F4;
      /* внутренняя "рамка" цвета фона */
    }