/* ===== tristravel.ru — редизайн: шапка, подвал, главная (2026) ===== */
:root {
	--sr-primary: #ff9933;
	--sr-primary-dark: #e5822a;
	--sr-accent: #06aed4;
	--sr-accent-dark: #058fae;
	--sr-ok: #2fb344;
	--sr-ink: #24303d;
	--sr-muted: #6b7785;
	--sr-line: #e7ecf1;
	--sr-bg: #f7f9fb;
	--sr-whatsapp: #25d366;
}

/* --- общие анимации появления при скролле --- */
.hp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.hp-reveal.hp-visible { opacity: 1; transform: translateY(0); }
.hp-stats.hp-reveal.hp-visible { transition-delay: .05s; }

/* ===================== ШАПКА ===================== */
header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow .3s ease, padding .3s ease; }
header.sr-scrolled { box-shadow: 0 4px 24px rgba(36,48,61,.08); }

#logo.header-logo img { max-height: 46px; width: auto; }

.sr-header-cta { display: flex; align-items: center; gap: 14px; }
.sr-header-cta__whatsapp { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sr-whatsapp); color: #fff !important; font-size: 19px; transition: transform .2s ease, box-shadow .2s ease; flex: none; }
.sr-header-cta__whatsapp:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 16px rgba(37,211,102,.4); }
.sr-header-cta__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 24px; background: var(--sr-primary); color: #fff; font-weight: 700; font-size: 14px; border: none; cursor: pointer; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sr-header-cta__btn:hover { background: var(--sr-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255,153,51,.35); }
@media (max-width: 991px) {
	.sr-header-cta__btn span { display: none; }
	.sr-header-cta__btn { padding: 11px; width: 40px; height: 40px; border-radius: 50%; justify-content: center; }
}

