@font-face {
  font-family: TildaSans;
  src: url("assets/TildaSans.woff") format("woff");
  font-display: swap;
}

:root {
  --green: #4b6e68;
  --green-soft: #76918c;
  --text: #282828;
  --muted: #66706d;
  --paper: #f3f5f5;
  --line: #c7d2d0;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: TildaSans, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: min(1144px, 90vw); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 5;
  padding: 38px 0 12px;
}
.site-header--hero { position: absolute; inset: 0 0 auto; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.logo img { width: 124px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; color: var(--white); }
.nav-links--dark { color: var(--text); }
.nav-links a, .dropdown button {
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.nav-links > a,
.dropdown > button {
  padding: 8px 0;
}
.nav-links > a::after,
.dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-links > a:hover,
.nav-links > a:focus-visible,
.dropdown:hover > button,
.dropdown:focus-within > button {
  transform: translateY(-2px);
}
.nav-links > a:hover::after,
.nav-links > a:focus-visible::after,
.dropdown:hover > button::after,
.dropdown:focus-within > button::after {
  opacity: 1;
  transform: scaleX(1);
}
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 34px;
  left: -18px;
  display: grid;
  gap: 6px;
  min-width: 130px;
  padding: 12px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--text);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transform-origin: top;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(75,110,104,.12);
  color: var(--green);
  transform: translateX(4px);
}
.burger { display: none; width: 38px; height: 34px; border: 0; background: transparent; padding: 0; }
.burger span { display: block; height: 2px; margin: 7px 3px; background: var(--white); border-radius: 2px; }
.burger--dark span { background: var(--text); }

.hero {
  position: relative;
  min-height: 890px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12)), url("assets/hero-bg.png") center/cover;
}
.hero-content { position: relative; color: var(--white); padding-top: 70px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; font-size: 58px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
h2 { font-size: 52px; line-height: 1.18; font-weight: 500; text-align: center; margin-bottom: 26px; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 500; margin-bottom: 14px; }
.hero p { max-width: 520px; font-size: 24px; line-height: 1.15; margin-bottom: 18px; }
.hero-actions, .row-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-actions { margin-top: 44px; }

.primary-btn, .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 11px 30px;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: .2s ease;
}
.primary-btn { background: var(--green); color: var(--white); }
.outline-btn { color: var(--green); background: transparent; }
.outline-btn--light { width: 215px; min-height: 72px; color: var(--white); border-color: var(--white); text-align: center; border-radius: 6px; }
.primary-btn:hover, .outline-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(75,110,104,.16); }
.outline-btn--light:hover { background: var(--white); color: var(--text); }

