/* ===== Локальные шрифты (self-hosted, без внешних запросов к Google) =====
   Karla и Playfair Display — вариативные, лицензия OFL. Файлы в /fonts/.
   Кириллицу содержит только Playfair Display; для Karla русский текст
   корректно отдаётся системному шрифту (как и раньше при Google Fonts). */
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/playfair-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/playfair-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ============================================================
   Гостиница «Кристина» — премиальный seaside-дизайн
   Палитра: глубокий navy + свежая морская бирюза/аква
   (переменные --gold-* исторические, теперь хранят teal-оттенки)
   ============================================================ */
:root {
  --navy-950: #06202f;
  --navy-900: #0a2c42;
  --navy-800: #0f3b55;
  --navy-700: #195e7a;
  --sea-500:  #1796b0;
  --sea-300:  #7cd3e0;
  /* акцент — морская бирюза → аква */
  --gold-600: #0b7a86;
  --gold-500: #109fad;
  --gold-400: #34d0db;
  --cream:    #f2f9fa;
  --cream-2:  #e4f1f3;
  --ink:      #122430;
  --muted:    #54707e;
  --white:    #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(10, 44, 66, .08);
  --shadow:    0 18px 44px rgba(10, 44, 66, .14);
  --shadow-lg: 0 34px 70px rgba(10, 44, 66, .20);
  --gold-grad: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: 'Karla', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Karla', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: 16px 30px; border-radius: 60px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  text-align: center; line-height: 1;
}
.btn-primary { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 14px 30px rgba(16,159,173,.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(16,159,173,.5); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: rgba(16,52,86,.35); }
.btn-outline:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-block { width: 100%; }

/* ---------- Хедер ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(242,249,250,.82);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(10,44,66,.07);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 80px; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: var(--gold-400); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 1.32rem; color: var(--navy-900); }
.logo-text small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 600; font-size: .93rem; color: var(--navy-900); position: relative; white-space: nowrap; transition: color .25s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold-grad); transition: width .3s var(--ease); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav .nav-cta { background: var(--navy-900); color: #fff; padding: 12px 22px; border-radius: 60px; transition: background .3s, transform .3s var(--ease); }
.nav .nav-cta:hover { background: var(--navy-950); transform: translateY(-2px); }

.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); white-space: nowrap; transition: color .25s; }
.header-phone:hover { color: var(--gold-600); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--navy-900); border-radius: 3px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
/* Бухта Вулана, Архипо-Осиповка (Wikimedia Commons, CC BY-SA) */
.hero-bg { position: absolute; inset: 0; display: block; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.08); animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(112deg, rgba(6,32,47,.9) 0%, rgba(10,58,80,.62) 46%, rgba(13,110,135,.24) 100%); }
.hero-content { position: relative; color: #fff; max-width: 760px; padding: 120px 24px 90px; }
.hero-eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem;
  color: var(--gold-400); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(52,208,219,.45);
  animation: fadeUp .8s var(--ease) both;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; margin-bottom: 24px; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(0,0,0,.3); animation: fadeUp .8s var(--ease) .1s both; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.32rem); max-width: 600px; margin-bottom: 40px; color: rgba(255,255,255,.92); animation: fadeUp .8s var(--ease) .2s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; animation: fadeUp .8s var(--ease) .3s both; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; animation: fadeUp .8s var(--ease) .4s both; }
.hero-facts li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 16px 24px;
  background: rgba(8,30,46,.52); border: 1px solid rgba(255,255,255,.22); border-radius: 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-facts strong { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--gold-400); }
