/* karakum.ge — тема «как на Тильде». Цвета и размеры сняты со старого сайта. */

@font-face {
    font-family: "Tilda Sans";
    src: url("../fonts/TildaSans-VF.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

:root {
    --blue: #336699;
    --blue-dark: #2a557f;
    --orange: #cc6633;
    --accent: #ff8562;
    --text: #000;
    --muted: #6f6f6f;
    --gray: #efefef;
    --gray-2: #f3f3f3;
    --header: #a2a2a2;
    --footer: #a3a3a3;
    --line: #dcdcdc;
    --container: 1200px;
    --gutter: 20px;
    --radius-btn: 50px;
    --font: "Tilda Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; font-weight: 300; color: var(--text); background: #fff; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.23; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
hr { border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.anchor { display: block; position: relative; top: -20px; visibility: hidden; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.accent { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }
.container--text { max-width: 1000px; }
.section { padding: 75px 0; }
.section-title { font-size: 36px; text-align: center; }
.section-descr { max-width: 760px; margin: 22px auto 0; font-size: 20px; text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; text-align: center; }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong, .prose b { font-weight: 600; }
.prose a { color: var(--blue); }
.divider { height: 1px; max-width: 760px; margin: 0 auto; background: linear-gradient(90deg, transparent, #c9d6e3, transparent); }

/* ------------------------------------------------------------------ кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 0 40px; border: 2px solid transparent; border-radius: var(--radius-btn); font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.btn svg { width: 16px; height: 16px; }
.btn--sm { min-height: 45px; padding: 0 30px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--orange { background: var(--orange); color: #000; }
.btn--orange:hover { background: #b85a2b; }
.btn--black { background: #000; color: #fff; }
.btn--black:hover { background: #333; }
.btn--gray { background: #e8e8e8; color: #000; }
.btn--gray:hover { background: #dcdcdc; }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: #eef3f8; }
.btn--outline { border-color: #000; color: #000; background: transparent; }
.btn--outline:hover { background: #000; color: #fff; }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: #000; }
.btn--frame { min-height: 45px; padding: 0 30px; border: 1px solid #000; border-radius: 5px; color: #000; font-size: 14px; }
.btn--frame:hover { background: #000; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.btn-row--center { justify-content: center; }
.round-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #000; color: #fff; }
.round-icon svg { width: 17px; height: 17px; }
.round-icon:hover { background: #333; }

/* ------------------------------------------------------------------ шапка (t967) */
.header { position: relative; z-index: 30; background: var(--header); }
.header__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 78px; margin: 0 40px; border-bottom: 1px solid rgba(255,255,255,.65); }
.header__logo img { width: 200px; height: auto; }
.header__right { display: flex; align-items: center; gap: 12px; }
.header__contact { display: flex; flex-direction: column; margin: 0 28px 0 26px; line-height: 1.3; }
.header__phone { color: var(--accent); font-size: 16px; font-weight: 600; text-decoration: none; }
.header__address { font-size: 15px; font-weight: 400; }
.header__booking { min-width: 112px; margin-left: 28px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; }
.header__booking:hover, .header__phone:hover { text-decoration: underline; }
.header__nav ul { display: flex; justify-content: center; gap: 70px; margin: 0; padding: 0; list-style: none; }
.header__nav a { display: block; padding: 14px 0 15px; font-size: 15px; font-weight: 400; color: #000; text-decoration: none; transition: opacity .2s; }
.header__nav a:hover { opacity: .7; }
.header__nav a[aria-current] { opacity: .55; }
.mbar, .mnav { display: none; }

@media (max-width: 979px) {
    html { scroll-padding-top: 74px; }
    .header { position: sticky; top: 0; }
    .menu__tabs { top: 64px; }
    .menu__cat { scroll-margin-top: 130px; }
    .header__top, .header__nav { display: none; }
    .mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 20px; background: var(--header); }
    .mbar__title { color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mbar__burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; }
    .mbar__burger svg { width: 30px; height: 30px; }
    .mbar__close { display: none; }
    .header.is-open .mbar__open { display: none; }
    .header.is-open .mbar__close { display: block; }
    .mnav { position: absolute; left: 0; right: 0; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 24px 20px 30px; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.15); text-align: center; }
    .header.is-open .mnav { display: block; }
    .mnav__logo img { width: 160px; margin: 0 auto 18px; }
    .mnav ul { margin: 0 0 18px; padding: 0; list-style: none; }
    .mnav li a { display: block; padding: 10px 0; font-size: 18px; font-weight: 400; text-decoration: none; }
    .mnav__phone { display: inline-block; color: var(--accent); font-size: 20px; font-weight: 600; text-decoration: none; }
    .mnav__address { margin: 4px 0 18px; font-size: 15px; }
    .mnav__icons { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
    .mnav__icons .round-icon { width: 40px; height: 40px; }
    .mnav__icons .round-icon svg { width: 20px; height: 20px; }
}

/* ------------------------------------------------------------------ обложка */
.cover { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 720px; padding: 90px 0; color: #fff; text-align: center; background: #345; overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(51,102,153,.6), rgba(0,0,0,.55)); }
.cover__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__body { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.cover__eyebrow { margin-bottom: 26px; font-size: 18px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }
.cover__title { max-width: 1000px; margin: 0 auto; font-size: 60px; line-height: 1.17; }
.cover__descr { max-width: 600px; margin: 28px auto 0; font-size: 18px; font-weight: 400; line-height: 1.55; }
.cover__buttons { margin-top: 60px; }
.cover__buttons .btn { min-width: 230px; }
.cover__arrow { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); color: #fff; }
.cover__arrow svg { width: 38px; height: 38px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.cover--home { min-height: 720px; }
.cover--big { min-height: 630px; }
.cover--big .cover__title { font-size: 96px; text-transform: uppercase; line-height: 1.1; max-width: none; }
.cover--menu { min-height: 580px; }
.cover--menu::before, .cover--big::before { background: rgba(0,0,0,.45); }
.cover--logo { min-height: 630px; }
.cover--logo::before { background: rgba(51,102,153,.45); }
.cover__logo img { width: 800px; max-width: 90%; margin: 0 auto; }

/* ------------------------------------------------------------------ главная: корпуса (t686) */
.cards2 { padding: 15px 0 0; }
.cards2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cards2__item { position: relative; display: block; height: 400px; overflow: hidden; color: #fff; text-decoration: none; background: #345; }
.cards2__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cards2__item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); transition: background .3s; }
.cards2__item:hover img { transform: scale(1.04); }
.cards2__item:hover::after { background: rgba(0,0,0,.45); }
.cards2__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.cards2__title { font-size: 32px; font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.cards2__descr { margin-top: 14px; font-size: 14px; font-weight: 400; }
.cards2__btn { margin-top: 26px; background: #ddd; color: #000; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.cards2__item:hover .cards2__btn, .cards2__item:focus-visible .cards2__btn { opacity: 1; transform: none; }
@media (hover: none) { .cards2__btn { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ текст + фото (t478) */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split__title { font-size: 36px; }
.split__line { width: 50px; height: 3px; margin: 26px 0 30px; background: #000; }
.split__text .prose { font-size: 16px; }
.split__btn { margin-top: 50px; min-width: 216px; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__image--tall img { aspect-ratio: 1 / 1.29; }
.split--rooms { padding-top: 15px; }
.split--rooms .split__grid { align-items: center; }
.split--rooms .split__text { padding: 20px 0; }
.split--rooms .split__text .prose { font-size: 16px; line-height: 1.6; }
.split--rooms .split__image img { aspect-ratio: 56 / 45; }

/* ------------------------------------------------------------------ строка «текст + кнопка» (t185) */
.cta-line { padding: 30px 0; }
.cta-line--gray { background: var(--gray-2); }
.cta-line__inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-line__text { margin: 0; font-size: 18px; font-weight: 400; }
.cta-line .btn { min-width: 205px; }
.cta-line--gray .btn { background: linear-gradient(90deg, var(--blue) 70%, #7f9cbd); }
.cta-line--text { padding: 50px 0; }
.cta-line--text .cta-line__inner { justify-content: space-between; flex-wrap: nowrap; }
.cta-line__prose { max-width: 760px; font-size: 18px; font-weight: 400; }
.cta-line--text .btn { flex: none; background: var(--blue); }

/* ------------------------------------------------------------------ «Почему выбирают» (t1050) */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; max-width: 1140px; margin: 80px auto 0; }
.why__item h3 { padding-bottom: 12px; border-bottom: 5px solid #000; font-size: 26px; }
.why__item p { margin-top: 26px; font-size: 14px; line-height: 1.55; }

/* ------------------------------------------------------------------ «Забронируйте» (t589) */
.book-cta { padding-top: 45px; background: var(--gray); overflow: hidden; }
.book-cta__title { color: var(--blue); font-size: 42px; text-align: center; text-transform: uppercase; }
.book-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: 50px; }
.book-cta__text { align-self: center; padding-bottom: 40px; font-size: 20px; font-weight: 400; line-height: 1.55; }
.book-cta__text .btn-row { margin-top: 60px; gap: 10px; }
.book-cta__text .btn { min-width: 330px; }
.book-cta__text .btn--gray { min-width: 195px; }
.book-cta__image img { width: 100%; max-width: 560px; margin-left: auto; }

/* ------------------------------------------------------------------ галереи */
.gallery--grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px; }
.gallery--grid4 .gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--mosaic { display: grid; grid-template-columns: 7fr 2.2fr 4.6fr; grid-auto-rows: 400px; gap: 10px; padding: 10px; }
.gallery--mosaic .gallery__item:nth-child(6n+1), .gallery--mosaic .gallery__item:nth-child(6n+5) { grid-column: span 1; }
.gallery--mosaic .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery--room { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.gallery--room .gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__item { display: block; overflow: hidden; cursor: zoom-in; background: var(--gray); }
.gallery__item img { transition: transform .5s, opacity .2s; }
.gallery__item:hover img { transform: scale(1.03); }

/* ------------------------------------------------------------------ магнитный песок (t164, вместо видеофона) */
.sand { position: relative; padding: 120px 0; color: #fff; background: #222 var(--poster, none) center / cover no-repeat; }
.sand::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.sand__body { position: relative; max-width: 880px; }
.sand__title { margin-bottom: 40px; font-size: 26px; text-align: center; }
.sand .prose { font-size: 16px; font-weight: 400; }
.sand .btn { margin: 40px auto 0; display: flex; width: max-content; }

/* ------------------------------------------------------------------ консультация (t823) */
.consult { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray); }
.consult__image { position: relative; min-height: 400px; }
.consult__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.consult__body { padding: 75px 70px 75px 72px; }
.consult__title { font-size: 36px; line-height: 1.25; }
.consult__descr { margin: 24px 0 30px; font-size: 16px; font-weight: 400; }

/* ------------------------------------------------------------------ формы */
.form { display: grid; gap: 20px; }
.field { display: block; }
.field > span:not(.sr-only):not(.field__scale) { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 400; }
.field input, .field textarea { width: 100%; border-radius: 0; outline: 0; }
.form--lines .field input:not([type=range]), .form--lines .field textarea { min-height: 52px; padding: 10px 0; border: 0; border-bottom: 1px solid #000; background: transparent; font-size: 16px; }
.form--lines textarea { resize: vertical; }
.form--lines .field input:focus, .form--lines .field textarea:focus { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.form .btn { justify-self: start; min-width: 190px; margin-top: 10px; }
.field--box input { min-height: 56px; padding: 0 16px; border: 1px solid #000; background: #fff; font-size: 16px; }
.field--box input:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.form__status { min-height: 1.4em; margin: 0; font-size: 15px; font-weight: 400; }
.form__status.is-ok { color: #1c7c3c; }
.form__status.is-error { color: #c0392b; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.form--grid { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 26px; }
.form--grid .field { grid-column: 1 / -1; }
.form--grid .field--half { grid-column: auto; }
.form--grid .form__submit { grid-column: 1 / -1; text-align: center; }
.form--grid .form__submit .btn { margin: 10px auto 12px; }
.field--range input { width: 100%; margin: 14px 0 4px; accent-color: #000; }
.field--range output { font-weight: 600; }
.field__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.field__scale i { font-style: normal; }
.form--inline { grid-template-columns: repeat(3, 1fr) auto; gap: 20px; align-items: start; max-width: 960px; margin: 50px auto 0; }
.form--inline .field input { min-height: 60px; padding: 0 24px; border: 1px solid #000; border-radius: 30px; background: #fff; font-size: 14px; }
.form--inline .field input:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.form--inline .btn { margin-top: 0; padding: 0 30px; }
.form--inline .form__status { grid-column: 1 / -1; text-align: center; }

/* ------------------------------------------------------------------ соцсети (t1036), booking.com (t944) */
.socials { padding: 15px 0 0; }
.socials__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.social { display: flex; flex: 0 0 calc((100% - 30px) / 3); align-items: center; justify-content: center; height: 60px; border-radius: 5px; color: #fff; transition: opacity .2s; }
.social:hover { opacity: .85; }
.social svg { width: 22px; height: 22px; }
.social--wa { background: #28d061; }
.social--ig { background: #ef0075; }
.social--tg { background: #1d98dc; }
.social--vk { background: #0077ff; }
.social--fb { background: #3b5999; }
.social--tt { background: #000; }
.social--mail { background: #000; }
.socials--connect { padding: 90px 0 75px; }
.socials--connect .socials__grid { max-width: 800px; }
.socials--connect .social--tg, .socials--connect .social--mail { flex-basis: calc((100% - 15px) / 2); }
.booking-bar { padding: 15px 0 15px; }
.booking-bar__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 80px; border-radius: 40px; background: var(--blue); color: #fff; font-size: 22px; font-weight: 600; text-decoration: none; transition: background .2s; }
.booking-bar__btn:hover { background: var(--blue-dark); }
.booking-bar__btn svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ контакты (t1055), карта (t117), подвал (t981) */
.contacts { padding: 30px 0 30px; background: var(--gray); }
.contacts .section-title { font-size: 36px; }
.contacts .section-descr { font-size: 18px; }
.contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 90px; text-align: center; }
.contacts__icon { width: 44px; height: 44px; margin: 0 auto 22px; stroke-width: 1.2; }
.contacts__item h3 { margin-bottom: 22px; font-size: 22px; }
.contacts__item p { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.75; }
.contacts__item a { text-decoration: none; }
.contacts__phone { font-weight: 700; }
.contacts__address { text-transform: uppercase; }
.map { position: relative; height: 400px; background: #e5e3df; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; width: 100%; border: 0; background: #e5e3df; color: var(--blue); font-size: 16px; font-weight: 600; cursor: pointer; }
.map.is-loaded .map__load { display: none; }
.footer { background: var(--footer); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 160px; padding-top: 30px; padding-bottom: 30px; }
.footer__logo img { width: 170px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.footer__nav a { color: #fff; font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ об отеле */
.intro2 { padding: 45px 0 50px; background: var(--gray); }
.intro2__grid { display: grid; grid-template-columns: 460px 1fr; gap: 40px; }
.intro2__title { font-size: 42px; line-height: 1.25; }
.intro2__list { margin: 30px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; line-height: 1.65; color: #555; }
.intro2__links { display: flex; flex-direction: column; margin-top: 30px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.intro2__links a { color: var(--accent); text-decoration: none; }
.intro2__links a:hover { text-decoration: underline; }
.intro2__text { padding-top: 6px; font-size: 16px; line-height: 1.75; }
.best { padding-top: 15px; padding-bottom: 30px; }
.best__inner { max-width: 800px; text-align: center; }
.best__title { max-width: 620px; margin: 0 auto; font-size: 30px; }
.best__image { margin: 80px auto 60px; max-width: 760px; }
.best__image img { width: 100%; }
.best p { font-size: 16px; font-weight: 400; line-height: 1.75; }
.feature { padding: 15px 0; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.feature__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature__text { padding: 30px 20px; text-align: center; }
.feature__title { font-size: 42px; }
.feature__subtitle { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.feature__line { width: 50px; height: 2px; margin: 26px auto 30px; background: #000; }
.feature__text .prose { font-size: 16px; line-height: 1.75; }
.feature__text .btn { margin-top: 70px; min-width: 210px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 45px; padding-bottom: 30px; }
.cards3__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards3__title { margin-top: 26px; font-size: 22px; }
.cards3__descr { margin: 14px 0 22px; font-size: 13px; line-height: 1.6; }
.price-buttons { padding: 10px var(--gutter) 30px; gap: 20px; }
.price-buttons .btn { min-width: 230px; min-height: 60px; }
.price-buttons .btn--outline { min-width: 290px; }
.videos { padding: 30px 0; }
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__icon { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #f00; color: #fff; }
.video__icon svg { width: 24px; height: 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ номера */
.links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; padding: 30px var(--gutter); }
.links-row a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; text-decoration: none; }
.links-row a:hover { text-decoration: underline; }
.links-row svg { width: 28px; height: 28px; }
.room { padding: 75px 0 30px; }
.room__text { max-width: 1160px; margin-bottom: 60px; padding: 0 40px; }
.room__title { margin-bottom: 22px; font-size: 26px; }
.room__text .prose { font-size: 16px; line-height: 1.6; }

/* ------------------------------------------------------------------ меню ресторана */
.terrace { padding-top: 90px; }
.terrace__grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray); }
.terrace__image img { width: 100%; height: 100%; aspect-ratio: 60 / 34; object-fit: cover; }
.terrace__text { display: flex; flex-direction: column; justify-content: center; padding: 40px 120px; text-align: center; font-size: 14px; }
.terrace__title { margin-bottom: 24px; font-size: 32px; }
.menu { padding-top: 45px; }
.menu__tabs { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-bottom: 30px; padding: 16px 0; background: #fff; }
.menu__tabs a { padding: 4px 0; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.menu__tabs a[aria-current] { color: #777; border-bottom-color: currentColor; }
.menu__tabs a:hover { color: var(--blue); }
.menu__cat { padding-top: 30px; scroll-margin-top: 80px; }
.menu__cat[hidden] { display: none; }
.menu__cat-title { margin-bottom: 30px; font-size: 28px; text-align: center; }
.menu.is-filtered .menu__cat-title { display: none; }
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.dish { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid #e6e6e6; border-radius: 5px; background: #fff; }
.dish--photo { padding-top: 0; overflow: hidden; }
.dish__photo { margin: 0 -24px 22px; }
.dish__photo img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; }
.dish__badge { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 3px 10px; border-radius: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; }
.dish__badge--new { background: var(--blue); }
.dish__badge--spicy { background: #c0392b; }
.dish__title { font-size: 20px; font-weight: 700; }
.dish__descr { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.dish__weight { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.dish__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; }
.dish__price { margin: 0; font-size: 18px; font-weight: 600; }
.dish__old { margin-left: 8px; color: #bdbdbd; font-size: 16px; font-weight: 400; }
.dish__add { flex: none; min-height: 44px; padding: 0 22px; border: 0; border-radius: 5px; background: #000; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.dish__add:hover { background: #333; }
.dish__add.is-added { background: var(--blue); }
.menu__empty { padding: 60px 20px; border: 1px solid #ddd; text-align: center; font-size: 18px; }

.cart-fab { position: fixed; right: 20px; bottom: 84px; z-index: 25; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.2); cursor: pointer; }
.cart-fab[hidden] { display: none; }
.cart-fab svg { width: 34px; height: 34px; }
.cart-fab__count { position: absolute; right: 2px; bottom: 6px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 600; line-height: 30px; }
.cart-fab.is-bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.15); } }
.cart { width: min(560px, calc(100% - 20px)); max-height: calc(100% - 40px); padding: 30px; border: 0; border-radius: 8px; }
.cart::backdrop { background: rgba(0,0,0,.6); }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #e6e6e6; }
.cart__head h2 { font-size: 26px; }
.cart__close { display: flex; padding: 8px; margin: -8px; border: 0; background: none; cursor: pointer; }
.cart__close svg { width: 24px; height: 24px; }
.cart__items { margin: 0; padding: 0; list-style: none; }
.cart__item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eee; }
.cart__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.cart__name small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.cart__qty { display: flex; align-items: center; gap: 6px; }
.cart__qty button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid #000; border-radius: 50%; background: #fff; cursor: pointer; }
.cart__qty button svg { width: 14px; height: 14px; }
.cart__qty span { min-width: 22px; text-align: center; font-weight: 600; }
.cart__sum { min-width: 70px; text-align: right; font-weight: 600; white-space: nowrap; }
.cart__total { margin: 18px 0 22px; font-size: 20px; text-align: right; }
.cart__form { gap: 14px; }
.cart__form .field > span:not(.sr-only) { font-size: 14px; }
.cart__form .btn { justify-self: stretch; margin-top: 6px; }
.cart__done { padding: 30px 0 4px; text-align: center; font-size: 18px; font-weight: 400; }
.cart__done .btn { margin-top: 24px; }
.cart__empty { padding: 30px 0; text-align: center; color: var(--muted); }

/* ------------------------------------------------------------------ бронирование, партнёрам, визитка, простые страницы */
.booking-form { padding-top: 60px; }
.partners-form { padding-top: 45px; }
.card-hero { padding: 40px 0; background: #e5e4dc; }
.card-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.card-hero__image img { width: 100%; aspect-ratio: 64 / 82; object-fit: cover; border-radius: 30px; }
.card-hero__title { font-size: 52px; font-weight: 300; line-height: 1.2; }
.card-hero__descr { margin: 26px 0 40px; color: #555; font-size: 20px; }
.card-hero .btn { min-width: 255px; }
.page__title { margin-bottom: 30px; font-size: 42px; text-align: center; }
.notfound { text-align: center; }
.notfound__code { margin-bottom: 6px; color: var(--blue); font-size: 110px; font-weight: 700; line-height: 1; }
.notfound .btn-row { margin-top: 36px; }
.travelpayouts__widget { margin-top: 40px; min-height: 200px; }

/* ------------------------------------------------------------------ лайтбокс */
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.92); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 60px 70px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__btn { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 14px; opacity: .8; }
.lightbox--video .lightbox__prev, .lightbox--video .lightbox__next, .lightbox--video .lightbox__count { display: none; }
.lightbox__stage iframe { width: min(1200px, 100%); aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ------------------------------------------------------------------ планшет */
@media (max-width: 1199px) {
    .header__top { margin: 0 20px; }
    .header__nav ul { gap: 40px; }
    .header__contact { margin: 0 10px; }
    .header__booking { margin-left: 10px; }
    .cover--big .cover__title { font-size: 72px; }
    .terrace__text { padding: 40px; }
    .card-hero__grid { gap: 40px; }
}

@media (max-width: 979px) {
    .section { padding: 50px 0; }
    .section-title, .split__title, .contacts .section-title { font-size: 30px; }
    .section-descr { font-size: 18px; }
    .cover { min-height: 560px; padding: 70px 0; }
    .cover--home { min-height: calc(100svh - 64px); }
    .cover__title { font-size: 40px; }
    .cover--big .cover__title { font-size: 52px; }
    .cover--logo, .cover--big { min-height: 480px; }
    .cover__buttons { margin-top: 40px; }
    .cards2__grid, .split__grid, .feature__grid, .consult, .book-cta__row, .terrace__grid, .card-hero__grid, .intro2__grid { grid-template-columns: 1fr; }
    .cards2__grid { gap: 20px; }
    .cards2__item { height: 300px; }
    .split__image--tall img { aspect-ratio: 1 / 1.1; }
    .why__grid { grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
    .book-cta__title { font-size: 32px; }
    .book-cta__text { padding-bottom: 0; font-size: 18px; }
    .book-cta__text .btn-row { margin-top: 30px; }
    .gallery--grid4 { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
    .gallery--mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
    .gallery--mosaic .gallery__item:nth-child(3n+1) { grid-column: span 2; }
    .gallery--room { gap: 12px; }
    .consult__body { padding: 50px 20px; }
    .consult__title { font-size: 28px; }
    .contacts__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
    .footer__inner { flex-direction: column; justify-content: center; text-align: center; }
    .footer__nav { justify-content: center; }
    .intro2__title { font-size: 32px; }
    .feature__title { font-size: 32px; }
    .feature__text { padding: 10px 0 0; }
    .feature__text .btn { margin-top: 36px; }
    .cards3, .videos__grid, .dishes { grid-template-columns: 1fr 1fr; gap: 24px; }
    .best__image { margin: 40px auto; }
    .room { padding-top: 50px; }
    .room__text { padding: 0 var(--gutter); margin-bottom: 30px; }
    .terrace { padding-top: 50px; }
    .card-hero__title { font-size: 40px; }
    .cta-line--text .cta-line__inner { flex-direction: column; align-items: flex-start; }
    .form--inline { grid-template-columns: 1fr; max-width: 460px; }
    .form--inline .btn { width: 100%; }
    .socials--connect { padding: 50px 0; }
    .map { height: 320px; }
}

/* ------------------------------------------------------------------ телефон */
@media (max-width: 639px) {
    :root { --gutter: 20px; }
    body { font-size: 15px; }
    .section-title, .split__title, .contacts .section-title, .page__title { font-size: 26px; }
    .cover__eyebrow { font-size: 14px; margin-bottom: 18px; }
    .cover__title { font-size: 30px; }
    .cover--big .cover__title { font-size: 36px; }
    .cover__descr { font-size: 15px; }
    .cover__buttons { gap: 12px; }
    .cover__buttons .btn { min-width: 0; flex: 1 1 140px; padding: 0 16px; }
    .btn { min-height: 54px; padding: 0 28px; }
    .why__grid { grid-template-columns: 1fr; }
    .why__item h3 { font-size: 22px; }
    .why__item p { margin-top: 14px; }
    .book-cta__title { font-size: 26px; }
    .book-cta__text .btn { min-width: 0; width: 100%; }
    .cards3, .videos__grid, .dishes { grid-template-columns: 1fr; }
    .gallery--room { grid-template-columns: 1fr 1fr; }
    .gallery--room .gallery__item:first-child { grid-column: span 2; }
    .price-buttons .btn, .price-buttons .btn--outline { width: 100%; min-width: 0; }
    .socials__grid { gap: 10px; }
    .social { height: 50px; }
    .booking-bar__btn { height: 60px; font-size: 17px; }
    .cta-line__inner { gap: 20px; flex-direction: column; text-align: center; }
    .cta-line--text .cta-line__inner { align-items: stretch; text-align: left; }
    .form--grid { grid-template-columns: 1fr; }
    .form--grid .field--half { grid-column: 1 / -1; }
    .consult__title { font-size: 24px; }
    .intro2__title { font-size: 28px; }
    .terrace__text { padding: 30px 20px; }
    .terrace__title { font-size: 26px; }
    .menu__tabs { justify-content: flex-start; flex-wrap: nowrap; gap: 20px; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 14px var(--gutter); overflow-x: auto; scrollbar-width: none; }
    .menu__tabs::-webkit-scrollbar { display: none; }
    .menu__tabs a { flex: none; }
    .menu__cat-title { font-size: 24px; }
    .cart { padding: 22px 18px; }
    .cart__item { grid-template-columns: 1fr auto; }
    .cart__sum { grid-column: 2; }
    .cart-fab { width: 64px; height: 64px; right: 14px; bottom: 76px; }
    .cart-fab svg { width: 28px; height: 28px; }
    .card-hero__title { font-size: 32px; }
    .card-hero__descr { font-size: 17px; margin: 16px 0 26px; }
    .card-hero .btn { width: 100%; }
    .social { flex-basis: calc((100% - 20px) / 3); }
    .socials--connect .social--tg, .socials--connect .social--mail { flex-basis: calc((100% - 10px) / 2); }
    .notfound__code { font-size: 80px; }
    .lightbox__stage { padding: 60px 10px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; margin: 0; }
    .lightbox__count { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