.section { margin-top: 122px; }
.section > h1, .section > h2 { text-align: center; }
.section-subtitle {
  max-width: 820px;
  margin: -4px auto 36px;
  font-size: 24px;
  line-height: 1.18;
  text-align: center;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 36px;
  text-align: center;
}
.lead { font-size: 22px; line-height: 1.22; }
.split, .page-hero, .contacts-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.split > *, .page-hero > *, .contacts-hero > *, .contact > *, .room > *, .team-block > *, .home-taxi-reviews > *, .hotel-contact-reviews > * {
  min-width: 0;
}
.image-frame, .service-card img, .mini-card img, .gallery img, .mosaic img, .handler img {
  border-radius: 14px;
  overflow: hidden;
}
.image-frame { height: 366px; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-preview-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.about-preview-stage {
  position: relative;
  height: 366px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
}
.about-preview-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-preview-stage > img[src*="territory-dog-main"] {
  object-position: center 88%;
}
.about-preview-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(40,40,40,.38);
  color: var(--white);
  font-size: 30px;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
}
.about-preview-arrow--prev { left: 14px; }
.about-preview-arrow--next { right: 14px; }
.about-preview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.about-preview-thumbs button {
  height: 76px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.about-preview-thumbs button.active { border-color: var(--green); }
.about-preview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-about-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 64px;
  align-items: center;
}
.home-about-copy {
  min-width: 0;
}
.home-about-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}
.home-about-copy .lead {
  color: var(--text);
  font-size: 23px;
  line-height: 1.32;
}
.home-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 30px;
}
.home-about-stats article {
  min-height: 112px;
  padding: 18px 14px;
  border: 1px solid rgba(75,110,104,.14);
  border-radius: 14px;
  background: var(--paper);
}
.home-about-stats strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}
.home-about-stats span {
  display: block;
  color: var(--muted);
  line-height: 1.2;
}
.home-about-gallery {
  display: grid;
  gap: 14px;
}
.home-about-stage {
  position: relative;
  height: 436px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
}
.home-about-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-about-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(40,40,40,.42);
  color: var(--white);
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
}
.home-about-arrow--prev { left: 14px; }
.home-about-arrow--next { right: 14px; }
.home-about-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.home-about-thumbs button {
  height: 104px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.home-about-thumbs button.active { border-color: var(--green); }
.home-about-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 95px; }
.service-card, .mini-card, .review, .handler {
  background: var(--paper);
  border-radius: 14px;
}
.service-card { padding: 19px 56px 31px; text-align: center; }
.service-card img { width: 100%; height: 270px; object-fit: cover; margin-bottom: 20px; }
.service-card__image--hotel { object-position: center 54%; }
.service-card__image--kinolog { object-position: center 48%; }
.service-card p { min-height: 66px; line-height: 1.25; }
.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 76px;
  margin-top: 100px;
}
.home-benefits article {
  min-height: 150px;
  padding: 32px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #e7eded, rgba(243,245,245,0));
}
.home-benefits h3 {
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.home-benefits p {
  max-width: 310px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.25;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 47px; }
.feature-grid--four { grid-template-columns: repeat(4, 1fr); gap: 17px; }
.mini-card { padding: 26px 14px 18px; text-align: center; }
.mini-card img { width: 82%; height: 138px; margin: 0 auto 18px; object-fit: cover; }
.mini-card p { line-height: 1.2; }
.additional-services {
  max-width: 940px;
  margin: 0 auto;
}
.service-photo-card {
  min-height: 360px;
  padding: 26px 22px 28px;
}
.service-photo-card img {
  width: 100%;
  height: 172px;
  margin: 0 0 22px;
  border-radius: 10px;
  object-fit: cover;
}
.service-photo-card h3 {
  color: var(--text);
  font-size: 24px;
}
.service-photo-card p {
  max-width: 270px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 950px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.reviews-head strong, .reviews-head span { display: block; }
.reviews-head span { margin-top: 4px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews-widget {
  position: relative;
  width: min(760px, 100%);
  height: 660px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
}
.reviews-widget iframe {
  width: 100%;
  height: 800px;
  border: 0;
  box-sizing: border-box;
  display: block;
}
.reviews-widget a {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: block;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  overflow: hidden;
  box-sizing: border-box;
  color: #b3b3b3;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reviews-head--compact {
  margin-bottom: 14px;
  padding: 14px 16px;
}
.reviews-head--compact .outline-btn {
  padding: 9px 18px;
}
.reviews-widget--compact {
  width: 100%;
  height: 420px;
}
.reviews-widget--compact iframe {
  height: 620px;
}
.home-reviews .reviews-widget--compact {
  height: 640px;
}
.home-reviews .reviews-widget--compact iframe {
  height: 900px;
}
.mobile-review-list {
  display: none;
}
.mobile-review {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.mobile-review strong,
.mobile-review span {
  display: block;
}
.mobile-review strong {
  font-size: 20px;
}
.mobile-review span {
  margin-top: 4px;
  color: var(--muted);
}
.mobile-review p {
  margin: 14px 0 0;
  line-height: 1.35;
}
.mobile-review-link {
  width: 100%;
}
.review { padding: 28px 20px; }
.review strong { display: block; font-size: 22px; margin-bottom: 4px; }
.review span { color: var(--muted); }
.review p { margin-top: 20px; line-height: 1.25; }

.taxi { max-width: 950px; margin: 0 auto; }
.taxi label { display: grid; gap: 10px; font-size: 18px; }
.home-taxi-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 52px;
  align-items: start;
}
.home-taxi-reviews h2 {
  text-align: left;
  font-size: 40px;
}
.home-taxi-reviews > div > p {
  margin-bottom: 22px;
  line-height: 1.35;
}
.home-taxi .taxi {
  max-width: none;
}
.home-taxi .delivery-controls {
  grid-template-columns: 1fr;
}
.home-taxi .map-card,
.home-taxi .map-embed,
.home-taxi .yandex-map {
  height: 420px;
}
.home-taxi .taxi-result {
  font-size: 20px;
}
.delivery-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 18px;
  align-items: end;
}
.delivery-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.delivery-legend button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
  transition: .2s ease;
}
.delivery-legend button.active {
  border-color: var(--green);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(75,110,104,.12);
}
.delivery-legend button span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--zone);
  flex: 0 0 auto;
}
.delivery-legend strong { margin-left: auto; color: var(--green); }
.delivery-legend button strong { margin-left: 0; }
input, select {
  width: 100%;
  border: 1px solid var(--green-soft);
  border-radius: 14px;
  padding: 18px 22px;
  color: #435e59;
  background: var(--white);
}
.map-card {
  position: relative;
  height: 477px;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef4f1, #dfe9e6);
  border: 1px solid var(--line);
}
.yandex-map {
  width: 100%;
  height: 477px;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 360px;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-embed--constructor {
  min-height: 623px;
}
.map-embed--constructor ymaps,
.map-embed--constructor iframe {
  max-width: 100%;
}
.contacts-hero .map-embed { margin-top: 0; }
.yandex-map--contacts { margin-top: 0; }
.hidden { display: none !important; }
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .5;
}
.zone { position: absolute; display: grid; place-items: center; border-radius: 999px; font-weight: 600; }
.zone-a { inset: 35% 42%; background: rgba(230,118,27,.35); z-index: 4; }
.zone-b { inset: 24% 31%; background: rgba(181,30,255,.22); z-index: 3; }
.zone-c { inset: 13% 20%; background: rgba(27,173,3,.18); z-index: 2; }
.zone-d { inset: 4% 8%; background: rgba(139,220,123,.28); z-index: 1; }
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}
.taxi-result { margin-top: 28px; font-size: 24px; }