/* ===================== ПОДВАЛ ===================== */
footer.footer { background: linear-gradient(165deg, #172733, #1f3646) !important; padding-top: 46px; }
.footer__column-heading { color: #fff !important; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.footer__column-a, .footer__contacts-li, .footer__column-li { color: #b7c4cf !important; }
.footer__column-a:hover { color: var(--sr-primary) !important; }
.footer__contacts-icon { color: var(--sr-primary) !important; }
.footer__socials-payments { background: rgba(0,0,0,.15) !important; padding: 18px 0; margin-top: 30px; }
.footer__socials-icon { color: #b7c4cf; transition: color .2s ease, transform .2s ease; }
.footer__socials-icon:hover { color: var(--sr-primary); transform: translateY(-2px); }
.footer__text { color: #8494a1 !important; font-size: 12.5px; }

/* ===================== ГЛАВНАЯ: HERO ===================== */
.hp { overflow: hidden; }
.hp-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hp-hero__bg { position: absolute; inset: 0; background-image: url('/image/catalog/home/hero-alanya.jpg'); background-size: cover; background-position: center; animation: hp-kenburns 24s ease-in-out infinite alternate; }
.hp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,40,.55) 0%, rgba(20,30,40,.72) 60%, rgba(20,30,40,.88) 100%); }
@keyframes hp-kenburns { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.12) translate(-1%,-1%); } }
.hp-hero__inner { position: relative; z-index: 2; padding: 60px 16px; max-width: 740px; }
.hp-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hp-hero__badge i { color: var(--sr-primary); }
.hp-hero__title { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 46px; line-height: 1.15; color: #fff; margin: 0 0 20px; }
.hp-hero__subtitle { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 560px; margin: 0 0 32px; }
@media (max-width: 767px) {
	.hp-hero { min-height: 560px; }
	.hp-hero__title { font-size: 30px; }
	.hp-hero__subtitle { font-size: 15px; }
}

/* --- кнопки --- */
.hp-btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 30px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hp-btn--primary { background: var(--sr-primary); color: #fff !important; }
.hp-btn--primary:hover { background: var(--sr-primary-dark); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(255,153,51,.35); color: #fff !important; }
.hp-btn--lg { padding: 17px 34px; font-size: 16px; }
.hp-btn--whatsapp { background: var(--sr-whatsapp); color: #fff !important; }
.hp-btn--whatsapp:hover { background: #1ebe57; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(37,211,102,.35); color: #fff !important; }

/* ===================== ЦИФРЫ ДОВЕРИЯ ===================== */
.hp-stats { background: #fff; padding: 36px 0; border-bottom: 1px solid var(--sr-line); position: relative; z-index: 3; margin-top: -46px; }
.hp-stats__grid { display: flex; flex-wrap: wrap; gap: 16px; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(36,48,61,.1); padding: 30px 20px; }
.hp-stat { text-align: center; flex: 1 1 0; min-width: 130px; }
.hp-stat__num { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 34px; color: var(--sr-ink); }
.hp-stat__num::after { content: '+'; color: var(--sr-primary); }
.hp-stat__label { font-size: 13px; color: var(--sr-muted); margin-top: 4px; }
@media (max-width: 767px) {
	.hp-stats { margin-top: -30px; }
	.hp-stats__grid { border-radius: 16px; padding: 20px 14px; gap: 18px 10px; }
	.hp-stat { flex: 1 1 0; min-width: 120px; }
	.hp-stat__num { font-size: 26px; }
}

/* ===================== ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ ===================== */
.hp-section-label { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sr-accent-dark); background: rgba(6,174,212,.1); padding: 6px 14px; border-radius: 20px; margin-bottom: 14px; }
.hp-h2 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 30px; color: var(--sr-ink); margin: 0 0 30px; }
.hp-about, .hp-destinations, .hp-picks, .hp-reviews, .hp-final { padding: 70px 0; }
.hp-destinations, .hp-final { background: var(--sr-bg); }

/* ===================== О ГАЛИНЕ ===================== */
.hp-about__grid { display: flex; align-items: center; gap: 50px; }
.hp-about__photo { flex: 0 0 300px; width: 300px; }
.hp-about__body { flex: 1 1 auto; min-width: 0; }
.hp-about__photo img { display: block; width: 100%; border-radius: 20px; box-shadow: 0 24px 50px rgba(36,48,61,.16); }
.hp-about__text { font-size: 15.5px; line-height: 1.7; color: var(--sr-muted); margin-bottom: 22px; }
.hp-about__points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.hp-about__points li { flex: 1 1 0; min-width: 200px; font-size: 14.5px; color: var(--sr-ink); font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.hp-about__points i { color: var(--sr-ok); margin-top: 2px; }
.hp-about__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) {
	.hp-about__grid { flex-direction: column; gap: 30px; text-align: center; }
	.hp-about__photo { flex-basis: auto; width: 220px; }
	.hp-about__photo img { max-width: 220px; margin: 0 auto; }
	.hp-about__points li { flex-basis: 100%; }
	.hp-about__points { text-align: left; }
	.hp-about__actions { justify-content: center; }
}

/* ===================== НАПРАВЛЕНИЯ ===================== */
.hp-destinations__grid { display: flex; flex-wrap: wrap; gap: 18px; }
.hp-dest-card { position: relative; flex: 1 1 0; min-width: 210px; border-radius: 18px; padding: 26px 22px; text-decoration: none; display: flex; flex-direction: column; min-height: 150px; transition: transform .3s ease, box-shadow .3s ease; }
.hp-dest-card--active { background: linear-gradient(135deg, var(--sr-accent), var(--sr-accent-dark)); color: #fff; box-shadow: 0 14px 30px rgba(6,174,212,.25); }
.hp-dest-card--active:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(6,174,212,.35); }
.hp-dest-card__badge { align-self: flex-start; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 12px; margin-bottom: auto; }
.hp-dest-card__name { font-size: 19px; font-weight: 800; margin: 14px 0 6px; }
.hp-dest-card__cta { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hp-dest-card--soon { background: #fff; border: 1.5px dashed var(--sr-line); color: var(--sr-muted); align-items: center; justify-content: center; text-align: center; }
.hp-dest-card__lock { font-size: 20px; color: #c3cdd6; margin-bottom: 10px; }
.hp-dest-card--soon .hp-dest-card__name { font-size: 16px; color: var(--sr-ink); }
.hp-dest-card__soon-label { font-size: 12px; font-weight: 700; color: var(--sr-primary); text-transform: uppercase; letter-spacing: .05em; }

/* ===================== ПОДБОРКА ОТЕЛЕЙ ===================== */
.hp-picks__grid { display: flex; flex-wrap: wrap; gap: 22px; }
.hp-pick-card { flex: 1 1 0; min-width: 280px; display: block; text-decoration: none; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(36,48,61,.08); transition: transform .3s ease, box-shadow .3s ease; }
.hp-pick-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(36,48,61,.14); }
.hp-pick-card__img { height: 200px; overflow: hidden; }
.hp-pick-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hp-pick-card:hover .hp-pick-card__img img { transform: scale(1.08); }
.hp-pick-card__body { padding: 16px 18px; }
.hp-pick-card__name { font-weight: 700; font-size: 15px; color: var(--sr-ink); margin-bottom: 6px; }
.hp-pick-card__rating { font-size: 13px; color: var(--sr-muted); }
.hp-pick-card__rating i { color: var(--sr-primary); margin-right: 3px; }

/* ===================== ОТЗЫВЫ ===================== */
.hp-reviews__note { font-size: 13px; color: var(--sr-muted); margin: -14px 0 30px; max-width: 620px; }
.hp-reviews__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.hp-review-card { flex: 1 1 0; min-width: 280px; background: #fff; border: 1px solid var(--sr-line); border-radius: 16px; padding: 20px; transition: transform .3s ease, box-shadow .3s ease; }
.hp-review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(36,48,61,.1); }
.hp-review-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hp-review-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.hp-review-card__who { flex: 1; }
.hp-review-card__author { font-weight: 700; font-size: 13.5px; color: var(--sr-ink); }
.hp-review-card__date { font-size: 11.5px; color: var(--sr-muted); }
.hp-review-card__stars { font-size: 11px; color: var(--sr-primary); white-space: nowrap; }
.hp-review-card__text { font-size: 13.5px; line-height: 1.55; color: var(--sr-muted); margin: 0 0 12px; }
.hp-review-card__hotel { font-size: 12.5px; font-weight: 700; color: var(--sr-accent-dark); text-decoration: none; }
.hp-review-card__hotel:hover { text-decoration: underline; }

/* ===================== ФИНАЛЬНЫЙ CTA ===================== */
.hp-final__box { text-align: center; background: linear-gradient(120deg, var(--sr-primary), var(--sr-accent)); border-radius: 24px; padding: 56px 30px; color: #fff; }
.hp-final__box .hp-h2 { color: #fff; }
.hp-final__box p { max-width: 560px; margin: 0 auto 28px; opacity: .92; font-size: 15.5px; }
.hp-final__box .hp-btn--primary { background: #fff; color: var(--sr-primary-dark) !important; }
.hp-final__box .hp-btn--primary:hover { background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.2); }

/* --- виджет рейтинга на карточке отеля --- */
.hotel-info__rating { display: inline-flex; align-items: center; gap: 10px; background: var(--sr-ok); color: #fff; padding: 8px 14px; border-radius: 12px; margin: 10px 0 14px; }
.hotel-info__rating-icon { color: #fff; flex: none; }
.hotel-info__rating-number { font-weight: 800; font-size: 18px; line-height: 1.1; }
.hotel-info__rating-word { font-size: 11.5px; opacity: .9; }

/* ===================== КАТЕГОРИЯ / КАТАЛОГ (сайтвайд) ===================== */

/* --- заголовок + breadcrumb --- */
.breadcrumb-h1 { padding: 26px 0 20px; }
.breadcrumb-h1 .breadcrumb { background: none; padding: 0; margin: 0 0 10px; font-size: 13px; }
.breadcrumb-h1 .breadcrumb li a { color: var(--sr-muted); text-decoration: none; transition: color .2s ease; }
.breadcrumb-h1 .breadcrumb li a:hover { color: var(--sr-primary); }
.breadcrumb-h1 .breadcrumb li:not(:last-child)::after { content: '/'; color: #c3cdd6; margin: 0 6px; }
.breadcrumb-h1 .breadcrumb li:last-child { color: var(--sr-ink); font-weight: 600; }
.breadcrumb-h1 .heading { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 30px; color: var(--sr-ink); margin: 0; }

/* --- сайдбар: дерево категорий --- */
#column-left .menu-module { background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(36,48,61,.06); padding: 10px; margin-bottom: 20px; }
.menu-module__ul { list-style: none; margin: 0; padding: 0; }
.menu-module__a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; color: var(--sr-ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease; }
.menu-module__a:hover { background: var(--sr-bg); color: var(--sr-primary-dark); }
.menu-module__a.active { background: linear-gradient(120deg, rgba(255,153,51,.12), rgba(6,174,212,.12)); color: var(--sr-primary-dark); }
.menu-module__pm { color: #c3cdd6; }
.menu-module__children { padding: 2px 0 6px 22px; }
.menu-module__children-a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--sr-muted); font-size: 13.5px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.menu-module__children-a:hover { background: var(--sr-bg); color: var(--sr-primary-dark); }
.menu-module__children-a.active { color: var(--sr-primary); font-weight: 700; background: var(--sr-bg); }

/* --- панель сортировки --- */
.sorts-block { background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(36,48,61,.06); padding: 14px 18px; margin-bottom: 22px; }
.sorts-block hr { display: none; }
.sorts-block__span { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--sr-muted); cursor: pointer; transition: background .2s ease, color .2s ease; }
.sorts-block__span:hover { background: var(--sr-bg); color: var(--sr-ink); }
.sorts-block__span.selected { background: var(--sr-primary); color: #fff; }
.sorts-block select.form-control { border-radius: 20px; border-color: var(--sr-line); font-size: 13px; font-weight: 600; color: var(--sr-ink); }
.sorts-block__btn-group .btn { border-radius: 10px !important; border-color: var(--sr-line); color: var(--sr-muted); }
.sorts-block__btn-group .btn:hover, .sorts-block__btn-group .btn.active { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }

/* --- карточки товаров (каталог/поиск/похожие — сайтвайд) --- */
.product-thumb { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(36,48,61,.07); transition: transform .3s ease, box-shadow .3s ease; border: none !important; }
.product-thumb:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(36,48,61,.13); }
.product-thumb__image { position: relative; border-radius: 16px 16px 0 0; overflow: hidden; }
.product-thumb__image img { border-radius: 16px 16px 0 0; transition: transform .45s ease; }
.product-thumb:hover .product-thumb__image img { transform: scale(1.07); }
.hc-card-stars { position: absolute; top: 10px; left: 10px; background: rgba(24,32,41,.72); color: var(--sr-primary); font-size: 10.5px; padding: 5px 9px; border-radius: 20px; display: flex; gap: 2px; }
.hc-card-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--sr-muted); margin: 4px 0 6px; }
.hc-card-facts i { color: var(--sr-accent); margin-right: 3px; }
.hc-card-more { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--sr-accent-dark); text-decoration: none; margin: 2px 0 10px; }
.hc-card-more:hover { color: var(--sr-primary); text-decoration: none; }
.hc-card-more i { font-size: 10px; transition: transform .2s ease; }
.hc-card-more:hover i { transform: translateX(3px); }
.product-thumb__rating.rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; }
.product-thumb__rating.rating i { color: var(--sr-primary); font-size: 12px; }
.product-thumb__rating-a { background: var(--sr-bg); color: var(--sr-muted) !important; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-decoration: none !important; }
.product-thumb__caption { padding: 16px 18px 18px; }
.product-thumb__name { font-weight: 700; color: var(--sr-ink) !important; text-decoration: none; font-size: 15px; }
.product-thumb__name:hover { color: var(--sr-primary) !important; }
.product-thumb__price { font-weight: 800; color: var(--sr-ink); }
.product-thumb__cart .add_to_cart { border-radius: 22px !important; font-weight: 700; }

.products-block .product-layout { animation: sr-card-in .5s ease both; }
.products-block .product-layout:nth-child(1) { animation-delay: .02s; }
.products-block .product-layout:nth-child(2) { animation-delay: .07s; }
.products-block .product-layout:nth-child(3) { animation-delay: .12s; }
.products-block .product-layout:nth-child(4) { animation-delay: .17s; }
.products-block .product-layout:nth-child(5) { animation-delay: .22s; }
.products-block .product-layout:nth-child(6) { animation-delay: .27s; }
.products-block .product-layout:nth-child(n+7) { animation-delay: .3s; }
@keyframes sr-card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* --- пагинация --- */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 6px; border-radius: 10px; background: #fff; border: 1px solid var(--sr-line); color: var(--sr-ink); font-weight: 600; font-size: 13.5px; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pagination li a:hover { background: var(--sr-bg); border-color: var(--sr-primary); color: var(--sr-primary-dark); }
.pagination li.active span, .pagination li.active a { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }

/* --- виджет фильтров --- */
.filter-default { background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(36,48,61,.06); padding: 16px; margin-bottom: 20px; }
.filter-default .heading { font-weight: 700; font-size: 15px; color: var(--sr-ink); margin-bottom: 6px; }
.filter-default__group { padding: 10px 0; border-top: 1px solid var(--sr-line); }
.filter-default__group:first-child { border-top: none; padding-top: 0; }
.filter-default__group-name { font-weight: 700; font-size: 13px; color: var(--sr-ink); margin-bottom: 8px; }
.filter-default__item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--sr-muted); padding: 5px 0; cursor: pointer; font-weight: 500; }
.filter-default__item input { accent-color: var(--sr-primary); width: 15px; height: 15px; flex: none; }
.filter-default__item a { color: inherit; text-decoration: none; flex: 1; }
.filter-default__item a:hover { color: var(--sr-primary-dark); }
.filter-default #button-filter { width: 100%; margin-top: 10px; border-radius: 12px; background: var(--sr-primary); border: none; font-weight: 700; }
.filter-default #button-filter:hover { background: var(--sr-primary-dark); }
.filter-default hr { border-color: var(--sr-line); margin: 8px 0; }
.filter-default__icon { position: fixed; bottom: 20px; left: 20px; z-index: 999; width: 48px; height: 48px; border-radius: 50%; background: var(--sr-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(255,153,51,.4); }

/* ===================== ЦИФРЫ ДОВЕРИЯ v2 (иконки + бирюзовый акцент) ===================== */
.hp-stat { position: relative; }
.hp-stat__icon { display: block; font-size: 20px; color: var(--sr-accent); margin-bottom: 10px; }
.hp-stat__num { color: var(--sr-accent-dark) !important; }

/* ===================== НАПРАВЛЕНИЯ v2 (фото вместо заливки) ===================== */
.hp-dest-card--active {
	background-size: cover;
	background-position: center;
	min-height: 190px;
	justify-content: flex-end;
	color: #fff;
	box-shadow: 0 14px 30px rgba(20,30,40,.25);
}
.hp-dest-card--active::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,30,40,.05) 0%, rgba(20,30,40,.35) 55%, rgba(20,30,40,.82) 100%);
	border-radius: inherit;
}
.hp-dest-card--active > * { position: relative; z-index: 1; }
.hp-dest-card--active .hp-dest-card__badge { background: rgba(255,255,255,.22); backdrop-filter: blur(3px); margin-bottom: 0; }
.hp-dest-card--active:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,30,40,.35); }
.hp-dest-card--active .hp-dest-card__name { text-shadow: 0 2px 10px rgba(0,0,0,.3); }

