/* ========================================
   ДЕЛЬ ТУР — Премиальный дизайн
   ======================================== */

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #003d7c;
    --primary-dark: #002b57;
    --secondary: #0099db;
    --accent: #ff6b35;
    --accent-hover: #e55a25;
    --bg-light: #f4f7fb;
    --bg-dark: #0b1b36;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --card-shadow: 0 8px 32px rgba(0, 61, 124, 0.10);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag--light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}


/* ========================================
   БЛОК 1: HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1508804185872-d7badad00f7d?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 27, 54, 0.70) 0%, rgba(0, 61, 124, 0.85) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px 20px;
}

.hero__logo-wrap {
    margin-bottom: 20px;
}

.hero__logo-img {
    height: 120px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
    transition: transform var(--transition);
}

.hero__logo-img:hover {
    transform: scale(1.05);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #b3d9ff, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.hero__cta:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.5);
}

/* Преимущества (stat cards) */
.hero__stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    width: 100%;
    padding: 30px 20px 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    color: var(--white);
    transition: all var(--transition);
    /* Анимация появления */
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 153, 219, 0.2);
}

.stat-card__icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}

.stat-card__number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-card__label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 500;
}


/* ========================================
   БЛОК ДОВЕРИЯ
   ======================================== */
.trust {
    background: linear-gradient(135deg, #eef6ff 0%, #f4f0ff 100%);
    padding: 32px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    transition: all var(--transition);
    position: relative;
    /* Анимация */
    opacity: 0;
    transform: translateY(20px);
}

.trust-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.trust-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 25px rgba(0, 153, 219, 0.1);
    transform: translateY(-3px);
}

.trust-item__icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f4fd, #eef0ff);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.trust-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.trust-item__text strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.trust-item__text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.trust-item__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition);
}

.trust-item__link:hover {
    color: var(--primary);
}


/* ========================================
   БЛОК 2: КАТАЛОГ ТУРОВ
   ======================================== */
.tours {
    padding: 80px 0;
    background: var(--bg-light);
}

.tours__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    /* Анимация появления */
    opacity: 0;
    transform: translateY(40px);
}

.tour-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 61, 124, 0.15);
}

.tour-card__img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tour-card:hover .tour-card__img {
    transform: scale(1.08);
}

.tour-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tour-card__badge--hot {
    background: linear-gradient(135deg, #ff6b35, #ff3e00);
}

.tour-card__badge--promo {
    background: linear-gradient(135deg, #800080, #e0115f);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.tour-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.tour-card__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.55;
}

.tour-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.tour-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.tour-card__btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    transition: all var(--transition);
}

.tour-card__btn:hover {
    background: var(--accent);
    color: var(--white);
}

.tour-card__btn--promo {
    background: linear-gradient(135deg, #800080, #e0115f);
    color: var(--white);
    border: none;
    padding: 10px 22px;
}

.tour-card__btn--promo:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Карточка-промо (афиша 8 марта) */
.tour-card--promo {
    border: 2px solid #e0115f40;
    background: linear-gradient(135deg, #fdf2f8, #fff);
}

.tour-card__img-wrap--promo {
    height: 280px;
}


/* ========================================
   БЛОК 3: ФОРМА БРОНИРОВАНИЯ
   ======================================== */
.booking {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 153, 219, 0.3), transparent);
    border-radius: 50%;
}

.booking__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.booking__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.booking__benefits {
    list-style: none;
}

.booking__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.booking__benefits .material-icons {
    color: var(--secondary);
    font-size: 1.2rem;
}

.booking__form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 36px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border var(--transition), background var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    color: var(--text);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.12);
}

.booking__submit {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    margin-top: 4px;
}

.booking__submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.booking__submit:active {
    transform: scale(0.98);
}

.booking__privacy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-top: 14px;
}

.booking__privacy a {
    text-decoration: underline;
    color: var(--secondary);
}


/* ========================================
   БЛОК 4: ОТЗЫВЫ (скриншоты)
   ======================================== */
.reviews {
    padding: 80px 0 60px;
    background: var(--white);
}

.reviews__carousel {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reviews__carousel::-webkit-scrollbar {
    display: none;
}

.reviews__track {
    display: flex;
    gap: 20px;
    padding: 10px 20px 20px;
    width: max-content;
}

.review-screenshot {
    flex-shrink: 0;
    width: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.review-screenshot:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 45px rgba(0, 61, 124, 0.18);
    border-color: var(--secondary);
}

.review-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.reviews__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.reviews__hint .material-icons {
    font-size: 1.3rem;
    color: var(--secondary);
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox__img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10001;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.footer__logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
}

.footer__brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.footer__brand-tagline {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary);
    font-weight: 600;
}

.footer__desc {
    max-width: 500px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

/* Соцсети */
.footer__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link--tg:hover {
    background: #229ED9;
    border-color: #229ED9;
}

.social-link--vk:hover {
    background: #0077FF;
    border-color: #0077FF;
}

.social-link--ok:hover {
    background: #EE8208;
    border-color: #EE8208;
}

.social-link--max:hover {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
}

/* Юр. инфо */
.footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}


/* ========================================
   ПЛАВАЮЩАЯ КНОПКА TELEGRAM
   ======================================== */
.floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #229ED9, #1a8ec4);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(34, 158, 217, 0.4);
    transition: all var(--transition);
    animation: floating-pulse 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 40px rgba(34, 158, 217, 0.5);
}

@keyframes floating-pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(34, 158, 217, 0.4);
    }

    50% {
        box-shadow: 0 8px 40px rgba(34, 158, 217, 0.6);
    }
}

.floating-btn__icon {
    width: 26px;
    height: 26px;
}

.floating-btn__label {
    font-size: 0.85rem;
}


/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 1024px) {
    .tours__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 16px 30px;
    }

    .tours__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-item {
        padding: 16px;
    }

    .review-screenshot {
        width: 220px;
    }

    .hero__logo-img {
        height: 70px;
    }

    .booking__form {
        padding: 24px;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__socials {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Плавающая кнопка — компактная на мобильном */
    .floating-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }

    .floating-btn__label {
        display: none;
    }

    .floating-btn__icon {
        width: 30px;
        height: 30px;
    }

    .floating-btn {
        padding: 14px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 18px 14px;
    }
}