/* ===== Карточка отеля — переработанное оформление (tristravel.ru) =====
   Переменные на :root, а не на .hc — hc-hero переезжает JS'ом за пределы .hc
   (в .product-data), и там ему тоже нужен доступ к палитре. */
:root {
	--hc-primary: #ff9933;
	--hc-primary-dark: #e5822a;
	--hc-accent: #06aed4;
	--hc-accent-dark: #058fae;
	--hc-ok: #2fb344;
	--hc-no: #e5484d;
	--hc-ink: #24303d;
	--hc-muted: #6b7785;
	--hc-line: #e7ecf1;
	--hc-bg: #f7f9fb;
}
.hc {
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
	color: var(--hc-ink);
}

/* --- появление блоков при скролле --- */
.hc .hc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hc .hc-reveal.hc-visible { opacity: 1; transform: translateY(0); }

/* --- верхняя инфо-плашка --- */
.hc-infobar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.hc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 30px; background: var(--hc-bg); border: 1px solid var(--hc-line); font-size: 13px; font-weight: 600; color: var(--hc-ink); white-space: nowrap; }
.hc-chip i { color: var(--hc-accent); font-size: 14px; }
.hc-chip.hc-chip--stars { background: linear-gradient(135deg, var(--hc-primary), var(--hc-primary-dark)); color: #fff; border: none; }
.hc-chip.hc-chip--stars i { color: #fff; }
.hc-chip.hc-chip--beach1 { background: rgba(6,174,212,.1); border-color: rgba(6,174,212,.25); color: var(--hc-accent-dark); }

/* --- интро --- */
.hc-intro { font-size: 16px; line-height: 1.7; margin: 0 0 28px; padding: 20px 22px; background: var(--hc-bg); border-left: 4px solid var(--hc-primary); border-radius: 4px 12px 12px 4px; }

/* --- секции --- */
.hc-section { margin: 0 0 30px; }
.hc-section__title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--hc-ink); }
.hc-section__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,153,51,.12); color: var(--hc-primary-dark); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hc-section__text { font-size: 15px; line-height: 1.75; color: var(--hc-ink); }
.hc-section__text p { margin: 0 0 10px; }

/* --- инфраструктура: карточки-группы с чипами --- */
.hc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.hc-group { background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; padding: 16px 18px; }
.hc-group__title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--hc-ink); text-transform: uppercase; letter-spacing: .3px; }
.hc-group__title i { color: var(--hc-accent); font-size: 16px; }
.hc-group__items { display: flex; flex-wrap: wrap; gap: 6px; }
.hc-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; padding: 5px 10px; border-radius: 20px; background: var(--hc-bg); color: var(--hc-ink); }
.hc-tag i { color: var(--hc-ok); font-size: 11px; }
.hc-group--empty { opacity: .6; }
.hc-group--empty .hc-empty-note { font-size: 12.5px; color: var(--hc-muted); font-style: italic; }

/* --- преимущества --- */
.hc-advantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hc-adv-card { background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; padding: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.hc-adv-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(36,48,61,.08); }
.hc-adv-card__head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.hc-adv-card__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(6,174,212,.12); color: var(--hc-accent-dark); display: flex; align-items: center; justify-content: center; }
.hc-adv-card__title { font-size: 15px; font-weight: 700; }
.hc-adv-card__text { font-size: 13.5px; line-height: 1.6; color: var(--hc-muted); margin: 0; }

/* --- кому подходит / не подходит --- */
.hc-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .hc-fit { grid-template-columns: 1fr; } }
.hc-fit-card { border-radius: 14px; padding: 18px 20px; }
.hc-fit-card--yes { background: rgba(47,179,68,.07); border: 1px solid rgba(47,179,68,.2); }
.hc-fit-card--no { background: rgba(229,72,77,.06); border: 1px solid rgba(229,72,77,.18); }
.hc-fit-card__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.hc-fit-card--yes .hc-fit-card__title { color: var(--hc-ok); }
.hc-fit-card--no .hc-fit-card__title { color: var(--hc-no); }
.hc-fit-card__text { font-size: 14px; line-height: 1.6; color: var(--hc-ink); margin: 0; }

