:root {
  --cream: #faf7f2;
  --cream-mid: #e8f0ec;
  --cream-deep: #dce8e2;
  --green: #1e3d36;
  --green-dark: #142823;
  --green-soft: #2a5248;
  --text: #142823;
  --text-muted: #4a5f59;
  --text-soft: #9fb8ae;
  --white: #fff;
  --shadow: 0 18px 50px rgba(20, 40, 35, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --font-sans: "Roboto", sans-serif;
  --font-heading: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 860px) {
  html {
    scroll-behavior: auto;
  }
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-mid) 55%, var(--cream-deep) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  max-width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 61, 54, 0.08);
  transition: box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(20, 40, 35, 0.08);
  padding: 10px 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 3vw, 24px);
  position: relative;
  z-index: 52;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover {
  transform: scale(1.03);
}

.logo img {
  width: min(200px, 38vw);
  height: auto;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
  font-weight: 500;
  color: #2f4540;
}

.site-header__nav a {
  text-decoration: none;
  position: relative;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-header__cta {
  flex-shrink: 0;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(30, 61, 54, 0.1);
  color: var(--green-dark);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-header__burger-icon--close {
  display: none;
}

body.nav-drawer-open .site-header__burger-icon--open {
  display: none;
}

body.nav-drawer-open .site-header__burger-icon--close {
  display: block;
}

.site-header__burger:hover {
  background: rgba(30, 61, 54, 0.16);
}

.site-header__burger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.site-header__backdrop {
  display: none;
}

@media (max-width: 860px) {
  .site-header__burger {
    display: inline-flex;
  }

  /* Выпадающее меню под шапкой (не боковая шторка) */
  .site-header__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(260px, 100%);
    max-height: min(380px, 72vh);
    z-index: 51;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 61, 54, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(20, 40, 35, 0.18);
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.22s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.22s;
  }

  body.nav-drawer-open .site-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity 0.22s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  .site-header__nav a {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(30, 61, 54, 0.06);
  }

  .site-header__nav a:last-child {
    border-bottom: none;
  }

  .site-header__nav a::after {
    display: none;
  }

  .site-header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    pointer-events: none;
    cursor: pointer;
  }

  body.nav-drawer-open .site-header__backdrop {
    pointer-events: auto;
  }

  .site-header__cta {
    display: none !important;
  }

  .logo img {
    width: min(160px, 50vw);
  }
}

body.nav-drawer-open {
  overflow: hidden;
}

body.nav-drawer-open .site-header {
  z-index: 200;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, #16332d 100%);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(30, 61, 54, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(30, 61, 54, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--ghost:hover {
  background: rgba(30, 61, 54, 0.06);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid rgba(30, 61, 54, 0.35);
}

.btn--ghost-light:hover {
  background: rgba(30, 61, 54, 0.07);
  border-color: rgba(30, 61, 54, 0.55);
  color: var(--green);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: var(--shadow);
}

.btn--light:hover {
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 32px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.btn--xl {
  padding: 20px 36px;
  font-size: 16px;
  border-radius: var(--radius-sm);
}

.btn--pulse {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(30, 61, 54, 0.35);
  }
  50% {
    box-shadow: 0 8px 36px rgba(30, 61, 54, 0.55), 0 0 0 6px rgba(30, 61, 54, 0.12);
  }
}

/* Hero */
.hero {
  padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 88px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(30, 61, 54, 0.08);
  border: 1px solid rgba(30, 61, 54, 0.15);
  border-radius: 100px;
  margin: 0 0 20px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.15);
  }
}

.hero__badge--float {
  animation: badge-float 5s ease-in-out infinite;
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(30, 61, 54, 0.06);
  pointer-events: none;
}

.hero__img-wrap img {
  width: 100%;
  height: clamp(260px, 48vw, 440px);
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__visual:hover .hero__img-wrap img {
  transform: scale(1.06);
}

/* Stats */
.stats {
  padding: 0 0 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--white);
  border: 1px solid rgba(30, 61, 54, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.stat-card__num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--green);
  display: block;
  margin-bottom: 6px;
}

.stat-card__text {
  margin: 0;
  font-size: 13px;
  color: #5a6f69;
  line-height: 1.4;
}

/* Rooms */
.rooms {
  padding: clamp(48px, 8vw, 80px) 0;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-soft) 100%);
  color: #f5fbf7;
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  max-width: 36em;
  color: #b8d4c9;
  font-size: 1.05rem;
}

.section-head--light h2 {
  color: #f5fbf7;
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 540px) {
  .rooms__grid {
    grid-template-columns: 1fr;
  }
}

.room-card {
  background: var(--green-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.room-card__media {
  overflow: hidden;
  position: relative;
}

/* Card Slider */
.card-slider {
  position: relative;
  overflow: hidden;
}

.card-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.card-slider__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.room-card:hover .card-slider__btn {
  opacity: 1;
}

@media (hover: none) {
  .card-slider__btn {
    opacity: 1;
    width: 28px;
    height: 28px;
  }
}

.card-slider__btn:hover {
  background: #fff;
}

.card-slider__btn--prev {
  left: 8px;
}

.card-slider__btn--next {
  right: 8px;
}

.card-slider__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 5px;
}

.card-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.card-slider__dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

.room-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.room-card__body h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.room-card__body {
  padding: 18px 20px 22px;
}

.room-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: #f5fbf7;
}

