/* =========================================================
   Отель Елоховский — премиум-лендинг.
   Палитра: тёплый эспрессо-коричневый + терракотовый акцент —
   унаследована от фирменных цветов текущего сайта elohotel.ru
   (коричневый хедер, терракотовые кнопки) и от текстиля в номерах
   (терракотовые покрывала на фото Bnovo).
   ========================================================= */

:root {
  --eh-espresso: #241a14;
  --eh-espresso-deep: #150f0b;
  --eh-brown: #4a352a;
  --eh-terracotta: #b5502f;
  --eh-terracotta-light: #d98b5f;
  --eh-cream: #faf5ec;
  --eh-sand: #efe3cf;
  --eh-sand-dark: #d9c5a0;
  --eh-text: #2a231d;
  --eh-serif: 'Cormorant Garamond', Georgia, serif;
  --bs-primary: var(--eh-espresso);
  --bs-primary-rgb: 36, 26, 20;
  font-family: 'Manrope', system-ui, sans-serif;
  font-variant-numeric: lining-nums;
}

html { scroll-behavior: smooth; }

body {
  color: var(--eh-text);
  background-color: var(--eh-cream);
}

.landing-section { scroll-margin-top: 96px; }

h1, h2, h3, .brand-title {
  font-family: var(--eh-serif);
  font-weight: 500;
  letter-spacing: -.01em;
}

a { color: var(--eh-espresso); }
a:hover { color: var(--eh-terracotta); }

