/* Дизайн сайта (Купитур.ру) */
/* Поисковый модуль для мобильной версии не изменяем — стили блока поиска в конце файла */

:root {
    --header-height: 72px;
    --yellow: #FFB800;
    --yellow-price: #F2BC30;
    --yellow-light: #FEF3C7;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-50: #f9fafb;
    --white: #fff;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: min(1200px, 100% - 2rem);
    --radius: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

a { color: var(--gray-900); text-decoration: none; }
a:hover { color: var(--yellow); text-decoration: underline; }

.container {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ========== Шапка ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray-900);
}

.site-header .logo:hover { text-decoration: none; color: var(--gray-900); }

.site-header .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    position: relative;
}

.site-header .logo-icon::after {
    content: '';
    position: absolute;
    inset: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/20px no-repeat;
}

.site-header .logo-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.site-header .logo-slogan {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0;
}

.site-header .nav-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header .nav-main a {
    color: var(--gray-700);
    font-size: 0.875rem;
    text-decoration: none;
}

.site-header .nav-main a:hover { color: var(--yellow); }

.site-header .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header .header-city {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.site-header .header-phone {
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.site-header .header-phone:hover { text-decoration: underline; }

.site-header .btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--gray-900);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.site-header .btn-header:hover {
    background: #e5e7eb;
    text-decoration: none;
}

/* ========== Hero ========== */
.hero-sletat {
    position: relative;
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-bottom: 3rem;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Главное фото — на весь экран от края до края; кадр смещён вниз (60%), чтобы лица и ноги людей не обрезались и не перекрывались блоком поиска */
.hero-banner-full.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    background-color: #e5e7eb;
    filter: brightness(1.08) saturate(1.2);
}

.hero-bg-sletat {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-sletat .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-sletat .hero-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.hero-sletat .hero-title-accent { color: var(--yellow); }

.hero-sletat .hero-subtitle {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ========== Поисковый модуль (вытянутый, компактный) ========== */
.search-module-wrap {
    width: 100%;
    max-width: 1080px; /* на 20% длиннее (900 * 1.2) */
    margin: 0 auto;
    padding: 0 1rem;
}

.search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.search-tab:hover { background: rgba(255, 255, 255, 0.3); }
.search-tab-active,
.search-tab.search-tab-active {
    background: #fff;
    color: #111827;
}
.search-tab-icon { flex-shrink: 0; width: 18px; height: 18px; }

/* Форма: меньше padding по вертикали */
.search-form {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Grid: колонки разной ширины, меньший gap */
.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .search-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .search-grid {
        grid-template-columns: 1fr 1.15fr 1.05fr 0.9fr 1.1fr 0.95fr;
        gap: 10px;
    }
}

.search-field { min-width: 0; }
.search-field-btn { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }

/* Надписи в одну строчку, помещаются в ячейке */
.search-label {
    display: block;
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-label-invisible { visibility: hidden; margin-bottom: 4px; height: 0; overflow: hidden; }

.search-input-wrap { position: relative; }
.search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    height: 36px;
}
.search-input:focus { border-color: #9CA3AF; }
.search-input-with-clear { padding-right: 34px; }

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #9CA3AF;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-input-wrap.has-value .search-clear { display: flex; }
.search-clear:hover { color: #4B5563; }
.search-clear svg { width: 18px; height: 18px; display: block; }

.search-btn {
    width: 100%;
    height: 36px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    background-color: #FFB800;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}
.search-btn:hover { opacity: 0.9; }

/* ========== Секции ========== */
.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1.5rem;
}

.section-title.text-center { text-align: center; }

/* Инфо-блок */
.section-info { background: var(--gray-50); }

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.info-card p { margin: 0; color: var(--gray-700); }

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Карточки туров */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: box-shadow .2s;
}

.tour-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.1); }

.tour-card-image {
    height: 180px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-body { padding: 1rem; }

.tour-card-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.tour-card-location,
.tour-card-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.tour-card-price-wrap {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tour-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yellow-price);
}

.btn-tour {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    background: var(--yellow-price);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-tour:hover {
    background: #e6ac2b;
    text-decoration: none;
    color: #1a1a1a;
}

/* Страны */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.country-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    text-decoration: none;
    color: var(--gray-900);
}

.country-card span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Промо тёмный */
.section-promo-dark {
    background: linear-gradient(to right, var(--gray-900), #1f2937);
    color: var(--white);
}

.promo-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.promo-text { flex: 1; min-width: 280px; }

.promo-title {
    margin: 0 0 0.5rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.promo-desc {
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,.8);
    font-size: 1.125rem;
}

.btn-promo {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--gray-900);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-promo:hover {
    opacity: .95;
    text-decoration: none;
    color: var(--gray-900);
}

.promo-image {
    flex: 1;
    min-width: 260px;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

/* Почему Купитур.ру (карусель по дизайну cursor-why-kupitur-block) */
.section-why-kupitur {
    padding: 4rem 0;
    background: #F9FAFB;
}
.section-why-kupitur .container { max-width: var(--container); }

.why-kupitur-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
}
.why-kupitur-title {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
}
@media (min-width: 1024px) {
    .why-kupitur-title { font-size: 2.25rem; }
}
.why-kupitur-arrows {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}
.why-kupitur-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    background: #fff;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    transition: box-shadow 0.2s, transform 0.2s;
}
.why-kupitur-arrow:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    transform: scale(1.05);
}
.why-kupitur-arrow svg { flex-shrink: 0; }

.why-kupitur-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.why-kupitur-scroll::-webkit-scrollbar { display: none; }

.why-kupitur-card {
    flex: 0 0 auto;
    min-width: 320px;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
@media (min-width: 1024px) {
    .why-kupitur-card { min-width: 360px; width: 360px; }
}
.why-kupitur-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

.why-kupitur-card-text { margin-bottom: 1.5rem; }
.why-kupitur-card-title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}
.why-kupitur-card-desc {
    margin: 0;
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.6;
}

.why-kupitur-card-illus {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    width: 128px;
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFB800 0%, #F2BC30 100%);
    box-shadow: 0 10px 30px rgba(242, 188, 48, 0.3);
    font-size: 3.75rem;
    line-height: 1;
}
.why-kupitur-card-illus span { opacity: 0.9; }

.why-kupitur-btn {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #000;
    background: #FFB800;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity 0.2s, box-shadow 0.2s;
}
.why-kupitur-btn:hover {
    opacity: 0.95;
    text-decoration: none;
    color: #000;
}
.why-kupitur-card { align-items: center; }
.why-kupitur-btn { text-align: center; }
.why-kupitur-btn-glass {
    background: linear-gradient(135deg, rgba(255,184,0,0.35) 0%, rgba(242,188,48,0.45) 50%, rgba(255,184,0,0.35) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,184,0,0.5);
    color: #1a1a1a;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(255,184,0,0.25);
}
.why-kupitur-btn-glass:hover {
    background: linear-gradient(135deg, rgba(255,184,0,0.5) 0%, rgba(242,188,48,0.6) 100%);
    box-shadow: 0 4px 16px rgba(255,184,0,0.35);
}

.why-kupitur-hint {
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
    margin: 1.5rem 0 0;
}
@media (min-width: 1024px) {
    .why-kupitur-hint { display: none; }
}

@media (max-width: 640px) {
    .why-kupitur-header { flex-wrap: wrap; justify-content: center; }
    .why-kupitur-arrows { position: static; transform: none; margin-top: 0.5rem; }
}

/* Отзывы */
.reviews-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: -0.5rem 0 1rem;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0;
    border: none;
}