.hero-facts span { font-size: .85rem; color: rgba(255,255,255,.85); letter-spacing: .02em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Секции ---------- */
.section { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Karla', sans-serif; font-weight: 700;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 16px;
}
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: var(--gold-500); opacity: .6; }
.kicker-light { color: var(--gold-400); }
.kicker-light::before, .kicker-light::after { background: var(--gold-400); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--navy-900); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0 auto; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Преимущества (glass cards) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.glass-card {
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feat-ico {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 22px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--gold-400);
}
.feat-ico svg { width: 28px; height: 28px; }
.glass-card h3 { font-size: 1.34rem; color: var(--navy-900); margin-bottom: 12px; }
.glass-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Номера ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.room-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; background: var(--navy-900); cursor: pointer; font: inherit; touch-action: manipulation; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-card:hover .room-media img { transform: scale(1.07); }
.room-media:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.media-count {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(6,32,47,.72); color: #fff; font-family: 'Karla', sans-serif; font-weight: 700;
  font-size: .8rem; padding: 6px 12px; border-radius: 60px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px 4px 16px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--gold-400) rgba(10,44,66,.1);
}
.gallery-grid::-webkit-scrollbar { height: 8px; }
.gallery-grid::-webkit-scrollbar-track { background: rgba(10,44,66,.08); border-radius: 8px; }
.gallery-grid::-webkit-scrollbar-thumb { background: var(--gold-400); border-radius: 8px; }
.gallery-item {
  margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer;
  border: 0; padding: 0; font: inherit; display: block; touch-action: manipulation;
  flex: 0 0 auto; width: min(290px, 76vw); scroll-snap-align: start;
  border-radius: 18px; box-shadow: var(--shadow-sm); background: var(--navy-900);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(6,32,47,0); transition: background .3s var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .gallery-item:hover::after { background: rgba(6,32,47,.18); }
}
.gallery-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.room-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(6,26,46,.78); color: var(--gold-400);
  font-family: 'Karla', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  padding: 7px 15px; border-radius: 60px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.room-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.6rem; color: var(--navy-900); margin-bottom: 2px; }
.room-cap { color: var(--gold-600); font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.room-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 26px; }
.room-features li { position: relative; padding-left: 26px; color: var(--ink); font-size: .96rem; }
.room-features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-grad) center / 9px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.room-body .btn { margin-top: auto; }
.discount-note {
  margin-top: 44px; display: flex; align-items: center; gap: 18px; justify-content: center; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(16,159,173,.12), rgba(52,208,219,.06));
  border: 1.5px dashed var(--gold-500); border-radius: var(--radius); padding: 24px 30px; color: var(--navy-900);
}
.discount-note svg { color: var(--gold-600); flex-shrink: 0; }
.discount-note p { font-size: 1.08rem; }

/* ---------- Удобства ---------- */
.amenities-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.amenities-list li {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(10,37,64,.07);
  border-radius: var(--radius); padding: 20px 22px; font-weight: 600; color: var(--navy-900); font-size: .98rem;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s;
}
.amenities-list li:hover { transform: translateY(-4px); border-color: var(--gold-400); }
.amenities-list svg { width: 26px; height: 26px; color: var(--sea-500); flex-shrink: 0; }

/* ---------- Бронирование ---------- */
.section-booking { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.section-booking::before {
  content: ""; position: absolute; inset: 0;
  background: url("images/booking-bg.webp") center / cover;
  opacity: .16;
}
.section-booking::after { content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(52,208,219,.32), transparent 70%); }
.booking-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.booking-cta { position: relative; max-width: 680px; margin: 0 auto; text-align: center; }
.booking-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.booking-cta > p { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 34px; }
.booking-phone {
  font-size: 1.5rem; padding: 20px 40px; gap: 14px; letter-spacing: .01em;
}
.booking-phone svg { width: 24px; height: 24px; }
.booking-cta .booking-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; margin: 32px 0 0; }
.booking-cta .booking-contacts li { margin: 0; }
.booking-info h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 20px; }
.booking-info > p { color: rgba(255,255,255,.82); margin-bottom: 30px; font-size: 1.1rem; }
.booking-contacts { list-style: none; margin-bottom: 28px; }
.booking-contacts li { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; font-size: 1.06rem; color: rgba(255,255,255,.95); }
.booking-contacts svg { color: var(--gold-400); flex-shrink: 0; }
.booking-contacts a { color: #fff; font-weight: 700; }
.booking-contacts a:hover { color: var(--gold-400); }
.booking-privacy-hint { font-size: .9rem; color: rgba(255,255,255,.6); }
.booking-privacy-hint a { color: var(--gold-400); text-decoration: underline; }

.booking-form {
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); color: var(--ink);
  border: 1px solid rgba(255,255,255,.6);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 9px; color: var(--navy-900); }
.time-tag { font-weight: 600; font-size: .76rem; color: var(--gold-600); }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 54px; padding: 15px 16px;
  border: 1.5px solid #d3dee2; border-radius: 13px; font-size: 16px; line-height: 1.25;
  font-family: inherit; color: var(--ink); background: #fff;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
