@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600&display=swap');


:root{
    --bg: #0b0d10;          /* почти черный */
    --panel: #0f1216;       /* графит */
    --panel2:#12161c;
    --text: #e9edf3;
    --muted:#a9b2bf;
    --gold:#d6b15a;         /* золото */
    --gold2:#b8903f;
    --stroke: rgba(214,177,90,.18);
    --line: rgba(255,255,255,.08);
    --shadow: 0 18px 40px rgba(0,0,0,.55);
    --radius: 18px;
    --radius2: 26px;
    --max: 1120px;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Cormorant Garamond', serif;
  }
  h1, h2, h3, .hero__title, .section__title {
    font-family: var(--font-title);
    text-transform: none; /* Гарамон лучше смотрится в обычном регистре */
  }
  
  *{ box-sizing:border-box; }
  html,body{ height:100%; }
  html {
  scroll-behavior: smooth;
}
  body{
    margin:0;
    padding-top: 74px;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
      radial-gradient(1000px 600px at 20% -10%, rgba(214,177,90,.14), transparent 60%),
      radial-gradient(900px 520px at 90% 10%, rgba(214,177,90,.08), transparent 55%),
      linear-gradient(180deg, #07080a 0%, var(--bg) 60%);
  }
  
  a{ color: inherit; text-decoration: none; }
  a:hover{ opacity: .92; }
  
  .container{
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
  }
  
  .header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    background: rgba(7,8,10,.45);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background .2s ease, box-shadow .2s ease;
  }
  .header.is-scrolled {
    background: rgba(11, 13, 16, 0.7); /* Твой темный цвет с прозрачностью */
    backdrop-filter: blur(12px); /* Размытие фона под шапкой */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(214, 177, 90, 0.2); /* Тонкая золотая линия */
    padding: 12px 0;
  }
  
  .header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    padding: 14px 0;
  }
  
  .brand{
    display:flex;
    align-items:center;
    gap: 10px;
  }
  .brand__mark{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display:grid;
    place-items:center;
    font-weight: 800;
    letter-spacing: .5px;
    color: #0b0d10;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold2) 100%);
    box-shadow: 0 12px 30px rgba(214,177,90,.18);
  }
  .brand__text{ display:flex; flex-direction:column; line-height:1.05; }
  .brand__name{ font-weight: 700; letter-spacing: .2px; }
  .brand__sub{ font-size: 12px; color: var(--muted); margin-top: 3px; }
  /* ===== Logo ===== */
.brand__logo{
  height: 60px;       /* регулируешь размер тут */
  width: auto;        /* сохраняет пропорции */
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(214,177,90,.25));
}
  .nav{
    display:flex;
    gap: 18px;
    align-items:center;
  }
  .nav a{
    font-size: 14px;
    color: rgba(233,237,243,.92);
    padding: 8px 10px;
    border-radius: 10px;
  }
  .nav a:hover{
    background: rgba(255,255,255,.06);
  }
  
  .header__actions{
    display:flex;
    align-items:center;
    gap: 10px;
  }
  .lang-simple{
    display:flex;
    align-items:center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: .6px;
  }
  
  .lang-simple button{
    background:none;
    border:none;
    color: rgba(233,237,243,.75);
    cursor:pointer;
    font-size: 13px;
    padding: 4px 2px;
    transition: color .15s ease;
  }
  
  .lang-simple button:hover{
    color: white;
  }
  
  .lang-simple button.active{
    color: var(--gold);
  }
  
  .lang-simple span{
    color: rgba(233,237,243,.35);
  }
  
  .lang--premium .lang__btn{
    height: 46px;
    padding: 0 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 34px rgba(0,0,0,.35);
  }
  .lang__flag{ font-size: 16px; opacity: .95; }
  .lang__current{ display:flex; flex-direction:column; align-items:flex-start; line-height:1.05; }
  .lang__code{ font-weight: 900; letter-spacing: .6px; }
  .lang__name{ font-size: 12px; color: var(--muted); margin-top: 3px; }
  
  .lang__menu{
    min-width: 220px;
    border-radius: 18px;
    padding: 10px;
    background: rgba(10,12,16,.94);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 60px rgba(0,0,0,.6);
    transform-origin: top right;
    animation: pop .14s ease;
  }
  @keyframes pop { from { transform: translateY(-6px) scale(.98); opacity: .0; } to { transform: none; opacity: 1; } }
  
  .lang__item{
    padding: 12px 12px;
    border-radius: 14px;
  }
  .lang__item .row{
    display:flex; align-items:center; justify-content:space-between; gap: 10px;
  }
  .lang__item .left{ display:flex; flex-direction:column; align-items:flex-start; }
  .lang__item strong{ font-size: 14px; }
  .lang__item small{ font-size: 12px; color: var(--muted); margin-top: 3px; }
  
  .lang__item[aria-selected="true"]{
    background: rgba(214,177,90,.12);
    border-color: rgba(214,177,90,.22);
  }
  
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn:active{ transform: translateY(1px); }
  .btn--gold{
    position: relative;
    overflow: hidden; /* Чтобы блик не выходил за границы */
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold2) 100%);
    color: #0b0d10;
    border-color: rgba(214,177,90,.35);
    box-shadow: 0 16px 35px rgba(214,177,90,.15);
  }
  .btn--gold::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: rotate(30deg);
    /* Анимация раз в 5 секунд */
    animation: shine 5s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    20% { left: 150%; } /* Быстрый проход луча */
    100% { left: 150%; } /* Долгая пауза до следующего цикла */
}
  .btn--ghost{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.10);
    color: var(--text);
  }
  .btn--sm{ padding: 9px 12px; border-radius: 12px; font-size: 13px; }
  
  /* Фикс отображения: если есть атрибут [hidden], меню гарантированно скрыто */
  .mobile {
    position: fixed;
    top: 0; /* Начинаем от самого верха */
    left: 0;
    width: 100%;
    height: 100vh;
    /* Вместо прозрачности ставим жесткий цвет из твоих переменных */
    background-color: #0b0d10 !important; 
    /* Добавляем тот же градиент, что и на основном сайте для гармонии */
    background-image: radial-gradient(1000px 600px at 20% -10%, rgba(214,177,90,.14), transparent 60%);
    
    z-index: 9998; /* Чуть ниже основного хедера, если нужно, или выше всех */
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* Отступ под шапку */
    transition: transform 0.3s ease-in-out;
}



