:root{
  --bg:#0b1220; 
  --ink:#0f172a; 
  --muted:#f1f5f9; 
  --primary:#2563eb; 
  --primary-700:#1d4ed8;
  --grad: radial-gradient(1000px 600px at 10% 10%, #e0f2fe 0%, #ffffff 45%);
  --shadow: 0 20px 60px rgba(2,6,23,.18);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  line-height:1.65;
  background:#ffffff;
}

/* Layout */
.container{width:min(1200px,92vw);margin:0 auto}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #e2e8f0;
}
.nav{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 0
}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink)}
.brand__logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(180deg,#38bdf8,#2563eb)}
.brand__name{font-weight:900}

/* Menu */
.menu{display:flex;gap:.8rem;align-items:center}
.menu a{color:var(--ink);text-decoration:none;font-weight:700;padding:.5rem .8rem;border-radius:.6rem}
.menu a:hover{background:#f8fafc}

/* Burger */
.burger{display:none;background:none;border:none;font-size:28px;cursor:pointer;color:var(--ink)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.9rem 1.2rem;
  border-radius:1rem;
  background:linear-gradient(180deg,#3b82f6,#1d4ed8);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  box-shadow:var(--shadow);
  transition:transform .2s ease
}
.btn:hover{transform:translateY(-2px)}
.btn--ghost{background:#fff;color:#2563eb;border:2px solid #2563eb;box-shadow:none}

/* ================= HERO ================= */
.hero{
  position:relative;
  overflow:hidden;
  min-height:420px;
}

/* Фоновая волна (за текстом и картинкой) */
.hero__bg{
  position:absolute;
  inset:0;
  background: url("img/19-192777_wave.png") center/cover no-repeat;
  opacity:.25;
  z-index:0;
}

/* Контентная обёртка */
.hero__inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  padding:4rem 0;
}

/* Тексты */
.kicker{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  background:#eff6ff;
  border:1px solid #dbeafe;
  padding:.3rem .6rem;
  border-radius:.6rem;
  color:#1e3a8a;
  font-weight:800
}
.title{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin:.5rem 0}
.lead{font-size:1.15rem;color:#334155;margin:0 0 1rem}
.badges{display:flex;gap:.6rem;flex-wrap:wrap}
.badge{
  border:1px dashed #cbd5e1;
  padding:.3rem .6rem;
  border-radius:.6rem;
  font-weight:800;
  background:#fff;
  color:#334155
}
.hero__buttons{margin-top:1.5rem}



/* Картинка между текстом и кнопками (мобилка) */
.hero__img--mobile{display:none;margin:1.5rem 0}
.hero__img--mobile img{
  max-width:100%;
  border-radius:1rem;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  display:block;
}

/* ================= SECTIONS & CARDS ================= */
.section{padding:3rem 0}
.section--muted{background:#f1f5f9}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.1rem}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;overflow:hidden;box-shadow:var(--shadow)}
.card__img{aspect-ratio:3/4;overflow:hidden}
.card__img img{width:100%;height:100%;object-fit:cover;display:block}
.card__body{padding:1rem}
.chip{background:#e2e8f0;padding:.25rem .55rem;border-radius:.4rem;font-weight:800}
.price{font-size:1.25rem;font-weight:900;color:#1e3a8a}
.old{color:#94a3b8;text-decoration:line-through;margin-left:.5rem}

/* ================= GALLERY ================= */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}
.gallery img{width:100%;border-radius:.8rem;box-shadow:var(--shadow);transition:.25s}
.gallery img:hover{transform:translateY(-4px)}

/* ================= CTA ================= */
.cta{
  background:url('img/banner-city-haze.jpg') center/cover no-repeat;
  border-radius:1.2rem;
  box-shadow:var(--shadow);
  padding:2rem;
  color:#0b1220
}

/* ================= TOPBAR ================= */
.topbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.9rem}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.4rem 0;
  gap:1rem;
  flex-wrap:wrap
}
.topbar__left{color:#334155;font-weight:500}
.topbar__right{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
}
.topbar__right a{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  line-height:1;
  padding:0;
  color:#0f172a;
  text-decoration:none;
  font-weight:500;
}
.topbar__right a:hover{color:#2563eb}
.topbar__right .icon{
  width:16px;
  height:16px;
  display:block;
  margin:0;
}

/* ================= CART ================= */
.cart{display:flex;align-items:center;gap:.3rem;color:#1e293b;text-decoration:none;font-weight:700}
.cart span{background:#1d4ed8;color:#fff;border-radius:9999px;padding:0 .4rem;font-size:.8rem}

/* ================= FOOTER ================= */
.footer {
  background:#0f172a;
  color:#f1f5f9;
}
.footer__inner {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap:2rem;
  padding:2rem 0;
}
.footer h4 {
  margin:.2rem 0 .6rem;
  font-size:1.1rem;
  color:#fff;
}
.footer a {
  color:#cbd5e1;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin:.3rem 0;
}
.footer a:hover {color:#fff}
.footer__col {font-size:.9rem}
.footer__copy {
  border-top:1px solid #1e293b;
  text-align:center;
  padding:.8rem 0;
  color:#94a3b8;
  font-size:.85rem;
  margin-top:1rem;
}
.footer__col p {
  margin:.3rem 0;
  display:flex;
  align-items:center;
  gap:.6rem;
}

/* ===== Мобилка: футер строго по центру ===== */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align:center;
  }
  .footer__col {
    text-align:center;
  }
  .footer__col p {
    justify-content:center;
  }
}


/* ================= ICONS ================= */
.icon{width:18px;height:18px;vertical-align:middle;margin:0}

/* ================= BENEFITS ================= */
.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;text-align:center}
.benefit{background:#fff;border-radius:.8rem;padding:1.5rem 1rem;box-shadow:0 6px 20px rgba(0,0,0,.08);transition:transform .2s, box-shadow .2s}
.benefit:hover{transform:translateY(-6px);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.benefit-icon{width:50px;height:50px;margin-bottom:1rem}
.benefit h3{font-size:1rem;margin-bottom:.5rem;color:#1e293b}
.benefit p{font-size:.9rem;color:#475569}

/* ================= ROOMS ================= */
.rooms-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:1000px;margin:0 auto}
.room{text-align:center}
.room img{width:100%;height:180px;object-fit:cover;border-radius:.8rem;box-shadow:0 4px 12px rgba(0,0,0,.08);transition:transform .3s}
.room img:hover{transform:scale(1.05)}
.room figcaption{margin-top:.4rem;font-weight:500;color:#1e293b}

/* ================= ANIMATIONS ================= */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1;transform:none}

/* ================= Floating WhatsApp ================= */
.wa-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  text-decoration:none;
  box-shadow:0 12px 24px rgba(0,0,0,.2);
  z-index:80
}

/* ================= WhatsApp button ================= */
.btn-whatsapp{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#25D366;
  color:#fff;
  padding:.6rem 1.2rem;
  border-radius:.6rem;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  transition:background .2s ease;
  min-width:180px;
  text-align:center;
}
.btn-whatsapp:hover{background:#1ebe5d}
.btn-whatsapp__top{font-size:.75rem;font-weight:400;opacity:.9}
.btn-whatsapp__bottom{display:flex;align-items:center;font-size:1rem;font-weight:700}

/* ================== ADAPTIVE ================== */

/* Планшеты */
@media (max-width:920px){
  .badges{justify-content:center}
  .btn{margin:.3rem}
}

/* Мобильные — бургер */
@media (max-width:768px){
  .burger{display:block}

  /* Прячем горизонтальное меню под бургер */
  .header .menu{
    display:none !important;
    flex-direction:column;
    gap:1rem;
    background:#fff;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    padding:1rem;
    border-top:1px solid #e2e8f0;
    box-shadow:0 6px 20px rgba(0,0,0,.1);
    z-index:100;
  }
  /* Показываем, когда навешан класс .show */
  .header .menu.show{display:flex !important}

  /* Hero в колонку, картинка справа скрыта, мобильная вставлена в текст */
  .hero__inner{flex-direction:column;text-align:center;gap:1.5rem}
  .hero__img--desktop{display:none}
  .hero__img--mobile{display:block}
}

/* Смартфоны */
@media (max-width:640px){
  .btn{margin:.4rem 0;width:100%;max-width:320px}

  .topbar__inner{flex-direction:column;text-align:center;gap:.5rem}

  .benefits-grid{grid-template-columns:1fr 1fr;gap:1rem}
  .rooms-grid{grid-template-columns:1fr 1fr;gap:.8rem}
  .room img{height:140px}

  .grid{grid-template-columns:1fr}
  form div{grid-template-columns:1fr !important}

  .footer__inner{grid-template-columns:1fr;text-align:center}
  .footer__col{text-align:center}
}


.hero__img--desktop img {
  width: 100%;
  max-width: 768px;        /* ограничиваем картинку */
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  display: block;
}

@media (max-width: 640px) {
  .footer__col p {
    display: flex;
    justify-content: center;  /* центрируем иконку + текст по горизонтали */
    align-items: center;      /* выравниваем по вертикали */
    gap: 6px;                 /* расстояние между иконкой и текстом */
    margin: 0.4rem 0;         /* равномерные отступы */
  }

  .footer__col p a {
    text-align: center;       /* сам текст ссылки по центру */
    display: inline-block;
  }
}
@media (max-width: 640px) {
  .footer__col p {
    display: flex;
    justify-content: center;   /* центрируем горизонтально */
    align-items: center;       /* выравниваем иконку и текст по вертикали */
    gap: 8px;                  /* расстояние между иконкой и текстом */
    margin: 0.4rem 0;
    text-align: center;
  }

  .footer__col p i {
    margin: 0;                 /* убираем лишние отступы у иконок */
    min-width: 18px;           /* фиксируем ширину для выравнивания */
    text-align: center;
  }

  .footer__col p a {
    display: inline-block;
    text-align: center;
  }
}
/* ===== Мобилка: футер строго по центру ===== */
@media (max-width: 640px) {
  .footer__inner{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;   /* центрируем колонки */
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .footer__col{
    width: 100%;
    max-width: 420px;
    text-align: center !important;
    margin: 0 auto;
  }

  .footer__col h4{
    text-align: center !important;
    margin-bottom: .6rem;
  }

  .footer__col p{
    display: flex !important;
    justify-content: center !important;  /* иконка + текст по центру */
    align-items: center !important;
    gap: 8px;
    margin: .4rem 0;
  }

  .footer__col p i{
    margin: 0;
    min-width: 18px;     /* фикс для ровного выравнивания иконок */
    text-align: center;
  }

  .footer__col p a{
    display: inline-block;
    text-align: center !important;
  }
}