.contact { display: grid; grid-template-columns: 3fr 1fr; gap: 90px; align-items: center; }
.contact h2 { text-align: left; font-size: 40px; }
.contact-form form { display: grid; gap: 24px; margin-top: 36px; }
.contact-dog { max-width: 260px; justify-self: end; }
.form-status { min-height: 22px; color: var(--green); font-weight: 500; margin: 0; }
.hotel-contact-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: 58px;
  align-items: start;
}
.hotel-contact-reviews h2 {
  text-align: left;
  font-size: 40px;
}
.hotel-reviews > p {
  margin-bottom: 22px;
  line-height: 1.35;
}

.page-hero { margin-top: 86px; }
.page-hero h1 { color: var(--text); font-size: 52px; font-weight: 500; }
.hotel-intro h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  font-size: 52px;
  font-weight: 500;
  text-align: center;
}
.hotel-intro .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-story {
  margin-top: 86px;
}
.about-story h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  font-size: 52px;
  font-weight: 500;
  text-align: center;
}
.about-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.about-copy .lead {
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}
.about-story-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 42px;
}
.about-story-images img {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  object-fit: cover;
}

.about-story-images img:first-child {
  object-position: center 34%;
}

.about-story-images img:nth-child(2) {
  object-position: center 38%;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.about-stats article {
  padding: 32px 24px;
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
  border: 1px solid rgba(75,110,104,.14);
}
.about-stats strong {
  display: block;
  color: var(--green);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 10px;
}
.about-stats span { font-size: 20px; }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mosaic img { width: 100%; height: 210px; object-fit: cover; }
.mosaic img:nth-child(1), .mosaic img:nth-child(4) { transform: translateY(-22px); }
.training-gallery {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.training-gallery-stage {
  position: relative;
  height: clamp(430px, 36vw, 560px);
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f1;
}
.training-gallery-stage--portrait {
  display: grid;
  place-items: center;
  background: #000;
}
.training-gallery-media {
  width: 100%;
  height: 100%;
}
.training-gallery-media img,
.training-gallery-media iframe,
.training-gallery-video-link img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.training-gallery-media iframe {
  display: block;
}
.training-gallery-stage--portrait .training-gallery-media {
  display: grid;
  place-items: center;
}
.training-gallery-stage--portrait .training-gallery-media iframe {
  width: min(100%, 363px);
  height: 100%;
}
.training-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(40,40,40,.42);
  color: var(--white);
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}
.training-gallery-arrow:hover {
  background: rgba(75,110,104,.78);
  transform: translateY(-50%) scale(1.04);
}
.training-gallery-arrow--prev { left: 14px; }
.training-gallery-arrow--next { right: 14px; }
.training-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.training-gallery-thumbs button {
  position: relative;
  height: 88px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.training-gallery-thumbs button:hover {
  transform: translateY(-2px);
}
.training-gallery-thumbs button.active {
  border-color: var(--green);
}
.training-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef2f1;
}
.training-gallery-thumbs span,
.training-gallery-video-link span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(40,40,40,.68);
  color: var(--white);
  font-size: 13px;
}
.training-video-thumb {
  display: block;
  background: #101615;
}
.training-video-thumb img {
  opacity: .72;
}
.training-video-thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  transform: translate(-50%, -50%);
}
.training-video-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  border-left: 13px solid var(--green);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translate(-36%, -50%);
}
.training-video-thumb span {
  z-index: 3;
}
.training-gallery-empty {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  padding: 28px;
  color: var(--green);
  text-align: center;
}
.training-gallery-empty strong {
  font-size: 28px;
  font-weight: 500;
}
.training-gallery-empty span {
  color: var(--muted);
}
.training-gallery-video-link {
  position: relative;
  display: block;
  height: 100%;
}
.training-gallery-video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38));
}
.training-gallery-video-link span {
  z-index: 1;
}
.room { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.room--single {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  gap: 64px;
}
.gallery { display: grid; gap: 12px; }
.gallery-main { width: 100%; height: 330px; object-fit: cover; }
.gallery div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery div img { height: 130px; width: 100%; object-fit: cover; }
.room--single .gallery div { grid-template-columns: repeat(6, 1fr); }
.room--single .gallery div button {
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.room--single .gallery div button.active { border-color: var(--green); }
.room--single .gallery div img { height: 100%; }
.room-focus--wide { object-position: center center; }
.room-focus--wide-top { object-position: center 42%; }
.room-focus--long { object-position: center 58%; }
.room-focus--center { object-position: center center; }
.room-focus--portrait { object-position: center 54%; }
.room-focus--full {
  object-fit: contain;
  object-position: center center;
  background: #f4f0ec;
}
.room--single .outline-btn { margin-right: 12px; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.gallery-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
}
.team-block {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: center;
  padding: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f8f8, #eef3f2);
}
.team-block img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 14px;
}
.team-block h2 { text-align: left; }
.gallery-slider {
  max-width: 920px;
  margin: 0 auto;
}
.gallery-stage {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
}
.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-focus--wide {
  object-position: center center;
}
.gallery-focus--portrait-group {
  object-position: center 43%;
}
.gallery-focus--portrait-hug {
  object-position: center 30%;
}
.gallery-focus--portrait-close {
  object-position: center 28%;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(40,40,40,.44);
  color: var(--white);
  font-size: 36px;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.gallery-thumbs button {
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.gallery-thumbs button.active { border-color: var(--green); }
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.schedule article, .rules-grid article {
  padding: 32px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #e4e9e9, rgba(243,245,245,0));
}
.schedule strong, .rules-grid h3 { display: block; color: var(--green); font-size: 22px; margin-bottom: 14px; }
.handler-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.handler-grid--profiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.handler { padding: 28px; text-align: center; }
.handler img { width: 150px; height: 150px; object-fit: cover; margin: 0 auto 20px; border-radius: 50%; }
.handler--profile {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  text-align: left;
  align-items: start;
  height: 100%;
}
.handler--profile img {
  margin: 0;
}
.handler-info h3 {
  color: var(--green);
  font-size: 28px;
}
.handler-info {
  display: grid;
  height: 100%;
}
.handler-info dl {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}
.handler-info dt {
  color: var(--green);
  font-weight: 700;
}
.handler-info dd {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.35;
}
.handler-info .primary-btn {
  align-self: end;
  justify-self: start;
  margin-top: 20px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
  padding: 26px 20px;
  border-radius: 14px;
  background: var(--paper);
}
.price-card h3 { margin-bottom: 0; }
.price-card > strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.25;
}
.price-card .primary-btn {
  align-self: end;
  margin-top: 8px;
}
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.legal-doc {
  max-width: 920px;
}
.legal-doc h1 {
  max-width: none;
  color: var(--text);
  font-size: 52px;
  font-weight: 500;
  text-align: center;
}
.legal-doc .lead {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}
.legal-doc article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-doc h2 {
  text-align: left;
  font-size: 30px;
  margin-bottom: 14px;
}
.legal-doc p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.rules-intro {
  display: grid;
  justify-items: center;
}
.rules-intro .lead {
  margin-bottom: 28px;
}
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.doc-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(75,110,104,.28);
  border-radius: 10px;
  color: var(--green);
  transition: background .2s ease, transform .2s ease;
}
.doc-actions a:hover {
  background: rgba(75,110,104,.1);
  transform: translateY(-2px);
}
.faq { display: grid; gap: 18px; text-align: left; }
.faq button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  padding: 22px;
  font-size: 22px;
  cursor: pointer;
}
.faq p { display: none; padding: 0 22px 10px; line-height: 1.35; }
.faq p.active { display: block; }
.contacts-hero { margin-top: 86px; grid-template-columns: 1.3fr .7fr; }
.map-card--contacts { margin-top: 0; }
.info-block { margin: 26px 0; }
.contacts-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.35);
}
.modal.active { display: grid; }
.modal-box {
  position: relative;
  width: min(720px, 94vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  background: var(--white);
  padding: 42px;
}
.modal-box h2 { text-align: left; font-size: 34px; }
.modal-hint {
  margin: -10px 0 22px;
  color: var(--muted);
  line-height: 1.35;
}
.modal-box form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.modal-box button[type="submit"], .modal-box .form-status { grid-column: 1 / -1; }
.modal-close { position: absolute; top: 14px; right: 18px; border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: center; }
.check input { width: auto; }
.field-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}
.field-label input,
.field-label select {
  color: var(--text);
}
.field-label--wide {
  grid-column: 1 / -1;
}
.handler-form .primary-btn,
.handler-form .form-status {
  grid-column: 1 / -1;
}