.review-stars {
    color: #eab308;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.review-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.review-card cite {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-style: normal;
}

/* Футер */
.site-footer {
    background: var(--gray-50);
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 0.35rem; }

.footer-col a { color: var(--gray-600); }

.footer-col a:hover { color: var(--yellow); }

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.footer-slogan {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0 0 0.5rem;
}

.footer-phone {
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-city { font-size: 0.875rem; color: var(--gray-500); margin: 0; }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
}

/* Наши партнёры */
.section-partners { background: var(--white); overflow: hidden; }
.partners-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.partners-marquee {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: partners-scroll 40s linear infinite;
}
.partners-marquee:hover { animation-play-state: paused; }
@keyframes partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0.9;
}
.partner-item:hover { opacity: 1; }
.partner-logo {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.section-countries,
.section-excursions,
.section-cheap { background: var(--gray-50); }

/* Топ направлений на февраль */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.dest-card {
    position: relative;
    display: block;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
}
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}
.dest-card-overlay h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.dest-card-sub { margin: 0; font-size: 0.875rem; opacity: .9; }
.dest-card-price { margin: 0.5rem 0 0; font-size: 0.9375rem; font-weight: 700; color: var(--yellow); }

/* Экскурсии и впечатления */
.section-desc {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--gray-600);
    font-size: 1rem;
}
.excursions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.excursion-card {
    position: relative;
    display: block;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
}
.excursion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.excursion-card:hover img { transform: scale(1.08); }
.excursion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent 50%);
    pointer-events: none;
}
.excursion-card span {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Хотите, мы к вам сами? + карта/адрес */
.map-block {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.map-placeholder {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    padding: 3rem 2rem;
    text-align: center;
}
.map-address-title { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.map-address { margin: 0 0 1rem; color: var(--gray-600); }

/* Почему мы такие дешёвые */
.cheap-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cheap-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.cheap-text { flex: 1; min-width: 280px; }
.cheap-text .section-title { margin-top: 0; }
.cheap-text p { margin: 0 0 0.75rem; color: var(--gray-700); }
.cheap-signature { margin-top: 1rem !important; color: var(--gray-900) !important; }
.cheap-role { font-size: 0.875rem; color: var(--gray-500) !important; }

/* Вопросы (FAQ) — стильно, с градиентами */
.section-faq {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
}
.faq-accordion {
    max-width: 680px;
    margin: 0 auto;
}
.faq-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(254,243,199,0.4) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow 0.25s, transform 0.2s;
}
.faq-item:hover {
    box-shadow: 0 4px 16px rgba(255,184,0,0.12);
}
.faq-item.faq-open {
    background: linear-gradient(135deg, #fff 0%, rgba(254,243,199,0.6) 100%);
    box-shadow: 0 6px 20px rgba(255,184,0,0.2);
}
.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: color 0.2s;
}
.faq-item.faq-open .faq-question { color: var(--gray-900); }
.faq-question::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23374151'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.25s ease;
}
.faq-item.faq-open .faq-question::after { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}
.faq-item.faq-open .faq-answer {
    max-height: 280px;
}
.faq-answer p {
    margin: 0;
    padding: 0 1.25rem 1rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.faq-more {
    text-align: center;
    margin: 2rem 0 0;
}
.faq-more a { font-weight: 600; color: var(--gray-900); }
.faq-more a:hover { color: var(--yellow); }

/* Этапы бронирования */
.stages-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.stage-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.stage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.stage-item h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.stage-item p { margin: 0; font-size: 0.875rem; color: var(--gray-600); }

/* Гарантия — жёлто-золотой, текст слева, фото справа */
.section-guarantee {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 40%, #FCD34D 100%);
}
.guarantee-inner {
    max-width: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
}
.guarantee-details {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
    text-align: left;
}
.guarantee-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}
.guarantee-lead {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 600;
    line-height: 1.4;
}
.guarantee-list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--gray-800, #1f2937);
    line-height: 1.7;
}
.guarantee-list li { margin-bottom: 0.25rem; }
.guarantee-photo-wrap {
    flex-shrink: 0;
    width: 220px;
}
.guarantee-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(255,184,0,0.35);
}
@media (max-width: 640px) {
    .guarantee-inner { flex-direction: column-reverse; padding: 1rem; }
    .guarantee-details { text-align: center; max-width: none; }
    .guarantee-list { list-style: none; padding-left: 0; }
    .guarantee-photo-wrap { width: 180px; }
}

