/* УК / сервис — node/980. Figma uk-lg 7554:1786. Светлая тема как MFK. */

body.page-node-980 {
  --bg: #FEFAF4;
  --bg-card: #F4EADA;
  --bg-footer: #3C3C3B;
  --accent: #917357;
  --btn-gold: #765E50;
  --text: #3C3C3B;
  --white: #fff;
  --container: 1146px;
  --pad: 48px;
  --gap-section: 96px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.page-node-980 .uk.landing {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.page-node-980 .ponton .h2,
body.page-node-980 .uk-hero__title,
body.page-node-980 .uk-hero__lead,
body.page-node-980 .uk-about__title,
body.page-node-980 .uk-about__text,
body.page-node-980 .uk-bento__title,
body.page-node-980 .uk-bento__text,
body.page-node-980 .uk-services__title,
body.page-node-980 .uk-services__lead,
body.page-node-980 .uk-service-card__title,
body.page-node-980 .uk-service-card__desc {
  color: var(--text) !important;
}

body.page-node-980 .ponton .btn--gold {
  background: var(--btn-gold);
  color: var(--white);
  border-color: var(--btn-gold);
}
body.page-node-980 .ponton .btn--gold:hover {
  background: #5f4c41;
  border-color: #5f4c41;
}

/* ─── Hero ─── */
body.page-node-980 .uk-hero .ponton-hero__bg {
  position: relative;
  max-height: none;
  overflow: hidden;
  min-height: clamp(420px, 45vw, 686px);
}

body.page-node-980 .uk-hero .ponton-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: none !important;
  background: linear-gradient(
    0deg,
    rgba(50, 50, 50, 0) 79%,
    rgba(50, 50, 50, 0.5) 87%,
    rgba(50, 50, 50, 0.7) 91%,
    rgba(50, 50, 50, 0.85) 94%,
    rgba(50, 50, 50, 0.93) 97%,
    rgba(50, 50, 50, 1) 100%
  ) !important;
}

body.page-node-980 .uk-hero .ponton-hero__bg::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background-image: none !important;
  background: linear-gradient(
    180deg,
    rgba(254, 250, 244, 0) 43%,
    rgba(254, 250, 244, 0.5) 58%,
    rgba(254, 250, 244, 0.7) 66%,
    rgba(254, 250, 244, 0.85) 73%,
    rgba(254, 250, 244, 0.93) 78%,
    #FEFAF4 84%
  ) !important;
  inset: auto 0 0;
  height: 57%;
}

body.page-node-980 .uk-hero .ponton-hero__bg img {
  width: 100%;
  height: clamp(420px, 45vw, 686px);
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

body.page-node-980 .uk-hero__content {
  position: relative;
  z-index: 2;
  margin-top: -200px;
  padding-bottom: 0;
}

body.page-node-980 .uk-hero__main {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
}

body.page-node-980 .uk-hero__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.page-node-980 .uk-hero__title {
  font-family: var(--f-merit);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}

body.page-node-980 .uk-hero__lead {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.4;
  margin: 0;
  max-width: 36em;
}

body.page-node-980 .uk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}

body.page-node-980 .uk-hero__stats {
  flex: 0 0 425px;
  width: 425px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body.page-node-980 .uk-stat {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 32px;
}

body.page-node-980 .uk-stat--wide {
  grid-column: 1 / -1;
}

body.page-node-980 .uk-stat__v {
  font-family: var(--f-merit);
  font-size: 30px;
  font-weight: 500;
  line-height: 32px;
  color: var(--text);
}

body.page-node-980 .uk-stat__v--sm {
  font-family: var(--f-merit);
  font-size: 30px;
  line-height: 32px;
}

body.page-node-980 .uk-stat__l {
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
}

/* ─── About / bento ─── */
body.page-node-980 .uk-about__inner {
  gap: 60px;
}

body.page-node-980 .uk-about__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.page-node-980 .uk-about__title {
  font-family: var(--f-merit);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 55px;
  margin: 0;
}

body.page-node-980 .uk-about__text {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  max-width: 1146px;
}

body.page-node-980 .uk-bento {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

body.page-node-980 .uk-bento__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: 32px 48px;
  background: var(--bg-card);
  border-radius: 32px;
  min-height: 280px;
}

body.page-node-980 .uk-bento__card--3 { grid-column: span 3; }
body.page-node-980 .uk-bento__card--4 { grid-column: span 4; }
body.page-node-980 .uk-bento__card--5 { grid-column: span 5; }

body.page-node-980 .uk-bento__title {
  font-family: var(--f-merit);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0;
}

body.page-node-980 .uk-bento__text {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

/* ─── Services ─── */
body.page-node-980 .uk-services {
  padding-bottom: 48px;
  margin-bottom: 48px;
}

body.page-node-980 .uk-services__inner {
  gap: 48px;
}

body.page-node-980 .uk-services__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

body.page-node-980 .uk-services__title {
  font-family: var(--f-merit);
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.2;
  margin: 0;
}

body.page-node-980 .uk-services__lead {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  max-width: 1146px;
}

body.page-node-980 .uk-services__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

body.page-node-980 .uk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border: none;
  border-radius: 99px;
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

body.page-node-980 .uk-pill:hover {
  background: #eadfce;
}

body.page-node-980 .uk-pill.is-active {
  background: var(--accent);
  color: var(--white);
}

body.page-node-980 .uk-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

body.page-node-980 .uk-service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(60, 60, 59, 0.06);
}

body.page-node-980 .uk-service-card.is-hidden {
  display: none;
}

body.page-node-980 .uk-service-card__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8dfd3;
}

body.page-node-980 .uk-service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-node-980 .uk-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 40px 40px;
}

body.page-node-980 .uk-service-card__title {
  font-family: var(--f-merit);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0;
}

body.page-node-980 .uk-service-card__desc {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

body.page-node-980 .uk-service-card__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-node-980 .uk-service-card__list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

body.page-node-980 .uk-service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

body.page-node-980 .uk-service-card__link {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

body.page-node-980 .uk-service-card__link:hover {
  opacity: 0.8;
}

/* Form block on cream page — не схлопываем gap секций */
body.page-node-980 a[name="tour"] {
  display: block;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  border: 0;
}

body.page-node-980 .uk-services + a[name="tour"],
body.page-node-980 .uk.landing > .bg6,
body.page-node-980 .uk.landing > section.bg6 {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.page-node-980 .uk-hero__main {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-node-980 .uk-hero__stats {
    flex: none;
    width: 100%;
  }

  body.page-node-980 .uk-hero__content {
    margin-top: -120px;
  }

  body.page-node-980 .uk-bento {
    grid-template-columns: 1fr;
  }

  body.page-node-980 .uk-bento__card--3,
  body.page-node-980 .uk-bento__card--4,
  body.page-node-980 .uk-bento__card--5 {
    grid-column: auto;
    min-height: 0;
  }

  body.page-node-980 .uk-services__grid {
    grid-template-columns: 1fr;
  }

  body.page-node-980 .uk-pill {
    padding: 12px 20px;
    font-size: 13px;
  }

  body.page-node-980 .uk-service-card__body {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  body.page-node-980 .uk-about__title {
    line-height: 1.25;
  }

  body.page-node-980 .uk-stat__v--sm {
    font-size: 22px;
    line-height: 26px;
  }
}
