/* ----------------------------------------------------------
   GoUzbekistan — каталог объектов
   Токены совпадают с landing.css: каталог должен читаться
   как часть того же сайта, а не как отдельный сервис.
   ---------------------------------------------------------- */

:root {
    --c-blue:        #0099B5;
    --c-blue-dark:   #007a90;
    --c-blue-soft:   #e6f5f8;
    --c-navy:        #1B3D6B;
    --c-navy-soft:   #f1f5fa;
    --c-green:       #1EB53A;
    --c-red:         #CE1126;
    --c-bg:          #FFFFFF;
    --c-text:        #1B3D6B;
    --c-muted:       #5b6b85;
    --c-line:        #e2eef2;
    --c-line-2:      #dbe7ec;

    --shadow-sm:  0 2px 8px rgba(27, 61, 107, 0.06);
    --shadow-md:  0 12px 32px rgba(27, 61, 107, 0.10);

    --radius-sm:  10px;
    --radius-md:  16px;
    --radius-lg:  24px;

    --container:  1200px;

    --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-blue); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }

.ct-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.ct-skip {
    position: absolute;
    top: -60px; left: 16px; z-index: 100;
    background: var(--c-navy); color: #fff;
    padding: 10px 16px; border-radius: 8px;
    font-weight: 700; font-size: 13px;
    transition: top .15s;
}
.ct-skip:focus { top: 12px; color: #fff; outline: 3px solid var(--c-blue); }

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

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    text-align: center;
}
.ct-btn--primary { background: var(--c-blue); color: #fff; box-shadow: var(--shadow-md); }
.ct-btn--primary:hover { background: var(--c-blue-dark); color: #fff; transform: translateY(-1px); }
.ct-btn--ghost { background: #fff; color: var(--c-navy); box-shadow: inset 0 0 0 1.5px var(--c-line-2); }
.ct-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--c-blue); color: var(--c-blue); }
.ct-btn--small { padding: 9px 16px; font-size: 13px; }

/* --- Шапка --- */

.ct-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.ct-nav__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 68px;
}
.ct-nav__brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ct-nav__brand img { width: 40px; height: 40px; }
.ct-nav__brand-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; }

.ct-nav__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 14px;
    font-weight: 600;
}
.ct-nav__links::-webkit-scrollbar { display: none; }
.ct-nav__links a { white-space: nowrap; color: var(--c-muted); }
.ct-nav__links a:hover { color: var(--c-blue); }

.ct-nav__lang { display: flex; gap: 4px; flex: 0 0 auto; }
.ct-nav__lang-btn {
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--c-muted);
    background: var(--c-navy-soft);
}
.ct-nav__lang-btn.is-active { background: var(--c-blue); color: #fff; }

/* --- Хлебные крошки --- */

.ct-crumbs { padding: 16px 0 0; font-size: 13px; color: var(--c-muted); }
.ct-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ct-crumbs a { color: var(--c-muted); }
.ct-crumbs a:hover { color: var(--c-blue); }
.ct-crumbs span[aria-current] { color: var(--c-text); font-weight: 600; }

/* --- Заголовок страницы --- */

.ct-head { padding: 28px 0 8px; }
.ct-head--hero { padding: 40px 0 12px; background: linear-gradient(180deg, var(--c-blue-soft), #fff); }
.ct-head__title { font-size: clamp(26px, 4.2vw, 42px); max-width: 900px; }
.ct-head__intro { margin-top: 14px; max-width: 780px; color: var(--c-muted); font-size: clamp(15px, 1.7vw, 17px); }

.ct-head__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ct-head__stats li {
    background: var(--c-navy-soft);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
}
.ct-head__stats strong { font-family: var(--font-display); font-size: 18px; }
.ct-head__stats span { font-size: 12px; color: var(--c-muted); }

/* --- Списки --- */

.ct-list { padding: 28px 0; }
.ct-list--related { background: var(--c-navy-soft); margin-top: 32px; }
.ct-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ct-list__head h2 { font-size: clamp(20px, 2.6vw, 28px); }
.ct-list__more { font-weight: 700; font-size: 14px; color: var(--c-blue); white-space: nowrap; }
.ct-list__note { color: var(--c-muted); font-size: 14px; margin-bottom: 14px; }

.ct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.ct-empty { color: var(--c-muted); margin-bottom: 16px; }

/* --- Карточка --- */

.ct-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .15s ease;
}
.ct-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ct-card__link { display: flex; flex-direction: column; height: 100%; }
.ct-card__link:hover { color: inherit; }

.ct-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-navy-soft); }
.ct-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-card__noimage {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-line-2); font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.ct-card__stars {
    position: absolute; left: 10px; top: 10px;
    background: rgba(27, 61, 107, 0.82);
    color: #ffd66b;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    letter-spacing: 1px;
}

