/* =========================================================================
   ГЛАВНАЯ СТРАНИЦА
   ========================================================================= */

/* ----- Герой-слайдер ----- */
.tcc-hero { position: relative; height: 60vh; min-height: 460px; overflow: hidden; }
.tcc-hero__slides { height: 100%; }
.tcc-hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease;
}
.tcc-hero__slide.is-active { opacity: 1; visibility: visible; }
.tcc-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.34) 55%, rgba(0,0,0,.10) 100%); }
/* Контент слайдера прижат к левому краю, но с отступом от стрелки навигации */
.tcc-hero__slide > .tcc-container { position: relative; z-index: 2; max-width: 100%; margin: 0; padding: 0 60px 0 96px; }
.tcc-hero__content { color: #fff; max-width: 620px; margin: 0; text-align: left; }
.tcc-hero__title { font-size: 50px; font-weight: 600; line-height: 1.1; text-transform: uppercase; margin: 0 0 18px; color: #fff; }
.tcc-hero__text { font-size: 21px; line-height: 1.5; margin: 0 0 30px; opacity: .96; }
.tcc-hero__btn { font-size: 17px; padding: 16px 34px; }

/* Стрелки — просто стрелки без фона и рамки (на всех состояниях) */
.tcc-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: auto; height: auto; border: 0; border-radius: 0; background: transparent !important;
	color: #fff; cursor: pointer; padding: 6px; transition: opacity .2s;
	outline: none; box-shadow: none !important; -webkit-tap-highlight-color: transparent;
	appearance: none; -webkit-appearance: none;
	filter: drop-shadow(0 1px 4px rgba(0,0,0,.5));
}
.tcc-hero__nav:hover,
.tcc-hero__nav:focus,
.tcc-hero__nav:active,
.tcc-hero__nav:focus-visible { background: transparent !important; box-shadow: none !important; outline: none; border: 0; }
.tcc-hero__nav:hover { opacity: .65; }
.tcc-hero__nav svg { width: 46px; height: 46px; }
.tcc-hero__prev { left: 18px; }
.tcc-hero__next { right: 18px; }
.tcc-hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.tcc-hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .2s; }
.tcc-hero__dot.is-active { background: #fff; }

/* ----- Преимущества ----- */
.tcc-advantages__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.tcc-advantage { text-align: center; padding: 24px 16px; border-radius: 12px; transition: transform .25s, box-shadow .25s; }
.tcc-advantage:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15,23,42,.1); }
.tcc-advantage__icon {
	width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--tcc-cream);
	display: flex; align-items: center; justify-content: center; color: var(--tcc-blue);
}
.tcc-advantage__icon svg { width: 40px; height: 40px; }
.tcc-advantage__title { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.tcc-advantage__text { font-size: 15px; color: var(--tcc-muted); margin: 0; line-height: 1.5; }

/* ----- Популярные туры ----- */
.tcc-popular__more { text-align: center; margin-top: 40px; }
.tcc-empty-note { text-align: center; color: var(--tcc-muted); font-size: 17px; padding: 20px 0; }

/* ----- Локации ----- */
.tcc-locations__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcc-location {
	position: relative; min-height: 280px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end;
	background-size: cover; background-position: center; color: #fff; isolation: isolate;
}
.tcc-location__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.78) 100%); z-index: 1; transition: background .3s; }
.tcc-location:hover .tcc-location__overlay { background: linear-gradient(180deg, rgba(1,94,159,.25) 0%, rgba(0,0,0,.85) 100%); }
.tcc-location__body { position: relative; z-index: 2; padding: 22px; }
/* Текст карточек локаций — всегда белый (перебиваем цвет ссылок темы) */
.tcc-location,
.tcc-location:link,
.tcc-location:visited,
.tcc-location__name,
.tcc-location__text,
.tcc-location__more { color: #fff !important; }
.tcc-location__name { display: block; font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.tcc-location__text { display: block; font-size: 14px; line-height: 1.45; opacity: 0; max-height: 0; overflow: hidden; transition: all .35s ease; }
.tcc-location:hover .tcc-location__text { opacity: .95; max-height: 140px; margin-bottom: 10px; }
.tcc-location__more { display: inline-block; font-weight: 700; color: #fff; opacity: 0; max-height: 0; overflow: hidden; transition: all .35s ease; }
.tcc-location:hover .tcc-location__more { opacity: 1; max-height: 40px; color: #9ad0f0; }

/* ----- Отзывы ----- */
.tcc-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcc-review { background: #fff; border-radius: 12px; padding: 32px 28px; box-shadow: 0 10px 28px rgba(15,23,42,.07); margin: 0; position: relative; }
.tcc-review__quote { font-size: 64px; line-height: .6; color: var(--tcc-blue); font-family: Georgia, serif; height: 30px; }
.tcc-review__text { font-size: 17px; line-height: 1.6; color: var(--tcc-ink); margin: 0 0 22px; font-style: italic; }
.tcc-review__author { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid #eee; padding-top: 16px; }
.tcc-review__name { font-weight: 700; }
.tcc-review__date { font-size: 14px; color: var(--tcc-muted); }

/* ----- Блог ----- */
.tcc-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tcc-blog-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tcc-blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,23,42,.12); }
.tcc-blog-card__media { display: block; height: 180px; overflow: hidden; }
.tcc-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tcc-blog-card:hover .tcc-blog-card__media img { transform: scale(1.06); }
.tcc-blog-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #d8e4ee, #eef2f5); }
.tcc-blog-card__body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.tcc-blog-card__title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.tcc-blog-card__title a:hover { color: var(--tcc-blue); }
.tcc-blog-card__excerpt { font-size: 14px; color: var(--tcc-muted); line-height: 1.5; margin: 0 0 14px; flex-grow: 1; }
.tcc-blog-card__more { font-weight: 700; color: var(--tcc-blue); margin-top: auto; }

/* ----- CTA ----- */
.tcc-cta { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 90px 0; text-align: center; color: #fff; }
.tcc-cta__overlay { position: absolute; inset: 0; background: rgba(1,46,79,.7); }
.tcc-cta__inner { position: relative; z-index: 2; }
.tcc-cta__title { font-size: 42px; font-weight: 800; text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.tcc-cta__text { font-size: 19px; margin: 0 0 28px; opacity: .95; }

/* ----- Адаптив ----- */
@media (max-width: 1024px) {
	.tcc-hero { min-height: 440px; }
	.tcc-hero__title { font-size: 40px; }
	.tcc-advantages__grid { grid-template-columns: repeat(3, 1fr); }
	.tcc-locations__grid { grid-template-columns: repeat(2, 1fr); }
	.tcc-reviews__grid { grid-template-columns: 1fr; }
	.tcc-blog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.tcc-hero { min-height: 420px; }
	.tcc-hero__title { font-size: 30px; }
	.tcc-hero__text { font-size: 17px; }
	.tcc-hero__nav { display: none; }
	.tcc-hero__slide > .tcc-container { padding: 0 20px; }
	.tcc-advantages__grid { grid-template-columns: 1fr 1fr; }
	.tcc-locations__grid { grid-template-columns: 1fr; }
	.tcc-blog__grid { grid-template-columns: 1fr; }
	.tcc-cta { background-attachment: scroll; padding: 60px 0; }
	.tcc-cta__title { font-size: 30px; }
}
