/* Nobili Wave — design tokens (brandbook v1.0) */
:root {
  --nw-plum: #52234F;
  --nw-coral: #BE482D;
  --nw-cream: #F9EEE6;
  --nw-white: #FFFBF8;
  --nw-lilac: #F1E5EF;
  --nw-ink: #2E2330;
  --nw-ash-plum: #6D5665;
  --nw-peach: #F4A68F;
  --nw-deep-coral: #A23723;
  --nw-field-border: #967687;
  --nw-powder-line: #DECACB;
  --nw-on-coral: #FFFFFF;
  --nw-font-display: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --nw-font-text: "Sofia Sans Semi Condensed", "Arial", sans-serif;
  --nw-h1: 56px; --nw-h1-line: 58px;
  --nw-h2: 38px; --nw-h2-line: 42px;
  --nw-h3: 26px; --nw-h3-line: 30px;
  --nw-body: 19px; --nw-body-line: 29px;
  --nw-small: 14px; --nw-small-line: 21px;
  --nw-container: 1200px;
  --nw-gutter: 24px;
  --nw-space-1: 8px; --nw-space-2: 16px; --nw-space-3: 24px;
  --nw-space-4: 40px; --nw-space-5: 64px; --nw-space-6: 96px;
}

@media (max-width: 767px) {
  :root {
    --nw-h1: 40px; --nw-h1-line: 42px;
    --nw-h2: 30px; --nw-h2-line: 34px;
    --nw-h3: 24px; --nw-h3-line: 28px;
    --nw-body: 17px; --nw-body-line: 26px;
  }
}

.page .page-header,
.page .entry-header,
.page .entry-title { display: none; }

/* Меню */
.elementor-nav-menu a,
.elementor-nav-menu--main .elementor-item,
.elementor-nav-menu--main .elementor-item-anchor {
  font-weight: 700 !important;
  color: #2E2330 !important;
}

@media (min-width: 1025px) {
  .elementor-nav-menu--main .elementor-item { font-size: 20px !important; }
}

@media (max-width: 1024px) {
  .elementor-nav-menu--main .elementor-item { font-size: 17px !important; }
}

.elementor-nav-menu > li.current-menu-item > a,
.elementor-nav-menu > li.current_page_item > a,
.elementor-nav-menu > li.current-menu-ancestor > a,
.elementor-nav-menu > li.current-menu-parent > a,
.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item:focus,
.elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-nav-menu--main .elementor-item.highlighted {
  color: #BE482D !important;
}

.elementor-nav-menu--main .elementor-item:after,
.elementor-nav-menu--main .elementor-item.elementor-item-active:after {
  background-color: #BE482D !important;
  height: 2px !important;
}

.elementor-nav-menu--main .elementor-item:hover:after {
  background-color: #F4A68F !important;
}

.elementor-location-header .elementor-button:hover,
.elementor-location-header .elementor-button:focus {
  background-color: #F4A68F !important;
  color: #52234F !important;
}

/* Вторично меню */
.nw-subnav-wrap { background: #FFFBF8; }
.nw-subnav { border-bottom: 0; }

.nw-subnav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.nw-subnav ul::-webkit-scrollbar { display: none; }

.nw-subnav li { display: flex; align-items: center; padding: 14px 0; }

.nw-subnav li:not(:last-child)::after {
  content: "\203A";
  margin: 0 20px;
  color: #967687;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-2px);
}

.nw-subnav a {
  display: inline-block;
  font-family: var(--nw-font-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #2E2330;
  text-decoration: none;
  padding: 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nw-subnav a:hover { color: #BE482D; border-bottom-color: #F4A68F; }
.nw-subnav li.is-active a { color: #BE482D; border-bottom-color: #BE482D; }

@media (max-width: 767px) {
  .nw-subnav li:not(:last-child)::after { margin: 0 12px; font-size: 22px; }
  .nw-subnav a { font-size: 16px; }
}

[id] { scroll-margin-top: 120px; }

/* Hero */
.nw-hero { position: relative; overflow: hidden; }

.nw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0,0,0,.22) 0 1px, rgba(255,255,255,.035) 1px 3px),
    radial-gradient(ellipse 72% 150% at 84% 50%,
      #FFF2EB 0%, #F4A68F 6%, #BE482D 10%, #6E2A4A 14%, #451C41 18%,
      #7A2E46 23%, #BE482D 27%, #4A1F45 32%, #3E1839 42%, #2C1229 60%, #241021 100%);
}

.nw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #52234F 0%, rgba(82,35,79,.96) 30%, rgba(82,35,79,.62) 52%, rgba(82,35,79,0) 74%);
}

.nw-hero > .e-con-inner { position: relative; z-index: 2; }

@media (max-width: 767px) {
  .nw-hero::after {
    background: linear-gradient(180deg, rgba(82,35,79,.88) 0%, rgba(82,35,79,.72) 55%, rgba(82,35,79,.5) 100%);
  }
}

/* Карти */
@media (min-width: 1025px) {
  .e-con.nw-card { flex-grow: 0; flex-shrink: 0; }
  .e-con.nw-card-3 { width: calc(33.333% - 20px); }
  .e-con.nw-card-4 { width: calc(25% - 20px); }
  .e-con.nw-card-2 { width: calc(50% - 14px); }
}

@media (max-width: 1024px) {
  .e-con.nw-card { width: 100%; }
}

/* Футър */
.nw-footer-top > .e-con-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .nw-footer-top > .e-con-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nw-footer-top > .e-con-inner { grid-template-columns: 1fr; gap: 28px; }
}

.nw-footer .elementor-widget-divider .elementor-divider-separator { border-top-color: #7A4270; }

.nw-container { width: 100%; max-width: var(--nw-container); margin-inline: auto; padding-inline: 20px; }

.nw-eyebrow {
  font-family: var(--nw-font-text);
  font-size: var(--nw-small);
  line-height: var(--nw-small-line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-ash-plum);
}

.nw-dark .nw-eyebrow { color: var(--nw-peach); }

.nw-link { color: var(--nw-deep-coral); text-decoration: underline; text-underline-offset: 0.18em; }
.nw-link:hover { color: var(--nw-coral); }

.nw-dark { background: var(--nw-plum); color: var(--nw-cream); }
.nw-dark h1, .nw-dark h2, .nw-dark h3 { color: var(--nw-cream); }

.nw-dark .elementor-widget-text-editor p { color: inherit; }

:where(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--nw-plum); outline-offset: 3px; }
.nw-dark :where(a, button, input, textarea, select):focus-visible { outline-color: var(--nw-cream); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