/* --- FAQ аккордеон --- */
.hc-faq-item { border-bottom: 1px solid var(--hc-line); }
.hc-faq-item:first-child { border-top: 1px solid var(--hc-line); }
.hc-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; }
.hc-faq-q .hc-faq-plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--hc-bg); display: flex; align-items: center; justify-content: center; color: var(--hc-primary-dark); transition: transform .3s ease, background .3s ease; }
.hc-faq-item.hc-open .hc-faq-plus { transform: rotate(135deg); background: var(--hc-primary); color: #fff; }
.hc-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.hc-faq-item.hc-open .hc-faq-a { max-height: 400px; }
.hc-faq-a-inner { padding: 0 4px 16px; font-size: 14px; line-height: 1.65; color: var(--hc-muted); }

/* --- CTA-блок в теле описания --- */
.hc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 30px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(120deg, var(--hc-accent), var(--hc-accent-dark)); color: #fff; }
.hc-cta__text { font-size: 15px; line-height: 1.55; max-width: 520px; }
.hc-cta__text strong { display: block; font-size: 17px; margin-bottom: 3px; }
.hc-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 30px; background: #fff; color: var(--hc-accent-dark) !important; font-weight: 700; font-size: 14.5px; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.hc-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.15); color: var(--hc-accent-dark); text-decoration: none; }
.hc-cta__btn i { color: var(--hc-primary); }

.hc-cta--agent { align-items: center; }
.hc-cta__agent-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid rgba(255,255,255,.5); }
.hc-cta__body { flex: 1 1 320px; }
.hc-cta__agent-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hc-cta__agent-name i { color: #fff; }
.hc-cta__agent-role { font-weight: 400; font-size: 12.5px; opacity: .85; }
.hc-cta--agent .hc-cta__text { max-width: 460px; }

/* --- Компактный блок агента в hero (виден без скролла) --- */
.hc-hero__agent { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: var(--hc-bg); border: 1px solid var(--hc-line); }
.hc-hero__agent-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.hc-hero__agent-info { flex: 1 1 220px; }
.hc-hero__agent-name { font-weight: 700; font-size: 13.5px; color: var(--hc-ink); display: flex; align-items: center; gap: 5px; }
.hc-hero__agent-name i { color: var(--hc-accent); font-size: 12px; }
.hc-hero__agent-role { font-size: 11.5px; color: var(--hc-muted); line-height: 1.4; margin-top: 2px; }
.hc-hero__agent-btn { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 24px; background: var(--hc-primary); color: #fff; font-weight: 700; font-size: 13px; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.hc-hero__agent-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(255,153,51,.35); }
@media (max-width: 480px) {
	.hc-hero__agent { flex-direction: column; align-items: flex-start; }
	.hc-hero__agent-btn { width: 100%; justify-content: center; }
}

/* --- HERO: факт-плашка, переезжает наверх карточки через JS --- */
#hc-hero-slot { margin: 0 0 18px; }
.hc-hero { border: 1px solid var(--hc-line); border-radius: 16px; padding: 18px 20px; background: #fff; box-shadow: 0 2px 10px rgba(36,48,61,.04); }
.hc-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.hc-hero__stars { color: var(--hc-primary); font-size: 14px; letter-spacing: 2px; }
.hc-hero__stars i { margin-right: 1px; }
.hc-hero__place { font-size: 14px; font-weight: 600; color: var(--hc-ink); }
.hc-hero__place i { color: var(--hc-accent); margin-right: 5px; }
.hc-hero__teaser { font-size: 14.5px; line-height: 1.6; color: var(--hc-ink); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--hc-line); }
.hc-hero__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.hc-hero__fact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 6px; border-radius: 12px; background: var(--hc-bg); }
.hc-hero__fact i { font-size: 18px; color: var(--hc-accent); }
.hc-hero__fact-label { font-size: 11px; color: var(--hc-muted); text-transform: uppercase; letter-spacing: .3px; }
.hc-hero__fact-value { font-size: 13px; font-weight: 700; color: var(--hc-ink); line-height: 1.25; }
/* когда hc-hero переехал наверх карточки (через JS) — без внешних отступов, он уже в своей колонке */
.product-data .hc-hero { margin: 0 0 4px; }

/* --- блок эксперта (Галина) --- */
.hc-expert { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: 18px; background: var(--hc-bg); border: 1px solid var(--hc-line); }
.hc-expert__photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(36,48,61,.12); }
.hc-expert__name { font-size: 16px; font-weight: 700; margin: 0 0 2px; color: var(--hc-ink); }
.hc-expert__role { font-size: 12.5px; color: var(--hc-accent-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 10px; }
.hc-expert__text { font-size: 14px; line-height: 1.65; color: var(--hc-ink); margin: 0 0 14px; }
.hc-expert__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hc-expert__points li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--hc-ink); }
.hc-expert__points i { color: var(--hc-ok); margin-top: 2px; flex: none; }
@media (max-width: 560px) { .hc-expert { flex-direction: column; align-items: center; text-align: center; } .hc-expert__points { text-align: left; } }