.room-card__body p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
}

.room-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #c8e6d9;
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.room-card__link:hover {
  color: #fff;
  letter-spacing: 0.02em;
}

.rooms__cta {
  margin-top: 40px;
  text-align: center;
}

/* Gallery (remote images from griin.ru/fotogalereja/) */
.gallery {
  padding: clamp(48px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-mid) 100%);
}

.gallery .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.gallery .section-head p {
  margin: 0;
  max-width: 40em;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gallery .section-head a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery-shell {
  margin-top: 28px;
}

.gallery-main {
  position: relative;
}

.gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  outline: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(30, 61, 54, 0.25), var(--shadow);
}

.gallery-track {
  display: flex;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  background: var(--cream-deep);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(20, 40, 35, 0.15);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.gallery-nav--prev {
  left: 10px;
}

.gallery-nav--next {
  right: 10px;
}

@media (max-width: 640px) {
  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .gallery-nav--prev {
    left: 6px;
  }

  .gallery-nav--next {
    right: 6px;
  }

  .gallery-slide img {
    height: min(48vh, 380px);
  }
}

.gallery-thumbs-wrap {
  position: relative;
  margin-top: 14px;
  padding: 0 4px;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-size: 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(30, 61, 54, 0.35) transparent;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 76px;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.62;
  box-shadow: 0 2px 10px rgba(20, 40, 35, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-deep);
  pointer-events: none;
}

.gallery-thumb:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--green);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .gallery-thumb {
    width: 68px;
    height: 48px;
    border-radius: 8px;
  }
}

.gallery-status {
  margin: 8px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Location */
.location {
  padding: clamp(56px, 9vw, 96px) 0;
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .location__grid {
    grid-template-columns: 1fr;
  }
}

.location__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0;
}

.location__addr {
  color: var(--text-muted);
  margin: 0 0 20px;
  max-width: 36em;
}

.location__list {
  margin: 0 0 28px;
  padding-left: 1.1em;
  color: #2f4540;
}

.location__list li {
  margin-bottom: 10px;
}

.location__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location__map img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.location__map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* Contacts + Yandex map */
.contacts {
  padding: clamp(56px, 9vw, 96px) 0;
  background: linear-gradient(180deg, var(--cream-mid) 0%, var(--cream) 100%);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }
}

.contacts__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0;
  color: var(--text);
}

.contacts__addr {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.contacts__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.contacts__list li {
  margin-bottom: 16px;
}

.contacts__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.contacts__list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.contacts__list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts__map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
  min-height: 320px;
}

.contacts__map {
  display: block;
  width: 100%;
  height: min(420px, 52vh);
  min-height: 320px;
  border: 0;
}

@media (max-width: 900px) {
  .contacts__map {
    height: 360px;
  }
}

/* CTA band */
.cta-band {
  padding: clamp(56px, 8vw, 80px) 0;
  background: linear-gradient(180deg, var(--cream-mid) 0%, var(--cream-deep) 100%);
}

.cta-band__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-band__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0;
}

.cta-band__inner > p {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-band__main {
  animation: cta-pulse 3s ease-in-out infinite;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #d8e8e1;
  padding: 40px 0 48px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__logo {
  width: min(200px, 70%);
  height: auto;
  margin-bottom: 10px;
}

.site-footer__tag {
  margin: 0;
  font-size: 13px;
  color: #8fa9a0;
}

.site-footer__cols {
  display: flex;
  gap: 80px;
}

.site-footer__cols strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6b8a7e;
  margin-bottom: 10px;
}

.site-footer__cols a {
  display: block;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.site-footer__cols a:hover {
  color: #fff;
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  font-size: 12px;
  color: #5c7268;
}

.site-footer__copy a {
  color: #a8c4b8;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Booking modal (iframe) */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.booking-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 35, 0.55);
  backdrop-filter: blur(4px);
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-modal.is-open .booking-modal__panel {
  transform: translateY(0) scale(1);
}

.booking-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(30, 61, 54, 0.1);
  background: var(--white);
}

.booking-modal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

.booking-modal__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(30, 61, 54, 0.08);
  color: var(--green);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.booking-modal__close:hover {
  background: rgba(30, 61, 54, 0.15);
}

.booking-modal__hint {
  margin: 0;
  padding: 10px 20px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.booking-modal__frame-wrap {
  flex: 1;
  min-height: 320px;
  padding: 12px 20px 16px;
}

.booking-modal__iframe {
  width: 100%;
  height: min(72vh, 640px);
  min-height: 400px;
  border: 1px solid rgba(30, 61, 54, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.booking-modal__footer {
  padding: 12px 20px 18px;
  text-align: center;
  border-top: 1px solid rgba(30, 61, 54, 0.08);
  background: var(--white);
}

.booking-modal__fallback {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

@media (max-width: 600px) {
  .booking-modal__iframe {
    min-height: 320px;
    height: 65vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal,
  .booking-modal__panel {
    transition: none;
  }
}

body.booking-modal-open {
  overflow: hidden;
}
