/* ============================================================
   ПРИСТАНЬ — отель у моря
   Тон: песок и вода. Светлый тёплый фон, глубокий морской
   на действиях, антиква в заголовках. Первый экран — не фото,
   а горизонт из нескольких волн: спокойно и без стока.
   ============================================================ */

:root {
  --sand: #f7f2e8;
  --sand-2: #efe6d6;
  --ink: #1d2622;
  --muted: #5c6761;
  --line: #ddd2be;
  --sea: #17605e;
  --sea-2: #0f4948;
  --sea-soft: #3f9b96;

  --display: "Playfair Display", Georgia, serif;
  --body: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;

  --cart-bg: #fffdf8;
  --cart-fg: var(--ink);
  --cart-shadow: -22px 0 70px rgba(29, 38, 34, 0.26);

  --gut: clamp(16px, 4.5vw, 60px);
  --sec-y: clamp(52px, 7vw, 104px);
}

body { background: var(--sand); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.62; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; }
.kicker { margin-bottom: 18px; color: var(--sea); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.p { max-width: 34em; margin-bottom: 14px; color: var(--muted); }

/* ── Кнопки ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: 999px;
  background: transparent;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.22s, color 0.22s, border-color 0.22s;
}
.btn--lg { padding: 17px 36px; font-size: 15px; }
.btn--sm { padding: 9px 17px; font-size: 12.5px; }
.btn--full { width: 100%; }
.btn--sea { background: var(--sea); color: #fdfbf6; }
.btn--sea:hover { background: var(--sea-2); }
.btn--sea:disabled { background: #c9c0af; cursor: not-allowed; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--sea); color: var(--sea); }
.btn__q:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: rgba(255,255,255,0.24); font-size: 11px; }
[data-add][data-in-cart] { background: var(--sea-soft); border-color: var(--sea-soft); color: #06231f; }

/* ── Шапка ──────────────────────────────────────────────── */

.hdr { position: sticky; top: var(--demo-bar-h); z-index: 100; background: rgba(247,242,232,0.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; letter-spacing: 0.16em; text-decoration: none; }
.brand__mark { width: 27px; height: 27px; color: var(--sea); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--sea); }
.hdr__side { display: flex; align-items: center; gap: 12px; }

.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sea); border-radius: 999px; background: none; color: var(--sea); padding: 10px 18px; font-size: 13px; font-weight: 600; }
.cart-btn:hover { background: var(--sea); color: var(--sand); }
.cart-btn__n { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 999px; background: var(--sea); color: var(--sand); font-size: 11px; font-variant-numeric: tabular-nums; }
.cart-btn:hover .cart-btn__n { background: var(--sand); color: var(--sea); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 9px 8px; }
.burger span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; }