.ct-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.ct-card__title { font-size: 17px; }
.ct-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-muted); }
.ct-card__excerpt { font-size: 13px; color: var(--c-muted); }
.ct-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-card__tags li {
    font-size: 12px;
    color: var(--c-navy);
    background: var(--c-blue-soft);
    border-radius: 999px;
    padding: 3px 10px;
}
.ct-card__price { margin-top: auto; padding-top: 6px; font-size: 16px; font-family: var(--font-display); }
.ct-card__price strong { color: var(--c-navy); }
.ct-card__price-empty { font-size: 13px; color: var(--c-muted); font-weight: 500; }

/* --- Пагинация --- */

.ct-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.ct-pager__btn {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--c-line-2);
    font-weight: 700;
    font-size: 14px;
}
.ct-pager__btn.is-disabled { opacity: .45; pointer-events: none; }
.ct-pager__status { font-size: 13px; color: var(--c-muted); }

/* --- Перелинковка --- */

.ct-links { padding: 26px 0; border-top: 1px solid var(--c-line); }
.ct-links__title { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 16px; }
.ct-links__list { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-links__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--c-navy-soft);
    font-size: 14px;
    font-weight: 600;
}
.ct-links__list a:hover { background: var(--c-blue-soft); color: var(--c-blue); }
.ct-links__list span { font-size: 12px; color: var(--c-muted); }

/* --- Страница объекта --- */

.ct-object { padding: 22px 0 0; }
.ct-object__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.ct-object__headline h1 { font-size: clamp(24px, 3.6vw, 38px); max-width: 760px; }
.ct-object__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--c-muted); font-size: 14px; }
.ct-object__meta a { color: var(--c-blue); font-weight: 600; }
.ct-object__stars { color: #e8a600; letter-spacing: 1px; }

.ct-object__price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ct-object__price strong { font-family: var(--font-display); font-size: 22px; }
.ct-object__price-old { font-size: 13px; color: var(--c-muted); text-decoration: line-through; }
.ct-object__price-empty { font-size: 16px; color: var(--c-muted); }

.ct-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}
.ct-gallery__item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-navy-soft); aspect-ratio: 4 / 3; }
.ct-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.ct-gallery__item--main { grid-column: span 2; grid-row: span 2; aspect-ratio: 4 / 3; }

.ct-object__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-bottom: 32px; }
.ct-object__main { display: flex; flex-direction: column; gap: 26px; }

.ct-block h2 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 12px; }
.ct-object__intro { font-size: 16px; }
.ct-object__description { margin-top: 12px; color: var(--c-muted); white-space: pre-line; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips li {
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--c-blue-soft);
    font-size: 13px;
    font-weight: 600;
}

.ct-steps { display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.ct-steps li { position: relative; padding-left: 32px; color: var(--c-muted); }
.ct-steps li strong { display: block; color: var(--c-text); }
.ct-steps li span { display: block; margin-top: 2px; }
.ct-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-blue);
    color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

.ct-rooms { display: flex; flex-direction: column; gap: 14px; }
.ct-room {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
}
.ct-room__body h3 { font-size: 16px; }
.ct-room__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--c-muted); }
.ct-room__amenities { margin-top: 6px; font-size: 12px; color: var(--c-muted); }
.ct-room__price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.ct-room__price strong { font-family: var(--font-display); font-size: 16px; }
.ct-room__price span { font-size: 13px; color: var(--c-muted); }

.ct-extras { display: flex; flex-direction: column; gap: 10px; }
.ct-extras li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 12px 14px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    align-items: baseline;
}
.ct-extras__name { font-weight: 700; }
.ct-extras__desc { grid-column: 1 / -1; font-size: 13px; color: var(--c-muted); }
.ct-extras__price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.ct-extras__price small { display: block; font-weight: 500; font-size: 11px; color: var(--c-muted); }

.ct-object__aside { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 88px; }
.ct-card-info {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 18px;
    background: #fff;
}
.ct-card-info h2 { font-size: 16px; margin-bottom: 12px; }
.ct-card-info p { font-size: 14px; color: var(--c-muted); }
.ct-card-info dl { display: flex; flex-direction: column; gap: 8px; }
.ct-card-info dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ct-card-info dt { color: var(--c-muted); }
.ct-card-info dd { font-weight: 600; text-align: right; }
.ct-card-info .ct-btn { margin-top: 14px; width: 100%; }
.ct-card-info--cta { background: var(--c-navy-soft); border-color: transparent; }
.ct-muted { color: var(--c-muted); font-size: 13px; }
.ct-updated { font-size: 12px; color: var(--c-muted); text-align: center; }

/* --- Города --- */

.ct-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ct-city { border: 1px solid var(--c-line); border-radius: var(--radius-md); padding: 18px; }
.ct-city h2 { font-size: 18px; margin-bottom: 10px; }
.ct-city ul { display: flex; flex-direction: column; gap: 6px; }
.ct-city li a { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--c-muted); }
.ct-city li a:hover { color: var(--c-blue); }
.ct-city li span { font-weight: 700; }