.burger {
  display: none; /* Скрыт на десктопе */
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  position: relative;
  z-index: 10000; /* Поверх всего */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Анимация бургера в крестик */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0b0d10 !important; /* Твой основной темный фон */
  background-image: radial-gradient(1000px 600px at 20% -10%, rgba(214,177,90,.14), transparent 60%);
  z-index: 9999;
  padding-top: 80px; /* Чтобы ссылки не заезжали под шапку */
  display: flex;
  flex-direction: column;
}

.mobile[hidden] {
  display: none !important;
}

.mobile__inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile__inner a {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--text) !important;
}

/* --- В блоке @media (max-width: 980px)  --- */
@media (max-width: 980px) {
  .nav { display: none !important; }
  .burger { display: flex !important; }
  .header__actions .btn { display: none; } /* Скрываем кнопку 'Book' в шапке, если она мешает */
}
  
  .hero{ position: relative; overflow: hidden; padding: 76px 0 26px; }
  .hero__bg{ position:absolute; inset:0; z-index:0; }
  .hero__video{
    width:100%; height:100%;
    object-fit: cover;
    filter: contrast(1.05) brightness(.7);
  }
  .hero__overlay{
    position:absolute; inset:0;
    background:
      radial-gradient(1000px 600px at 20% 10%, rgba(214,177,90,.18), transparent 60%),
      linear-gradient(180deg, rgba(7,8,10,.25), rgba(7,8,10,.85));
  }
  .hero__grid{ position: relative; z-index: 1; }
  /* ===== Full-width HERO ===== */
.hero--full{
    position: relative;
    min-height: calc(100vh - 74px); /* с учетом fixed header (body padding-top) */
    display: grid;
    place-items: center;
    padding: 72px 0 48px;
    overflow: hidden;
  }
  
  .hero--full .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("img/hero/31.jpg");
    background-size: cover;
    background-position: center;
    /* Добавляем анимацию */
    animation: kenburns 20s infinite alternate ease-in-out;
    will-change: transform;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}
  
  .hero--full .hero__overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
  
    /* затемнение + "кино" эффект */
    background:
      radial-gradient(1000px 600px at 20% 10%, rgba(214,177,90,.14), transparent 55%),
      linear-gradient(180deg, rgba(7,8,10,.10) 0%, rgba(7,8,10,.72) 60%, rgba(7,8,10,.92) 100%);
  }
  
  .hero--full .hero__inner {
    position: relative;
    z-index: 2;
    text-align: left;
    
    /* Усиливаем эффект: 1.5 секунды и задержка 0.2с, чтобы глаз успел зацепиться */
    animation: heroFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes heroFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(60px); /* Увеличили расстояние */
        filter: blur(10px); /* Добавили легкое размытие на старте для мягкости */
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
        filter: blur(0);
    }
}
/* Заголовок появляется первым */
.hero--full .hero__title { animation: heroFadeIn 1.2s ease-out 0.3s backwards; }