/* ===================== КАК ЭТО РАБОТАЕТ ===================== */
.hp-how { padding: 70px 0; background: #fff; }
.hp-how__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.hp-how-step { flex: 1 1 0; min-width: 210px; position: relative; padding-top: 8px; }
.hp-how-step__num { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; font-size: 32px; color: rgba(6,174,212,.18); line-height: 1; margin-bottom: 10px; }
.hp-how-step__title { font-size: 16.5px; font-weight: 700; color: var(--sr-ink); margin-bottom: 8px; }
.hp-how-step__text { font-size: 14px; line-height: 1.6; color: var(--sr-muted); }
.hp-how-step:not(:last-child)::after { content: ''; position: absolute; top: 22px; right: -14px; width: 24px; height: 2px; background: var(--sr-line); display: none; }
@media (min-width: 992px) { .hp-how-step:not(:last-child)::after { display: block; } }

/* ===================== FAQ ===================== */
.hp-faq { padding: 70px 0; background: var(--sr-bg); }
.hp-faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.hp-faq-item { background: #fff; border-radius: 14px; padding: 4px 22px; box-shadow: 0 4px 16px rgba(36,48,61,.06); }
.hp-faq-item__q { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; font-size: 15.5px; color: var(--sr-ink); position: relative; }
.hp-faq-item__q::-webkit-details-marker { display: none; }
.hp-faq-item__q i { position: absolute; right: 0; top: 20px; color: var(--sr-accent); transition: transform .25s ease; font-size: 13px; }
.hp-faq-item[open] .hp-faq-item__q i { transform: rotate(180deg); }
.hp-faq-item__a { font-size: 14.5px; line-height: 1.65; color: var(--sr-muted); padding: 0 0 20px; }

/* ===================== ПОЛИРОВКА v3: палитра, типографика, хиро с фото, единый язык карточек ===================== */

/* --- обновлённая палитра: тёплый терракот вместо чистого оранжевого, тёплый фон --- */
:root {
	--sr-primary: #e2703f;
	--sr-primary-dark: #c85f34;
	--sr-bg: #faf7f2;
}

/* --- заголовки: Playfair Display для характера --- */
.hp-hero__title, .hp-h2, .hp-final__box h2 {
	font-family: 'Playfair Display', Georgia, serif;
	letter-spacing: -.01em;
}
.hp-h2 { font-size: 32px; }

/* ===================== ХИРО v2: светлый сплит с фото ===================== */
.hp-hero--split {
	min-height: auto;
	background: linear-gradient(180deg, #fff 0%, var(--sr-bg) 100%);
	padding: 64px 0 90px;
	display: block;
	overflow: visible;
}
.hp-hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; z-index: 0; }
.hp-hero__blob--1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(226,112,63,.35), transparent 70%); top: -80px; right: 8%; }
.hp-hero__blob--2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(6,174,212,.28), transparent 70%); bottom: -60px; left: 4%; }
.hp-hero__split { position: relative; z-index: 1; display: flex; align-items: center; gap: 56px; }
.hp-hero__text { flex: 1 1 480px; min-width: 0; }
.hp-hero__badge { background: rgba(226,112,63,.1); border: 1px solid rgba(226,112,63,.25); color: var(--sr-primary-dark); backdrop-filter: none; }
.hp-hero__badge i { color: var(--sr-primary); }
.hp-hero__title { color: var(--sr-ink); font-size: 44px; }
.hp-hero__subtitle { color: var(--sr-muted); }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-btn--ghost { background: #fff; color: var(--sr-ink) !important; border: 1.5px solid var(--sr-line); }
.hp-btn--ghost i { color: var(--sr-whatsapp); }
.hp-btn--ghost:hover { border-color: var(--sr-whatsapp); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(36,48,61,.12); }

.hp-hero__photo { flex: 0 0 360px; width: 360px; position: relative; }
.hp-hero__photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; box-shadow: 0 34px 64px rgba(36,48,61,.22); }
.hp-hero__photo-badge {
	position: absolute; left: -28px; bottom: 34px;
	background: #fff; border-radius: 18px; padding: 16px 20px;
	box-shadow: 0 18px 40px rgba(36,48,61,.18);
	display: flex; flex-direction: column; min-width: 108px;
}
.hp-hero__photo-badge-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; color: var(--sr-accent-dark); line-height: 1; }
.hp-hero__photo-badge-label { font-size: 11.5px; color: var(--sr-muted); margin-top: 4px; line-height: 1.3; }
.hp-hero__photo-name {
	position: absolute; right: 14px; top: 18px;
	background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
	border-radius: 30px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--sr-ink);
	box-shadow: 0 8px 20px rgba(36,48,61,.12);
}
.hp-hero__photo-name span { color: var(--sr-primary-dark); font-weight: 800; }
@media (max-width: 991px) {
	.hp-hero__split { flex-direction: column; gap: 40px; }
	.hp-hero__photo { width: 280px; flex-basis: auto; }
	.hp-hero__photo-badge { left: -14px; }
	.hp-hero__title { font-size: 34px; }
}
@media (max-width: 767px) {
	.hp-hero--split { padding: 40px 0 60px; }
	.hp-hero__title { font-size: 28px; }
}

/* ===================== ЕДИНЫЙ ЯЗЫК КАРТОЧЕК ===================== */
.hp-pick-card, .hp-review-card, .hp-faq-item, .hp-how-step { border-radius: 20px; }
.hp-pick-card { box-shadow: 0 10px 28px rgba(36,48,61,.09); }
.hp-review-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 10px 28px rgba(36,48,61,.07); }
.hp-review-card__avatar { background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent)) !important; }

/* ===================== v4: ВИДЕО-ФОН ХИРО, МАРШРУТ С САМОЛЁТОМ, FAQ НА ВСЮ ШИРИНУ ===================== */

/* --- видео-фон хиро (под контентом, с молочной вуалью для читаемости) --- */
.hp-hero--split { position: relative; }
.hp-hero__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hp-hero__video {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	min-width: 100%; min-height: 100%; width: auto; height: auto;
	object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hp-hero__video.is-playing { opacity: 1; }
.hp-hero__veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.84) 45%, rgba(250,247,242,.94) 100%);
}
@media (max-width: 991px) { .hp-hero__veil { background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(250,247,242,.96)); } }

/* --- маршрут с летящим самолётом --- */
.hp-route { position: relative; padding-top: 10px; }
.hp-route__svg { display: block; width: 100%; height: 170px; overflow: visible; }
.hp-route__path {
	stroke: rgba(6,174,212,.45); stroke-width: 2.4; stroke-linecap: round;
	stroke-dasharray: 9 11;
	vector-effect: non-scaling-stroke;
}
.hp-route__plane {
	position: absolute; top: 0; left: 0; width: 42px; height: 42px; margin: -21px 0 0 -21px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; color: var(--sr-primary); border-radius: 50%;
	box-shadow: 0 10px 24px rgba(36,48,61,.18);
	font-size: 16px; opacity: 0; transition: opacity .4s ease;
	will-change: transform;
	z-index: 2;
}
.hp-route.is-ready .hp-route__plane { opacity: 1; }
.hp-route__stops { display: flex; flex-wrap: wrap; gap: 24px; margin-top: -6px; }
.hp-route-stop { flex: 1 1 0; min-width: 210px; text-align: center; }
.hp-route-stop__icon {
	width: 62px; height: 62px; margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #fff; color: var(--sr-accent-dark); font-size: 22px;
	box-shadow: 0 10px 26px rgba(36,48,61,.10); border: 1px solid var(--sr-line);
	transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.hp-route-stop:hover .hp-route-stop__icon { transform: translateY(-5px) scale(1.06); color: var(--sr-primary); box-shadow: 0 16px 32px rgba(36,48,61,.16); }
.hp-route-stop__num { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sr-accent); margin-bottom: 6px; }
.hp-route-stop__title { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; color: var(--sr-ink); margin: 0 0 8px; }
.hp-route-stop__text { font-size: 14px; line-height: 1.6; color: var(--sr-muted); margin: 0; }
@media (max-width: 991px) {
	.hp-route__svg, .hp-route__plane { display: none; }
	.hp-route-stop { flex: 1 1 42%; min-width: 150px; }
}

