/* =========================================================================
   TREKKING CLUB — БРЕНДОВЫЕ ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================================================= */

:root {
	--tcc-blue:      #015e9f;
	--tcc-blue-dark: #014a7f;
	--tcc-ink:       #202020;
	--tcc-ink-soft:  #444;
	--tcc-cream:     #f6f4f0;
	--tcc-cream-2:   #f8f7f4;
	--tcc-line:      #e3e3e3;
	--tcc-muted:     #777;
	--tcc-radius:    6px;
	--tcc-container: 1350px;
	--tcc-font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.tcc-themed,
.tcc-scope {
	font-family: var(--tcc-font);
	color: var(--tcc-ink);
}

.tcc-scope a { color: inherit; text-decoration: none; }

/* Контейнер */
.tcc-container {
	max-width: var(--tcc-container);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}
.tcc-container--wide { max-width: 1480px; }

/* Заголовки секций */
.tcc-section { padding: 64px 0; }
.tcc-section--cream { background: var(--tcc-cream); }
.tcc-section__head { text-align: center; margin: 0 0 40px; }
.tcc-section__title {
	font-size: 38px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 0;
	color: var(--tcc-ink);
}
.tcc-section__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	background: var(--tcc-blue);
	margin: 16px auto 0;
	border-radius: 2px;
}
.tcc-section__subtitle { color: var(--tcc-muted); font-size: 17px; margin: 12px 0 0; }