.site-footer {
  margin-top: 93px;
  padding: 55px 0;
  border-top: 1px solid var(--green-soft);
  background: #f4f4f4;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-grid h3 { font-size: 18px; margin-bottom: 30px; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: 14px; line-height: 1.25; }
.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  color: var(--green);
}
.vk-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--green);
}

@media (max-width: 920px) {
  h1 { font-size: 46px; }
  h2 { font-size: 42px; }
  .nav-links {
    position: absolute;
    top: 88px;
    right: 5vw;
    display: none;
    min-width: 230px;
    padding: 18px;
    border-radius: 14px;
    background: var(--paper);
    color: var(--text);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
  }
  .nav-links.active { display: flex; }
  .burger { display: block; }
  .dropdown-menu { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 8px 0 0 14px; background: transparent; }
  .split, .page-hero, .contacts-hero, .contact, .room, .team-block, .home-about-layout, .hotel-contact-reviews, .home-taxi-reviews { grid-template-columns: 1fr; gap: 38px; }
  .home-about-stage { height: 360px; }
  .about-copy { max-width: none; }
  .about-story-images { gap: 16px; }
  .about-story-images img { height: 300px; }
  .service-grid, .feature-grid, .reviews, .handler-grid, .price-grid, .home-benefits { grid-template-columns: 1fr; }
  .home-benefits { gap: 18px; }
  .room--single .gallery div { grid-template-columns: repeat(3, 1fr); }
  .reviews-head, .delivery-controls { grid-template-columns: 1fr; }
  .feature-grid--four, .schedule, .rules-grid, .footer-grid, .gallery-strip, .about-stats { grid-template-columns: repeat(2, 1fr); }
  .training-gallery-stage { height: clamp(360px, 70vw, 560px); }
  .training-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-dog { display: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 700px; }
  h1 { font-size: 36px; }
  h2, .page-hero h1 { font-size: 34px; }
  .about-story h1 { font-size: 34px; }
  .hero p, .section-subtitle, .lead { font-size: 19px; }
  .hero-actions, .row-actions { flex-direction: column; align-items: stretch; }
  .outline-btn--light { width: 100%; }
  .service-card { padding: 20px; }
  .feature-grid--four, .schedule, .rules-grid, .footer-grid, .price-grid, .gallery-strip, .about-stats, .home-about-stats, .gallery-thumbs, .modal-box form { grid-template-columns: 1fr; }
  .home-about-stage { height: 270px; }
  .home-about-thumbs { grid-template-columns: repeat(3, 1fr); }
  .home-about-thumbs button { height: 76px; }
  .about-story-images { grid-template-columns: 1fr; }
  .about-story-images img { height: 250px; }
  .team-block { padding: 24px; }
  .gallery-stage { height: 340px; }
  .gallery-thumbs { gap: 10px; }
  .gallery-thumbs button { height: 72px; }
  .room--single .gallery { gap: 10px; }
  .room--single .gallery div { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .room--single .gallery div button { height: 78px; }
  .room--single .outline-btn,
  .room--single .primary-btn {
    width: 100%;
    margin-right: 0;
  }
  .room--single .outline-btn { margin-bottom: 10px; }
  .handler--profile {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .handler--profile img {
    margin: 0 auto 6px;
  }
  .training-gallery-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .training-gallery-thumbs button { height: 78px; }
  .reviews-head { align-items: stretch; }
  .delivery-legend { grid-template-columns: 1fr; }
  .reviews-widget { display: none; }
  .mobile-review-list {
    display: grid;
    gap: 12px;
  }
  .modal-box { padding: 26px 18px; }
  .modal-box h2 { font-size: 30px; margin-bottom: 18px; }
  .modal-hint { margin-bottom: 16px; }
  .modal-box form { gap: 12px; }
  input, select { padding: 15px 18px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic img:nth-child(n) { transform: none; }
}