/* ========== Адаптив ========== */
@media (max-width: 992px) {
    .site-header .nav-main { display: none; }
    .site-header .header-city { display: none; }
}

@media (max-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .tours-grid { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .destinations-grid { grid-template-columns: 1fr 1fr; }
    .excursions-grid { grid-template-columns: 1fr 1fr; }
    .promo-inner { flex-direction: column; }
    .cheap-inner { flex-direction: column; text-align: center; }
    .stages-row { grid-template-columns: 1fr; }
}

/* Герой: главное фото выводится через .hero-banner-bg внутри секции hero (фон за поиском) */

/* ============================================================
   БЛОК ПОИСКА ДЛЯ МОБИЛЬНОЙ ВЕРСИИ — НЕ ИЗМЕНЯТЬ
   ============================================================ */
.hero-search {
    max-width: 900px;
    width: 100%;
    margin: 1.25rem auto 0;
    padding: 0 1rem;
}

.hero-search-inline-wrap {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
}

.hero-search #tourvisor-search-root,
#tourvisor-search-root {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    :root { --header-height: 60px; }

    .hero-sletat,
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-sletat .hero-title,
    .hero-title {
        font-size: 1.875rem;
        text-align: center;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-sletat .hero-search,
    .hero-search {
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Блок поиска: не сжимать, горизонтальная прокрутка при узком экране */
.hero-search .search-placeholder,
#tourvisor-search {
    min-width: 860px;
    overflow-x: auto;
    width: 100%;
}

/* ========== Бета: новый сайт, основной kupitoursam.ru ========== */
body.beta-notice-modal-open {
    overflow: hidden;
}

body.has-beta-notice-strip {
    padding-bottom: 52px;
}

@media (max-width: 480px) {
    body.has-beta-notice-strip {
        padding-bottom: 72px;
    }
}

.beta-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(2px);
}

.beta-notice-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    width: min(440px, calc(100% - 2rem));
    max-height: min(90vh, 640px);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.beta-notice-dialog-inner {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 2px solid var(--yellow);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.2);
}

