:root {
    --bg: #f5f9ff;
    --surface: #ffffff;
    --surface-soft: #eef5ff;
    --ink: #14213d;
    --muted: #5b6781;
    --brand: #0b78b8;
    --brand-2: #00a8cf;
    --cta: #ff7a00;
    --cta-hover: #e66e00;
    --border: #d5e4f3;
    --shadow: 0 16px 40px rgba(18, 40, 77, 0.12);
    --shadow-soft: 0 10px 24px rgba(20, 33, 61, 0.08);
    --radius: 18px;
    --space-lg: 56px;
    --space-md: 40px;
    --space-sm: 24px;
    --anchor-offset: 104px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.58;
    overflow-x: hidden;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: #065f91;
}

h1,
h2,
h3 {
    font-family: "Prata", Georgia, serif;
    line-height: 1.2;
    margin: 0 0 14px;
}

h2 {
    font-size: clamp(32px, 3.4vw, 36px);
}

h3 {
    font-size: clamp(22px, 2.3vw, 24px);
}

p {
    margin: 0 0 14px;
}

.container {
    width: min(1206px, 100% - 32px);
    margin: 0 auto;
}

.narrow {
    width: min(862px, 100%);
}

.page-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(72px);
    z-index: -1;
    opacity: 0.32;
}

.page-glow-top {
    top: -120px;
    right: -90px;
    background: #88e4ff;
}

.page-glow-bottom {
    bottom: -140px;
    left: -100px;
    background: #ffd6a6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    border-bottom: 1px solid rgba(213, 228, 243, 0.75);
    background: rgba(245, 249, 255, 0.92);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-compact {
    box-shadow: 0 8px 20px rgba(15, 34, 63, 0.12);
    background: rgba(245, 249, 255, 0.98);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 62px;
    padding: 2px 0;
}

.site-header.is-compact .header-inner {
    min-height: 62px;
    padding: 2px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--ink);
}

.logo-image {
    width: auto;
    height: 43px;
    display: block;
}

.menu-toggle {
    justify-self: end;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 8px 12px;
    color: var(--ink);
}

.main-menu {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 6px;
}

.main-menu a {
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    border-radius: 10px;
    padding: 8px 10px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-menu a:hover {
    transform: translateY(-1px);
}

.main-menu a.is-active {
    color: #fff;
    background: var(--brand);
}

.main-menu.is-open {
    display: flex;
}

.menu-phone,
.menu-email {
    color: var(--ink);
    font-weight: 700;
}

.header-actions {
    display: none;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
    white-space: nowrap;
}

.phone-label {
    font-weight: 700;
    color: #476181;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(19, 40, 71, 0.24);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.btn-primary:hover {
    color: #fff;
}

.btn-cta {
    color: var(--ink);
    background: var(--cta);
}

.btn-cta:hover {
    color: var(--ink);
    background: var(--cta-hover);
}

.message-stack {
    margin-top: 14px;
}

.message {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #c7e6ff;
    background: #ebf7ff;
}

.hero {
    --hero-image: linear-gradient(140deg, rgba(0, 180, 216, 0.46), rgba(0, 119, 182, 0.58)), url("../images/hero.webp");
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
}

/* Упрощённый Hero без правой панели */
.hero-simple {
    min-height: auto;
    padding: 120px 0 80px;
}

.hero-simple-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-simple-content {
    color: #fff;
    animation: rise 0.8s ease both;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 18ch;
}

.hero-subtitle {
    max-width: 56ch;
    font-size: 20px;
    margin: 0 0 24px;
    opacity: 0.95;
}

.hero-main-cta {
    min-width: 260px;
    padding: 14px 28px;
    font-size: 18px;
}

.hero-trust-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 24px 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-stat-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.trust-stat-label {
    font-size: 14px;
    opacity: 0.85;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 236, 198, 0.36), transparent 42%),
        linear-gradient(160deg, rgba(12, 25, 57, 0.52), rgba(12, 25, 57, 0.42));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: start;
    gap: 18px;
    padding: 88px 0 72px;
}

.hero-content {
    color: #fff;
    animation: rise 0.8s ease both;
}

.hero-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.1;
    margin-top: 14px;
    max-width: 18ch;
}

.hero-subtitle {
    max-width: 56ch;
    font-size: 18px;
}

.hero-main-cta {
    margin-top: 0;
    min-width: 230px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    align-items: center;
}

.hero-trust {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.hero-trust span {
    display: block;
    font-weight: 700;
    padding: 10px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-info-panel {
    position: relative;
    align-self: start;
    color: #eaf4ff;
    background: linear-gradient(155deg, rgba(6, 25, 46, 0.72), rgba(8, 62, 104, 0.66));
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    animation: heroPanelIn 0.9s cubic-bezier(0.21, 0.96, 0.35, 1) both;
}

.hero-info-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%, rgba(255, 255, 255, 0.14));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
}

.hero-info-panel h2 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}

.hero-info-text {
    margin-bottom: 14px;
    color: #d7e9ff;
    line-height: 1.6;
}

.hero-meta-grid {
    display: grid;
    gap: 10px;
}

.hero-meta-grid article {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
}

.hero-meta-grid h3 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    margin: 0 0 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #bdd9f8;
}

.hero-meta-grid p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.hero-meta-grid a {
    color: #fff;
}

.hero-info-link {
    display: inline-flex;
    margin-top: 14px;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
}

.hero-info-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.72);
}

.section {
    padding: var(--space-lg) 0;
}

section,
[id] {
    scroll-margin-top: var(--anchor-offset);
}

.page-hero {
    padding-top: 44px;
    padding-bottom: 34px;
}

.section-soft {
    background: linear-gradient(180deg, #f0f7ff, #eaf3ff);
}

.section-head {
    margin-bottom: 24px;
}

.section-head p {
    color: var(--muted);
}

.tour-search-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    background: #f8fbff;
}

.tour-search-form-wrap {
    margin-top: 24px;
}

.quick-tour-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid #e6eef7;
    box-shadow: 0 8px 32px rgba(18, 40, 77, 0.08);
}