/* --- FAQ во всю ширину, в две колонки --- */
.hp-faq__list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
@media (max-width: 767px) { .hp-faq__list { grid-template-columns: 1fr; } }

/* --- уважение к prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
	.hp-hero__video { display: none; }
	.hp-reveal { opacity: 1 !important; transform: none !important; }
	.hp-hero__bg { animation: none; }
}

/* --- v5: вуаль-градиент (плотная под текстом, прозрачнее у фото) + больше воздуха в хиро --- */
.hp-hero--split { padding: 76px 0 100px; }
.hp-hero__veil {
	background:
		linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 34%, rgba(255,255,255,.62) 62%, rgba(255,255,255,.50) 100%),
		linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 35%, rgba(250,247,242,.85) 100%);
}
@media (max-width: 991px) {
	.hp-hero--split { padding: 44px 0 64px; }
	.hp-hero__veil { background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(250,247,242,.96)); }
}

/* --- v6: иконки маршрута садятся на линию --- */
.hp-route__stops { margin-top: -50px; position: relative; z-index: 1; }
.hp-route-stop__icon { box-shadow: 0 8px 22px rgba(36,48,61,.12), 0 0 0 6px var(--sr-bg); }
.hp-how { background: var(--sr-bg); }

/* --- v7: на узких экранах линия скрыта → убираем отрицательный отступ, иначе заголовок наезжает --- */
@media (max-width: 991px) {
	.hp-route__stops { margin-top: 6px; }
	.hp-route { padding-top: 0; }
}

/* --- v8: декоративная полоса с самолётиками между секциями --- */
.hp-stripe {
	height: 96px;
	background: url('/image/catalog/home/stripe-fly.webp') center/cover no-repeat;
	position: relative;
}
.hp-stripe::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(250,247,242,.55) 100%);
}
@media (max-width: 767px) { .hp-stripe { height: 64px; } }

/* --- v9: полоса выше, чтобы самолётики читались --- */
.hp-stripe { height: 140px; background-position: center 35%; }
@media (max-width: 767px) { .hp-stripe { height: 78px; } }

/* --- v9: полоса выше, чтобы самолётики читались --- */
.hp-stripe { height: 140px; background-position: center 35%; }
@media (max-width: 767px) { .hp-stripe { height: 78px; } }

/* ===================== КАТАЛОГ: ГЕРОЙ КУРОРТА ===================== */
.hc-hidden { display: none !important; }
.hc-cat-hero { position: relative; overflow: hidden; margin-bottom: 30px; }
.hc-cat-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hc-cat-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,40,.35) 0%, rgba(20,30,40,.55) 55%, rgba(20,30,40,.82) 100%); }
.hc-cat-hero__inner { position: relative; z-index: 2; padding: 34px 16px 30px; }
.hc-cat-hero__crumbs { background: none !important; padding: 0 !important; margin: 0 0 12px !important; }
.hc-cat-hero__crumbs li, .hc-cat-hero__crumbs li a { color: rgba(255,255,255,.82) !important; font-size: 13px; }
.hc-cat-hero__crumbs li a:hover { color: #fff !important; }
.hc-cat-hero__title { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 40px; line-height: 1.12; color: #fff; margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hc-cat-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hc-cat-fact { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(5px); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 20px; }
.hc-cat-fact b { font-weight: 800; }
.hc-cat-hero__agent { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: rgba(255,255,255,.95); border-radius: 18px; padding: 12px 16px; max-width: 660px; box-shadow: 0 16px 36px rgba(20,30,40,.24); }
.hc-cat-hero__agent-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.hc-cat-hero__agent-text { flex: 1 1 260px; font-size: 13.5px; line-height: 1.5; color: var(--sr-ink); }
.hc-cat-hero__agent-text b { color: var(--sr-primary-dark); }
.hc-cat-hero__agent-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--sr-whatsapp); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.hc-cat-hero__agent-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37,211,102,.4); }
@media (max-width: 767px) { .hc-cat-hero__title { font-size: 27px; } .hc-cat-hero__inner { padding: 24px 16px 22px; } .hc-cat-hero__agent { padding: 12px; } .hc-cat-hero__agent-text { font-size: 12.5px; } }

/* ===================== КАТАЛОГ: КАРТОЧКИ, СОРТИРОВКА, ФИЛЬТР, ПАГИНАЦИЯ ===================== */
.product-thumb { border-radius: 20px !important; overflow: hidden; box-shadow: 0 10px 28px rgba(36,48,61,.08); border: 1px solid var(--sr-line) !important; transition: transform .3s ease, box-shadow .3s ease; }
.product-thumb:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(36,48,61,.14); }
.product-thumb .name a, .product-thumb .name { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--sr-ink); }
.hc-card-more { color: var(--sr-accent-dark) !important; font-weight: 700; }
.hc-card-more:hover { color: var(--sr-primary) !important; }
.product-thumb .button-group .btn-cart,
.product-thumb .btn-cart { background: var(--sr-primary) !important; border-color: var(--sr-primary) !important; border-radius: 22px !important; font-weight: 700; }
.product-thumb .button-group .btn-cart:hover,
.product-thumb .btn-cart:hover { background: var(--sr-primary-dark) !important; border-color: var(--sr-primary-dark) !important; }
.hc-card-stars { background: rgba(36,48,61,.72) !important; backdrop-filter: blur(4px); border-radius: 14px !important; }

