/* ==========================================================
   Азовская Ривьера — сайт курорта
   ========================================================== */

:root {
  --ink: #173036;
  --ink-soft: #3f565c;
  --muted: #6f8489;
  --cream: #f7f3ea;
  --cream-2: #efe8da;
  --white: #ffffff;
  --sea: #0b3f4a;
  --sea-2: #115868;
  --azure: #1b93a7;
  --sand: #e6c79a;
  --gold: #d99a4e;
  --line: rgba(23, 48, 54, 0.12);
  --shadow: 0 18px 50px rgba(11, 63, 74, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Общие элементы ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-light {
  color: var(--sand);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--cream-2);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

.section-lead {
  max-width: 380px;
  font-size: 16px;
  color: var(--muted);
  padding-bottom: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}

.btn-primary:hover {
  background: var(--sea-2);
  border-color: var(--sea-2);
}

.btn-sand {
  background: var(--sand);
  color: var(--sea);
  border-color: var(--sand);
}

.btn-sand:hover {
  background: #f0d7b2;
}

.btn-outline {
  background: transparent;
  color: var(--sea);
  border-color: rgba(11, 63, 74, 0.3);
}

.btn-outline:hover {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--sea);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 30px;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Шапка ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(11, 63, 74, 0.08);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  padding: 8px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-phone {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-download {
  display: inline-flex;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
}

.burger span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-scrolled .burger {
  border-color: var(--line);
}

/* ---------- Герой ---------- */

.hero {
  position: relative;
  min-height: 780px;
  height: 94vh;
  max-height: 960px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 55%;
  animation: heroZoom 18s ease-out both;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 27, 33, 0.5) 0%, rgba(4, 27, 33, 0.15) 35%, rgba(4, 27, 33, 0.82) 100%),
    linear-gradient(90deg, rgba(4, 27, 33, 0.55) 0%, rgba(4, 27, 33, 0.05) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 130px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(64px, 8.5vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-lead {
  max-width: 580px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  gap: 42px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Форма бронирования ---------- */

.booking-section {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}

.booking-form {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.booking-form__intro {
  flex: 0 0 230px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.booking-form__title {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}

.booking-form__sub {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.bf-field {
  flex: 1 1 150px;
  min-width: 0;
}

.bf-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #526970;
}

.bf-field input,
.bf-field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.bf-field input:focus,
.bf-field select:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(27, 147, 167, 0.12);
}

.bf-submit {
  flex: 0 0 auto;
  height: 48px;
  min-height: 48px;
}

.booking-error {
  display: none;
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 7px;
  background: #fdecea;
  color: #9d2f2f;
  font-size: 13px;
}

.booking-error.is-visible {
  display: block;
}

/* ---------- О комплексе ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.about-copy .lead {
  margin-top: 24px;
}

.about-copy > p:not(.lead):not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.about-points b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold);
}

.about-points span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.about-collage {
  position: relative;
  min-height: 560px;
}

.about-img {
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-img--main {
  top: 0;
  right: 0;
  width: 82%;
  height: 78%;
}

.about-img--small {
  left: 0;
  bottom: 0;
  width: 54%;
  height: 46%;
  border: 10px solid var(--cream);
}

.about-badge {
  position: absolute;
  left: 8%;
  bottom: 38%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-badge img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.about-badge span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Размещение ---------- */

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

.stay-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 63, 74, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(11, 63, 74, 0.12);
}

.stay-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.stay-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stay-card:hover .stay-card__img img {
  transform: scale(1.05);
}

.stay-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea);
}

.stay-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stay-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.stay-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.stay-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stay-card li {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--cream);
  font-size: 10px;
  color: var(--ink-soft);
}

.stay-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.price small {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

.stay-card .btn {
  min-height: 36px;
  padding: 0 11px;
  font-size: 10px;
}

.season-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.season-line a {
  font-weight: 700;
  color: var(--sea);
  white-space: nowrap;
}

/* ---------- Услуги ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 390px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 27, 33, 0.05) 20%, rgba(4, 27, 33, 0.86) 100%);
}

.service-card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.service-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.service-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

.service-card__foot span {
  color: rgba(255, 255, 255, 0.7);
}

.service-card__foot a {
  font-weight: 700;
  color: var(--sand);
}

.center-cta {
  margin-top: 36px;
  text-align: center;
}

.center-cta p {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Баллы ---------- */

.loyalty {
  padding: 96px 0;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(27, 147, 167, 0.22), transparent 60%),
    linear-gradient(130deg, #082f38, #0b3f4a 55%, #115868);
  color: #fff;
}

.loyalty-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.loyalty h2 {
  color: #fff;
}

.loyalty-copy > p:not(.eyebrow):not(.loyalty-note) {
  margin-top: 20px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.loyalty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.loyalty-note {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.loyalty-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loyalty-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.loyalty-card__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(230, 199, 154, 0.16);
  color: var(--sand);
  font-size: 18px;
}

.loyalty-card b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.loyalty-card span:not(.loyalty-card__icon) {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Галерея ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #dcd3c2;
}

.gallery-item--wide,
.gallery-item--tall {
  grid-column: auto;
  grid-row: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ---------- Почему мы ---------- */

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

.why-item {
  padding: 28px 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 63, 74, 0.06);
}

.why-item > span {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
}

.why-item h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.why-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Приложение ---------- */

.app-section {
  padding: 100px 0;
  background:
    radial-gradient(800px 500px at 15% 10%, rgba(27, 147, 167, 0.25), transparent 60%),
    linear-gradient(120deg, #0a3740, #0b3f4a 55%, #0f5261);
  color: #fff;
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.app-copy h2 {
  color: #fff;
}

.app-copy > p:not(.eyebrow):not(.app-note) {
  margin-top: 20px;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.app-note {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.app-ios {
  max-width: 470px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.app-ios summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.app-ios ol {
  margin: 12px 0 2px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.app-ios li + li {
  margin-top: 6px;
}

.app-ios b {
  color: #fff;
}

.app-ios__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.app-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: center;
}

.phone {
  width: 260px;
  border: 9px solid #0a2228;
  border-radius: 34px;
  background: #0a2228;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(3deg);
  overflow: hidden;
}

.phone img {
  width: 100%;
  border-radius: 26px;
}

.app-badge {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--sand);
  color: var(--sea);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- Контакты ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.contacts-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-list > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list b {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.contacts-map {
  position: relative;
  min-height: 480px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contacts-map > img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.contacts-map__card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.contacts-map__card b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.contacts-map__card span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Подвал ---------- */

.site-footer {
  padding: 64px 0 26px;
  background: #082e36;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand-text strong {
  font-size: 19px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h3 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 20, 25, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

/* ---------- Анимации появления ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1280px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 16px;
  }
  .stay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .loyalty-grid,
  .app-grid,
  .contacts-grid {
    gap: 48px;
  }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 22px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 40px rgba(11, 63, 74, 0.15);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .main-nav a::after {
    display: none;
  }
  .nav-mobile-only {
    display: block;
  }
  .burger {
    display: block;
  }
  .header-book,
  .header-download {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
  .brand-text strong {
    font-size: 18px;
  }
  .brand-text small {
    font-size: 8px;
  }

  .hero {
    min-height: 720px;
    height: auto;
    padding-bottom: 40px;
  }
  .hero-content {
    padding-top: 170px;
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: clamp(56px, 15vw, 86px);
  }
  .hero-facts {
    gap: 28px;
  }
  .booking-form {
    flex-wrap: wrap;
  }
  .booking-form__intro {
    flex: 1 0 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }
  .bf-field {
    flex: 1 1 28%;
  }
  .bf-submit {
    flex: 1 0 100%;
  }
  .about-grid,
  .loyalty-grid,
  .app-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .about-collage {
    min-height: 460px;
    order: -1;
  }
  .about-img--main {
    width: 76%;
    height: 80%;
  }
  .about-img--small {
    width: 48%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-map,
  .contacts-map > img {
    min-height: 380px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-lead {
    margin-top: 14px;
    padding: 0;
  }
  .hero {
    min-height: 640px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 34px;
  }
  .hero-facts b {
    font-size: 28px;
  }
  .booking-section {
    margin-top: -40px;
  }
  .booking-form {
    padding: 18px;
    gap: 12px;
  }
  .bf-field {
    flex: 1 0 46%;
  }
  .about-collage {
    min-height: 360px;
  }
  .about-points {
    gap: 12px;
  }
  .stay-grid,
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 330px;
  }
  .season-line {
    display: block;
  }
  .season-line a {
    display: inline-block;
    margin-top: 10px;
  }
  .loyalty,
  .app-section {
    padding: 64px 0;
  }
  .loyalty-cards {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .app-visual {
    min-height: 420px;
  }
  .phone {
    width: 230px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    display: block;
    line-height: 1.6;
  }
  .footer-bottom span {
    display: block;
  }
  .lightbox {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-media img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