.section-eyebrow {
  color: var(--eh-terracotta);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--eh-terracotta-light);
}
.text-center .section-eyebrow { justify-content: center; }
.section-title { color: var(--eh-espresso); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.75rem); }
.section-lead { color: #5c5148; font-size: 1.05rem; }

.section { padding: 2.75rem 0; }
.section-sand { background-color: var(--eh-sand); }
.section-espresso { background-color: var(--eh-espresso); color: #f1e9dc; }
.section-espresso .section-title { color: #fff; }
.section-espresso .section-lead { color: #c9bbac; }

/* ---------- Кнопки ---------- */
.btn {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: .8rem 1.9rem;
}
.btn-sm { padding: .5rem 1.1rem; font-size: .72rem; }
.btn-book { border-radius: 2px; padding: .85rem 2.1rem; letter-spacing: .07em; }

.btn-primary {
  background-color: var(--eh-terracotta);
  border-color: var(--eh-terracotta);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--eh-espresso);
  border-color: var(--eh-espresso);
  color: #fff;
}
.btn-outline-primary {
  color: var(--eh-espresso);
  border-color: var(--eh-espresso);
}
.btn-outline-primary:hover {
  background-color: var(--eh-espresso);
  border-color: var(--eh-espresso);
  color: #fff;
}
.btn-outline-light:hover { color: var(--eh-espresso); }

/* ---------- Header ---------- */
.site-header { box-shadow: 0 2px 24px rgba(21, 15, 11, 0.1); background: rgba(250,245,236,.97); }
.site-header .navbar { padding-top: .5rem; padding-bottom: .5rem; }
.brand-title { display: block; font-size: 1.5rem; color: var(--eh-espresso); line-height: 1.1; letter-spacing: 0; }
.brand-sub { display: block; font-family: 'Manrope', sans-serif; font-size: .62rem; letter-spacing: .16em; color: var(--eh-terracotta); text-transform: uppercase; margin-top: .2rem; font-weight: 600; }
.navbar-nav .nav-link { color: var(--eh-text); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--eh-terracotta); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--eh-sand-dark);
  border-radius: 2px;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 700;
}
.lang-switch-item { padding: .3rem .55rem; color: var(--eh-text); text-decoration: none; }
.lang-switch-item.active { background: var(--eh-espresso); color: #fff; }
.lang-switch-item:hover { color: var(--eh-terracotta); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,15,11,.55) 0%, rgba(21,15,11,.35) 40%, rgba(21,15,11,.9) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 5.5rem; }
.hero-eyebrow {
  color: var(--eh-terracotta-light);
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 500; line-height: 1.05; max-width: 820px; }
.hero-sub { font-size: 1.1rem; color: #e7ddd0; max-width: 560px; margin-top: 1.1rem; }
.hero-stats { margin-top: 2.6rem; gap: 2.4rem; }
.hero-stat-num { font-family: var(--eh-serif); font-size: 2.1rem; color: var(--eh-terracotta-light); font-weight: 600; line-height: 1; }
.hero-stat-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #cfc3b4; margin-top: .3rem; }
.hero-scroll {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 2;
  writing-mode: vertical-rl;
  color: #cfc3b4;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 992px) { .hero-scroll { display: flex; align-items: center; gap: .7rem; } }

/* ---------- О отеле ---------- */
.about-figure { position: relative; }
.about-figure-img-wrap { aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; }
.about-figure-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-figure-badge {
  position: absolute;
  bottom: -1.6rem;
  left: -1.6rem;
  background: var(--eh-espresso);
  color: #fff;
  padding: 1.4rem 1.7rem;
  border-radius: 3px;
  font-family: var(--eh-serif);
  box-shadow: 0 18px 40px rgba(21,15,11,.25);
}
.about-figure-badge .num { font-size: 2rem; font-weight: 600; color: var(--eh-terracotta-light); line-height: 1; }
.about-figure-badge .lbl { font-family: 'Manrope', sans-serif; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #cfc3b4; margin-top: .2rem; }

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  padding: .3rem 0;
}
.amenity-chip i { color: var(--eh-terracotta); font-size: 1rem; }

/* ---------- Номера ---------- */
.room-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(36,26,20,.08);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(36,26,20,.14); }
.room-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-card-area {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(21,15,11,.72);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .3rem .65rem;
  border-radius: 2px;
}
.room-card-body { padding: 1.5rem 1.5rem 1.6rem; }
.room-card-title { font-family: var(--eh-serif); font-size: 1.35rem; color: var(--eh-espresso); }
.room-card-feat { font-size: .8rem; color: #6b6055; margin-bottom: 1rem; }
.room-card-feat li { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.room-card-feat i { color: var(--eh-terracotta); }
.room-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--eh-sand); padding-top: 1rem; margin-top: 1rem; }
.room-price-from { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: #8c8175; }
.room-price { font-family: var(--eh-serif); font-size: 1.5rem; color: var(--eh-espresso); font-weight: 600; }
.room-price span { font-size: .78rem; font-family: 'Manrope', sans-serif; font-weight: 500; color: #8c8175; }

/* ---------- Услуги / порядок проживания ---------- */
.policy-card {
  background: #fff;
  border-radius: 3px;
  padding: 1.7rem 1.6rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(36,26,20,.06);
}
.policy-card i { color: var(--eh-terracotta); font-size: 1.5rem; margin-bottom: .8rem; display: block; }
.policy-card h3 { font-size: 1.1rem; }
.policy-card .val { font-family: var(--eh-serif); font-size: 1.3rem; color: var(--eh-espresso); }

/* ---------- Галерея / фото деталей ---------- */
.gallery-thumb { border-radius: 3px; overflow: hidden; aspect-ratio: 1/1; cursor: zoom-in; position: relative; display: block; border: 0; padding: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb::after {
  content: '\f52d';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: .6rem; right: .6rem;
  width: 30px; height: 30px;
  background: rgba(21,15,11,.6);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-thumb:hover::after { opacity: 1; }

/* ---------- Лайтбокс ---------- */
.eh-lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(15, 10, 7, .92);
  display: none;
  align-items: center; justify-content: center;
  padding: 3rem 1rem;
}
.eh-lightbox.is-open { display: flex; }
.eh-lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.eh-lightbox-close, .eh-lightbox-prev, .eh-lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .2s ease;
}
.eh-lightbox-close:hover, .eh-lightbox-prev:hover, .eh-lightbox-next:hover { background: rgba(255,255,255,.22); }
.eh-lightbox-close { top: 1.5rem; right: 1.5rem; }
.eh-lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.eh-lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 767.98px) {
  .eh-lightbox-prev { left: .5rem; }
  .eh-lightbox-next { right: .5rem; }
  .eh-lightbox-close { top: .5rem; right: .5rem; }
}

/* ---------- Расположение / контакты ---------- */
.location-card-title { font-family: var(--eh-serif); font-size: 1.7rem; color: var(--eh-espresso); margin-bottom: 1rem; font-weight: 500; }
.location-card {
  background: #fff;
  border-radius: 3px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 10px 30px rgba(36,26,20,.06);
  display: flex;
  flex-direction: column;
}
.location-card .map-frame { flex: 1 1 auto; }
.contact-card {
  background: var(--eh-espresso);
  color: #f1e9dc;
  border-radius: 3px;
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
}
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--eh-terracotta-light); }
.contact-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-row i { color: var(--eh-terracotta-light); font-size: 1.15rem; margin-top: .15rem; }
.map-frame { border-radius: 3px; overflow: hidden; min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--eh-espresso-deep); color: #cfc3b4; }
.footer-heading { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-link { color: #cfc3b4; text-decoration: none; }
.footer-link:hover { color: var(--eh-terracotta-light); }
.footer-links li { margin-bottom: .5rem; }
.footer-compliance-note { color: #e9dfd0; opacity: 1; margin-top: .35rem; }
.footer-compliance-note a { color: #fff; text-decoration: underline; }
.footer-compliance-note a:hover { color: var(--eh-terracotta-light); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: var(--eh-espresso-deep);
  color: #f1e9dc;
  padding: 1.1rem 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  font-size: .86rem;
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .text-navy { color: var(--eh-espresso) !important; }

/* ---------- Политика конфиденциальности ---------- */
.policy-text h2 { font-size: 1.05rem; color: var(--eh-espresso); font-family: 'Manrope', sans-serif; font-weight: 700; }
.policy-text p { color: #4a4038; font-size: .95rem; }
.text-navy { color: var(--eh-espresso) !important; }

@media (max-width: 991.98px) {
  .hero { min-height: 78vh; }
  .about-figure-badge { left: .8rem; bottom: -1.2rem; padding: 1rem 1.2rem; }
}