/* сортировка — пилюли */
.uni-sort-panel, .product-filter { border-radius: 18px !important; border: 1px solid var(--sr-line) !important; box-shadow: 0 6px 20px rgba(36,48,61,.06); }
.product-filter .sort-item.active, .product-filter a.active { background: var(--sr-primary) !important; color: #fff !important; border-radius: 20px; }

/* фильтр слева */
.filter-default { border-radius: 18px !important; border: 1px solid var(--sr-line) !important; box-shadow: 0 6px 20px rgba(36,48,61,.06); }
.filter-default__heading, .filter-default .list-group-item:first-child { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }

/* пагинация */
.pagination > li > a, .pagination > li > span { border-radius: 12px !important; margin: 0 3px; border-color: var(--sr-line) !important; color: var(--sr-ink); }
.pagination > .active > span, .pagination > .active > a { background: var(--sr-primary) !important; border-color: var(--sr-primary) !important; color: #fff !important; }
.pagination > li > a:hover { border-color: var(--sr-primary) !important; color: var(--sr-primary-dark) !important; }

/* --- каталог: правильные классы темы для кнопки и названия карточки --- */
.product-thumb__name {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-weight: 700 !important;
	color: var(--sr-ink) !important;
}
.product-thumb__name:hover { color: var(--sr-primary-dark) !important; }
.product-thumb__add-to-cart,
.product-thumb .add_to_cart {
	background: var(--sr-primary) !important;
	border-color: var(--sr-primary) !important;
	border-radius: 22px !important;
	font-weight: 700 !important;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product-thumb__add-to-cart:hover,
.product-thumb .add_to_cart:hover {
	background: var(--sr-primary-dark) !important;
	border-color: var(--sr-primary-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(226,112,63,.35);
}

/* ===================== КАТАЛОГ: ГАЛЕРЕЯ В МИНИАТЮРЕ ===================== */
.product-thumb__image { border-radius: 18px 18px 0 0 !important; overflow: hidden !important; }
.hc-gal { position: relative; display: block; overflow: hidden; border-radius: 18px 18px 0 0; }
.hc-gal picture, .hc-gal__img { display: block; width: 100%; }
.hc-gal__img { transition: opacity .35s ease; }
.hc-gal__img--extra { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hc-gal__img--extra.is-shown { opacity: 1; }
.hc-gal__dots {
	position: absolute; left: 0; right: 0; bottom: 8px;
	display: flex; justify-content: center; gap: 5px;
	opacity: 0; transition: opacity .25s ease; pointer-events: none; z-index: 3;
}
.hc-gal:hover .hc-gal__dots { opacity: 1; }
.hc-gal__dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.35);
	transition: background .2s ease, transform .2s ease;
}
.hc-gal__dot.is-on { background: #fff; transform: scale(1.35); }
.hc-gal--multi::after {
	content: '\f030';
	font-family: 'Font Awesome 5 Free'; font-weight: 900;
	position: absolute; right: 10px; bottom: 10px; z-index: 3;
	font-size: 11px; color: #fff; background: rgba(20,30,40,.55);
	padding: 4px 8px; border-radius: 10px; backdrop-filter: blur(3px);
	opacity: .85; transition: opacity .25s ease;
}
.hc-gal--multi:hover::after { opacity: 0; }

/* ===================== КАТАЛОГ: БЫСТРЫЕ ФИЛЬТРЫ ===================== */
.hc-quick {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--sr-line); border-radius: 18px;
	padding: 14px 18px; margin-bottom: 14px;
	box-shadow: 0 6px 20px rgba(36,48,61,.06);
}
.hc-quick__label { font-size: 13px; font-weight: 700; color: var(--sr-muted); flex: none; }
.hc-quick__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-quick__chip {
	display: inline-block; text-decoration: none;
	font-size: 13px; font-weight: 600; color: var(--sr-ink);
	background: var(--sr-bg); border: 1px solid var(--sr-line);
	padding: 7px 14px; border-radius: 20px;
	transition: all .2s ease;
}
.hc-quick__chip:hover { border-color: var(--sr-primary); color: var(--sr-primary-dark); transform: translateY(-1px); }
.hc-quick__chip.is-active { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }
@media (max-width: 767px) {
	.hc-quick { padding: 12px; gap: 8px; }
	.hc-quick__label { width: 100%; }
	.hc-quick__chip { font-size: 12.5px; padding: 6px 12px; }
}

/* --- мобильные правки каталога --- */
.filter-default__icon { top: auto !important; bottom: 20px !important; }
@media (max-width: 767px) {
	.hc-cat-hero__facts { gap: 6px; margin-bottom: 16px; }
	.hc-cat-fact { font-size: 11.5px; padding: 5px 10px; border-radius: 16px; }
	.hc-cat-hero__title { margin-bottom: 12px; }
}

/* ===================== ШАПКА: МЕНЮ-ТАБЛЕТКА ПО ШИРИНЕ КОНТЕЙНЕРА ===================== */
/* убираем полноэкранную заливку, которую тема рисует через ::before */
.main-menu.set-before::before,
.main-menu.set-after::after { display: none !important; }

nav.menu.menu2 {
	border-radius: 30px;
	box-shadow: 0 10px 26px rgba(6,174,212,.22);
	margin: 10px 0 4px;
}
/* скругляем подсветку крайних пунктов, чтобы углы оставались круглыми */
nav.menu.menu2 > .menu__collapse > li:first-child > a { border-radius: 30px 0 0 30px; }
nav.menu.menu2 > .menu__collapse > li:last-child > a { border-radius: 0 30px 30px 0; }

@media (max-width: 767px) {
	nav.menu.menu2 { border-radius: 18px; margin: 8px 0 2px; box-shadow: 0 6px 16px rgba(6,174,212,.2); }
	nav.menu.menu2 > .menu__collapse > li:first-child > a,
	nav.menu.menu2 > .menu__collapse > li:last-child > a { border-radius: 0; }
}

/* ===================== ШАПКА v2: без дублей, мессенджеры, компактный скролл ===================== */

/* 6) убираем вторую «летающую» панель темы — она дублировала поиск при скролле */
.fly-menu, .fly-menu.show { display: none !important; }

/* 8) корзина на сайте подбора туров не используется */
.header-block__item-cart, .header-cart { display: none !important; }

/* 5) меню-таблетка: внутренний отступ убирает шов на скруглении */
nav.menu.menu2 { padding: 0 8px; }
nav.menu.menu2 > .menu__collapse > li:first-child > a,
nav.menu.menu2 > .menu__collapse > li:last-child > a { border-radius: 0; }

/* 7) мессенджеры рядом с телефоном */
.sr-msgs { display: flex; align-items: center; gap: 8px; flex: none; }
.sr-msgs__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	color: #fff !important; font-size: 18px; text-decoration: none; flex: none;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sr-msgs__link:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sr-msgs__link--wa { background: #25d366; }
.sr-msgs__link--wa:hover { box-shadow: 0 8px 18px rgba(37,211,102,.42); }
.sr-msgs__link--tg { background: #29a9eb; }
.sr-msgs__link--tg:hover { box-shadow: 0 8px 18px rgba(41,169,235,.42); }
.sr-msgs__link--max { background: linear-gradient(135deg, #8b5cf6, #6d3bf5); font-size: 0; }
.sr-msgs__link--max span { font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.sr-msgs__link--max:hover { box-shadow: 0 8px 18px rgba(109,59,245,.42); }

/* 10) порядок и выравнивание элементов шапки */
.header-block { align-items: center; }
.sr-header-cta { display: flex; align-items: center; gap: 12px; }

/* компактный режим при прокрутке: прячем верхнюю служебную полоску, поджимаем отступы */
header.sr-scrolled .top-menu { display: none; }
header.sr-scrolled .header-block { min-height: 0; }
header.sr-scrolled .header-block__item { padding-top: 6px !important; padding-bottom: 6px !important; }
header.sr-scrolled #logo.header-logo img { max-height: 36px; }
header.sr-scrolled nav.menu.menu2 { margin: 4px 0 2px; }

@media (max-width: 991px) {
	.sr-msgs__link { width: 34px; height: 34px; font-size: 16px; }
	.sr-msgs__link--max span { font-size: 9.5px; }
}
@media (max-width: 767px) {
	.sr-msgs { gap: 6px; }
	.sr-msgs__link { width: 32px; height: 32px; font-size: 15px; }
	header.sr-scrolled .top-menu { display: none; }
}

/* 10) порядок элементов шапки: лого → поиск → телефон → мессенджеры и CTA */
.header-block__item.sr-header-cta { order: 4; margin-left: 14px; }
.header-block__item-search { flex: 1 1 auto; min-width: 180px; }
.header-block__item-telephone { margin-left: 10px; }
@media (max-width: 991px) {
	.header-block__item.sr-header-cta { margin-left: 8px; }
}

/* ===================== МОДАЛКА ЗАЯВКИ: адаптив + современный вид ===================== */
#modal-request-form .modal-dialog.modal-sm,
#modal-request-form .modal-dialog {
	max-width: 560px; width: calc(100% - 32px); margin: 0 auto;
}
#modal-request-form { display: flex !important; align-items: center; justify-content: center; }
#modal-request-form.modal { padding: 0 !important; }
#modal-request-form .modal-dialog { display: flex; align-items: center; min-height: 100%; }
#modal-request-form .modal-content {
	width: 100%; border: none; border-radius: 24px; overflow: hidden;
	box-shadow: 0 40px 90px rgba(20,30,40,.35);
}

/* шапка модалки: тёплый градиент + фото агента */
#modal-request-form .modal-header {
	position: relative; border: none; padding: 22px 56px 20px 92px;
	background: linear-gradient(135deg, var(--sr-primary) 0%, #e2925f 45%, var(--sr-accent) 130%);
}
#modal-request-form .modal-header::before {
	content: ''; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
	width: 54px; height: 54px; border-radius: 50%;
	background: url('/image/catalog/agent/galina-hq.jpg?v=2') center 18% / cover no-repeat;
	border: 2.5px solid rgba(255,255,255,.85);
	box-shadow: 0 6px 16px rgba(20,30,40,.22);
}
#modal-request-form .modal-header::after {
	content: 'Бесплатно · отвечу в течение часа';
	display: block; margin-top: 4px;
	font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.92);
}
#modal-request-form .modal-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px; font-weight: 700; color: #fff; margin: 0; line-height: 1.2;
}
#modal-request-form .modal-header .close {
	position: absolute; right: 16px; top: 16px; opacity: .9;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255,255,255,.2); color: #fff; text-shadow: none;
	font-size: 22px; line-height: 32px; border: none; transition: background .2s ease;
}
#modal-request-form .modal-header .close:hover { background: rgba(255,255,255,.34); opacity: 1; }

/* тело формы */
#modal-request-form .modal-body { padding: 22px 24px 24px; background: #fff; }
#modal-request-form .modal-request__row { display: flex; gap: 12px; }
#modal-request-form .modal-request__row > * { flex: 1 1 0; min-width: 0; }
#modal-request-form .modal-request__input {
	height: 48px; border: 1.5px solid var(--sr-line); border-radius: 12px;
	padding: 0 14px; font-size: 14.5px; color: var(--sr-ink); width: 100%;
	box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease;
	margin-bottom: 12px; background: #fff;
}
#modal-request-form textarea.modal-request__input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
#modal-request-form select.modal-request__input { appearance: none; -webkit-appearance: none; background-image: none; }
#modal-request-form .modal-request__input:focus {
	border-color: var(--sr-primary); outline: none;
	box-shadow: 0 0 0 4px rgba(226,112,63,.14);
}
#modal-request-form .modal-request__input::placeholder { color: #9aa6b2; }

/* кнопка отправки */
#modal-request-form .modal-request__btn {
	width: 100%; height: 52px; border: none; border-radius: 26px;
	background: var(--sr-primary); color: #fff; font-weight: 700; font-size: 16px;
	margin-top: 4px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#modal-request-form .modal-request__btn:hover {
	background: var(--sr-primary-dark); transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(226,112,63,.38);
}