.beta-notice-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.beta-notice-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--gray-900);
}

.beta-notice-text {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--gray-700);
}

.beta-notice-text p {
    margin: 0 0 0.75rem;
}

.beta-notice-text p:last-child {
    margin-bottom: 0;
}

.beta-notice-punch {
    font-style: italic;
    color: var(--gray-600) !important;
}

.beta-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.beta-notice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.beta-notice-btn-primary {
    background: var(--yellow);
    color: var(--gray-900);
    border-color: var(--yellow);
}

.beta-notice-btn-primary:hover {
    background: #e5a800;
    border-color: #e5a800;
    text-decoration: none;
    color: var(--gray-900);
}

.beta-notice-btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-500);
}

.beta-notice-btn-ghost:hover {
    border-color: var(--gray-900);
    color: var(--gray-900);
    background: var(--gray-50);
}

.beta-notice-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding: 0.65rem 2.25rem 0.65rem 1rem;
    background: linear-gradient(90deg, #1f2937 0%, #111827 100%);
    color: #f9fafb;
    font-size: 0.8125rem;
    line-height: 1.4;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--yellow);
}

.beta-notice-strip-text {
    text-align: center;
}

.beta-notice-strip-text a {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: underline;
}

.beta-notice-strip-text a:hover {
    color: #ffd54f;
}

.beta-notice-strip-badge {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: var(--yellow);
    color: var(--gray-900);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.beta-notice-strip-btns {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.beta-notice-strip-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--gray-900) !important;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none !important;
}

.beta-notice-strip-link:hover {
    background: #ffd54f;
    color: var(--gray-900) !important;
    text-decoration: none !important;
}

.beta-notice-strip-close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
}

.beta-notice-strip-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
