@charset "UTF-8";
/* Стили главной страницы (вынесены из index.html) */
  .rm-home,
  .rm-home * { box-sizing: border-box; }

  .rm-home {
    --rm-bg: #fafaf8;
    --rm-card: #f6f5f2;
    --rm-text: #111214;
    --rm-muted: #6e7584;
    --rm-line: #d6d6d2;
    --rm-line-soft: #e4e3df;
    --rm-accent: #cb381c;
    --rm-accent-2: #ef4522;
    --rm-white: #ffffff;
    --rm-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: clip;
    background: var(--rm-bg);
    color: var(--rm-text);
    font-family: var(--rm-font);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .rm-home button,
  .rm-home input,
  .rm-home textarea,
  .rm-home select { font: inherit; }

  .rm-home a { color: inherit; }
  .rm-home h1,
  .rm-home h2,
  .rm-home p { margin-top: 0; }
  .rm-home button { color: inherit; }
  .rm-home__symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

  .rm-home__shell {
    width: min(1188px, calc(100% - 64px));
    margin: 0 auto;
  }

  .rm-home__header {
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--rm-line);
  }

  .rm-home__wordmark {
    display: inline-flex;
    align-items: center;
    width: 178px;
    color: var(--rm-text);
    text-decoration: none;
    flex: 0 0 auto;
  }

  .rm-home__wordmark-logo {
    display: block;
    width: 100%;
    height: auto;
  }

  .rm-home__nav {
    display: flex;
    align-items: center;
    gap: 42px;
    color: var(--rm-muted);
    font-size: 15px;
    line-height: 1;
  }

  .rm-home__nav > a,
  .rm-home__nav-contact {
    text-decoration: none;
    border: 0;
    background: transparent;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--rm-muted);
  }

  .rm-home__nav > a:hover,
  .rm-home__nav-contact:hover { color: var(--rm-text); }

  .rm-home__nav-contact svg {
    width: 17px;
    height: 17px;
    color: var(--rm-accent-2);
  }

  .rm-home__nav-contact:hover svg { transform: translate(2px, -2px); }

  .rm-home__main { display: block; }

  .rm-home__intro {
    padding: 54px 4px 40px;
  }

  .rm-home__eyebrow {
    margin: 0 0 24px;
    color: var(--rm-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
  }

  .rm-home__intro h1 {
    margin: 0 0 23px;
    max-width: 930px;
    color: var(--rm-text);
    font-size: clamp(52px, 5.2vw, 69px);
    font-weight: 430;
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .rm-home__intro-text {
    margin: 0;
    max-width: 990px;
    color: var(--rm-muted);
    font-size: clamp(19px, 1.62vw, 23px);
    font-weight: 400;
    line-height: 1.38;
    letter-spacing: -.018em;
  }

  .rm-home__destinations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 0 44px;
  }

  .rm-home__destination {
    min-width: 0;
    min-height: 375px;
    padding: 38px 34px 30px;
    border: 1px solid var(--rm-line);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    overflow: hidden;
    position: relative;
  }

  .rm-home__destination--blog {
    color: var(--rm-white);
    border-color: transparent;
    background:
      radial-gradient(circle at 18% 16%, rgba(255,255,255,.065), transparent 38%),
      linear-gradient(145deg, var(--rm-accent) 0%, var(--rm-accent-2) 100%);
  }

  .rm-home__destination--blog:hover {
    transform: translateY(-2px);
    filter: saturate(1.03) brightness(1.01);
  }

  .rm-home__destination--upcoming {
    color: var(--rm-text);
    background: rgba(255,255,255,.24);
  }

  .rm-home__destination--upcoming:hover {
    background: rgba(255,255,255,.5);
    border-color: #c9c9c4;
  }

  .rm-home__destination-copy h2 {
    margin: 0 0 25px;
    color: inherit;
    font-size: clamp(38px, 3.4vw, 50px);
    font-weight: 430;
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .rm-home__destination-copy p {
    margin: 0;
    max-width: 310px;
    color: var(--rm-muted);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.34;
    letter-spacing: -.018em;
  }

  .rm-home__destination--blog .rm-home__destination-copy p { color: rgba(255,255,255,.94); }

  .rm-home__destination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    color: inherit;
    font-size: 16px;
    line-height: 1;
  }

  .rm-home__card-arrow {
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
  }

  .rm-home__destination--blog:hover .rm-home__card-arrow { transform: translate(3px, -3px); }

  .rm-home__upcoming-status {
    justify-content: flex-start;
    color: var(--rm-muted);
    gap: 12px;
  }

  .rm-home__lock-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .rm-home__secondary {
    border-top: 1px solid var(--rm-line);
    border-bottom: 1px solid var(--rm-line);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rm-home__secondary-item {
    min-width: 0;
    padding: 37px 32px 34px 2px;
  }

  .rm-home__secondary-item--right {
    border-left: 1px solid var(--rm-line);
    padding-left: 50px;
    padding-right: 0;
  }

  .rm-home__secondary-item h2 {
    margin: 0 0 13px;
    color: var(--rm-text);
    font-size: 31px;
    font-weight: 430;
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .rm-home__secondary-item p {
    margin: 0 0 24px;
    color: var(--rm-muted);
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: -.01em;
  }

  .rm-home__text-link,
  .rm-home__dialog-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--rm-text);
    color: var(--rm-text);
    text-decoration: none;
    cursor: pointer;
    font-size: 17px;
    line-height: 1.2;
  }

  .rm-home__text-link svg,
  .rm-home__dialog-link svg {
    width: 18px;
    height: 18px;
    color: var(--rm-accent-2);
  }

  .rm-home__text-link:hover svg,
  .rm-home__dialog-link:hover svg { transform: translate(2px, -2px); }

  .rm-home__footer {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--rm-muted);
    font-size: 14px;
  }

  .rm-home__dialog {
    width: min(560px, calc(100vw - 40px));
    max-width: 560px;
    margin: auto;
    padding: 52px 44px 42px;
    border: 1px solid var(--rm-line-soft);
    border-radius: 12px;
    background: var(--rm-bg);
    color: var(--rm-text);
    box-shadow: 0 24px 80px rgba(20,20,20,.16);
    font-family: var(--rm-font);
  }

  .rm-home__dialog::backdrop {
    background: rgba(17,18,20,.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .rm-home__dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--rm-muted);
    cursor: pointer;
  }

  .rm-home__dialog-close:hover { background: rgba(0,0,0,.05); color: var(--rm-text); }
  .rm-home__dialog-close svg { width: 18px; height: 18px; }

  .rm-home__dialog-eyebrow {
    margin: 0 0 16px;
    color: var(--rm-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
  }

  .rm-home__dialog h2 {
    margin: 0 0 20px;
    font-size: 38px;
    font-weight: 450;
    line-height: 1.05;
    letter-spacing: -.04em;
  }

  .rm-home__dialog > p:not(.rm-home__dialog-eyebrow) {
    margin: 0 0 14px;
    color: var(--rm-muted);
    font-size: 17px;
    line-height: 1.5;
  }

  .rm-home__dialog-link { margin-top: 14px; }
  .rm-home__contact-pending { margin-top: 24px !important; }

  @media (max-width: 1040px) {
    .rm-home__shell { width: min(920px, calc(100% - 48px)); }
    .rm-home__header { height: 88px; }
    .rm-home__intro { padding-top: 48px; }
    .rm-home__destinations { grid-template-columns: 1fr 1fr; }
    .rm-home__destination { min-height: 330px; }
    .rm-home__destination:last-child { grid-column: 1 / -1; min-height: 280px; }
  }

  @media (max-width: 760px) {
    .rm-home__shell { width: calc(100% - 32px); }
    .rm-home__header { height: 78px; gap: 18px; }
    .rm-home__wordmark { width: 132px; }
    .rm-home__nav { gap: 18px; font-size: 14px; }
    .rm-home__nav > a { display: none; }
    .rm-home__intro { padding: 42px 0 32px; }
    .rm-home__intro h1 { font-size: clamp(42px, 11vw, 58px); }
    .rm-home__intro-text { font-size: 18px; }
    .rm-home__desktop-break,
    .rm-home__wide-break { display: none; }
    .rm-home__destinations { grid-template-columns: 1fr; gap: 12px; padding-bottom: 34px; }
    .rm-home__destination,
    .rm-home__destination:last-child { grid-column: auto; min-height: 300px; padding: 30px 26px 26px; }
    .rm-home__destination-copy h2 { font-size: 40px; }
    .rm-home__destination-copy p { font-size: 18px; }
    .rm-home__secondary { grid-template-columns: 1fr; }
    .rm-home__secondary-item,
    .rm-home__secondary-item--right { padding: 30px 0; border-left: 0; }
    .rm-home__secondary-item--right { border-top: 1px solid var(--rm-line); }
    .rm-home__secondary-item h2 { font-size: 28px; }
    .rm-home__footer { min-height: 68px; }
  }

  @media (max-width: 430px) {
    .rm-home__shell { width: calc(100% - 24px); }
    .rm-home__wordmark { width: 116px; }
    .rm-home__nav-contact span { display: none; }
    .rm-home__nav-contact svg { width: 21px; height: 21px; }
    .rm-home__intro h1 { font-size: 38px; }
    .rm-home__destination { min-height: 280px; }
    .rm-home__dialog { padding: 48px 26px 34px; }
    .rm-home__dialog h2 { font-size: 32px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rm-home *,
    .rm-home *::before,
    .rm-home *::after { scroll-behavior: auto !important; }
  }