/* подпись под формой (добавляется скриптом) */
.sr-modal-note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--sr-muted); text-align: center; }
.sr-modal-note a { color: var(--sr-accent-dark); }
.sr-modal-alt { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.sr-modal-alt a {
	display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
	font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 20px;
	border: 1.5px solid var(--sr-line); color: var(--sr-ink);
	transition: all .2s ease;
}
.sr-modal-alt a:hover { border-color: var(--sr-whatsapp); color: var(--sr-whatsapp); }

@media (max-width: 575px) {
	#modal-request-form .modal-dialog { width: 100%; align-items: flex-end; }
	#modal-request-form .modal-content { border-radius: 22px 22px 0 0; }
	#modal-request-form .modal-header { padding: 18px 50px 16px 78px; }
	#modal-request-form .modal-header::before { width: 46px; height: 46px; left: 16px; }
	#modal-request-form .modal-title { font-size: 19px; }
	#modal-request-form .modal-body { padding: 18px 16px 20px; }
	#modal-request-form .modal-request__row { flex-direction: column; gap: 0; }
}

/* шапка модалки — колонка, чтобы подзаголовок шёл под заголовком */
#modal-request-form .modal-header { display: block !important; }
#modal-request-form .modal-title { display: block; width: 100%; }

/* в колоночной раскладке поля не должны делить высоту */
@media (max-width: 575px) {
	#modal-request-form .modal-request__row > * { flex: 0 0 auto; }
	#modal-request-form select.modal-request__input,
	#modal-request-form input.modal-request__input { height: 48px; }
}

/* 2) убираем крайние разделители в меню — внутренние оставляем */
nav.menu.menu2 .menu__level-1-li:last-child { border-right: none !important; }
nav.menu.menu2 .menu__level-1-li:first-child { border-left: none !important; }

/* 9) фирменная иконка MAX */
.sr-msgs__link--max { font-size: 0; }
.sr-msgs__svg { display: block; }

/* 3) подпись под телефоном */
.sr-phone-caption {
	font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
	color: var(--sr-muted); margin-top: 2px; white-space: nowrap;
}
@media (max-width: 767px) { .sr-phone-caption { display: none; } }

/* 4) верхняя панель: полезные ссылки вместо e-commerce элементов */
.top-menu__wishlist, .top-menu__compare, .top-menu__currency { display: none !important; }
.top-menu__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sr-toplink {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 600; color: var(--sr-ink); text-decoration: none;
	padding: 4px 0; transition: color .2s ease;
}
.sr-toplink i { color: var(--sr-accent); font-size: 12px; }
.sr-toplink:hover { color: var(--sr-primary-dark); }
.sr-toplink:hover i { color: var(--sr-primary); }
@media (max-width: 767px) {
	.top-menu__links { gap: 12px; }
	.sr-toplink { font-size: 12px; }
	.sr-toplink i { display: none; }
}

/* SEO-блок на главной */
.hp-seo { padding: 20px 0 60px; background: var(--sr-bg); }
.hp-seo__box { background: #fff; border: 1px solid var(--sr-line); border-radius: 20px; padding: 28px 30px; box-shadow: 0 6px 20px rgba(36,48,61,.05); }
.hp-seo__h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; color: var(--sr-ink); margin: 0 0 14px; }
.hp-seo p { font-size: 14.5px; line-height: 1.7; color: var(--sr-muted); margin: 0 0 12px; }
.hp-seo a { color: var(--sr-accent-dark); font-weight: 600; }
.hp-seo a:hover { color: var(--sr-primary-dark); }
@media (max-width: 767px) { .hp-seo__box { padding: 20px 18px; } .hp-seo__h2 { font-size: 19px; } }

/* 4) официальная синяя галочка в бейдже */
.hp-hero__verified { color: #1d9bf0 !important; }

/* 6) подпись с именем — внизу фото, поверх «подола» кадра */
.hp-hero__photo-name--bottom { top: auto !important; bottom: 16px; right: 16px; left: auto; }

/* 8) подпись под телефоном — пунктир и акцентный цвет */
.sr-phone-caption {
	color: #d64545; border-bottom: 1px dashed rgba(214,69,69,.55);
	display: inline-block; padding-bottom: 1px; cursor: default;
}

/* 9) почта с копированием по наведению */
.sr-mail { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; }
.sr-mail__link { font-size: 12.5px; font-weight: 600; color: var(--sr-muted); text-decoration: none; }
.sr-mail__link:hover { color: var(--sr-accent-dark); }
.sr-mail__copy {
	opacity: 0; pointer-events: none; transform: translateX(-4px);
	border: none; background: none; padding: 0 2px; cursor: pointer;
	color: var(--sr-muted); font-size: 12.5px; line-height: 1;
	transition: opacity .18s ease, transform .18s ease, color .18s ease;
}
.sr-mail:hover .sr-mail__copy { opacity: 1; pointer-events: auto; transform: translateX(0); }
.sr-mail__copy:hover { color: var(--sr-primary); }
.sr-mail__done {
	position: absolute; left: 0; top: -22px; white-space: nowrap;
	background: var(--sr-ink); color: #fff; font-size: 11px; font-weight: 600;
	padding: 3px 8px; border-radius: 8px; opacity: 0; transform: translateY(4px);
	transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.sr-mail.is-copied .sr-mail__done { opacity: 1; transform: translateY(0); }
@media (max-width: 991px) { .sr-mail { display: none; } }

/* ===================== ПОДВАЛ v2 ===================== */
/* прячем дефолтные колонки темы (доставка/поддержка и т.п.) */
footer.footer > .container > .row { display: none !important; }
footer.footer { padding-top: 0 !important; }

.sr-footer { padding: 48px 0 26px; color: #c3d0da; }
.sr-footer__grid { display: flex; flex-wrap: wrap; gap: 34px 28px; }
.sr-footer__col { flex: 1 1 190px; min-width: 170px; }
.sr-footer__col--brand { flex: 1.6 1 280px; }
.sr-footer__col--contacts { flex: 1.4 1 260px; }

.sr-footer__logo { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.sr-footer__logo span { color: var(--sr-primary); }
.sr-footer__pitch { font-size: 13.5px; line-height: 1.65; color: #9fb0bd; margin: 0 0 16px; }

.sr-footer__msgs { display: flex; gap: 9px; }
.sr-footer__msg { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff !important; font-size: 16px; transition: transform .2s ease, filter .2s ease; }
.sr-footer__msg:hover { transform: translateY(-2px); filter: brightness(1.1); }
.sr-footer__msg--wa { background: #25d366; }
.sr-footer__msg--tg { background: #29a9eb; }
.sr-footer__msg--max { background: linear-gradient(135deg, #8b5cf6, #6d3bf5); }

.sr-footer__head { font-family: 'Playfair Display', Georgia, serif; font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.sr-footer__list { list-style: none; margin: 0; padding: 0; }
.sr-footer__list li { margin-bottom: 9px; }
.sr-footer__list a { font-size: 13.5px; color: #9fb0bd; text-decoration: none; transition: color .2s ease; }
.sr-footer__list a:hover { color: var(--sr-primary); }

.sr-footer__phone { display: block; font-size: 19px; font-weight: 800; color: #fff !important; text-decoration: none; margin-bottom: 4px; }
.sr-footer__phone:hover { color: var(--sr-primary) !important; }
.sr-footer__mail { display: inline-block; font-size: 13.5px; color: #9fb0bd !important; text-decoration: none; margin-bottom: 12px; }
.sr-footer__mail:hover { color: var(--sr-primary) !important; }
.sr-footer__addr, .sr-footer__mode { font-size: 12.5px; line-height: 1.55; color: #9fb0bd; margin-bottom: 10px; display: flex; gap: 8px; }
.sr-footer__addr i, .sr-footer__mode i { color: var(--sr-primary); margin-top: 2px; }
.sr-footer__mode b { color: #dbe5ec; }
.sr-footer__cta {
	margin-top: 6px; border: none; border-radius: 24px; padding: 12px 20px;
	background: var(--sr-primary); color: #fff; font-weight: 700; font-size: 14px;
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sr-footer__cta:hover { background: var(--sr-primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(226,112,63,.34); }

.sr-footer__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #8294a2; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.sr-footer__disclaimer { flex: 1 1 380px; min-width: 260px; line-height: 1.55; }

@media (max-width: 767px) {
	.sr-footer { padding: 32px 0 20px; }
	.sr-footer__grid { gap: 26px 20px; }
	.sr-footer__col { flex: 1 1 140px; }
	.sr-footer__col--brand, .sr-footer__col--contacts { flex: 1 1 100%; }
}

/* поиск не должен схлопываться из-за блока контактов */
.header-block__item-search { flex: 1 1 320px !important; min-width: 260px !important; }
.header-block__item-telephone { flex: 0 0 auto; max-width: 300px; }
.header-search, .header-search__form { width: 100%; }
@media (max-width: 1199px) {
	.header-block__item-search { flex-basis: 230px !important; min-width: 200px !important; }
}

/* строка про онлайн/офис — ровный перенос */
.sr-footer__mode { display: block; }
.sr-footer__mode i { float: left; margin: 3px 8px 0 0; }

/* верхняя панель справа: адрес + заказ звонка вместо кабинета */
.top-menu__account { display: none !important; }
.top-menu__buttons { display: flex; align-items: center; gap: 18px; }
.sr-topinfo {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12.5px; font-weight: 600; color: var(--sr-muted);
	background: none; border: none; padding: 0; cursor: default;
}
.sr-topinfo i { color: var(--sr-accent); font-size: 12px; }
.sr-topinfo--call { cursor: pointer; color: var(--sr-primary-dark); transition: color .2s ease; }
.sr-topinfo--call i { color: var(--sr-primary); }
.sr-topinfo--call:hover { color: var(--sr-primary); text-decoration: underline; }
@media (max-width: 991px) { .sr-topinfo--addr { display: none; } }
@media (max-width: 575px) { .sr-topinfo--call span, .sr-topinfo--call { font-size: 11.5px; } }

/* ===================== КВИЗ ПОДБОРА ТУРА ===================== */
.hp-quiz { padding: 60px 0; background: #fff; }
.hp-quiz__box {
	position: relative; max-width: 760px; margin: 0 auto;
	background: linear-gradient(160deg, #fff 0%, var(--sr-bg) 100%);
	border: 1px solid var(--sr-line); border-radius: 26px;
	padding: 34px 36px 30px; box-shadow: 0 24px 60px rgba(36,48,61,.10);
}
.hp-quiz__head { text-align: center; margin-bottom: 22px; }
.hp-quiz__head .hp-h2 { font-size: 26px; margin: 0 0 10px; }
.hp-quiz__lead { font-size: 14px; color: var(--sr-muted); margin: 0; }

.hp-quiz__progress { height: 6px; background: var(--sr-line); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.hp-quiz__bar { display: block; height: 100%; width: 20%; border-radius: 4px; background: linear-gradient(90deg, var(--sr-primary), var(--sr-accent)); transition: width .35s ease; }
.hp-quiz__counter { font-size: 12px; font-weight: 700; color: var(--sr-muted); text-align: right; margin-bottom: 20px; }

.hp-quiz__step { display: none; animation: hp-quiz-in .3s ease both; }
.hp-quiz__step.is-active { display: block; }
@keyframes hp-quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hp-quiz__q { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; font-weight: 700; color: var(--sr-ink); margin-bottom: 18px; text-align: center; }
.hp-quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hp-quiz__opt {
	flex: 0 1 auto; border: 1.5px solid var(--sr-line); background: #fff;
	border-radius: 14px; padding: 14px 20px; font-size: 14.5px; font-weight: 600;
	color: var(--sr-ink); cursor: pointer;
	transition: all .18s ease;
}
.hp-quiz__opt:hover { border-color: var(--sr-primary); color: var(--sr-primary-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(226,112,63,.16); }
.hp-quiz__opt.is-picked { background: var(--sr-primary); border-color: var(--sr-primary); color: #fff; }

.hp-quiz__summary { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.hp-quiz__chip { font-size: 12.5px; font-weight: 600; color: var(--sr-accent-dark); background: rgba(6,174,212,.1); border-radius: 16px; padding: 6px 12px; }

.hp-quiz__fields { display: flex; gap: 12px; margin-bottom: 14px; }
.hp-quiz__fields > * { flex: 1 1 0; min-width: 0; }
.hp-quiz__input {
	width: 100%; height: 52px; border: 1.5px solid var(--sr-line); border-radius: 14px;
	padding: 0 16px; font-size: 15px; color: var(--sr-ink); background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.hp-quiz__input:focus { outline: none; border-color: var(--sr-primary); box-shadow: 0 0 0 4px rgba(226,112,63,.14); }
.hp-quiz__input.is-invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.12); }

.hp-quiz__submit {
	width: 100%; height: 56px; border: none; border-radius: 28px;
	background: var(--sr-primary); color: #fff; font-weight: 700; font-size: 16.5px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hp-quiz__submit:hover { background: var(--sr-primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(226,112,63,.36); }
.hp-quiz__submit[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.hp-quiz__note { font-size: 11.5px; line-height: 1.5; color: var(--sr-muted); text-align: center; margin-top: 12px; }
.hp-quiz__error { display: none; margin-top: 12px; font-size: 13px; color: #d64545; text-align: center; }
.hp-quiz__error.is-shown { display: block; }

.hp-quiz__back {
	display: none; margin: 18px auto 0; border: none; background: none;
	font-size: 13px; font-weight: 600; color: var(--sr-muted); cursor: pointer;
	align-items: center; gap: 7px;
}
.hp-quiz__back.is-shown { display: inline-flex; }
.hp-quiz__back:hover { color: var(--sr-primary-dark); }

.hp-quiz__done { display: none; text-align: center; padding: 10px 0 4px; }
.hp-quiz__done.is-shown { display: block; animation: hp-quiz-in .35s ease both; }
.hp-quiz__done-icon {
	width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--sr-ok); color: #fff; font-size: 26px;
	display: flex; align-items: center; justify-content: center;
}
.hp-quiz__done-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--sr-ink); margin-bottom: 10px; }
.hp-quiz__done-text { font-size: 14.5px; line-height: 1.6; color: var(--sr-muted); max-width: 440px; margin: 0 auto 18px; }
.hp-quiz__done-wa {
	display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
	background: var(--sr-whatsapp); color: #fff !important; font-weight: 700; font-size: 15px;
	padding: 13px 26px; border-radius: 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.hp-quiz__done-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.4); }

@media (max-width: 767px) {
	.hp-quiz { padding: 40px 0; }
	.hp-quiz__box { padding: 24px 18px 22px; border-radius: 20px; }
	.hp-quiz__head .hp-h2 { font-size: 21px; }
	.hp-quiz__q { font-size: 18px; }
	.hp-quiz__opts { flex-direction: column; }
	.hp-quiz__opt { width: 100%; padding: 15px 16px; }
	.hp-quiz__fields { flex-direction: column; gap: 10px; }
}

/* ===================== ЛИПКАЯ ПАНЕЛЬ НА МОБИЛЬНОМ ===================== */
.sr-sticky { display: none; }
@media (max-width: 767px) {
	.sr-sticky {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
		background: #fff; border-top: 1px solid var(--sr-line);
		box-shadow: 0 -6px 22px rgba(36,48,61,.14);
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
		gap: 8px;
	}
	.sr-sticky__btn {
		flex: 1 1 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
		gap: 3px; text-decoration: none; border: none; cursor: pointer;
		font-size: 11px; font-weight: 700; line-height: 1.1;
		padding: 9px 4px; border-radius: 14px; background: var(--sr-bg); color: var(--sr-ink) !important;
	}
	.sr-sticky__btn i { font-size: 17px; }
	.sr-sticky__btn--call i { color: var(--sr-accent-dark); }
	.sr-sticky__btn--wa { background: var(--sr-whatsapp); color: #fff !important; }
	.sr-sticky__btn--quiz { flex: 1.5 1 0; background: var(--sr-primary); color: #fff !important; }
	body { padding-bottom: 68px; }
	/* чтобы кнопка «наверх» не легла на панель */
	.scroll-top, #scroll-top, .uni-scroll-top { bottom: 84px !important; }
	.filter-default__icon { bottom: 84px !important; }
}

@media (max-width: 767px) {
	/* плавающие кнопки темы поднимаем над липкой панелью */
	.fly-block { bottom: 86px !important; }
}

/* ===================== ЖИВЫЕ СООБЩЕНИЯ: ТЕЛЕФОН С ОТЗЫВАМИ ===================== */
.hp-chats { padding: 76px 0; background: var(--sr-bg); }
.hp-chats__grid { display: flex; align-items: center; gap: 56px; }
.hp-chats__text { flex: 1 1 52%; min-width: 0; }
.hp-chats__phonewrap { flex: 0 0 auto; width: 320px; }

.hp-chats__lead { font-size: 15.5px; line-height: 1.7; color: var(--sr-muted); margin: 14px 0 20px; }
.hp-chats__facts { list-style: none; margin: 0 0 26px; padding: 0; }
.hp-chats__facts li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 14.5px; line-height: 1.55; color: var(--sr-ink); }
.hp-chats__facts i { position: absolute; left: 0; top: 3px; color: var(--sr-accent-dark); font-size: 15px; }
.hp-chats__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hp-phone {
	position: relative; width: 100%; padding: 12px; border-radius: 40px;
	background: linear-gradient(160deg, #3a4653, #1d252e);
	box-shadow: 0 26px 60px rgba(29,37,46,.34), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.hp-phone__notch {
	position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
	width: 92px; height: 18px; border-radius: 0 0 12px 12px; background: #1d252e; z-index: 3;
}
.hp-phone__screen { position: relative; overflow: hidden; border-radius: 30px; background: #12161b; aspect-ratio: 1 / 2; }
.hp-phone__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4,.05,.2,1); }
.hp-phone__slide { flex: 0 0 100%; height: 100%; }
.hp-phone__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hp-phone__caption { margin-top: 18px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--sr-muted); min-height: 44px; }
.hp-phone__caption b { color: var(--sr-ink); }

.hp-phone__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
.hp-phone__arrow {
	width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--sr-line);
	background: #fff; color: var(--sr-ink); cursor: pointer; font-size: 13px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .18s ease;
}
.hp-phone__arrow:hover { border-color: var(--sr-primary); color: var(--sr-primary); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(226,112,63,.2); }
.hp-phone__dots { display: flex; gap: 7px; }
.hp-phone__dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--sr-line); cursor: pointer; transition: all .2s ease; }
.hp-phone__dot.is-on { background: var(--sr-primary); width: 22px; border-radius: 5px; }

@media (max-width: 991px) {
	.hp-chats__grid { flex-direction: column; gap: 36px; }
	.hp-chats__text, .hp-chats__phonewrap { flex: 1 1 100%; width: 100%; }
	.hp-chats__phonewrap { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 767px) {
	.hp-chats { padding: 48px 0; }
	.hp-chats__actions .hp-btn { flex: 1 1 100%; justify-content: center; }
}

/* ===================== ФОТО ГАЛИНЫ В ОФИСЕ + ВИДЕО-ВСТАВКА ===================== */
.hp-about__photo { position: relative; }
.hp-about__photo-main { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 24px 56px rgba(36,48,61,.16); }
.hp-about__inset {
	position: absolute; right: -18px; bottom: 58px; width: 39%; max-width: 168px;
	aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
	border: 4px solid #fff; background: var(--sr-bg);
	box-shadow: 0 18px 38px rgba(36,48,61,.24);
}
.hp-about__inset video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-about__addr {
	position: absolute; left: 16px; bottom: 16px;
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
	border-radius: 14px; padding: 9px 14px;
	font-size: 12.5px; font-weight: 700; color: var(--sr-ink);
	box-shadow: 0 10px 24px rgba(36,48,61,.16);
}
.hp-about__addr i { color: var(--sr-primary); }

@media (max-width: 767px) {
	.hp-about__inset { right: 8px; bottom: 66px; width: 34%; }
	.hp-about__addr { left: 10px; bottom: 10px; font-size: 11.5px; padding: 8px 11px; }
}

/* ключевая фраза в H1 */
.hp-hero__title-key { color: var(--sr-primary); }

/* ===== ФИКС: шапка вылезала за экран на узких телефонах ===== */
@media (max-width: 767px) {
	/* строка шапки у темы nowrap — при узком экране она рвала вёрстку вправо */
	.header-block { flex-wrap: wrap; }
	.header-block__item { min-width: 0; }
	.header-block__item-telephone { min-width: 0; margin-left: 6px; }
	.header-phones { min-width: 0; }
	.header-phones a, .header-phones .header-phones__item { white-space: nowrap; }
	/* кнопку «Подобрать тур» в шапке прячем — её дублирует липкая панель снизу */
	.sr-header-cta__btn { display: none; }
	.header-block__item.sr-header-cta { margin-left: auto; }
}
@media (max-width: 400px) {
	.sr-msgs { gap: 5px; }
	.sr-msgs__link { width: 30px; height: 30px; font-size: 14px; }
	.sr-phone-caption { font-size: 11px; }
}
@media (max-width: 359px) {
	.header-phones a, .header-phones__item a { font-size: 16px !important; }
	.sr-msgs { gap: 4px; }
	.sr-msgs__link { width: 28px; height: 28px; font-size: 13px; }
	.sr-phone-caption { font-size: 10.5px; }
	.sr-sticky__btn { font-size: 10.5px; padding: 8px 2px; }
}

/* ===== ФИКС: верхняя служебная строка обрезалась на мобильном (height:34px у темы) ===== */
@media (max-width: 767px) {
	.top-menu { height: auto !important; min-height: 34px; }
	.top-menu > .container { display: flex; align-items: center; gap: 10px; }
	.top-menu__links {
		flex: 1 1 auto; min-width: 0; display: flex; gap: 14px; white-space: nowrap;
		overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
	}
	.top-menu__links::-webkit-scrollbar { display: none; }
	.top-menu__links .sr-toplink { white-space: nowrap; flex: 0 0 auto; }
	.top-menu__buttons { flex: 0 0 auto; margin-left: auto; }
}

@media (max-width: 767px) {
	/* «Заказать звонок» дублирует липкую панель — освобождаем строку под навигацию */
	.top-menu__buttons { display: none !important; }
	.top-menu__links { flex-wrap: nowrap !important; align-items: center; gap: 12px; }
	.top-menu__links .sr-toplink { font-size: 12px; }
	.top-menu > .container { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 767px) {
	/* мессенджеры переносятся на свою строку — центрируем, чтобы не висели в углу */
	.header-block__item.sr-header-cta {
		width: 100%; margin-left: 0; justify-content: center;
		padding-top: 0 !important; padding-bottom: 8px !important;
	}
	.header-block__item-telephone { padding-bottom: 4px !important; }
}

/* =========================================================
   МОБИЛЬНАЯ ШАПКА v2 — компактная, два столбца
   (лого слева · телефон и мессенджеры справа · бургер+поиск одной строкой)
   ========================================================= */
@media (max-width: 767px) {
	header > .container:nth-of-type(2) { padding-top: 10px; padding-bottom: 8px; }

	.header-block {
		display: grid !important;
		grid-template-columns: auto 1fr;
		grid-template-areas: "logo phone" "logo msgs";
		align-items: center;
		column-gap: 10px;
		row-gap: 3px;
		width: 100%;
	}
	.header-block__item {
		padding: 0 !important; margin: 0 !important;
		width: auto !important; min-width: 0; flex: none !important;
	}
	.header-block__item-logo { grid-area: logo; justify-self: start; }
	.header-block__item-logo img,
	#logo.header-logo img { max-height: 36px; width: auto; }

	.header-block__item-telephone {
		grid-area: phone; justify-self: end; text-align: right;
		padding: 0 !important; margin: 0 !important;
	}
	.header-phones { text-align: right; }
	.header-phones a, .header-phones__item a { font-size: 17px !important; line-height: 1.15; }
	.sr-phone-caption { font-size: 10.5px; margin-top: 1px; }

	.header-block__item.sr-header-cta {
		grid-area: msgs; justify-self: end;
		width: auto !important; margin: 0 !important;
		padding: 0 !important; justify-content: flex-end;
	}
	.sr-msgs { gap: 6px; }
	.sr-msgs__link { width: 30px; height: 30px; font-size: 14px; }

	.header-block__item-search,
	.header-block__item-cart { display: none !important; }

	/* бургер и поиск — одной строкой */
	header > .container:nth-of-type(3) { padding-top: 0; padding-bottom: 10px; }
	header > .container:nth-of-type(3) > .row {
		display: flex; align-items: center; gap: 8px; margin-left: 0; margin-right: 0;
	}
	header > .container:nth-of-type(3) > .row > .main-menu {
		flex: 0 0 auto; width: auto; height: auto; padding: 0;
	}
	header > .container:nth-of-type(3) > .row > .visible-xs {
		flex: 1 1 auto; min-width: 0; padding: 0;
	}
	.menu-open { margin: 0 !important; height: 40px; width: 44px; border-radius: 12px; }
	.header-search { padding-top: 0 !important; height: auto !important; }
	.header-search__form { height: 40px; }
	.header-search__form .form-control,
	.header-search__form input { height: 40px; }

	/* хиро начинается сразу под шапкой */
	.hp-hero { padding-top: 22px !important; }
}

@media (max-width: 767px) {
	/* у темы .header-block { padding: 22px 0 } — на телефоне это 44px пустоты */
	.header-block { padding: 4px 0 !important; }
	.hp-hero { padding-top: 10px !important; }
}

@media (max-width: 420px) {
	.top-menu__links { gap: 10px; }
	.top-menu__links .sr-toplink { font-size: 11px; }
	.top-menu__links .sr-toplink i { display: none; }
}

@media (max-width: 767px) {
	/* плавающую кнопку фильтра — в правый угол, чтобы не перекрывала чипы быстрого подбора */
	.filter-default__icon { left: auto !important; right: 14px !important; bottom: 88px !important; }
}

/* =========================================================
   Мобильная шапка v3 + ритм секций
   ========================================================= */

/* 3) подпись «Ваш личный турагент» — ВСЕГДА отдельной строкой под телефоном.
      display:table даёт и перенос на новую строку, и обтяжку пунктира по тексту */
.sr-phone-caption { display: table !important; }

/* 4) мессенджеры в стиле ecocos: спокойные серые кружки, цвет бренда — на наведении */
.sr-msgs__link {
	background: #f1f3f5 !important;
	color: #55606b !important;
	box-shadow: none !important;
}
.sr-msgs__link:hover { color: #fff !important; transform: translateY(-2px); }
.sr-msgs__link--wa:hover  { background: #25d366 !important; }
.sr-msgs__link--tg:hover  { background: #29a9eb !important; }
.sr-msgs__link--max:hover { background: linear-gradient(135deg, #8b5cf6, #6d3bf5) !important; }

@media (max-width: 767px) {
	/* 1) шапка уезжает вместе со страницей, как на ecocos — не висит 150px у верха */
	header { position: static !important; }

	.sr-phone-caption { margin-left: auto; margin-right: 0; }

	/* 2) единый ритм между блоками вместо 70px + 70px */
	.hp > section { padding-top: 44px !important; padding-bottom: 44px !important; }
	.hp-hero  { padding-top: 10px !important; padding-bottom: 38px !important; }
	.hp-stats { padding-top: 28px !important; padding-bottom: 28px !important; }
	.hp-seo   { padding-top: 14px !important; padding-bottom: 44px !important; }
}

@media (max-width: 767px) {
	/* кнопка меню с подписью, как «Каталог» на ecocos */
	.menu-open {
		width: auto !important; min-width: 0; padding: 0 14px;
		display: inline-flex !important; align-items: center; gap: 8px;
	}
	.menu-open__title {
		display: inline !important; font-size: 13px; font-weight: 700;
		color: #fff; white-space: nowrap; line-height: 1;
	}
	.menu-open__icon { font-size: 14px; }
}
@media (max-width: 344px) {
	.menu-open__title { display: none !important; }
	.menu-open { padding: 0 !important; width: 42px !important; justify-content: center; }
}

@media (max-width: 767px) {
	/* выпадашка «Все направления» внутри поиска на телефоне только съедает место */
	.header-search__category { display: none !important; }
	.header-search__input { border-radius: 10px 0 0 10px !important; }
}