/* select — своя стрелка (после appearance:none нативная пропадает) */
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2c42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
/* date — нормализация iOS/Safari, чтобы пустые поля не «ехали» */
.field input[type="date"] { position: relative; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-datetime-edit { color: #9aa6b0; }
.field input[type="date"]:valid::-webkit-datetime-edit { color: var(--ink); }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .6; cursor: pointer; margin-left: auto;
}
.field input::placeholder { color: #9aa6b0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(16,159,173,.18); }
.field input.invalid, .field select.invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.12); }
.field-hint { font-size: .92rem; color: var(--gold-600); font-weight: 700; margin-bottom: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-success {
  margin-top: 18px; background: #ecf7f0; color: #166c3b; border: 1px solid #a9e0c0; border-radius: 13px;
  padding: 16px; text-align: center; font-weight: 700;
}

/* ---------- Карта ---------- */
.map-wrap { height: 460px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Футер ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 72px 24px 48px; }
.footer-legal p { font-size: .84rem; line-height: 1.5; margin-bottom: 4px; color: rgba(255,255,255,.62); }
.footer-legal strong { color: rgba(255,255,255,.95); }
.footer-bottom a { color: var(--gold-400); }
.footer-bottom a:hover { text-decoration: underline; }
.logo-footer .logo-text strong { color: #fff; }
.logo-footer .logo-text small { color: var(--gold-400); }
.footer-col { font-size: .96rem; }
.footer-col > p:first-of-type { margin-top: 18px; }
.footer-col h3 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 18px; }
.footer-col p { margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- Плавающая кнопка (моб.) ---------- */
.floating-cta {
  display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 150;
  background: var(--gold-grad); color: var(--navy-950); text-align: center; padding: 17px;
  border-radius: 60px; font-weight: 700; box-shadow: 0 12px 30px rgba(16,159,173,.5);
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center;
  background: rgba(5,18,28,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox.open { display: flex; animation: lbFade .25s var(--ease); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; max-width: 1100px; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.lb-stage img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); background: var(--navy-900);
}
.lb-counter { color: rgba(255,255,255,.85); font-family: 'Karla', sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.lb-close {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  transition: background .25s, transform .2s var(--ease);
}
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
.lb-nav.hidden { display: none; }
@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lb-close { top: 10px; right: 10px; width: 44px; height: 44px; }
  .lb-nav { width: 46px; height: 46px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-stage img { max-height: 74vh; }
}

/* ============================================================
   Адаптив
   ============================================================ */
/* Телефон в шапке прячем на средних экранах, чтобы меню не теснилось */
@media (max-width: 1200px) {
  .header-phone { display: none; }
}

@media (max-width: 1024px) {
  .features-grid, .amenities-list { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 90px 0; }
  /* Навигация → бургер-меню */
  .burger { display: flex; margin-left: auto; }
  .nav {
    position: fixed; top: 80px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .4s var(--ease); margin: 0;
    border-bottom: 1px solid rgba(10,37,64,.08);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 16px 4px; border-bottom: 1px solid rgba(10,37,64,.07); font-size: 1.05rem; white-space: normal; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; }
}

@media (max-width: 860px) {
  .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .rooms-grid, .features-grid, .amenities-list { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 22px 84px; }
  .hero-actions { width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 12px; width: 100%; }
  .hero-facts li { flex: 1; min-width: 92px; padding: 14px 16px; }
  .hero-facts strong { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .floating-cta { display: block; }
  .booking-form { padding: 24px 20px; }
  .room-features { grid-template-columns: 1fr 1fr; }
  .map-wrap { height: 360px; border-width: 4px; }
  .booking-phone { width: 100%; font-size: 1.25rem; padding: 18px 20px; }
  .booking-phone svg { width: 20px; height: 20px; }
}

/* очень узкие экраны — даты в один столбец, чтобы не жались */
@media (max-width: 400px) {
  .field-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-bg img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Cookie-уведомление (152-ФЗ) ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  max-width: 720px; margin: 0 auto;
  background: rgba(10,44,66,.97); color: #fff; padding: 16px 20px;
  border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .9rem; line-height: 1.5; flex: 1 1 280px; color: rgba(255,255,255,.92); }
.cookie-bar a { color: var(--gold-400); text-decoration: underline; }
.cookie-ok {
  flex: 0 0 auto; background: var(--gold-grad); color: var(--navy-950);
  font-family: inherit; font-weight: 700; font-size: .95rem; border: 0;
  border-radius: 60px; padding: 11px 26px; cursor: pointer; transition: transform .25s var(--ease);
}
.cookie-ok:hover { transform: translateY(-1px); }
@media (max-width: 480px) { .cookie-ok { width: 100%; } }