/* --- теги "подходит для" в hero --- */
.hc-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.hc-pill i { font-size: 10px; }
.hc-pill--0 { background: rgba(6,174,212,.12); color: var(--hc-accent-dark); }
.hc-pill--1 { background: rgba(47,179,68,.12); color: var(--hc-ok); }
.hc-pill--2 { background: rgba(255,153,51,.14); color: var(--hc-primary-dark); }

/* --- якорная навигация по секциям --- */
.hc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 10px; background: var(--hc-bg); border-radius: 12px; }
.hc-nav a { font-size: 12.5px; font-weight: 600; color: var(--hc-ink); background: #fff; border: 1px solid var(--hc-line); padding: 7px 13px; border-radius: 20px; text-decoration: none; transition: background .2s, color .2s; }
.hc-nav a:hover { background: var(--hc-accent); color: #fff; border-color: var(--hc-accent); text-decoration: none; }

/* --- услуги отеля (полная категоризация) --- */
.hc-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.hc-option-card { border: 1px solid var(--hc-line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.hc-option-card__head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.hc-option-card__icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: rgba(255,153,51,.12); color: var(--hc-primary-dark); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.hc-option-card__title { font-size: 13.5px; font-weight: 700; }
.hc-option-card__items { font-size: 12.5px; line-height: 1.6; color: var(--hc-muted); }

/* --- карта --- */
.hc-map { margin-top: 14px; }

/* --- рядом с отелем --- */
.hc-near { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hc-near-card { border: 1px solid var(--hc-line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .2s ease; }
.hc-near-card:hover { transform: translateY(-2px); }
.hc-near-card__img { width: 100%; height: 90px; object-fit: cover; display: block; background: var(--hc-bg); }
.hc-near-card__img--empty { display: flex; align-items: center; justify-content: center; color: var(--hc-muted); font-size: 20px; }
.hc-near-card__body { padding: 10px 12px; }
.hc-near-card__name { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.hc-near-card__dist { font-size: 11.5px; color: var(--hc-muted); }
.hc-near-card__dist i { color: var(--hc-accent); margin-right: 3px; }

/* --- отзывы гостей --- */
.hc-reviews-note { font-size: 12px; color: var(--hc-muted); font-style: italic; margin: -8px 0 16px; }
.hc-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hc-review { border: 1px solid var(--hc-line); border-radius: 14px; padding: 16px; background: #fff; }
.hc-review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hc-review__avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--hc-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.hc-review__name { font-size: 13px; font-weight: 700; }
.hc-review__date { font-size: 11px; color: var(--hc-muted); }
.hc-review__rating { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--hc-primary-dark); white-space: nowrap; }
.hc-review__rating i { color: var(--hc-primary); }
.hc-review__title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.hc-review__text { font-size: 13px; line-height: 1.6; color: var(--hc-ink); margin: 0; }

/* --- похожие отели --- */
.hc-similar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.hc-similar-card { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--hc-line); text-decoration: none; color: var(--hc-ink); transition: transform .2s ease, box-shadow .2s ease; }
.hc-similar-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(36,48,61,.1); color: var(--hc-ink); text-decoration: none; }
.hc-similar-card__img { width: 100%; height: 100px; object-fit: cover; display: block; background: var(--hc-bg); }
.hc-similar-card__name { padding: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }

/* --- финальный CTA внизу --- */
.hc-cta-final { text-align: center; padding: 32px 24px; border-radius: 18px; background: var(--hc-bg); border: 1px dashed var(--hc-line); }
.hc-cta-final__text { font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto 18px; }