/* Текст — вторым */
.hero--full .hero__lead { animation: heroFadeIn 1.2s ease-out 0.5s backwards; }

/* Кнопки — последними */
.hero--full .hero__cta { animation: heroFadeIn 1.2s ease-out 0.7s backwards; }
  
  .hero--full .hero__title {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.0;
    margin: 0 0 14px;
    letter-spacing: -0.9px;
    max-width: 16ch;
    /* Красивый перенос текста */
    text-wrap: balance; 
}
  
  .hero--full .hero__lead{
    color: rgba(233,237,243,.88);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 62ch;
  }
  
  .hero--full .hero__cta{
    display:flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  
  .hero--full .hero__meta{
    display:flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
  }
  
  .hero--full .hero__stats{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 640px;
  }
  
  .hero--full .meta,
  .hero--full .stat{
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
  }
  
  @media (max-width: 980px){
    .hero--full{
      min-height: auto;
      padding: 54px 0 34px;
    }
    .hero--full .hero__title{
      max-width: 100%;
    }
    .hero--full .hero__stats{
      grid-template-columns: 1fr;
      max-width: 520px;
    }
  }
  
  
  .badge{
    display:inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(214,177,90,.10);
    border: 1px solid var(--stroke);
    color: rgba(233,237,243,.95);
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 14px;
  }
  
  h1{
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.02;
    margin: 0 0 14px;
    letter-spacing: -0.6px;
  }
  .lead{
    color: rgba(233,237,243,.86);
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 52ch;
  }
  
  .hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; }
  
  .hero__meta{
    margin-top: 20px;
    display:flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .meta{
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 10px 12px;
    min-width: 120px;
  }
  .meta__k{ display:block; color: var(--muted); font-size: 12px; }
  .meta__v{ display:block; font-weight: 700; margin-top: 4px; }
  
  .frame{
    position: relative;
    border-radius: var(--radius2);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: var(--shadow);
  }
  .frame__img{
    height: 360px;
    background:
      radial-gradient(450px 300px at 20% 20%, rgba(214,177,90,.18), transparent 60%),
      radial-gradient(520px 320px at 90% 10%, rgba(255,255,255,.10), transparent 65%),
      linear-gradient(135deg, #151a22, #0e1116);
  }
  .frame__glass{
    position:absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 18px;
    padding: 14px 14px;
    background: rgba(10,12,16,.55);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
  }
  .glass__title{ font-weight: 800; letter-spacing: .2px; }
  .glass__text{ color: var(--muted); font-size: 13px; margin-top: 3px; }
  
  .stats{
    margin-top: 14px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat{
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 12px 12px;
  }
  .stat__num{ font-weight: 900; letter-spacing: .2px; }
  .stat__lbl{ color: var(--muted); font-size: 12px; margin-top: 4px; }
  
  .section{
    padding: 42px 0;
  }
  .section__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap: 14px;
    margin-bottom: 18px;
  }
  .section__head h2{
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.3px;
  }
  .muted{ color: var(--muted); }
  
  .grid3{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  
  .card{
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
  }
  .card h3{ margin: 0 0 8px; }
  .card p{ margin: 0; line-height: 1.55; }
  
  .rooms{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .room{
    display:grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 14px;
    padding: 14px;
  }
  .room__media{
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    min-height: 170px;
  }
  .placeholder{
    background:
      radial-gradient(380px 260px at 20% 20%, rgba(214,177,90,.15), transparent 60%),
      linear-gradient(135deg, #151a22, #0e1116);
  }
  .room__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
  }
  .pill{
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(214,177,90,.10);
    border: 1px solid var(--stroke);
    color: rgba(233,237,243,.92);
  }
  .list{
    margin: 10px 0 14px;
    padding-left: 18px;
    color: rgba(233,237,243,.85);
  }
  .list li{ margin: 6px 0; }
  
  .room__bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .price__k{ color: var(--muted); font-size: 13px; }
  .price__v{ font-weight: 900; letter-spacing: .2px; margin: 0 6px; }
  
  /* my comment
  .gallery{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  */
  .ph{
    height: 180px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background:
      radial-gradient(420px 260px at 30% 30%, rgba(214,177,90,.14), transparent 62%),
      radial-gradient(520px 280px at 90% 10%, rgba(255,255,255,.10), transparent 65%),
      linear-gradient(135deg, #151a22, #0e1116);
  }
  
  .booking{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .booking__actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
  .hint{
    margin-top: 12px;
    color: rgba(233,237,243,.72);
    font-size: 13px;
    line-height: 1.55;
  }
  
  .embed{
    border-radius: 18px;
    border: 1px dashed rgba(214,177,90,.28);
    background: rgba(214,177,90,.06);
    padding: 18px;
    min-height: 220px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .embed__title{ font-weight: 800; }
  .embed__text{ color: rgba(233,237,243,.78); margin-top: 6px; line-height: 1.55; }
  
  .contact{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .kv{
    margin-top: 12px;
    display:grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 12px;
  }
  .kv__k{ color: var(--muted); font-size: 13px; }
  .kv__v a{ text-decoration: underline; text-decoration-color: rgba(214,177,90,.35); }
  
  .social{ display:flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
  
  .footer{
    padding: 26px 0 40px;
    border-top: 1px solid var(--line);
    background: rgba(7,8,10,.55);
  }
  .footer__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 14px;
  }
  .footer__brand{ font-weight: 800; }
  .footer__muted{ color: var(--muted); font-size: 13px; margin-top: 4px; }
  
  @media (max-width: 980px){
    .hero__grid{ grid-template-columns: 1fr; }
    .frame__img{ height: 320px; }
    .grid3{ grid-template-columns: 1fr; }
    .rooms{ grid-template-columns: 1fr; }
    .room{ grid-template-columns: 1fr; }
    .gallery{ grid-template-columns: 1fr 1fr; }
    .booking{ grid-template-columns: 1fr; }
    .contact{ grid-template-columns: 1fr; }
    .nav{ display:none; }
    .burger{ display:inline-flex; flex-direction:column; justify-content:center; }
  }
  
  @media (max-width: 520px){
    .gallery{ grid-template-columns: 1fr; }
    .mobile__cta{ flex-direction: column; }
  }
  
  /* Состояние элементов до появления */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.0s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* Состояние после появления */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Контейнер карты */
.contact__map {
    padding: 0 !important; /* Убираем внутренние отступы карточки, чтобы карта была во весь блок */
    overflow: hidden;
    height: 400px; /* Фиксированная высота для десктопа */
}

.embed {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--bg-card); /* Цвет заглушки пока грузится карта */
}

.embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Тот самый фильтр для стиля "Dark Luxury" */
    filter: grayscale(1) invert(0.9) contrast(1.2) brightness(0.9);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* При наведении карта плавно оживает и становится цветной */
.contact__map:hover iframe {
    filter: grayscale(0) invert(0) contrast(1) brightness(1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .contact__map {
        height: 300px; /* Чуть меньше на телефонах */
    }
    
    /* На мобильных лучше оставить карту чуть более читаемой сразу */
    .embed iframe {
        filter: grayscale(0.5) invert(0.9) brightness(0.8);
    }
}

.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25d366; /* Цвет WhatsApp */
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 99;
  transition: transform 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.1) rotate(10deg);
}

@media (max-width: 520px) {
  .wa-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }
}


#block-search,
#block-search * {
  box-sizing: border-box;
}

#block-search {
  max-width: 1360px;
  margin: 0 auto;
  background: #33312e;
  border-radius: 12px;
}

#block-search.block-search--main {

  margin: 0;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(6px);
}

.be-container {
  padding: 0 30px;
}


/* highlights new */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--muted);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px;
  border: 1px solid #eee;
}