@media (max-width: 900px) {
  .hdr__in { position: relative; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: var(--sand); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 16px; margin: 0; }
  .nav[data-open] { display: flex; }
  .nav a { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .hdr__side { margin-left: auto; }
  .burger { display: block; }
}

/* ── Первый экран ───────────────────────────────────────── */

.hero { position: relative; padding-block: clamp(60px, 9vw, 130px) clamp(80px, 12vw, 170px); overflow: hidden; }
.hero__in { position: relative; z-index: 1; max-width: 940px; }
.hero h1 { font-size: clamp(38px, 6.6vw, 78px); }
.hero h1 em { font-style: italic; color: var(--sea); }
.lede { max-width: 34em; margin: 24px 0 34px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }

/* Горизонт: солнце и три волны, нарисованные скруглениями. */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; right: 12%; top: 14%; width: clamp(120px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #f7e2b8, #eccb8c); opacity: 0.55; }
.wave { position: absolute; left: -6%; right: -6%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.wave--1 { bottom: -6%; height: 26%; background: rgba(23, 96, 94, 0.1); }
.wave--2 { bottom: -10%; height: 22%; background: rgba(23, 96, 94, 0.16); }
.wave--3 { bottom: -14%; height: 18%; background: rgba(23, 96, 94, 0.24); }

/* ── Секции ─────────────────────────────────────────────── */

.sec { padding-block: var(--sec-y); }
.sec--deep { background: var(--sea); color: #d7e6e3; }
.sec--sand { background: var(--sand-2); }
.sec__head { max-width: 44em; margin-bottom: clamp(24px, 3vw, 40px); }
.sec__head h2 { font-size: clamp(28px, 4vw, 46px); }
.sec__head p { margin-top: 14px; color: var(--muted); }
.sec__head--light h2 { color: #fff; }
.sec__head--light p { color: #c1d6d3; }

.filters { margin-bottom: 28px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__l { min-width: 62px; color: var(--muted); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; background: none; color: var(--muted); font-size: 13.5px; transition: all 0.2s; }
.chip:hover { border-color: var(--sea); color: var(--sea); }
.chip[data-on] { background: var(--sea); border-color: var(--sea); color: var(--sand); }

/* ── Номера ─────────────────────────────────────────────── */

.rooms { display: grid; gap: 22px; }
.room { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.room:hover { border-color: var(--sea-soft); }
.room__b { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.room h3 { font-size: 21px; margin-bottom: 7px; }
.room__d { color: var(--muted); font-size: 13.5px; }
.room__f { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.room__f li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--muted); font-size: 12px; }
.room__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.room__p { font-family: var(--display); font-size: 22px; }
.room__p i { display: block; margin-top: 2px; font-family: var(--body); color: var(--muted); font-size: 11.5px; font-style: normal; }
.empty { padding: 44px 0; text-align: center; color: var(--muted); }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .rooms { grid-template-columns: repeat(3, 1fr); } }

/* ── Что включено ───────────────────────────────────────── */

.incl { display: grid; gap: 1px; background: rgba(215, 230, 227, 0.22); border: 1px solid rgba(215, 230, 227, 0.22); border-radius: 16px; overflow: hidden; }
.incl li { background: var(--sea); padding: 22px; }
.incl b { display: block; font-family: var(--display); font-size: 20px; color: #fff; margin-bottom: 7px; }
.incl span { color: #c1d6d3; font-size: 14px; }
@media (min-width: 640px) { .incl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .incl { grid-template-columns: repeat(3, 1fr); } }

/* ── Дополнительно ──────────────────────────────────────── */

.extra { display: grid; gap: 10px; }
.extra li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fffdf8; }
.extra li > div { flex: 1 1 240px; }
.extra b { display: block; font-size: 15.5px; }
.extra span { color: var(--muted); font-size: 13px; }
.extra em { font-family: var(--display); font-size: 19px; font-style: normal; }
@media (min-width: 920px) { .extra { grid-template-columns: repeat(2, 1fr); } }

/* ── Бронирование ───────────────────────────────────────── */

.book { display: grid; gap: clamp(28px, 3.5vw, 54px); }
.book h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.book__form { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.6vw, 32px); background: #fffdf8; }
.book__row { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12.5px; }
input { border: 1px solid var(--line); border-radius: 10px; background: var(--sand); color: var(--ink); padding: 12px 14px; font-size: 15px; }
input:focus { outline: 2px solid var(--sea); outline-offset: 0; border-color: var(--sea); }
.book__sum { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.book__sum b { font-family: var(--display); font-size: 27px; }
.legal { color: var(--muted); font-size: 12px; }
@media (min-width: 560px) { .book__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .book { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.done { grid-column: 1 / -1; border: 1px solid var(--sea); border-radius: 18px; padding: 24px; background: #e8f1ef; }
.done__t { font-family: var(--display); font-size: 22px; }
.done__s { margin-top: 8px; color: var(--muted); }
.done__d { margin-top: 14px; color: #83958e; font-size: 13px; }

/* ── Вопросы ────────────────────────────────────────────── */

.faq__h { font-size: clamp(28px, 4vw, 44px); margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; font-family: var(--display); font-size: clamp(17px, 2vw, 21px); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--sea); font-size: 21px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 60em; }

/* ── Панель брони ───────────────────────────────────────── */

.cart__top { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gut) 16px; border-bottom: 1px solid var(--line); }
.cart__top h2 { font-size: 24px; }
.cart__x { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: 20px; line-height: 1; color: var(--ink); }
.cart__x:hover { background: var(--sea); border-color: var(--sea); color: #fff; }
.cart__empty { padding: 32px var(--gut); color: var(--muted); }
.cart__empty a { color: var(--sea); }
.cart__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart__lines { flex: 1; padding: 6px var(--gut); }

.line { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.line__i b { display: block; font-size: 14px; font-weight: 600; }
.line__u { color: var(--muted); font-size: 12px; }
.line__q { display: flex; align-items: center; gap: 4px; }
.line__q button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: 14px; line-height: 1; }
.line__q button:hover { border-color: var(--sea); color: var(--sea); }
.line__q span { min-width: 18px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.line__p { font-weight: 700; font-size: 14px; white-space: nowrap; }
.line__x { width: 26px; height: 26px; border: 0; background: none; color: #b6ab98; font-size: 18px; line-height: 1; }
.line__x:hover { color: var(--sea); }

.cart__sum { padding: 14px var(--gut); border-top: 1px solid var(--line); display: grid; gap: 7px; }
.cart__sum > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--muted); }
.cart__sum--total { padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-size: 18px !important; }
.cart__sum--total dd { font-family: var(--display); }
.cart__note { padding: 0 var(--gut) 12px; color: var(--muted); font-size: 12.5px; }
.cart__body > .btn { margin: 0 var(--gut) calc(var(--gut) + 6px); width: auto; }
.cart__backdrop { position: fixed; inset: 0; z-index: 290; border: 0; }

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

.foot { background: var(--ink); color: #9aa89f; padding-block: clamp(36px, 5vw, 62px); }
.foot__in { display: grid; gap: 28px; }
.foot__brand { font-family: var(--display); font-size: 23px; letter-spacing: 0.16em; color: var(--sand); }
.foot__t { margin-top: 10px; font-size: 13.5px; line-height: 1.7; }
.foot h3 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea-soft); margin-bottom: 12px; font-weight: 600; }
.foot a { display: block; padding: 4px 0; color: #9aa89f; font-size: 14px; text-decoration: none; }
.foot a:hover { color: var(--sand); }
@media (min-width: 700px) { .foot__in { grid-template-columns: 1.7fr 1fr 1fr; } }

.room__pic {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sand-2);
}