/* Кнопки */
.tcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--tcc-blue);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--tcc-radius);
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: .3px;
	transition: background .2s, transform .2s;
}
.tcc-btn:hover { background: var(--tcc-blue-dark); color: #fff; transform: translateY(-1px); }
.tcc-btn--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}
.tcc-btn--ghost:hover { background: #fff; color: var(--tcc-ink); }
.tcc-btn--outline {
	background: transparent;
	color: var(--tcc-blue);
	border: 2px solid var(--tcc-blue);
}
.tcc-btn--outline:hover { background: var(--tcc-blue); color: #fff; }

/* Хлебные крошки */
.tcc-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	padding: 16px 0;
	color: var(--tcc-ink);
}
.tcc-breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; }
.tcc-breadcrumbs a:hover { color: var(--tcc-blue); }
.tcc-breadcrumbs .tcc-bc-sep { color: #aaa; }
.tcc-breadcrumbs .tcc-bc-home { width: 15px; height: 15px; fill: currentColor; }
.tcc-breadcrumbs .tcc-bc-current { color: var(--tcc-muted); }

/* Утилиты */
.tcc-visually-hidden {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 782px) {
	.tcc-section { padding: 44px 0; }
	.tcc-section__title { font-size: 28px; }
}

/* =========================================================================
   ШАПКА / ПОДВАЛ / ПОПАП (на всех страницах)
   ========================================================================= */

body.tcc-themed { margin: 0; font-family: var(--tcc-font); color: var(--tcc-ink); }
.tcc-site__content { min-height: 40vh; }

/* Верхняя полоса */
.tcc-topbar { background: var(--tcc-ink); color: #fff; font-size: 14px; }
.tcc-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; flex-wrap: wrap; }
.tcc-topbar__contacts { display: flex; gap: 20px; align-items: center; }
.tcc-topbar__contacts a { display: inline-flex; align-items: center; gap: 7px; }
.tcc-topbar__contacts i { font-size: 13px; }
.tcc-topbar__contacts .fa-whatsapp { color: #25d366; font-size: 15px; }
/* Телефоны и языки — единый размер и стиль */
.tcc-topbar a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.tcc-topbar a:hover { color: #9ad0f0; }
.tcc-topbar__lang { display: flex; align-items: center; gap: 14px; }

/* GTranslate [gtranslate] в верхней полосе — под стиль телефонов (KZ / RU / EN текстом) */
.tcc-topbar__lang .gtranslate_wrapper { display: flex; align-items: center; gap: 14px; box-shadow: none !important; background: transparent !important; }
.tcc-topbar__lang a,
.tcc-topbar__lang .glink,
.tcc-topbar__lang .gt-current-lang,
.tcc-topbar__lang .nturl {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #fff !important;
	text-transform: uppercase;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.tcc-topbar__lang a:hover, .tcc-topbar__lang .glink:hover { color: #9ad0f0 !important; }
/* Только текст языков, без флажков */
.tcc-topbar__lang img, .tcc-topbar__lang .glink img { display: none !important; }
/* Если GTranslate выводит выпадающий список */
.tcc-topbar__lang select.gt_selector { background: transparent; color: #fff; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.tcc-topbar__lang select.gt_selector option { color: #202020; }
.tcc-topbar__lang .gt_float_switcher { box-shadow: none !important; background: transparent !important; }

/* Шапка */
.tcc-header { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.tcc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.tcc-logo img { max-height: 60px; width: auto; display: block; }

/* Меню */
.tcc-nav { margin-left: auto; }
.tcc-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.tcc-menu li { position: relative; }
.tcc-menu a {
	display: block; padding: 12px 14px; font-size: 16px; font-weight: 600; text-transform: uppercase;
	color: var(--tcc-ink); letter-spacing: .3px; border-radius: 4px; transition: color .2s, background .2s;
}
.tcc-menu a:hover { color: var(--tcc-blue); }
.tcc-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 11px; opacity: .6; }
.tcc-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.14); border-radius: 8px; opacity: 0; visibility: hidden;
	transform: translateY(8px); transition: all .2s; z-index: 20;
}
.tcc-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tcc-menu .sub-menu a { text-transform: none; font-weight: 500; padding: 9px 18px; }
.tcc-menu .sub-menu a:hover { background: var(--tcc-cream); }

.tcc-header__actions { display: flex; align-items: center; gap: 14px; }
.tcc-header__cta { padding: 11px 22px; font-size: 14px; }

/* Бургер */
.tcc-nav__close { display: none; }
.tcc-burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.tcc-burger span { height: 3px; background: var(--tcc-ink); border-radius: 2px; transition: .25s; }
.tcc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.tcc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tcc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Подвал (без отступа сверху — прижат к секции выше, напр. к CTA-баннеру) */
.tcc-footer { background: #16181b; color: #c8ccd1; margin-top: 0; }
.tcc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 20px; }
.tcc-footer__title { color: #fff; font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0 0 18px; }
.tcc-footer__logo { margin: 0 0 18px; }
.tcc-footer__logo img { max-height: 56px; width: auto; background: #fff; padding: 8px 10px; border-radius: 8px; display: inline-block; }
.tcc-footer__company { font-weight: 700; color: #fff; margin: 0 0 12px; }
.tcc-footer__contacts, .tcc-footer__links { list-style: none; margin: 0; padding: 0; }
.tcc-footer__contacts li, .tcc-footer__links li { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.tcc-footer a { color: #c8ccd1; }
.tcc-footer a:hover { color: #fff; }
.tcc-footer__links a { transition: padding .2s; }
.tcc-footer__links a:hover { padding-left: 5px; color: var(--tcc-blue); }
.tcc-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.tcc-footer__social a { width: 38px; height: 38px; border-radius: 50%; background: #2a2d31; display: flex; align-items: center; justify-content: center; }
.tcc-footer__social svg { width: 20px; height: 20px; }
.tcc-footer__social a:hover { background: var(--tcc-blue); }
.tcc-footer__bottom { border-top: 1px solid #2a2d31; padding: 20px 0; font-size: 14px; color: #8b9097; }

/* Попап */
.tcc-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.tcc-popup[hidden] { display: none; }
.tcc-popup__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.tcc-popup__dialog {
	position: relative; background: #fff; border-radius: 12px; padding: 36px; max-width: 480px; width: calc(100% - 32px);
	max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: tccPop .2s ease;
}
@keyframes tccPop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tcc-popup__close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #999; }
.tcc-popup__close:hover { color: var(--tcc-ink); }
.tcc-popup__title { font-size: 26px; font-weight: 700; text-transform: uppercase; margin: 0 0 12px; }
.tcc-popup__text { color: var(--tcc-ink-soft); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.tcc-popup__contacts { list-style: none; margin: 0 0 8px; padding: 0; font-size: 16px; }
.tcc-popup__contacts li { margin-bottom: 6px; }
.tcc-popup__hours { font-size: 14px; color: var(--tcc-muted); margin: 0 0 18px; }
.tcc-popup__form { display: flex; flex-direction: column; gap: 12px; }
.tcc-popup__form input, .tcc-popup__form textarea {
	width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; font-family: inherit;
}
.tcc-popup__form input:focus, .tcc-popup__form textarea:focus { border-color: var(--tcc-blue); outline: 0; }
.tcc-popup__form .tcc-btn { width: 100%; }
body.tcc-popup-open { overflow: hidden; }

/* Мобильное меню */
@media (max-width: 1024px) {
	.tcc-burger { display: flex; }
	.tcc-nav__close { display: block; position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; border: 0; background: none; font-size: 38px; line-height: 1; color: var(--tcc-ink); cursor: pointer; padding: 0; z-index: 210; }
	.tcc-header__cta { display: none; }
	.tcc-nav {
		position: fixed; top: 0; right: -100%; width: min(360px, 86vw); height: 100vh; background: #fff;
		box-shadow: -10px 0 40px rgba(0,0,0,.2); padding: 80px 24px 24px; overflow-y: auto; transition: right .3s ease; z-index: 200;
	}
	body.tcc-menu-open .tcc-nav { right: 0; }
	.tcc-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.tcc-menu a { padding: 14px 8px; border-bottom: 1px solid #eee; }
	.tcc-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
	}
	.tcc-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
	.tcc-footer__grid { grid-template-columns: 1fr; }
	.tcc-topbar__contacts { gap: 12px; font-size: 12px; }
}

/* =========================================================================
   FIX: hello-elementor reset.css pink (#c36) leaking into the video block
   Pink hover-bg on video cards + pink lightbox nav/close arrows.
   ========================================================================= */
.tcc-video .tcc-video-card,
.tcc-video .tcc-video-card:hover,
.tcc-video .tcc-video-card:focus {
	background: #fff;
	color: inherit;
}
.tcc-video-lb .tcc-video-lb__nav,
.tcc-video-lb .tcc-video-lb__close {
	border: 0;
	color: #fff;
	background: rgba(255, 255, 255, .12);
}
.tcc-video-lb .tcc-video-lb__nav:hover,
.tcc-video-lb .tcc-video-lb__nav:focus,
.tcc-video-lb .tcc-video-lb__close:hover,
.tcc-video-lb .tcc-video-lb__close:focus {
	color: #fff;
	background: rgba(255, 255, 255, .24);
}