/* --- Блок приложения --- */

.ct-appcta { background: var(--c-navy); color: #fff; padding: 34px 0; margin-top: 32px; }
.ct-appcta__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.ct-appcta h2 { font-size: clamp(20px, 2.6vw, 26px); }
.ct-appcta p { margin-top: 8px; color: rgba(255, 255, 255, 0.78); max-width: 520px; font-size: 15px; }
.ct-appcta__actions { display: flex; flex-direction: column; gap: 14px; }
.ct-appcta__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-appcta__badges img { height: 42px; width: auto; }

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

.ct-foot { background: var(--c-navy-soft); padding: 34px 0 0; margin-top: 0; }
.ct-foot__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
.ct-foot__brand p { margin-top: 12px; font-size: 13px; color: var(--c-muted); max-width: 300px; }
.ct-foot__col { display: flex; flex-direction: column; gap: 8px; }
.ct-foot__col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.ct-foot__col a { font-size: 14px; font-weight: 600; }
.ct-foot__bottom { margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--c-line-2); }
.ct-foot__bottom .ct-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; color: var(--c-muted); }

/* --- Мобильная кнопка бронирования --- */

.ct-sticky-book { display: none; }

@media (max-width: 980px) {
    .ct-object__body { grid-template-columns: minmax(0, 1fr); }
    .ct-object__aside { position: static; }
    .ct-foot__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .ct-gallery { grid-template-columns: repeat(2, 1fr); }
    .ct-gallery__item--main { grid-column: span 2; }
    .ct-room { grid-template-columns: minmax(0, 1fr); }
    .ct-room__price { align-items: flex-start; text-align: left; }
    .ct-nav__brand-text { display: none; }
    .ct-appcta__inner { flex-direction: column; align-items: flex-start; }

    .ct-sticky-book {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--c-line);
        box-shadow: 0 -6px 20px rgba(27, 61, 107, 0.08);
    }
    .ct-sticky-book strong { font-family: var(--font-display); font-size: 16px; }
    .ct-object { padding-bottom: 72px; }
}

@media (max-width: 520px) {
    .ct-foot__inner { grid-template-columns: 1fr; }
    .ct-grid { grid-template-columns: 1fr; }
}

/* --- Галерея номера --- */

.ct-room__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 148px;
    flex: 0 0 auto;
}
.ct-room__shot {
    position: relative;
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--c-navy-soft);
    aspect-ratio: 4 / 3;
}
.ct-room__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ct-room__shot:hover img { transform: scale(1.06); }
.ct-room__shot--main { grid-column: span 2; }
.ct-room__shot--hidden { display: none; }
.ct-room__more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 61, 107, 0.62);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
}

.ct-room__tiers { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--c-muted); }
.ct-room__tier {
    background: var(--c-blue-soft);
    color: var(--c-navy);
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 600;
}

/* Фото объекта тоже кликабельны */
.ct-gallery__item { display: block; cursor: zoom-in; }
.ct-gallery__item img { transition: transform .3s ease; }
.ct-gallery__item:hover img { transform: scale(1.03); }

/* --- Просмотр фото на весь экран --- */

.ct-lb {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 96vw;
    max-height: 96vh;
    overflow: visible;
}
.ct-lb::backdrop { background: rgba(10, 25, 47, 0.88); }
.ct-lb__img {
    max-width: 92vw;
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    margin: 0 auto;
}
.ct-lb__close,
.ct-lb__nav {
    position: absolute;
    z-index: 2;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-navy);
    border-radius: 999px;
    font-family: var(--font-display);
    line-height: 1;
    transition: background .2s ease, transform .15s ease;
}
.ct-lb__close { top: -14px; right: -14px; width: 40px; height: 40px; font-size: 26px; }
.ct-lb__nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; }
.ct-lb__nav--prev { left: -18px; }
.ct-lb__nav--next { right: -18px; }
.ct-lb__close:hover, .ct-lb__nav:hover { background: #fff; }
.ct-lb__caption {
    margin-top: 12px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.ct-lb__counter { color: rgba(255, 255, 255, 0.66); margin-left: 6px; }

@media (max-width: 720px) {
    .ct-room__gallery { width: 100%; grid-template-columns: repeat(4, 1fr); }
    .ct-room__shot--main { grid-column: span 4; }
    .ct-lb__close { top: -46px; right: 0; }
    .ct-lb__nav--prev { left: 4px; }
    .ct-lb__nav--next { right: 4px; }
    .ct-lb__nav { background: rgba(255, 255, 255, 0.82); }
}

/* --- Новинки --- */

.ct-list--fresh { background: linear-gradient(180deg, var(--c-blue-soft), #fff 70%); }
.ct-list__badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-green);
    background: #e8f7ec;
    border-radius: 999px;
    padding: 4px 10px;
}