.quick-form-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.form-group input {
    padding: 12px 14px;
    border: 1px solid #d9e4f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.form-group-tel input {
    font-weight: 600;
}

.form-submit {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-block {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.section-advantages,
.section-destinations,
.section-reviews {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

/* Блок доверия с цифрами */
.section-trust {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    background: #f8fbff;
}

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

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e6eef7;
    box-shadow: 0 8px 24px rgba(18, 40, 77, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(18, 40, 77, 0.1);
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eaf7ff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 26px;
    height: 26px;
}

.trust-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-card-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
}

.trust-card-label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.3;
}

.adv-grid,
.card-grid,
.footer-grid,
.two-column,
.final-cta-wrap {
    display: grid;
    gap: 16px;
}

.adv-card,
.direction-card,
.review-item,
.content-card,
.tourvisor-box,
.map-wrap,
.lead-form,
.faq-item,
.final-cta-content,
.final-cta-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.adv-card,
.direction-card,
.review-item,
.content-card,
.map-wrap,
.tourvisor-box,
.final-cta-content,
.final-cta-form {
    padding: 22px;
}

.tourvisor-box {
    overflow-x: auto;
    min-height: 96px;
}

.tourvisor-box .tv-search-form {
    width: 100%;
    min-width: 320px;
}

.tourvisor-mount {
    min-height: 96px;
}

.tourvisor-box-disabled {
    color: var(--muted);
}

.adv-card {
    padding: 24px;
    box-shadow: 0 14px 36px rgba(18, 40, 77, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(18, 40, 77, 0.16);
    border-color: #bcd4eb;
}

.adv-card h3 {
    font-size: clamp(23px, 2.4vw, 26px);
}

.adv-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--brand);
    background: #eaf7ff;
}

.adv-icon svg {
    width: 24px;
    height: 24px;
}

.direction-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(12, 30, 54, 0.18);
}

/* Карточки направлений: изображение сверху, текст снизу */
.direction-card--new {
    min-height: unset;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
}

.direction-card--new::before,
.direction-card--new::after {
    display: none;
}

.direction-card--new .direction-card-overlay {
    display: none;
}

/* Блок с картинкой */
.direction-card-image {
    position: relative;
    height: auto;
    aspect-ratio: 3 / 2;
    flex-shrink: 0;
    overflow: hidden;
}


.direction-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--direction-bg);
    background-size: cover;
    background-position: var(--direction-focus-x, 50%) var(--direction-focus-y, 50%);
    transition: transform 0.35s ease;
}

.direction-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 29, 55, 0.3) 0%, rgba(8, 29, 55, 0.38) 100%);
    pointer-events: none;
}

.direction-card--new:hover .direction-card-image::before {
    transform: scale(1.02);
}

/* Текстовая панель */
.direction-card-content {
    position: static;
    z-index: auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--surface);
    color: var(--ink);
}

.direction-card-content h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0;
    color: var(--ink);
}

.direction-card-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    opacity: 1;
    margin-bottom: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA на светлом фоне */
.direction-card--new .direction-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 4px;
    padding: 12px 16px;
    background: transparent;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    min-height: 44px;
    backdrop-filter: none;
    transition: background 0.2s, color 0.2s;
}

.direction-card--new .direction-cta:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.destinations-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.direction-card--image {
    min-height: 280px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.direction-card--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--direction-bg);
    background-size: cover;
    background-position: var(--direction-focus-x, 50%) var(--direction-focus-y, 50%);
    filter: saturate(0.82) contrast(0.92) brightness(0.9);
    z-index: 0;
}

.direction-card--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(168deg, rgba(7, 27, 50, 0.58), rgba(7, 27, 50, 0.38));
    z-index: 1;
}


.direction-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 32px);
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(244, 149, 39, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: var(--shadow-soft);
}

.direction-card--image > :not(.direction-badge) {
    position: relative;
    z-index: 2;
}

.direction-card--image a,
.direction-card--image .text-link {
    color: #fff;
}

.direction-cta {
    font-weight: 800;
}

.review-list {
    display: grid;
    gap: 16px;
}