.location__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.loc-list-group ul {
  list-style: none;
  padding: 0;
}

.loc-list-group li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.bg-dark { background: #1a1a1a; color: #fff; padding: 80px 0; }
.inverted { color: #fff; }
.mt-60 { margin-top: 60px; }

@media (max-width: 768px) {
  .about__grid, .grid3, .location__layout { grid-template-columns: 1fr; }
}



/* --- 1. Intro Premium Section --- */
.intro-premium {
  padding: 100px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about__badges {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.badge-gold {
  background: var(--gold);
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.badge-outline {
  border: 1px solid #ddd;
  padding: 5px 15px;
  font-size: 12px;
  color: var(--muted);
}

.about__title-main {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.1;
}

.about__lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  max-width: 500px;
}

.divider-gold {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-top: 40px;
}

/* --- 2. Amenities (Icons) --- */
.amenities {
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.amenities__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amenity-icon {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 15px;
}

.amenity-item h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

.amenity-item p {
  font-size: 14px;
  color: var(--muted);
}

/* --- 3. Location Brief --- */
.location-brief {
  padding: 100px 0;
}

.location__flex {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.location__points {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.point {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #f0f0f0;
  padding-left: 25px;
  transition: border-color 0.3s ease;
}

.point:hover {
  border-color: var(--gold);
}

.point strong {
  font-size: 16px;
  margin-bottom: 5px;
}

.point span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Адаптив --- */
@media (max-width: 992px) {
  .about__grid, .location__flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .amenities__row {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Тот самый недостающий класс для отображения фото */
.main-photo {
  width: 100%;
  height: 600px; /* Фиксированная высота для десктопа */
  background-image: url('img/exterior.jpg'); /* ПРОВЕРЬ ПУТЬ ТУТ */
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  box-shadow: 20px 20px 0px rgba(212, 175, 55, 0.1); /* Золотистая тень-подложка */
  position: relative;
  z-index: 1;
}

/* Контейнер для фото, чтобы тень и позиционирование работали корректно */
.about__image-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .main-photo {
    height: 400px; /* Уменьшаем высоту на мобильных */
  }
}

/* rooms */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px; /* Фиксированная высота рядов */
  gap: 20px;
  margin-top: 50px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
  border-radius: 4px;
}

/* King Suite занимает 2 ряда в высоту и 1 в ширину */
.main-suite {
  grid-row: span 2;
}

.bento-item__image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}

.bento-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7; /* Затемняем, чтобы текст читался */
  transition: transform 0.8s ease, opacity 0.4s ease;
}

.bento-item__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Текст внизу */
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.bento-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.bento-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 250px;
}

/* Эффекты при наведении */
.bento-item:hover .bento-item__image img {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-room {
  margin-top: 15px;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
}

/* Адаптивность */
@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;
  }
  .main-suite {
    grid-row: span 1;
  }
}

/* Основной контейнер модалки */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Темный фон вокруг */
  backdrop-filter: blur(10px);
  z-index: 9999;
  overflow-y: auto; /* Позволяет скроллить ВСЮ модалку, если она не влезает */
  padding: 20px;
}

.modal.is-active {
  display: flex; /* Центрируем контент */
  align-items: center;
  justify-content: center;
}

/*  контейнер контента */
.modal__content {
  background: #fff;
  width: 95%;
  max-width: 1200px;
  margin: auto;
  display: flex; 
  flex-wrap: nowrap;
  border-radius: 0;
  position: relative;
  max-height: 90vh; 
}

/* Левая часть (Слайдер) */
.modal__slider {
  flex: 0 0 60%; 
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Фото заполнит блок без искажений */
}

/* Инфо (правая часть) */
.modal__info {
  flex: 0 0 40%; /* Занимает оставшиеся 40% */
  padding: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* Если текста много, он будет скроллиться только тут */
}

.modal__info h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #000; /* Максимальный контраст */
  font-weight: 400;
}

.modal__info p {
  color: #444; /* Темно-серый, читабельный */
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Список удобств */
.modal__features {
  list-style: none;
  padding: 20px 0;
  margin-bottom: 30px;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.modal__features li {
  font-size: 14px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
}

.modal__features li::before {
  content: "✦";
  color: var(--gold);
  margin-right: 10px;
}

/* Кнопка забронировать */
.btn-book-now {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 18px 30px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: auto; /* Прижимает кнопку к низу */
}

.btn-book-now:hover {
  background: #c5a03e; /* Чуть темнее при наведении */
}

/* Кнопка закрытия — теперь она ВСЕГДА видна */
.modal__close {
  position: absolute;
  top: -40px; /* Выносим за пределы белого блока на темный фон */
  right: 0;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
/* Стрелки слайдера */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  transition: 0.3s;
}
.slider-btn:hover { background: var(--gold); }
.slider-btn.next { right: 0; }
.slider-btn.prev { left: 0; }

/* Мобильная адаптация */
@media (max-width: 992px) {
  .modal__content {
      flex-direction: column; /* Стеком друг под другом */
      max-height: 95vh;
  }
  .modal__slider, .modal__info {
      flex: 0 0 100%;
  }
  .modal__slider { height: 300px; }
  .modal__close { top: 10px; right: 10px; color: #000; } /* На мобилках возвращаем внутрь */
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 15px;
  margin-top: 50px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Эффекты при наведении */
.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* Специфические размеры для Bento */
.gallery__item.tall {
  grid-row: span 2;
}

.gallery__item.wide {
  grid-column: span 2;
}

/* Адаптивность */
@media (max-width: 992px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery__item.tall, .gallery__item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 равные колонки */
  grid-auto-rows: 250px;
  gap: 20px;
  margin-top: 50px;
  width: 100%; /* ГАРАНТИРУЕТ растягивание на всю ширину контейнера */
}