/* Новая сетка отзывов */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card-new {
    background: #fff;
    border: 1px solid #e6eef7;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(19, 40, 71, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.review-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(19, 40, 71, 0.14);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar-new {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(140deg, #b5e8ff, #d8f5ff);
    color: #0b5a8a;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card-meta h3 {
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

.review-destination {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0;
}

.review-quote {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    margin: 12px 0 0;
    font-style: italic;
}

.review-card {
    box-shadow: 0 12px 30px rgba(19, 40, 71, 0.12);
}

.review-meta {
    margin: -2px 0 8px;
    color: #5a6d86;
    font-size: 14px;
    font-weight: 600;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #b5e8ff, #d8f5ff);
    color: #0b5a8a;
    font-weight: 800;
}

.review-stars {
    display: inline-flex;
    gap: 2px;
    color: #d2dbe7;
}

.review-stars svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.review-stars svg.is-filled {
    color: #ff9a1f;
}

.seo-list {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.seo-list li {
    margin: 0;
}

.seo-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: #0f3961;
    background: #f3f8ff;
    border: 1px solid #dbe9f8;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.seo-list a::after {
    content: "→";
    color: #2f7fb8;
    font-weight: 800;
}

.seo-list a:hover {
    color: #0b355d;
    background: #e7f2ff;
    border-color: #c9def4;
    transform: translateX(2px);
}

.link-list,
.simple-list,
.contact-list {
    margin: 0;
    padding-left: 18px;
}

.site-footer .footer-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.link-list li,
.simple-list li,
.contact-list li {
    margin-bottom: 9px;
}

.site-footer .footer-list li {
    margin-bottom: 9px;
}

.site-footer .footer-contacts-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer .footer-contacts-item {
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
}

.lead-form {
    display: grid;
    gap: 11px;
    padding: 16px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.lead-form input[type="text"],
.lead-form textarea,
.lead-form input[type="tel"] {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 10px 12px;
    font: inherit;
}

.checkbox-line {
    grid-template-columns: 20px 1fr;
    align-items: start;
}

.field-error {
    color: #b00020;
    font-size: 13px;
}

.form-success {
    border-radius: 10px;
    padding: 10px 12px;
    background: #e9fcef;
    border: 1px solid #bbf0cc;
}

.form-error {
    border-radius: 10px;
    padding: 10px 12px;
    background: #ffefef;
    border: 1px solid #ffc8c8;
    color: #8e1e1e;
}

.faq-accordion {
    display: block;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    margin-bottom: 12px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 18px;
    text-align: left;
    font: inherit;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--ink);
}

.faq-chevron {
    font-size: 22px;
    line-height: 1;
    color: var(--brand);
    transition: transform 0.25s ease;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.28s ease;
    border-top: 1px solid transparent;
}

.faq-answer p {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
}

.faq-item.is-open .faq-answer {
    opacity: 1;
    border-top-color: var(--border);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(45deg);
}

.faq-item.is-open {
    border-color: #b7d3ef;
    box-shadow: 0 14px 28px rgba(17, 39, 70, 0.12);
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.section-final-cta {
    background: linear-gradient(140deg, #0e3f66, #0f6d9b 56%, #1389b8);
    color: #eaf6ff;
}

/* Финальный CTA с контактами */
.section-final-cta-with-contacts {
    background: linear-gradient(140deg, #0e3f66, #0f6d9b 56%, #1389b8);
    color: #fff;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.final-cta-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.final-cta-text {
    padding: 32px;
}

.final-cta-text h2 {
    font-size: clamp(32px, 4vw, 44px);
    color: #fff;
    margin: 0 0 12px;
}

.final-cta-subtitle {
    font-size: 18px;
    color: #d6e9f9;
    margin: 0 0 24px;
}

.btn-final-cta {
    display: inline-flex;
    padding: 14px 28px;
    background: #fff;
    color: #0e3f66;
    font-weight: 800;
    border-radius: 12px;
    font-size: 17px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-final-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.final-cta-contacts {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.final-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.final-cta-contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.final-cta-contact-item p,
.final-cta-contact-item a {
    margin: 0;
    color: #fff;
    font-size: 15px;
}

.final-cta-contact-item a:hover {
    color: #d6e9f9;
}

.messenger-row-compact {
    padding-top: 12px;
    gap: 8px;
}

.messenger-btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: background 0.2s;
}

.messenger-btn-sm:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Секция формы заявки */
.section-lead-form {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    background: #f8fbff;
}

.lead-form-box {
    max-width: 598px;
    margin: 0 auto;
}

.lead-form-box .lead-form {
    background: #fff;
    border: 1px solid #e6eef7;
    box-shadow: 0 12px 36px rgba(18, 40, 77, 0.1);
}

.section-faq {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.section-contacts {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contacts-info h3 {
    margin-bottom: 16px;
}

.contacts-info p {
    margin-bottom: 10px;
}

.contacts-map iframe,
.contacts-map .map-placeholder {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.map-placeholder {
    background: #f0f7ff;
    padding: 32px;
    text-align: center;
    border-radius: 12px;
}

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

.final-cta-wrap {
    align-items: start;
}

.final-cta-content,
.final-cta-form {
    padding: 24px;
}

.final-cta-content {
    background: rgba(8, 29, 55, 0.3);
    border-color: rgba(173, 219, 246, 0.28);
    box-shadow: 0 20px 50px rgba(7, 28, 51, 0.25);
}

.final-cta-content h2 {
    font-size: clamp(34px, 4.2vw, 46px);
    color: #fff;
}

.final-cta-content p {
    color: #d6e9f9;
}

.final-cta-trigger {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.btn-final-cta {
    min-width: 280px;
    min-height: 54px;
    font-size: 17px;
}

.final-cta-form {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 22px 56px rgba(7, 28, 51, 0.24);
    background: #ffffff;
    border-color: #c8d9eb;
    transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.final-cta-form.is-attention {
    border-color: #56b6e8;
    box-shadow: 0 0 0 6px rgba(38, 167, 220, 0.28), 0 26px 64px rgba(7, 28, 51, 0.34);
    animation: formAttention 1.1s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.final-cta-form.is-attention::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -55%;
    width: 45%;
    height: 150%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(78, 197, 255, 0.24), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 1;
    animation: formSweep 1.15s ease-out;
}

.final-cta-form.is-attention::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 2px solid rgba(72, 186, 241, 0.66);
    pointer-events: none;
    z-index: 3;
    animation: formRing 1.05s ease-out;
}

.final-cta-form .lead-form {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: #1d2f46;
}

.final-cta-form .lead-form label {
    color: #3a5677;
    font-weight: 700;
}

.final-cta-form .lead-form input[type="text"],
.final-cta-form .lead-form input[type="tel"],
.final-cta-form .lead-form textarea {
    background: #ffffff;
    color: #1f2f43;
    border-color: #b7cee4;
}

.final-cta-form .lead-form input::placeholder,
.final-cta-form .lead-form textarea::placeholder {
    color: #6f859f;
}

.final-cta-form .checkbox-line span {
    color: #48617f;
}

.final-cta-form.is-attention .lead-form .btn-cta {
    animation: formButtonNudge 1.05s ease 2;
    box-shadow: 0 12px 24px rgba(240, 122, 0, 0.34);
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}

.rich-text table,
.rich-text th,
.rich-text td {
    border: 1px solid var(--border);
}

.rich-text th,
.rich-text td {
    padding: 8px;
    text-align: left;
}

.map-wrap iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    padding: 40px 0;
    margin-top: 0;
    color: #e5f2ff;
    background: linear-gradient(135deg, #0a2e50, #134b7b 55%, #0f6d9b);
    scroll-margin-top: var(--anchor-offset);
}

#contacts {
    scroll-margin-top: var(--anchor-offset);
}

.site-footer a {
    color: #fff;
}

.footer-ids {
    font-weight: 600;
    opacity: 0.95;
}

.messenger-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.messenger-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 7px 12px;
    font-weight: 700;
}

.legal h2 {
    margin-top: 24px;
}

@keyframes rise {
    from {
        transform: translateY(18px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes heroPanelIn {
    from {
        transform: translateY(18px) scale(0.985);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes formAttention {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 167, 220, 0), 0 22px 54px rgba(7, 28, 51, 0.24);
    }
    30% {
        transform: scale(1.014);
        box-shadow: 0 0 0 8px rgba(38, 167, 220, 0.2), 0 28px 70px rgba(7, 28, 51, 0.36);
    }
    62% {
        transform: scale(1.005);
        box-shadow: 0 0 0 4px rgba(38, 167, 220, 0.16), 0 26px 64px rgba(7, 28, 51, 0.34);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(38, 167, 220, 0), 0 22px 56px rgba(7, 28, 51, 0.26);
    }
}

@keyframes formSweep {
    0% {
        transform: translateX(-110%) skewX(-18deg);
        opacity: 0;
    }
    24% {
        opacity: 1;
    }
    100% {
        transform: translateX(320%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes formRing {
    0% {
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(72, 186, 241, 0.42);
    }
    35% {
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(72, 186, 241, 0.18);
    }
    100% {
        opacity: 0;
        box-shadow: 0 0 0 16px rgba(72, 186, 241, 0);
    }
}

@keyframes formButtonNudge {
    0%,
    100% {
        transform: translateY(0);
    }
    35% {
        transform: translateY(-2px) scale(1.01);
    }
    65% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-info-panel {
        animation: heroPanelIn 0.45s ease both;
    }

    .final-cta-form.is-attention::before,
    .final-cta-form.is-attention::after,
    .final-cta-form.is-attention .lead-form .btn-cta {
        animation: none;
    }

    .final-cta-form.is-attention {
        transform: none;
        box-shadow: 0 0 0 5px rgba(38, 167, 220, 0.24), 0 22px 54px rgba(7, 28, 51, 0.28);
    }
}

@media (max-width: 859px) {
    .hero-title {
        max-width: 100%;
        font-size: clamp(24px, 6.8vw, 32px);
        line-height: 1.1;
        text-wrap: balance;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.6vw, 38px);
        line-height: 1.06;
        text-wrap: balance;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 42ch;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-main-cta {
        width: 100%;
        min-width: 0;
    }

    .btn-final-cta {
        width: 100%;
        min-width: 0;
    }

    .hero-info-panel {
        border-radius: 18px;
        padding: 18px;
        animation: heroPanelIn 0.8s cubic-bezier(0.21, 0.96, 0.35, 1) both;
    }

    .hero-info-panel h2 {
        font-size: 24px;
    }

    /* Адаптив для новых блоков */
    .hero-trust-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-stat {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .trust-stat-value {
        font-size: 24px;
        white-space: nowrap;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .quick-form-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .final-cta-text {
        padding: 20px;
        text-align: center;
    }

    .final-cta-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 991px) and (min-width: 860px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-menu {
        grid-column: 1 / -1;
    }

    /* Планшетный адаптив для новых блоков */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-form-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-cta-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (min-width: 860px) {
    :root {
        --space-lg: 80px;
        --space-md: 60px;
        --space-sm: 40px;
    }

    .header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 20px;
        min-height: 68px;
        padding: 6px 0;
    }

    .site-header.is-compact .header-inner {
        min-height: 68px;
        padding: 6px 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 430px;
        gap: 28px;
        align-items: center;
        padding: 64px 0;
    }

    .logo-image {
        height: 50px;
        width: auto;
    }

    .hero-content h1 {
        max-width: 16ch;
        font-size: clamp(44px, 5.2vw, 64px);
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tour-search-section {
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .adv-grid,
    .card-grid:not(.destinations-grid) {
        gap: 24px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-advantages,
    .section-destinations,
    .section-reviews {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .two-column {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .final-cta-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-container {
        width: min(1000px, 100%);
    }

    .site-footer {
        padding: 60px 0;
    }
}

@media (min-width: 992px) {
    .header-inner {
        min-height: 76px;
    }

    .site-header.is-compact .header-inner {
        min-height: 76px;
    }

    .menu-toggle {
        display: none;
    }

    .main-menu {
        display: flex;
        grid-column: auto;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 12px;
        padding-top: 0;
    }

    .menu-phone,
    .menu-email {
        display: none;
    }

    .header-actions {
        display: flex;
        justify-content: end;
        align-items: center;
    }
}

/* Audit quality normalization layer */
:root {
    --radius-control: 12px;
    --radius-card: 16px;
    --surface-soft: #f3f8ff;
    --brand-2: #0b78b8;
    --muted: #3f5370;
    --elevation-1: 0 12px 24px rgba(15, 34, 63, 0.12);
}

body {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
}

p {
    margin: 0 0 16px;
}

h1,
.hero-title,
.hero-content h1 {
    font-size: 52px;
    line-height: 1.12;
    margin-bottom: 16px;
}

h2,
.final-cta-text h2,
.final-cta-content h2 {
    font-size: 40px;
    line-height: 1.16;
    margin-bottom: 16px;
}

h3,
.direction-card-content h3 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
}

p,
a,
li,
button,
input,
textarea,
label {
    font-size: 16px;
    line-height: 1.5;
}

.phone-label,
.direction-badge,
.review-destination,
.form-note,
.messenger-btn-sm,
.hero-label,
.trust-stat-label,
.trust-card-label {
    font-size: 12px;
    line-height: 1.4;
}

.hero-subtitle,
.final-cta-subtitle,
.btn-final-cta,
.hero-main-cta,
.phone-link {
    font-size: 20px !important;
}

small {
    font-size: 12px;
}

.hero::after {
    background: linear-gradient(165deg, rgba(8, 24, 48, 0.72), rgba(8, 24, 48, 0.78)) !important;
}

.hero-simple-content,
.hero-simple-content .hero-title,
.hero-simple-content .hero-subtitle {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(3, 13, 29, 0.45);
}

.hero-simple-content {
    background: #0e3f66;
    border: 1px solid #d5e4f3;
    border-radius: var(--radius-card);
    max-width: 860px;
    padding: 24px !important;
}

.hero-simple-content .hero-subtitle {
    opacity: 1;
}

.btn,
.main-menu a,
.menu-toggle,
.messenger-btn,
.messenger-btn-sm,
.phone-link,
.faq-question,
.lead-form button[type="submit"],
.lead-form input[type="submit"],
button,
select,
textarea,
input:not([type="hidden"]) {
    min-height: 44px;
}

.main-menu a,
.messenger-btn,
.messenger-btn-sm,
.phone-link,
.faq-question,
.btn,
.hero-main-cta,
.direction-cta {
    display: inline-flex;
    align-items: center;
}

.main-menu a,
.menu-phone,
.menu-email {
    padding: 12px 16px !important;
    border-radius: var(--radius-control) !important;
}

.header-inner,
.site-header.is-compact .header-inner {
    min-height: 58px !important;
    padding: 0 !important;
}

.main-menu {
    gap: 12px;
    padding: 12px 0 8px !important;
}

.logo-image {
    height: 42px !important;
}

:where(
    .message,
    .menu-toggle,
    .main-menu a,
    .btn,
    .form-group input,
    .lead-form input,
    .lead-form textarea,
    .faq-question,
    .messenger-btn,
    .messenger-btn-sm,
    .phone-link,
    .quick-tour-form input
) {
    border-radius: var(--radius-control) !important;
}

.page-glow {
    display: none !important;
}

.btn {
    padding: 12px 20px !important;
}

input[type="checkbox"] {
    margin: 0;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
    padding: 12px 16px !important;
}

.link-list,
.simple-list,
.contact-list {
    padding-left: 16px !important;
}

.site-footer .footer-list {
    padding-left: 0 !important;
    list-style: none !important;
}

.site-footer .footer-list a {
    display: inline !important;
    align-items: normal !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    line-height: 1.45;
}

li {
    margin-bottom: 8px;
}

.link-list li,
.simple-list li,
.contact-list li {
    margin-bottom: 8px !important;
}

.site-footer .footer-list li {
    margin-bottom: 8px !important;
    list-style: none !important;
}

.site-footer .footer-contacts-list {
    gap: 8px !important;
}

.site-footer .footer-contacts-list a {
    white-space: normal;
}

.tourvisor-box,
.adv-card,
.review-item,
.content-card,
.map-wrap,
.final-cta-content,
.final-cta-form {
    padding: 24px !important;
}

.direction-card {
    padding: 0 !important;
}

input::placeholder,
textarea::placeholder {
    color: #4d5f78 !important;
    opacity: 1;
}

input,
textarea {
    color: var(--ink) !important;
    resize: vertical !important;
    max-width: 100% !important;
}

input[type="checkbox"] {
    width: 40px;
    height: 40px;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-shrink: 0;
    border: 1px solid var(--border);
    accent-color: var(--brand);
    cursor: pointer;
}

.direction-badge {
    padding: 8px 12px !important;
}

.faq-question {
    padding: 16px !important;
}

.checkbox-line {
    grid-template-columns: 40px 1fr !important;
    align-items: center !important;
    gap: 8px !important;
}

.lead-form .checkbox-line span {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--muted);
}

.nowrap-token {
    white-space: nowrap;
}

.faq-chevron {
    font-size: 16px !important;
}

.messenger-btn,
.messenger-btn-sm {
    padding: 8px 12px !important;
}

.review-quote,
.direction-card-content p {
    font-size: 16px !important;
}

.form-group label,
.lead-form label,
.final-cta-contact-item p,
.final-cta-contact-item a {
    font-size: 16px !important;
}

.trust-card-value {
    font-size: 24px !important;
}

.btn,
.btn-final-cta {
    font-size: 16px !important;
}

.phone-link {
    font-size: 16px !important;
}

.phone-label {
    color: var(--muted) !important;
}

.review-avatar-new {
    color: var(--brand) !important;
}

.review-stars {
    color: var(--border) !important;
}

.review-stars svg.is-filled {
    color: var(--cta) !important;
}

.trust-icon {
    background: var(--surface-soft) !important;
}

.trust-card,
.lead-form-box .lead-form {
    border-color: var(--border) !important;
}

.final-cta-subtitle {
    color: #e5f2ff !important;
}

.section-final-cta-with-contacts {
    background: #0e3f66 !important;
}

.site-footer {
    background: #0a2e50 !important;
}

.direction-card-content {
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-radius: 0 !important;
}

:where(
    .quick-tour-form,
    .trust-card,
    .adv-card,
    .direction-card,
    .tourvisor-box,
    .review-card-new,
    .lead-form,
    .faq-item,
    .final-cta-contacts,
    .final-cta-form,
    .map-wrap,
    .seo-list,
    .content-card,
    .message,
    .site-header,
    .lead-form-box .lead-form
) {
    border-radius: var(--radius-card) !important;
}

:where(
    .direction-badge,
    .hero-label,
    .review-avatar,
    .review-avatar-new,
    .trust-icon,
    .contact-icon,
    .page-glow
) {
    border-radius: 999px !important;
}

:where(
    .trust-card,
    .adv-card,
    .direction-card,
    .review-card-new,
    .quick-tour-form,
    .tourvisor-box,
    .lead-form-box .lead-form,
    .final-cta-form,
    .final-cta-contacts,
    .faq-item,
    .message,
    .site-header.is-compact,
    .btn:hover,
    .direction-card:hover,
    .review-card-new:hover,
    .trust-card:hover,
    .adv-card:hover
) {
    box-shadow: var(--elevation-1) !important;
}

.section,
.section-trust,
.section-destinations,
.section-reviews,
.section-faq,
.section-lead-form,
.section-tour-search,
.section-final-cta-with-contacts {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.section-head {
    margin-bottom: 24px !important;
}

.hero-simple {
    padding-top: 128px !important;
    padding-bottom: 80px !important;
}

.hero-trust-stats {
    gap: 16px 24px !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
}

.trust-grid,
.review-grid,
.final-cta-block,
.quick-form-grid,
.destinations-grid {
    gap: 24px !important;
}

.final-cta-text,
.direction-card-content,
.review-card-new,
.quick-tour-form,
.lead-form,
.final-cta-contacts {
    padding: 24px !important;
}

.faq-answer p {
    padding: 0 16px 16px !important;
}

.section-soft,
.section-trust,
.section-lead-form,
.tour-search-section,
.section-tour-search {
    background: var(--surface-soft) !important;
}

.final-cta-subtitle {
    color: #eaf4ff !important;
}

.final-cta-contacts {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
}

.final-cta-form .lead-form input[type="text"],
.final-cta-form .lead-form input[type="tel"],
.final-cta-form .lead-form textarea {
    border-color: var(--border) !important;
    color: var(--ink) !important;
}

.final-cta-form .lead-form input::placeholder,
.final-cta-form .lead-form textarea::placeholder {
    color: var(--muted) !important;
    opacity: 1;
}

@media (max-width: 859px) {
    h1,
    .hero-title,
    .hero-content h1 {
        font-size: 30px;
        line-height: 1.08;
        max-width: 14ch;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    h2,
    .final-cta-text h2,
    .final-cta-content h2 {
        font-size: 32px;
    }

    h3,
    .direction-card-content h3 {
        font-size: 24px;
    }

    .section,
    .section-trust,
    .section-destinations,
    .section-reviews,
    .section-faq,
    .section-lead-form,
    .section-tour-search,
    .section-final-cta-with-contacts {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

@media (min-width: 992px) {
    .header-inner,
    .site-header.is-compact .header-inner {
        display: flex !important;
        align-items: center;
        grid-template-columns: none !important;
        gap: 10px !important;
    }

    .logo {
        flex: 0 0 auto;
        min-width: 136px;
    }

    .main-menu {
        flex: 1 1 auto;
        justify-content: flex-start !important;
        gap: 6px !important;
        overflow: hidden;
        padding: 0 !important;
        width: auto;
    }

    .main-menu a {
        font-size: 16px !important;
        padding: 12px 12px !important;
    }

    .main-menu .menu-phone,
    .main-menu .menu-email {
        display: none !important;
    }

    .header-actions {
        display: flex !important;
        flex: 0 0 auto;
    }

    .phone-link {
        font-size: 16px !important;
    }
}

@media (min-width: 992px) and (max-width: 1320px) {
    .phone-label {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1180px) {
    .header-actions {
        display: none !important;
    }

    .main-menu {
        justify-content: flex-start !important;
    }

    .main-menu a {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }

    .logo-image {
        height: 42px !important;
    }
}

/* ── Split card overrides ──────────────────────────────── */
.direction-card--new .direction-card-content h3 {
    font-size: 20px !important;
    color: var(--ink) !important;
    line-height: 1.25 !important;
}

.direction-card--new .direction-card-content p {
    font-size: 14px !important;
    color: var(--muted) !important;
    opacity: 1 !important;
}

.direction-card--new .direction-cta {
    font-size: 14px !important;
    padding: 12px 16px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
}

/* ── SEO-блоки: стили таблиц ──────────────────────────── */
.section-seo-text table,
.section-seo-bottom table,
.home-guide-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    font-size: 16px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.section-seo-text th,
.section-seo-bottom th,
.home-guide-section th {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
}

.section-seo-text td,
.section-seo-bottom td,
.home-guide-section td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    vertical-align: top;
    line-height: 1.45;
}

.section-seo-text tr:last-child td,
.section-seo-bottom tr:last-child td,
.home-guide-section tr:last-child td {
    border-bottom: none;
}

.section-seo-text tbody tr:nth-child(even),
.section-seo-bottom tbody tr:nth-child(even),
.home-guide-section tbody tr:nth-child(even) {
    background: #f5f9ff;
}

.section-seo-text tbody tr:hover,
.section-seo-bottom tbody tr:hover,
.home-guide-section tbody tr:hover {
    background: #eaf3ff;
}

/* Мобильный скролл таблиц */
@media (max-width: 640px) {
    .section-seo-text table,
    .section-seo-bottom table,
    .home-guide-section table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Country pages: visual upgrade without SEO loss */
.country-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(500px, 68vh, 700px);
    padding-top: clamp(34px, 4.8vw, 52px) !important;
    padding-bottom: clamp(34px, 4.8vw, 52px) !important;
    background:
        radial-gradient(circle at 88% 14%, rgba(11, 120, 184, 0.12), transparent 44%),
        radial-gradient(circle at 6% 90%, rgba(0, 168, 207, 0.16), transparent 40%),
        linear-gradient(180deg, #f6fbff 0%, #edf6ff 100%);
}

.country-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
}

.country-hero h1 {
    margin-bottom: 16px !important;
}

.country-hero-intro {
    margin-bottom: 18px !important;
    max-width: 62ch;
    color: var(--muted);
}

.country-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.country-hero-benefits li {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(11, 120, 184, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(19, 40, 71, 0.08);
    font-weight: 700;
    color: #15456f;
    line-height: 1.35;
}

.country-hero-trust {
    display: grid;
    gap: 12px;
}

.country-price-card {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(11, 120, 184, 0.2);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(236, 248, 255, 0.98));
}

.country-price-card-note {
    margin: 0 0 10px;
    color: #2f5475;
    font-size: 13px !important;
    line-height: 1.35;
}

.country-price-card-row {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.country-price-card-row + .country-price-card-row {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(11, 120, 184, 0.24);
}

.country-price-card span {
    color: #2f5475;
}

.country-price-card strong {
    color: #0a365a;
    white-space: nowrap;
}

.country-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(20, 51, 87, 0.16);
    background: rgba(255, 255, 255, 0.88);
    color: #1a4b75;
    font-size: 14px !important;
    font-weight: 700;
}

.country-trust-item-phone svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    flex-shrink: 0;
}

.country-hero-cta {
    margin-top: 8px;
    min-width: 230px;
}

.country-hero-media {
    width: min(520px, 100%);
    justify-self: end;
}

.country-hero-image {
    width: 100%;
    min-height: 320px;
    border-radius: 18px;
    border: 1px solid rgba(11, 120, 184, 0.2);
    box-shadow: 0 18px 38px rgba(18, 40, 77, 0.18);
    background-image:
        linear-gradient(150deg, rgba(6, 27, 52, 0.12), rgba(6, 27, 52, 0.35)),
        var(--country-hero-bg);
    background-size: cover;
    background-position: var(--country-focus-x, 50%) var(--country-focus-y, 50%);
}

.country-content-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

.country-content-grid {
    gap: 24px;
    align-items: start;
}

.country-main-card {
    display: grid;
    gap: 22px;
    padding: 24px !important;
}

.country-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.country-fact-card {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d8e8f7;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.country-fact-card h2 {
    margin-bottom: 10px;
    font-size: clamp(21px, 2.2vw, 24px) !important;
}

.country-fact-card p {
    margin: 0;
    color: var(--muted);
}

.country-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d0e1f3 16%, #d0e1f3 84%, transparent);
}

.country-tips {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #d8e8f7;
    background: #f8fbff;
}

.country-tips h2 {
    margin-bottom: 10px;
    font-size: clamp(21px, 2.2vw, 24px) !important;
}

.country-tips p {
    margin: 0;
    color: var(--muted);
}

.country-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.country-side-card {
    padding: 22px !important;
}

.country-resorts-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

.country-resorts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px !important;
}

.country-resort-card {
    height: 100%;
}

.country-resort-card .direction-card-image {
    aspect-ratio: 16 / 10;
}

.country-resort-card .direction-card-content {
    gap: 10px;
}

.country-resort-card .direction-card-content p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.country-faq-section {
    background: linear-gradient(140deg, #0f446f, #0f5b8a 56%, #0e6f9d);
    color: #fff;
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

.country-faq-head {
    margin-bottom: 18px;
}

.country-faq-head h2 {
    color: #fff;
    margin-bottom: 10px;
}

.country-faq-head p {
    color: #d7e7f7;
    margin: 0;
}

.country-faq-accordion {
    margin-top: 0;
}

.country-faq-item {
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.11) !important;
    box-shadow: none !important;
}

.country-faq-question {
    color: #fff !important;
    padding: 16px 18px !important;
}

.country-faq-question-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.country-faq-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}

.country-faq-section .faq-chevron {
    color: #fff;
}

.country-faq-section .faq-answer p {
    color: #e0edf9;
}

.country-faq-item.is-open {
    background: rgba(255, 255, 255, 0.19) !important;
    box-shadow: 0 14px 28px rgba(7, 27, 52, 0.25) !important;
}

.country-faq-item.is-open .faq-answer {
    border-top-color: rgba(255, 255, 255, 0.32) !important;
}

.country-main-card .rich-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 16px 0 20px;
    border: 1px solid #d3e3f3;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 34, 63, 0.08);
}

.country-main-card .rich-text thead th {
    background: #0b78b8;
    color: #fff;
    font-weight: 700;
}

.country-main-card .rich-text th,
.country-main-card .rich-text td {
    padding: 10px 12px;
    border-right: 1px solid #e1edf8;
    border-bottom: 1px solid #e1edf8;
}

.country-main-card .rich-text th:last-child,
.country-main-card .rich-text td:last-child {
    border-right: 0;
}

.country-main-card .rich-text tr:last-child td {
    border-bottom: 0;
}

.country-main-card .rich-text tbody tr:nth-child(even) {
    background: #f7fbff;
}

.country-main-card .rich-text tbody tr:hover {
    background: #eaf4ff;
}

.country-pros-cons h2 {
    margin-bottom: 10px;
}

.country-pros-cons h3 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 22px !important;
}

.country-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 7px;
}

.country-list li {
    margin: 0;
}

.country-list-muted li {
    color: #355878;
}

.country-table-wrap {
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    padding: 18px;
}

.country-table-wrap h2 {
    margin-bottom: 12px;
}

.country-price-table-block {
    margin-top: 20px;
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #fff;
    padding: 18px;
}

.country-price-table-block h2 {
    margin-bottom: 12px;
}

.country-price-table-block table,
.country-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.country-price-table-block th,
.country-price-table-block td,
.country-table-wrap th,
.country-table-wrap td {
    border: 1px solid #dbe8f5;
    padding: 9px 10px;
    text-align: left;
}

.country-price-table-block th,
.country-table-wrap th {
    background: #edf6ff;
    color: #184970;
}

.country-audience-section {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
}

.country-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.country-audience-card {
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #fff;
    padding: 16px;
}

.country-audience-card h3 {
    font-size: 21px !important;
    margin-bottom: 8px;
}

.country-audience-card p {
    margin: 0;
    color: var(--muted);
}

.country-linking-card {
    margin-top: 16px;
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f7fbff;
    padding: 16px;
}

.country-linking-card h3 {
    margin-bottom: 10px;
    font-size: 20px !important;
}

.page-hero-flagship {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.page-hero-flagship .narrow {
    width: min(920px, 100%);
}

.page-hero-lead {
    margin-bottom: 12px;
    max-width: 74ch;
    color: #355878;
}

.page-hero-trust-line {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.24;
    color: #3f5f7f;
}

.page-hero-trust-line-item {
    white-space: normal;
}

.page-hero-trust-line-sep {
    color: #7f9ab6;
}

.page-hero-real-tour {
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    padding: 12px 14px;
}

.page-hero-real-tour p {
    margin: 0;
}

.page-hero-real-tour-title {
    font-weight: 800;
    color: #184970;
}

.page-hero-real-tour-price {
    margin-top: 4px !important;
    font-size: 20px;
    font-weight: 800;
    color: #0a365a;
}

.page-hero-real-tour-date {
    margin-top: 2px !important;
    color: #355878;
    font-size: 15px;
}

.page-hero-cta-wrap {
    margin-top: 12px;
}

.page-hero-main-cta {
    width: min(420px, 100%);
    min-height: 52px;
    font-size: 17px;
    font-weight: 800;
}

.page-hero-cta-note {
    margin: 8px 0 0;
    color: #5f6c7b;
    font-size: 14px;
    line-height: 1.35;
}

@media (min-width: 860px) {
    .page-hero-flagship {
        max-height: 700px;
    }
}

.page-hero-inline-card {
    margin-top: 16px;
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    padding: 16px;
}

.page-hero-inline-card h2 {
    margin-bottom: 10px;
    font-size: clamp(24px, 2.4vw, 28px) !important;
}

.page-hero-inline-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.page-hero-inline-card th,
.page-hero-inline-card td {
    border: 1px solid #dbe8f5;
    padding: 8px 10px;
    text-align: left;
}

.page-hero-inline-card th {
    background: #edf6ff;
}

.page-inline-table {
    margin-bottom: 16px;
}

.page-inline-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.page-inline-table th,
.page-inline-table td {
    border: 1px solid #dbe8f5;
    padding: 8px 10px;
    text-align: left;
}

.page-inline-table th {
    background: #edf6ff;
}

.page-chooser-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.page-operators-section {
    padding-top: 36px !important;
    padding-bottom: 44px !important;
}

.page-operators-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.flagship-content-section + .flagship-content-section {
    margin-top: 24px;
}

.flagship-content-section h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: clamp(22px, 2.2vw, 24px);
}

.flagship-popular-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.flagship-popular-card {
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    padding: 14px;
}

.flagship-popular-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d3e3f3;
    margin-bottom: 10px;
}

.flagship-popular-card h3 {
    margin-top: 0;
}

.flagship-popular-card p {
    margin-bottom: 10px;
}

.flagship-popular-card p:last-child {
    margin-bottom: 0;
}

.page-inline-table {
    overflow-x: auto;
}

.flagship-steps-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.flagship-steps-list li {
    margin: 0;
}

.flagship-reasons-list {
    margin: 12px 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.flagship-operators-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.flagship-operator-card {
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    padding: 14px;
}

.flagship-operator-card h3 {
    margin-top: 0;
}

.flagship-operator-card p {
    margin-bottom: 10px;
}

.flagship-operator-card p:last-child {
    margin-bottom: 0;
}

.flagship-links-section {
    border-top: 1px solid #d9e8f6;
    padding-top: 20px;
}

.flagship-links-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.flagship-content-section + .flagship-agency-section {
    margin-top: 64px;
}

.flagship-agency-section + .flagship-content-section {
    margin-top: 64px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 22px;
    font-size: 14px;
    color: #213e5b;
    background: #fff;
    border: 1px solid #d8e4f1;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #d8e4f1;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.38;
}

.comparison-table thead th {
    background: #f2f6fb;
    font-weight: 700;
    color: #2b4d6e;
}

.comparison-table tbody tr:nth-child(even) {
    background: #fafcff;
}

.mini-case {
    margin: 12px 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d7e4f1;
    background: #f5f9ff;
}

.mini-case h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2vw, 22px);
}

.mini-case p {
    margin: 0 0 8px;
    color: #244261;
}

.mini-case p:last-child {
    margin-bottom: 0;
}

.block-cta {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d8e4f1;
    background: #f9fcff;
}

.block-cta p {
    margin: 0 0 10px;
    color: #244261;
    font-weight: 600;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid #89a9c8;
    background: #fff;
    color: #2c4f72;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background: #eef4fb;
    color: #1f4264;
    border-color: #7398be;
}

.block-cta-soft {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d8e4f1;
    background: #f8fbff;
}

.block-cta-soft p {
    margin: 0 0 8px;
    color: #244261;
    font-weight: 500;
}

.block-cta-soft a {
    color: #2b4d6e;
    font-weight: 700;
    border-bottom: 1px solid #98b4cf;
    padding-bottom: 1px;
}

.block-cta-soft a:hover {
    color: #1f4264;
    border-bottom-color: #6f95bb;
}

.home-guide-section,
.home-bottom-queries {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

@media (max-width: 1180px) {
    .country-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .country-hero-media {
        width: min(640px, 100%);
        justify-self: start;
    }

    .country-facts-grid {
        grid-template-columns: 1fr;
    }

    .country-resorts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .country-audience-grid {
        grid-template-columns: 1fr;
    }

    .flagship-popular-grid,
    .flagship-operators-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 859px) {
    .country-hero {
        min-height: auto;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .country-hero-benefits {
        grid-template-columns: 1fr;
    }

    .country-trust-items {
        gap: 8px;
    }

    .country-trust-item {
        font-size: 13px !important;
    }

    .country-hero-cta {
        width: 100%;
    }

    .country-hero-image {
        min-height: 240px;
    }

    .country-content-section,
    .country-resorts-section,
    .country-faq-section {
        padding-top: 38px !important;
        padding-bottom: 38px !important;
    }

    .country-main-card,
    .country-side-card {
        padding: 20px !important;
    }

    .country-resorts-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-inline-card,
    .country-table-wrap,
    .country-price-table-block,
    .country-linking-card {
        padding: 14px;
    }

    .page-hero-trust-line {
        justify-content: center;
        gap: 6px 10px;
        font-size: 13px;
    }

    .page-hero-trust-line-item {
        white-space: normal;
    }

    .page-hero-real-tour,
    .flagship-popular-card,
    .flagship-operator-card {
        padding: 12px;
    }

    .page-hero-main-cta {
        width: 100%;
    }

    .flagship-content-section + .flagship-agency-section,
    .flagship-agency-section + .flagship-content-section {
        margin-top: 40px;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .block-cta-soft {
        padding: 12px;
    }
}

/* ── SEO-блоки: общие ─────────────────────────────────── */
.section-seo-text h2,
.section-seo-bottom h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    margin-top: 36px;
    margin-bottom: 12px;
}

.section-seo-text h2:first-child,
.section-seo-bottom h2:first-child {
    margin-top: 0;
}

.section-seo-text ul,
.section-seo-bottom ul {
    padding-left: 20px;
    margin: 0 0 16px;
}

.section-seo-text ul li,
.section-seo-bottom ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}
