: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% - 32px);
    margin: 0 auto;
}

.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.0fe27e6d1822.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: rgba(8, 24, 48, var(--hero-dark-opacity, 0.75));
}

.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);
}

.section-anchor {
    display: block;
    height: 0;
    scroll-margin-top: calc(var(--anchor-offset) + 28px);
}

.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,
.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,
.final-cta-content,
.final-cta-form {
    padding: 22px;
}

.custom-tour-search {
    --custom-tour-search-popover-reserve: 0px;
    width: 100%;
    min-width: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.98)),
        var(--surface);
    border: 1px solid #c5ddef;
    border-radius: 12px;
    box-shadow: 0 22px 58px rgba(10, 46, 80, 0.17);
    padding: 20px 20px calc(20px + var(--custom-tour-search-popover-reserve));
    position: relative;
    overflow: visible;
    transition: padding-bottom 0.18s ease;
}

.custom-tour-search--hero {
    max-width: 1120px;
    margin: 0 auto;
}

.custom-tour-search--modal {
    box-shadow: none;
    border-color: var(--border);
}

.custom-tour-search__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.custom-tour-search__eyebrow {
    margin: 0 0 4px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.custom-tour-search__title {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.22;
}

.custom-tour-search__city {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef7fb;
    color: #0d5f89;
    border: 1px solid #cbe7f2;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.custom-tour-search__form {
    display: grid;
    gap: 14px;
}

.custom-tour-search__tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(98px, 1fr));
    gap: 4px;
    justify-self: start;
    padding: 4px;
    border-radius: 10px;
    background: #edf5fb;
    border: 1px solid #cfe2f1;
}

.custom-tour-search__tab {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    background: transparent;
    color: #31546d;
    font-weight: 600;
    cursor: pointer;
}

.custom-tour-search__tab.is-active {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 8px 18px rgba(11, 120, 184, 0.24);
}

.custom-tour-search__panel,
.custom-tour-search__advanced {
    display: grid;
    gap: 10px;
    align-items: stretch;
}

.custom-tour-search__panel {
    position: relative;
}

.custom-tour-search__panel--tour {
    grid-template-columns:
        minmax(220px, 1.7fr)
        minmax(148px, 0.86fr)
        minmax(116px, 0.68fr)
        minmax(136px, 0.78fr)
        minmax(132px, 0.76fr)
        minmax(120px, 0.7fr)
        minmax(138px, 0.74fr);
}

.custom-tour-search__panel--cruise {
    grid-template-columns:
        minmax(170px, 1.25fr)
        minmax(138px, 0.95fr)
        minmax(142px, 0.95fr)
        minmax(116px, 0.75fr)
        minmax(128px, 0.82fr)
        minmax(136px, 0.88fr)
        minmax(120px, 0.75fr)
        minmax(142px, 0.9fr);
}

.custom-tour-search__advanced {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.custom-tour-search__advanced [data-combobox-name="hotel"] {
    grid-column: span 2;
}

.custom-tour-search__panel[hidden],
.custom-tour-search__advanced[hidden],
.custom-tour-search__field[hidden],
.custom-tour-search__results[hidden] {
    display: none !important;
}

.custom-tour-search__field {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    margin: 0;
    padding: 11px 12px 12px;
    border: 1px solid #d6e5f1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(13, 72, 118, 0.05);
    position: relative;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.custom-tour-search__field:focus-within,
.custom-tour-search__field.is-open {
    border-color: #8ec7e7;
    box-shadow: 0 10px 24px rgba(13, 112, 168, 0.12);
}

.custom-tour-search__field--wide {
    grid-column: span 2;
}

.custom-tour-search__field--checks {
    border: 1px solid #d6e5f1;
    min-inline-size: 0;
    gap: 6px;
    padding: 8px 10px;
    box-shadow: none;
    background: #f8fcff;
}

.custom-tour-search__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custom-tour-search__check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 4px 7px;
    border: 1px solid #d6e5f1;
    border-radius: 8px;
    background: #f3f9ff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
}

.custom-tour-search__field .custom-tour-search__check input {
    width: 14px;
    min-width: 14px;
    height: 14px;
    padding: 0;
    accent-color: var(--brand);
}

.custom-tour-search__label {
    color: #607086;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.custom-tour-search__field input,
.custom-tour-search__field select,
.custom-tour-search__value-button {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.custom-tour-search__field input,
.custom-tour-search__value-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-tour-search__field select {
    cursor: pointer;
}

.custom-tour-search__field--button {
    cursor: default;
}

.custom-tour-search__value-button {
    cursor: pointer;
    display: block;
}

.custom-tour-search__combo-toggle span {
    display: block;
}

.custom-tour-search__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    min-height: 68px;
    border: 1px solid #d6e5f1;
    border-radius: 10px;
    background: #fff;
    color: var(--brand);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 11px 12px;
    box-shadow: 0 8px 18px rgba(13, 72, 118, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.custom-tour-search__more:hover,
.custom-tour-search__more:focus-visible,
.custom-tour-search__more.is-open {
    border-color: #8ec7e7;
    background: #f7fbfe;
    box-shadow: 0 10px 24px rgba(13, 112, 168, 0.12);
}

.custom-tour-search__more span:last-child {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f4fb;
}

.custom-tour-search__more.is-open span:last-child {
    transform: rotate(45deg);
}

.custom-tour-search__popover {
    position: absolute;
    z-index: 25;
    inset: calc(100% + 8px) auto auto 0;
    width: min(280px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid #cfe2f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(10, 46, 80, 0.2);
}

.custom-tour-search__popover[hidden] {
    display: none !important;
}

.custom-tour-search__choice-popover {
    width: min(240px, calc(100vw - 32px));
}

.custom-tour-search__choice-option,
.custom-tour-search__combo-option {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.custom-tour-search__choice-option {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 600;
}

.custom-tour-search__choice-option:hover,
.custom-tour-search__choice-option:focus-visible,
.custom-tour-search__combo-option:hover,
.custom-tour-search__combo-option:focus-visible {
    outline: 0;
    background: #eef7fc;
}

.custom-tour-search__combo-popover {
    width: min(430px, calc(100vw - 32px));
    padding: 8px;
}

.custom-tour-search__combo-search {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 7px;
    background: #fff;
}

.custom-tour-search__combo-search input {
    width: 100%;
    min-height: 38px;
    border: 1px solid #d6e5f1;
    border-radius: 9px;
    padding: 8px 10px;
    background: #f8fbfd;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    outline: 0;
}

.custom-tour-search__combo-search input:focus {
    border-color: #8ec7e7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.custom-tour-search__combo-list {
    display: grid;
    gap: 8px;
    max-height: 292px;
    overflow: auto;
    overscroll-behavior: contain;
}

.custom-tour-search__combo-group[hidden],
.custom-tour-search__combo-option[hidden],
.custom-tour-search__combo-empty[hidden] {
    display: none !important;
}

.custom-tour-search__combo-group {
    display: grid;
    gap: 3px;
}

.custom-tour-search__combo-group-title {
    margin: 2px 6px;
    color: #7890a3;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.custom-tour-search__combo-option {
    display: grid;
    gap: 2px;
    min-height: 46px;
    padding: 8px 10px;
}

.custom-tour-search__combo-option span {
    overflow: hidden;
    color: #062346;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-tour-search__combo-option.is-active {
    background: #eef7fc;
}

.custom-tour-search__combo-option--reset {
    border: 1px solid #d7eaf6;
    background: #f4fbff;
}

.custom-tour-search__combo-option small {
    color: #607086;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
}

.custom-tour-search__combo-empty,
.custom-tour-search__combo-state {
    margin: 0;
    padding: 10px;
    color: #607086;
    font-size: 13px;
    line-height: 1.35;
}

.custom-tour-search__budget-popover {
    width: min(330px, calc(100vw - 32px));
    display: grid;
    gap: 12px;
}

.custom-tour-search__budget-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.custom-tour-search__budget-presets button {
    min-height: 34px;
    border: 1px solid #d6e5f1;
    border-radius: 9px;
    background: #f8fbfd;
    color: #31546d;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}

.custom-tour-search__budget-presets button:hover,
.custom-tour-search__budget-presets button:focus-visible,
.custom-tour-search__budget-presets button.is-active {
    outline: 0;
    border-color: var(--brand);
    background: #e9f6fc;
    color: #063d66;
}

.custom-tour-search__budget-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: #31546d;
    font-size: 13px;
}

.custom-tour-search__budget-head strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
}

.custom-tour-search__budget-range {
    width: 100%;
    accent-color: var(--brand);
    cursor: pointer;
}

.custom-tour-search__budget-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.custom-tour-search__budget-stepper button {
    min-height: 36px;
    border: 1px solid #cfe2f1;
    border-radius: 9px;
    background: #f5fbff;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    line-height: 1;
}

.custom-tour-search__budget-stepper button:hover:not(:disabled),
.custom-tour-search__budget-stepper button:focus-visible:not(:disabled) {
    outline: 0;
    border-color: var(--brand);
    background: #e9f6fc;
}

.custom-tour-search__budget-stepper button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.custom-tour-search__step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
}

.custom-tour-search__step-row + .custom-tour-search__step-row {
    border-top: 1px solid #edf3f8;
}

.custom-tour-search__step-row > span {
    color: #31546d;
    font-size: 14px;
    font-weight: 600;
}

.custom-tour-search__stepper {
    display: inline-grid;
    grid-template-columns: 34px 38px 34px;
    align-items: center;
    gap: 6px;
}

.custom-tour-search__stepper button {
    width: 34px;
    height: 34px;
    border: 1px solid #cfe2f1;
    border-radius: 50%;
    background: #f5fbff;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    line-height: 1;
}

.custom-tour-search__stepper button:hover:not(:disabled),
.custom-tour-search__stepper button:focus-visible:not(:disabled) {
    border-color: var(--brand);
    background: #e9f6fc;
}

.custom-tour-search__stepper button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.custom-tour-search__stepper strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
    text-align: center;
}

.custom-tour-search__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.custom-tour-search__submit {
    min-height: 52px;
    padding-inline: 24px;
}

.custom-tour-search__submit--inline {
    width: 100%;
    min-height: 68px;
    padding-inline: 14px;
    border-radius: 10px;
    white-space: normal;
}

.custom-tour-search__hint {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.custom-tour-search__results {
    min-height: 94px;
    border-top: 1px solid #dceaf4;
    padding-top: 14px;
}

.custom-tour-search__state {
    border-radius: 10px;
    padding: 13px 14px;
    background: #f4f9fd;
    border: 1px solid #d9e8f3;
}

.custom-tour-search__state strong {
    display: block;
    margin-bottom: 6px;
}

.custom-tour-search__state p {
    margin-bottom: 12px;
    color: var(--muted);
}

.custom-tour-search__state--empty {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff8f0;
    border-color: #ffd2aa;
}

.custom-tour-search__state-head {
    display: grid;
    gap: 4px;
}

.custom-tour-search__state-head strong,
.custom-tour-search__state-head p {
    margin: 0;
}

.custom-tour-search__criteria-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custom-tour-search__criteria-chips span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f1d8c5;
    color: #31546d;
    font-size: 12px;
    font-weight: 600;
}

.custom-tour-search__empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.custom-tour-search__state--loading {
    color: #0d5f89;
    font-weight: 650;
}

.custom-tour-search__state--error {
    border-color: #ffd4b0;
    background: #fff7ef;
}

.custom-tour-search__provider-status {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}

.custom-tour-search__manual {
    min-height: 44px;
}

.custom-tour-search__offers {
    display: grid;
    gap: 10px;
}

.custom-tour-search__load-more {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
}

.custom-tour-search__load-more span {
    color: var(--muted);
    font-size: 13px;
}

.custom-tour-search__show-more {
    min-height: 42px;
}

.custom-tour-search__results-layout {
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.custom-tour-search__results-main {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.custom-tour-search__results-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

.custom-tour-search__results-summary strong {
    color: #12344d;
    font-size: 15px;
}

.custom-tour-search__filters {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 10px;
    min-width: 0;
    max-height: calc(100vh - 106px);
    overflow: auto;
    padding: 12px;
    border: 1px solid #d9e8f3;
    border-radius: 10px;
    background: #fff;
}

.custom-tour-search__filters-panel,
.custom-tour-search__filters-body {
    display: grid;
    gap: 10px;
}

.custom-tour-search__filters-head {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.custom-tour-search__filters-head::-webkit-details-marker {
    display: none;
}

.custom-tour-search__filters-head h3 {
    margin: 0;
    color: #12344d;
    font-size: 18px;
    line-height: 1.2;
}

.custom-tour-search__filters-head button,
.custom-tour-search__filter-section summary {
    color: #0b78b8;
    font-weight: 800;
}

.custom-tour-search__filters-head button {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.custom-tour-search__filters-head .custom-tour-search__filter-reset {
    min-height: 32px;
    border: 1px solid #ffb26a;
    border-radius: 8px;
    padding: 6px 10px;
    color: #c44c00;
    font-size: 13px;
    line-height: 1;
    background: #fff4e8;
    box-shadow: 0 5px 12px rgba(255, 112, 0, 0.12);
}

.custom-tour-search__filters-head .custom-tour-search__filter-reset:hover,
.custom-tour-search__filters-head .custom-tour-search__filter-reset:focus-visible {
    border-color: #ff7900;
    color: #9f3d00;
    background: #ffe8d1;
    outline: none;
}

.custom-tour-search__currency-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cfe4f3;
    border-radius: 8px;
}

.custom-tour-search__currency-tabs button {
    min-height: 34px;
    border: 0;
    border-right: 1px solid #cfe4f3;
    color: #31546d;
    font-size: 12px;
    font-weight: 800;
    background: #f7fbff;
    cursor: pointer;
}

.custom-tour-search__currency-tabs button:last-child {
    border-right: 0;
}

.custom-tour-search__currency-tabs button.is-active {
    color: #fff;
    background: #1689c7;
}

.custom-tour-search__currency-tabs button:disabled {
    color: #9badbb;
    background: #f4f8fb;
    cursor: not-allowed;
}

.custom-tour-search__currency-tabs button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #ff9d3f;
    outline-offset: -2px;
}

.custom-tour-search__filter-switch,
.custom-tour-search__filter-check {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    color: #12344d;
    font-size: 13px;
    line-height: 1.25;
}

.custom-tour-search__filter-switch {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
}

.custom-tour-search__filter-switch input {
    width: 34px !important;
    min-width: 34px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0;
    accent-color: #1689c7;
}

.custom-tour-search__filter-check input {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 1px 0 0;
    accent-color: #1689c7;
}

.custom-tour-search__filter-check em {
    color: #7a8fa1;
    font-style: normal;
    font-size: 12px;
}

.custom-tour-search__filter-check.is-disabled {
    color: #8da0af;
    cursor: not-allowed;
    opacity: 0.62;
}

.custom-tour-search__filter-section {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid #e4eef6;
}

.custom-tour-search__filter-section summary {
    cursor: pointer;
    list-style: none;
}

.custom-tour-search__filter-section summary::-webkit-details-marker {
    display: none;
}

.custom-tour-search__filter-section--static strong {
    color: #12344d;
    font-size: 13px;
}

.custom-tour-search__filter-options {
    display: grid;
    gap: 7px;
}

.custom-tour-search__filter-empty {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.custom-tour-search__filter-search,
.custom-tour-search__price-filter input {
    width: 100%;
    min-width: 0;
    border: 1px solid #d4e5f1;
    border-radius: 8px;
    padding: 8px 9px;
    color: #12344d;
    font: inherit;
    background: #fff;
}

.custom-tour-search__price-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.custom-tour-search__price-filter label {
    display: grid;
    gap: 4px;
    color: var(--muted);
    font-size: 12px;
}

.custom-tour-search__price-range {
    --price-range-from: 0%;
    --price-range-to: 100%;
    position: relative;
    height: 28px;
    margin-top: 8px;
}

.custom-tour-search__price-range::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(
            to right,
            #d9e9f4 0%,
            #d9e9f4 var(--price-range-from),
            #1689c7 var(--price-range-from),
            #1689c7 var(--price-range-to),
            #d9e9f4 var(--price-range-to),
            #d9e9f4 100%
        );
}

.custom-tour-search__price-range input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    appearance: none;
    pointer-events: none;
    background: transparent;
}

.custom-tour-search__price-range input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    appearance: none;
    background: #1689c7;
    box-shadow: 0 2px 8px rgba(22, 137, 199, 0.35);
    cursor: pointer;
    pointer-events: auto;
}

.custom-tour-search__price-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #1689c7;
    box-shadow: 0 2px 8px rgba(22, 137, 199, 0.35);
    cursor: pointer;
    pointer-events: auto;
}

.custom-tour-search__price-range input[type="range"]:focus-visible::-webkit-slider-thumb {
    outline: 2px solid #ff9d3f;
    outline-offset: 2px;
}

.custom-tour-search__price-range input[type="range"]:focus-visible::-moz-range-thumb {
    outline: 2px solid #ff9d3f;
    outline-offset: 2px;
}

.custom-tour-search__offer {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) minmax(150px, auto);
    gap: 12px;
    align-items: stretch;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #d9e8f3;
    background: #fff;
}

.custom-tour-search__offer-media {
    width: 160px;
    min-height: 110px;
    overflow: hidden;
    border-radius: 6px;
    background: #eaf4fb;
}

.custom-tour-search__offer-media-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.custom-tour-search__offer-media-link:focus-visible {
    outline: 3px solid #ff9d3f;
    outline-offset: -3px;
}

.custom-tour-search__offer-media-link:hover img {
    transform: scale(1.03);
}

.custom-tour-search__offer-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
    transition: transform 160ms ease;
}

.custom-tour-search__offer-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 110px;
    place-items: center;
    padding: 12px;
    color: #1a5d7d;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #e4f4fb, #f7fbfd);
}

.custom-tour-search__offer-main {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    padding: 4px 0;
}

.custom-tour-search__offer-head {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.custom-tour-search__offer h3 {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.22;
    color: #12344d;
}

.custom-tour-search__offer-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.custom-tour-search__offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.custom-tour-search__offer-badges span {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    border-radius: 999px;
    padding: 3px 7px;
    background: #1d7fa8;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
}

.custom-tour-search__offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custom-tour-search__offer-meta span {
    border-radius: 999px;
    padding: 3px 8px;
    background: #eef5ff;
    color: #31546d;
    font-size: 12px;
    font-weight: 650;
}

.custom-tour-search__offer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.custom-tour-search__offer-details span {
    max-width: 100%;
}

.custom-tour-search__offer-side {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 6px;
    min-width: 150px;
    padding: 8px 4px 8px 12px;
    border-left: 1px solid #e2edf5;
    text-align: right;
}

.custom-tour-search__offer-availability {
    color: #247142;
    font-size: 12px;
    font-weight: 750;
}

.custom-tour-search__offer-side del {
    color: #91a5b4;
    font-size: 12px;
}

.custom-tour-search__offer-side strong {
    font-size: 20px;
    line-height: 1.1;
    color: #12344d;
}

.custom-tour-search__offer-actions {
    display: grid;
    gap: 6px;
    justify-items: stretch;
    min-width: 148px;
}

.custom-tour-search__details-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9d8ed;
    border-radius: 8px;
    padding: 7px 12px;
    color: #0b78b8;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    background: #f7fbff;
}

.custom-tour-search__details-link:hover {
    color: #075f91;
    background: #eef7ff;
}

.cruise-detail {
    overflow-x: clip;
    padding: 30px 0 68px;
    background: #f5f9ff;
}

.cruise-detail__container {
    display: grid;
    gap: 18px;
}

.cruise-detail__container,
.cruise-detail__heading,
.cruise-detail__hero,
.cruise-detail__gallery,
.cruise-detail__summary,
.cruise-detail__anchors,
.cruise-detail__layout,
.cruise-detail__main,
.cruise-detail__section,
.cruise-detail__section-head,
.cruise-detail__overview,
.cruise-detail__include-grid,
.cruise-detail__cabins,
.cruise-detail__cabin,
.cruise-detail__cabin-groups,
.cruise-detail__cabin-group,
.cruise-detail__schedule,
.cruise-detail__schedule-content,
.cruise-detail__ship-content-grid,
.cruise-detail__promo-grid,
.cruise-detail__ship,
.cruise-detail__heading-side,
.cruise-detail__side-note,
.cruise-detail__error {
    min-width: 0;
    max-width: 100%;
}

.cruise-detail__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #607188;
    font-size: 13px;
    font-weight: 700;
}

.cruise-detail__breadcrumbs span:last-child {
    color: #2b4258;
}

.cruise-detail__heading {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    padding: 24px;
    border-radius: 8px;
    background: #0b3e61;
    color: #fff;
}

.cruise-detail__heading-side {
    display: grid;
    gap: 10px;
    justify-items: end;
    min-width: 280px;
}

.cruise-detail__return-results {
    max-width: 100%;
    border-radius: 8px;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
}

.cruise-detail__heading h1,
.cruise-detail__error h1 {
    max-width: 920px;
    margin: 0;
    font-size: 36px;
    line-height: 1.16;
}

.cruise-detail__eyebrow {
    margin: 0 0 8px;
    color: #62c2e4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cruise-detail__heading-meta,
.cruise-detail__badges,
.cruise-detail__cabin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cruise-detail__heading-meta {
    justify-content: flex-end;
    min-width: 260px;
}

.cruise-detail__heading-meta span,
.cruise-detail__badges span,
.cruise-detail__cabin-meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.cruise-detail__heading-meta span {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.cruise-detail__badges span,
.cruise-detail__cabin-meta span {
    background: #eaf4fb;
    color: #1a5d7d;
}

.cruise-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: start;
}

.cruise-detail__gallery,
.cruise-detail__summary,
.cruise-detail__section,
.cruise-detail__side-note,
.cruise-detail__error {
    border: 1px solid #d9e8f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 40, 77, 0.08);
}

.cruise-detail__gallery {
    display: grid;
    gap: 8px;
    padding: 8px;
}

.cruise-detail__gallery-main-button,
.cruise-detail__gallery-main,
.cruise-detail__gallery-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 6px;
}

.cruise-detail__gallery-main-button {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.cruise-detail__gallery-main-button:focus-visible,
.cruise-detail__thumb:focus-visible,
.cruise-gallery-viewer button:focus-visible {
    outline: 3px solid rgba(11, 120, 184, 0.32);
    outline-offset: 2px;
}

.cruise-detail__gallery-main {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cruise-detail__gallery-placeholder {
    display: grid;
    place-items: center;
    color: #1a5d7d;
    font-weight: 900;
    background: #eaf4fb;
}

.cruise-detail__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.cruise-detail__thumb {
    flex: 0 0 132px;
    display: block;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 0.15s, opacity 0.15s;
}

.cruise-detail__thumb:hover,
.cruise-detail__thumb.is-active {
    border-color: #0b78b8;
    opacity: 1;
}

.cruise-detail__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
}

.cruise-gallery-viewer {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(6, 24, 40, 0.86);
}

.cruise-gallery-viewer__image {
    display: block;
    max-width: min(1120px, 100%);
    max-height: min(760px, calc(100dvh - 88px));
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.cruise-gallery-viewer__close,
.cruise-gallery-viewer__nav {
    position: absolute;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #12344d;
    font-weight: 900;
    cursor: pointer;
}

.cruise-gallery-viewer__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
}

.cruise-gallery-viewer__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    font-size: 38px;
    line-height: 1;
}

.cruise-gallery-viewer__nav--prev {
    left: 18px;
}

.cruise-gallery-viewer__nav--next {
    right: 18px;
}

.cruise-detail__summary {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 14px;
    padding: 18px;
}

.cruise-detail__route {
    margin: 0;
    color: #12344d;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.32;
}

.cruise-detail__facts,
.cruise-detail__ship-facts {
    display: grid;
    gap: 8px;
    margin: 0;
}

.cruise-detail__facts div,
.cruise-detail__ship-facts div {
    display: grid;
    grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
    align-items: start;
}

.cruise-detail__facts dt,
.cruise-detail__ship-facts dt {
    color: #4f6379;
    font-size: 12px;
    font-weight: 800;
}

.cruise-detail__facts dd,
.cruise-detail__ship-facts dd {
    margin: 0;
    color: #12344d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.cruise-detail__price {
    display: grid;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid #e2edf5;
    text-align: right;
}

.cruise-detail__price del {
    color: #91a5b4;
    font-size: 13px;
}

.cruise-detail__price span {
    color: #607188;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cruise-detail__price strong {
    color: #12344d;
    font-size: 30px;
    line-height: 1.05;
}

.cruise-detail__price p {
    margin: 4px 0 0;
    color: #247142;
    font-size: 13px;
    font-weight: 850;
}

.cruise-detail__currency {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cfe2f1;
    border-radius: 8px;
}

.cruise-detail__currency button {
    min-height: 34px;
    border: 0;
    border-left: 1px solid #cfe2f1;
    background: #f7fbff;
    color: #7b8ea1;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cruise-detail__currency button:first-child {
    border-left: 0;
}

.cruise-detail__currency button.is-active {
    background: #0b78b8;
    color: #fff;
}

.cruise-detail__currency button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.cruise-detail__currency button:focus-visible {
    outline: 3px solid rgba(11, 120, 184, 0.28);
    outline-offset: -3px;
}

.cruise-detail__summary-promos {
    display: grid;
    gap: 6px;
    border-top: 1px solid #e2edf5;
    padding-top: 10px;
}

.cruise-detail__summary-promos span {
    display: block;
    border-radius: 7px;
    padding: 8px 10px;
    background: #fff7ec;
    color: #9a4b00;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}

.cruise-detail__cta {
    width: 100%;
}

.cruise-detail__anchors {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid #d9e8f3;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(18, 40, 77, 0.08);
    max-width: 100%;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.cruise-detail__anchors::-webkit-scrollbar {
    display: none;
}

.cruise-detail__anchors a {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 9px 12px;
    color: #12344d;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.cruise-detail__anchors a:hover {
    color: #0b78b8;
    background: #eef7ff;
}

.cruise-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: start;
}

.cruise-detail__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.cruise-detail__section {
    width: 100%;
    scroll-margin-top: 86px;
    padding: 22px;
    overflow-wrap: anywhere;
}

.cruise-detail__section h2,
.cruise-detail__side-note h2 {
    margin-bottom: 12px;
    color: #12344d;
    font-size: 26px;
}

.cruise-detail__section h3 {
    margin-bottom: 6px;
    color: #12344d;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 900;
}

.cruise-detail__text,
.cruise-detail__section p,
.cruise-detail__notice,
.cruise-detail__docs p {
    color: #607188;
    font-size: 15px;
    line-height: 1.55;
}

.cruise-detail__overview,
.cruise-detail__include-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.cruise-detail__overview div,
.cruise-detail__include-grid > div {
    border: 1px solid #e2edf5;
    border-radius: 8px;
    padding: 14px;
    background: #f9fcff;
}

.cruise-detail__overview span {
    display: block;
    margin-bottom: 5px;
    color: #607188;
    font-size: 12px;
    font-weight: 850;
}

.cruise-detail__overview strong {
    display: block;
    color: #12344d;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cruise-detail__section-head {
    display: flex;
    gap: 14px;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cruise-detail__section-head p {
    max-width: 680px;
    margin: 0;
}

.cruise-detail__section-head .btn {
    max-width: 100%;
    white-space: normal;
}

.cruise-detail__cabins {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e2edf5;
    border-radius: 8px;
    background: #fff;
}

.cruise-detail__cabin {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(130px, auto);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #e2edf5;
    background: #fff;
}

.cruise-detail__cabin:first-child {
    border-top: 0;
}

.cruise-detail__cabin h3,
.cruise-detail__cabin p {
    margin: 0;
    overflow-wrap: anywhere;
}

.cruise-detail__cabin strong {
    justify-self: end;
    color: #12344d;
    font-size: 16px;
    line-height: 1.2;
}

.cruise-detail__cabin-groups {
    display: grid;
    gap: 10px;
}

.cruise-detail__cabin-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 188px;
    gap: 14px;
    align-items: start;
    border: 1px solid #e2edf5;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.cruise-detail__cabin-group h3,
.cruise-detail__cabin-group p,
.cruise-detail__cabin-services,
.cruise-detail__cabin-price {
    margin: 0;
}

.cruise-detail__cabin-group-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.cruise-detail__cabin-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.cruise-detail__cabin-services li {
    border-radius: 999px;
    padding: 5px 8px;
    background: #f5f9fd;
    color: #52647d;
    font-size: 12px;
    font-weight: 750;
}

.cruise-detail__cabin-price {
    display: grid;
    gap: 8px;
    justify-items: stretch;
    text-align: right;
}

.cruise-detail__cabin-price del {
    color: #91a5b4;
    font-size: 13px;
}

.cruise-detail__cabin-price strong {
    color: #12344d;
    font-size: 20px;
    line-height: 1.15;
}

.cruise-detail__cabin-price .btn {
    min-height: 42px;
    padding-inline: 12px;
}

.cruise-detail__dues {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cruise-detail__dues div {
    display: grid;
    gap: 4px;
    border: 1px solid #d9e8f3;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8fbff;
}

.cruise-detail__dues strong,
.cruise-detail__dues span {
    color: #12344d;
    font-size: 13px;
    font-weight: 900;
}

.cruise-detail__dues p {
    margin: 0;
}

.cruise-detail__scheme {
    margin-top: 12px;
    border: 1px solid #b9d8ed;
    border-radius: 8px;
    background: #f7fbff;
}

.cruise-detail__scheme summary {
    min-height: 44px;
    padding: 12px 14px;
    color: #0b78b8;
    font-weight: 900;
    cursor: pointer;
}

.cruise-detail__scheme summary:focus-visible {
    outline: 3px solid rgba(11, 120, 184, 0.28);
    outline-offset: 2px;
}

.cruise-detail__scheme-frame {
    max-height: 520px;
    overflow: auto;
    border-top: 1px solid #d9e8f3;
    padding: 12px;
    background: #fff;
}

.cruise-detail__scheme-frame svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.cruise-detail__notice {
    border: 1px solid #ffd2a8;
    border-radius: 8px;
    padding: 14px;
    background: #fff8f0;
}

.cruise-detail__timeline {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cruise-detail__timeline li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.cruise-detail__timeline li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: #0b78b8;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.cruise-detail__timeline li > div {
    min-width: 0;
    border-bottom: 1px solid #e2edf5;
    padding-bottom: 10px;
}

.cruise-detail__schedule {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cruise-detail__schedule > li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.cruise-detail__schedule-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: #0b78b8;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.cruise-detail__schedule-content {
    display: grid;
    gap: 10px;
    border-bottom: 1px solid #e2edf5;
    padding-bottom: 12px;
}

.cruise-detail__schedule-head {
    display: flex;
    gap: 12px;
    align-items: start;
    justify-content: space-between;
}

.cruise-detail__schedule-head span {
    display: block;
    color: #607188;
    font-size: 12px;
    font-weight: 850;
}

.cruise-detail__schedule-head dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin: 0;
}

.cruise-detail__schedule-head dl div {
    min-width: 86px;
    border: 1px solid #e2edf5;
    border-radius: 7px;
    padding: 7px 9px;
    background: #f8fbff;
}

.cruise-detail__schedule-head dt {
    color: #607188;
    font-size: 11px;
    font-weight: 850;
}

.cruise-detail__schedule-head dd {
    margin: 0;
    color: #12344d;
    font-size: 13px;
    font-weight: 900;
}

.cruise-detail__excursions,
.cruise-detail__city-photos {
    display: grid;
    gap: 8px;
}

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

.cruise-detail__excursions article {
    border: 1px solid #e2edf5;
    border-radius: 8px;
    padding: 10px;
    background: #f9fcff;
}

.cruise-detail__excursions h4 {
    margin: 0 0 4px;
    color: #12344d;
    font-size: 14px;
}

.cruise-detail__city-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cruise-detail__city-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    object-fit: cover;
}

.cruise-detail__ship {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
}

.cruise-detail__ship img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}

.cruise-detail__ship-facts {
    margin-top: 12px;
}

.cruise-detail__ship-photos,
.cruise-detail__ship-content-grid,
.cruise-detail__promo-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.cruise-detail__ship-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cruise-detail__ship-photos img,
.cruise-detail__ship-content-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    object-fit: cover;
}

.cruise-detail__media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cruise-detail__media-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid #b9d8ed;
    border-radius: 8px;
    padding: 8px 11px;
    color: #0b78b8;
    font-size: 13px;
    font-weight: 900;
    background: #f7fbff;
}

.cruise-detail__ship-content-grid,
.cruise-detail__promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cruise-detail__ship-content-grid article,
.cruise-detail__promo-grid article {
    border: 1px solid #e2edf5;
    border-radius: 8px;
    padding: 12px;
    background: #f9fcff;
}

.cruise-detail__ship-content-grid article {
    display: grid;
    gap: 8px;
}

.cruise-detail__ship-content-grid h3,
.cruise-detail__promo-grid h3 {
    margin-bottom: 4px;
}

.cruise-detail__include-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.cruise-detail__include-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #40566c;
    font-size: 14px;
}

.cruise-detail__notes {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 18px;
    color: #40566c;
    font-size: 14px;
}

.cruise-detail__docs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cruise-detail__doc-link {
    display: inline-flex;
    min-height: 40px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9d8ed;
    border-radius: 8px;
    padding: 9px 12px;
    color: #0b78b8;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
    background: #f7fbff;
}

.cruise-detail__route-map {
    display: grid;
    gap: 10px;
    max-width: 520px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #b9d8ed;
    border-radius: 10px;
    color: #0a3157;
    text-decoration: none;
    background: linear-gradient(135deg, #f7fbff 0%, #eaf6ff 100%);
    box-shadow: 0 12px 24px rgba(13, 72, 118, 0.08);
}

.cruise-detail__route-map:hover,
.cruise-detail__route-map:focus-visible {
    border-color: #64b6df;
    box-shadow: 0 14px 28px rgba(13, 112, 168, 0.16);
}

.cruise-detail__route-map-label {
    color: #0b78b8;
    font-size: 13px;
    font-weight: 900;
}

.cruise-detail__route-map-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    padding: 26px 18px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent 0 22%, rgba(11, 120, 184, 0.08) 22% 23%, transparent 23% 48%, rgba(11, 120, 184, 0.08) 48% 49%, transparent 49% 74%, rgba(11, 120, 184, 0.08) 74% 75%, transparent 75%),
        linear-gradient(180deg, #ffffff 0%, #edf8ff 100%);
}

.cruise-detail__route-map-visual::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b78b8, #ff7900);
    transform: translateY(-50%);
}

.cruise-detail__route-map-dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #0b78b8;
    box-shadow: 0 0 0 1px rgba(11, 120, 184, 0.24), 0 6px 12px rgba(13, 72, 118, 0.16);
}

.cruise-detail__route-map-dot.is-key {
    width: 18px;
    height: 18px;
    background: #ff7900;
}

.cruise-detail__route-map-route {
    color: #52647d;
    font-size: 13px;
    line-height: 1.45;
}

.cruise-detail__side-note {
    position: sticky;
    top: 148px;
    display: grid;
    gap: 10px;
    padding: 18px;
}

.cruise-detail__side-note p {
    color: #607188;
    font-size: 14px;
}

.cruise-detail__mobile-bar {
    display: none;
}

.cruise-detail__error {
    display: grid;
    gap: 12px;
    max-width: 760px;
    padding: 28px;
}

.cruise-detail__error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cruise-detail__error p {
    color: #607188;
}

.flatpickr-calendar {
    position: absolute;
    display: none;
    width: 310px;
    max-width: calc(100vw - 24px);
    padding: 12px;
    border: 1px solid #cfe2f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 58px rgba(10, 46, 80, 0.24);
    color: var(--ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

.flatpickr-calendar.open {
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.custom-tour-search__field--date .flatpickr-calendar {
    top: calc(100% + 8px) !important;
    right: auto !important;
    left: 0 !important;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    display: none;
}

.flatpickr-months {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 8px;
    position: relative;
}

.flatpickr-month {
    flex: 1;
    min-width: 0;
    padding: 0 38px;
    text-align: center;
}

.flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    height: 34px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 650;
}

.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    flex: 0 1 112px;
    width: 112px;
    min-width: 82px;
    text-align: left;
}

.flatpickr-current-month .numInputWrapper {
    flex: 0 0 64px;
    width: 64px;
}

.flatpickr-current-month input.cur-year {
    width: 100%;
    text-align: left;
}

.flatpickr-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.flatpickr-confirm {
    min-width: 42px;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #1689c7;
    border-radius: 7px;
    background: #1689c7;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.flatpickr-confirm:hover,
.flatpickr-confirm:focus-visible {
    background: #0877b4;
    border-color: #0877b4;
    outline: none;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    position: absolute;
    top: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--brand);
    cursor: pointer;
}

.flatpickr-prev-month {
    left: 0;
}

.flatpickr-next-month {
    right: 0;
}

.flatpickr-prev-month.flatpickr-disabled,
.flatpickr-next-month.flatpickr-disabled {
    visibility: hidden;
    pointer-events: none;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: #e9f6fc;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.flatpickr-weekdays,
.flatpickr-days,
.dayContainer {
    width: 100%;
}

.flatpickr-weekdaycontainer,
.dayContainer {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.flatpickr-weekday {
    color: #607086;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
    text-transform: uppercase;
}

.flatpickr-day {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--ink);
    cursor: pointer;
}

.flatpickr-day:hover {
    border-color: #b8d9ed;
    background: #f2f9fd;
}

.flatpickr-day.today {
    border-color: #a9d7ee;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled {
    color: #a8b6c4;
}

.flatpickr-day.flatpickr-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.flatpickr-day.inRange {
    border-color: transparent;
    border-radius: 6px;
    background: #e4f4fb;
    box-shadow: -3px 0 0 #e4f4fb, 3px 0 0 #e4f4fb;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: none;
}

@media (max-width: 1100px) {
    .custom-tour-search__panel--tour,
    .custom-tour-search__panel--cruise,
    .custom-tour-search__advanced {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .custom-tour-search__field--wide {
        grid-column: span 2;
    }

    .custom-tour-search__advanced [data-combobox-name="hotel"] {
        grid-column: span 2;
    }

    .cruise-detail__hero,
    .cruise-detail__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cruise-detail__summary,
    .cruise-detail__side-note {
        position: static;
    }

    .cruise-detail__side-note {
        display: none;
    }
}

@media (max-width: 900px) {
    .custom-tour-search__results-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .custom-tour-search__filters {
        position: static;
        max-height: none;
    }

    .cruise-detail__heading {
        display: grid;
        align-items: start;
    }

    .cruise-detail__heading-side {
        justify-items: start;
        min-width: 0;
    }

    .cruise-detail__heading-meta {
        justify-content: flex-start;
        min-width: 0;
    }

    .cruise-detail__heading h1,
    .cruise-detail__error h1 {
        display: block;
        max-width: 100%;
        overflow: visible;
        overflow-wrap: break-word;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    .cruise-detail__overview {
        grid-template-columns: minmax(0, 1fr);
    }

    .cruise-detail__cabin {
        grid-template-columns: minmax(0, 1fr);
    }

    .cruise-detail__cabin-group,
    .cruise-detail__ship-content-grid,
    .cruise-detail__promo-grid,
    .cruise-detail__excursions,
    .cruise-detail__city-photos,
    .cruise-detail__ship-photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .cruise-detail__cabin-price {
        text-align: left;
    }

    .cruise-detail__cabin strong {
        justify-self: start;
    }

    .cruise-detail__ship,
    .cruise-detail__include-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cruise-detail__schedule-head {
        display: grid;
    }

    .cruise-detail__schedule-head dl {
        justify-content: start;
    }
}

@media (max-width: 767px) {
    .custom-tour-search.is-mobile-sheet-open {
        transform: none !important;
        transition: opacity 0.45s ease !important;
    }

    .custom-tour-search {
        padding: 12px;
        border-radius: 12px;
    }

    .custom-tour-search__top {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .custom-tour-search__eyebrow,
    .custom-tour-search--hero .custom-tour-search__title {
        display: none;
    }

    .custom-tour-search__title {
        font-size: 18px;
    }

    .custom-tour-search__city {
        margin-left: auto;
        min-height: 28px;
        padding: 4px 8px;
        font-size: 12px;
        white-space: normal;
    }

    .custom-tour-search__form {
        gap: 10px;
    }

    .custom-tour-search__tabs {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px;
        padding: 3px;
    }

    .custom-tour-search__tab {
        min-height: 36px;
        padding: 7px 10px;
    }

    .custom-tour-search__panel--tour,
    .custom-tour-search__panel--cruise,
    .custom-tour-search__advanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .custom-tour-search__panel--cruise .custom-tour-search__field--mobile-secondary {
        display: none;
    }

    .custom-tour-search.is-advanced-open .custom-tour-search__panel--cruise .custom-tour-search__field--mobile-secondary {
        display: grid;
    }

    .custom-tour-search__field,
    .custom-tour-search__more {
        min-height: 62px;
        padding: 8px 9px;
        border-radius: 9px;
    }

    .custom-tour-search__field--wide {
        grid-column: auto;
    }

    .custom-tour-search__advanced [data-combobox-name="hotel"],
    .custom-tour-search__advanced .custom-tour-search__field--wide {
        grid-column: span 2;
    }

    .custom-tour-search__field--checks {
        grid-column: span 2;
    }

    .custom-tour-search__checks {
        gap: 6px;
    }

    .custom-tour-search__check {
        font-size: 12px;
        min-height: 26px;
        padding: 4px 7px;
    }

    .custom-tour-search__label {
        font-size: 10px;
    }

    .custom-tour-search__field input,
    .custom-tour-search__field select,
    .custom-tour-search__value-button,
    .custom-tour-search__more {
        font-size: 13px;
    }

    .custom-tour-search__popover {
        position: fixed;
        inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px;
        width: auto;
        max-height: min(60vh, 380px);
        overflow: auto;
        padding: 10px;
        border-radius: 14px;
        z-index: 10000;
    }

    .custom-tour-search__combo-popover {
        max-height: min(62vh, 430px);
    }

    .custom-tour-search__combo-list {
        max-height: calc(min(62vh, 430px) - 20px);
    }

    .custom-tour-search__actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .custom-tour-search__submit {
        width: 100%;
    }

    .custom-tour-search__submit--inline {
        grid-column: 1 / -1;
        min-height: 48px;
    }

    .custom-tour-search__hint {
        font-size: 12px;
    }

    .custom-tour-search__empty-actions {
        display: grid;
    }

    .custom-tour-search__manual {
        width: 100%;
    }

    .flatpickr-calendar {
        width: min(306px, calc(100vw - 24px));
        padding: 10px;
    }

    .custom-tour-search__field--date .flatpickr-calendar.open {
        position: fixed !important;
        inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px !important;
        width: auto !important;
        max-width: none;
        max-height: min(62vh, 420px);
        overflow: auto;
        transform: none !important;
        z-index: 10000;
    }

    .custom-tour-search__field--date .flatpickr-calendar .flatpickr-month {
        padding-inline: 34px;
    }

    .custom-tour-search__results-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .custom-tour-search__filters {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 10px;
        border-radius: 9px;
    }

    .custom-tour-search__filters-head h3 {
        font-size: 16px;
    }

    .custom-tour-search__filter-section {
        padding-top: 7px;
    }

    .custom-tour-search__filter-section:not([open]) {
        gap: 0;
    }

    .custom-tour-search__results-summary {
        font-size: 12px;
    }

    .custom-tour-search__offer {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .custom-tour-search__offer-media {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-radius: 7px;
    }

    .custom-tour-search__offer-media img,
    .custom-tour-search__offer-image-placeholder {
        height: 100%;
        min-height: 0;
    }

    .custom-tour-search__offer-media img {
        object-position: center;
    }

    .custom-tour-search__offer h3 {
        font-size: 16px;
    }

    .custom-tour-search__offer-subtitle,
    .custom-tour-search__offer-details {
        font-size: 12px;
    }

    .custom-tour-search__offer-side {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        justify-items: stretch;
        padding: 8px 0 0;
        border-top: 1px solid #e2edf5;
        border-left: 0;
        text-align: left;
    }

    .custom-tour-search__offer-side strong,
    .custom-tour-search__offer-side del,
    .custom-tour-search__offer-availability {
        justify-self: start;
    }

    .custom-tour-search__offer-actions {
        grid-template-columns: minmax(104px, 0.75fr) minmax(0, 1.25fr);
        grid-column: 1;
        min-width: 0;
    }

    .custom-tour-search__offer-actions .custom-tour-search__manual,
    .custom-tour-search__details-link {
        width: 100%;
    }

    .custom-tour-search__offer-actions .custom-tour-search__manual:only-child {
        grid-column: 1 / -1;
    }

    .cruise-detail {
        padding: 18px 0 92px;
    }

    .cruise-detail__hero,
    .cruise-detail__layout,
    .cruise-detail__main {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .cruise-detail__container {
        gap: 12px;
    }

    .cruise-detail__breadcrumbs {
        font-size: 12px;
    }

    .cruise-detail__heading,
    .cruise-detail__section,
    .cruise-detail__summary,
    .cruise-detail__error {
        padding: 14px;
    }

    .cruise-detail__heading h1,
    .cruise-detail__error h1 {
        font-size: 28px;
        line-height: 1.18;
    }

    .cruise-detail__heading-meta span,
    .cruise-detail__badges span,
    .cruise-detail__cabin-meta span {
        font-size: 11px;
    }

    .cruise-detail__return-results,
    .cruise-detail__error-actions .btn {
        width: 100%;
    }

    .cruise-detail__gallery-main-button,
    .cruise-detail__gallery-main,
    .cruise-detail__gallery-placeholder {
        aspect-ratio: 4 / 3;
    }

    .cruise-detail__thumb {
        flex-basis: 96px;
    }

    .cruise-detail__price {
        text-align: left;
    }

    .cruise-detail__price strong {
        font-size: 26px;
    }

    .cruise-detail__anchors {
        top: 0;
        margin-inline: 0;
        border-radius: 0;
    }

    .cruise-detail__anchors a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .cruise-detail__section {
        scroll-margin-top: 68px;
    }

    .cruise-detail__section h2,
    .cruise-detail__side-note h2 {
        font-size: 23px;
    }

    .cruise-detail__section-head {
        display: grid;
    }

    .cruise-detail__section-head .btn {
        width: 100%;
    }

    .cruise-detail__facts div,
    .cruise-detail__ship-facts div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .cruise-detail__cabin {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .cruise-detail__cabin h3 {
        font-size: 15px;
    }

    .cruise-detail__cabin strong {
        justify-self: start;
        font-size: 15px;
    }

    .cruise-gallery-viewer {
        padding: 12px;
    }

    .cruise-gallery-viewer__image {
        max-height: calc(100dvh - 96px);
    }

    .cruise-gallery-viewer__close {
        top: 12px;
        right: 12px;
    }

    .cruise-gallery-viewer__nav {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .cruise-gallery-viewer__nav--prev {
        left: 12px;
    }

    .cruise-gallery-viewer__nav--next {
        right: 12px;
    }

    .cruise-detail__ship img {
        max-height: 230px;
    }

    .cruise-detail__mobile-bar {
        position: fixed;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 210;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        border: 1px solid #d9e8f3;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 16px 34px rgba(18, 40, 77, 0.18);
    }

    .cruise-detail__mobile-bar span {
        display: block;
        color: #607188;
        font-size: 11px;
        font-weight: 850;
        line-height: 1;
        text-transform: uppercase;
    }

    .cruise-detail__mobile-bar strong {
        display: block;
        color: #12344d;
        font-size: 20px;
        line-height: 1.1;
    }

    .cruise-detail__mobile-bar .btn {
        min-height: 44px;
        padding-inline: 16px;
    }
}

.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);
}

/* Вся карточка кликабельна — stretched-link */
.direction-card--new .direction-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.directions-section-cta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.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: #a3580c;
    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="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--brand);
    cursor: pointer;
}

.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 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.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: rgba(8, 24, 48, var(--hero-dark-opacity, 0.75));
}

.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"]):not([type="checkbox"]) {
    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-passport-btn,
.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;
}

.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;
}

.custom-tour-search__field .custom-tour-search__check input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
}

.custom-tour-search__filters input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid #b9d8ed;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.custom-tour-search__filters input[type="checkbox"]:checked {
    border-color: #1689c7;
    background-color: #1689c7;
    background-image: linear-gradient(135deg, transparent 0 52%, #fff 52% 62%, transparent 62%),
        linear-gradient(45deg, transparent 0 48%, #fff 48% 58%, transparent 58%);
    background-position: 6px 9px, 12px 4px;
    background-size: 10px 10px, 14px 16px;
    background-repeat: no-repeat;
}

.custom-tour-search__filters .custom-tour-search__filter-switch input[type="checkbox"] {
    width: 34px !important;
    min-width: 34px !important;
    height: 20px !important;
    min-height: 20px !important;
    border-radius: 999px;
    background-position: 5px 6px, 10px 2px;
    background-size: 8px 8px, 12px 13px;
}

.custom-tour-search__filters .custom-tour-search__filter-check input[type="checkbox"] {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin-top: 1px;
    background-position: 3px 6px, 6px 2px;
    background-size: 6px 6px, 9px 10px;
}

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

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

.checkbox-line {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !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,
    .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,
    .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-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;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.08;
        max-width: 100%;
        display: block;
        overflow: visible;
    }

    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,
    .main-menu .menu-passport-btn {
        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,
    .main-menu .menu-passport-btn {
        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: visible;
    }

    .section-seo-text table thead,
    .section-seo-bottom table thead,
    .home-guide-section table thead {
        display: none;
    }

    .section-seo-text table tbody,
    .section-seo-bottom table tbody,
    .home-guide-section table tbody {
        display: block;
    }

    .section-seo-text table,
    .section-seo-bottom table,
    .home-guide-section table {
        margin-top: 10px;
    }

    .section-seo-text table tr,
    .section-seo-bottom table tr,
    .home-guide-section table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        background: var(--surface);
        box-shadow: 0 2px 8px rgba(18, 40, 77, 0.07);
    }

    .section-seo-text table td,
    .section-seo-bottom table td,
    .home-guide-section table td {
        display: flex;
        flex-direction: column;
        padding: 9px 14px;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

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

    /* Ячейка — строка: метка слева, значение справа */
    .section-seo-text table td,
    .section-seo-bottom table td,
    .home-guide-section table td {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--border);
    }

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

    /* Первая ячейка — заголовок карточки */
    .section-seo-text table td:first-child,
    .section-seo-bottom table td:first-child,
    .home-guide-section table td:first-child {
        background: var(--brand);
        border-bottom: none;
        padding: 8px 14px;
        align-items: center;
    }

    .section-seo-text table td:first-child::before,
    .section-seo-bottom table td:first-child::before,
    .home-guide-section table td:first-child::before {
        color: rgba(255,255,255,0.75);
        font-size: 10px;
    }

    .section-seo-text table td:first-child,
    .section-seo-bottom table td:first-child,
    .home-guide-section table td:first-child {
        color: #fff;
        font-weight: 700;
    }

    .section-seo-text table td::before,
    .section-seo-bottom table td::before,
    .home-guide-section table td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--brand);
        white-space: nowrap;
        flex: 0 0 110px;
        margin-bottom: 0;
    }
}

/* 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: start;
}

.country-hero--compact {
    min-height: auto;
    padding-top: clamp(28px, 3.8vw, 40px) !important;
    padding-bottom: clamp(24px, 3.2vw, 34px) !important;
}

.country-hero--compact .country-hero-grid {
    align-items: start;
}

.country-hero--compact .country-hero-media {
    align-self: start;
}

.country-hero--compact .country-hero-image {
    min-height: clamp(280px, 26vw, 360px);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    font-size: 14px;
    color: #476181;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #184970;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 75, 117, 0.14);
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #0d5d90;
}

.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%);
}

/* ── Weather Widget ──────────────────────────────────────────────────────── */

.weather-widget {
    margin-top: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(11, 120, 184, 0.18);
    box-shadow: 0 6px 20px rgba(18, 40, 77, 0.10);
    padding: 14px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.weather-widget__main {
    display: flex;
    align-items: center;
    gap: 0;
    padding-bottom: 12px;
}

.weather-widget__air {
    flex: 1;
    min-width: 0;
    margin-left: 16px;
}

.weather-widget__sea {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding-left: 16px;
    border-left: 1px solid rgba(0, 168, 207, 0.2);
    min-width: 0;
}

.weather-widget__sea-temp {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-2);
    line-height: 1.1;
}

.weather-widget__sea-lbl {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.weather-widget__icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.weather-widget__stats {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    border-top: 1px solid rgba(11, 120, 184, 0.10);
    padding: 10px 0 12px;
    align-items: center;
}

.weather-widget__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.weather-widget__stat-sep {
    width: 1px;
    height: 28px;
    background: rgba(11, 120, 184, 0.12);
    justify-self: center;
}

.weather-widget__stat-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.weather-widget__stat-lbl {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* УФ-индекс: цвет по уровню */
.ww-uv-low      { color: #16a34a; }
.ww-uv-moderate { color: #ca8a04; }
.ww-uv-high     { color: #ea580c; }
.ww-uv-very-high { color: #dc2626; }
.ww-uv-extreme  { color: #9333ea; }

.weather-widget__temp {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.weather-widget__unit {
    font-size: 16px;
    font-weight: 400;
}

.weather-widget__label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
}

.weather-widget__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 6px;
    line-height: 18px;
}

.weather-widget__badge--day {
    background: rgba(255, 190, 0, 0.15);
    color: #b07800;
}

.weather-widget__badge--night {
    background: rgba(100, 120, 160, 0.15);
    color: #4a5a7a;
}

.weather-widget__daymax {
    font-size: 12px;
    color: var(--brand);
    margin-top: 3px;
    font-weight: 500;
}

.weather-widget--night {
    background: rgba(235, 242, 252, 0.80);
}

/* Анимации иконок */
@keyframes ww-spin  { to { transform: rotate(360deg); } }
@keyframes ww-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes ww-drop  {
    0%   { transform: translateY(-6px); opacity: 0; }
    60%  { opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}
@keyframes ww-flake {
    0%   { transform: translateY(-4px) rotate(0deg); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(12px) rotate(45deg); opacity: 0; }
}
@keyframes ww-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes ww-fog   {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50%      { opacity: 1;   transform: translateX(3px); }
}

.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;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
}

/* .direction-fab — УДАЛЕНО: заменено на Bottom Action Bar (см. секцию FAB ниже) */
.direction-fab {
    display: none;
}

@media (max-width: 860px) {
    .direction-fab {
        display: none;
        background: var(--brand);
        color: #fff;
        box-shadow: 0 4px 16px rgba(15, 34, 63, 0.28);
        text-decoration: none;
        font-size: 24px;
        transition: background 0.2s, transform 0.15s;
    }

    .direction-fab:hover,
    .direction-fab:active {
        background: var(--brand-dark, #0a5f8f);
        transform: scale(1.08);
    }
}

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

.direction-tour-search-section {
    padding-top: 0 !important;
    padding-bottom: 28px !important;
    background: linear-gradient(180deg, #edf6ff 0%, #f5faff 100%);
}

.direction-tour-search-section--page-top {
    padding-top: 18px !important;
}

.direction-tour-search-box {
    padding: 18px !important;
    border-color: rgba(18, 82, 128, 0.12);
}

.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:not(.resort-card-price) {
    display: block;
    flex: 0 1 auto;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.country-resort-card .resort-card-price {
    flex: 0 0 auto;
    display: block;
    margin-top: auto;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.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;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 34, 63, 0.08);
    overflow: hidden;
}

.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;
}

.page-hero--after-search {
    padding-top: 22px !important;
    padding-bottom: 18px !important;
}

.hot-tour-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.hot-tour-hero-copy h1 {
    max-width: 12ch;
}

.page-hero-lead--hot-tour {
    max-width: 70ch;
    margin-bottom: 14px;
}

.hot-tour-hero-panel {
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid #d3e3f3;
    background: #f9fcff;
    box-shadow: 0 10px 24px rgba(16, 53, 91, 0.05);
}

.hot-tour-hero-panel-title {
    margin: 0 0 12px;
    color: #12395d;
    font-size: 20px;
    font-weight: 800;
}

.hot-tour-hero-points {
    margin: 0;
    padding-left: 18px;
    color: #355878;
}

.hot-tour-hero-points li {
    margin-bottom: 10px;
}

.hot-tour-hero-points strong {
    color: #12395d;
}

.hot-tour-hero-cta {
    width: 100%;
    margin-top: 10px;
    min-height: 52px;
}

.page-hero-secondary {
    margin: 12px 0 0;
    max-width: 70ch;
    color: #4f677f;
}

.hot-tour-rich-text > :first-child {
    margin-top: 0;
}

@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--compact .country-hero-image {
        min-height: 200px;
    }

    .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: 200px;
    }

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

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

    .direction-tour-search-section {
        padding-top: 0 !important;
        padding-bottom: 32px !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;
    }

    .hot-tour-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hot-tour-hero-copy h1 {
        max-width: none;
    }

    .hot-tour-hero-panel {
        padding: 16px;
    }

    .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;
    }
}

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

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

/* ── Таблицы: card layout на мобильных ───────────────── */
@media (max-width: 640px) {
    .country-table-wrap thead,
    .country-price-table-block thead,
    .country-main-card .rich-text thead {
        display: none;
    }

    .country-table-wrap table,
    .country-price-table-block table,
    .country-main-card .rich-text table {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .country-table-wrap tbody tr,
    .country-price-table-block tbody tr,
    .country-main-card .rich-text tbody tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #d3e3f3;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .country-table-wrap td,
    .country-price-table-block td,
    .country-main-card .rich-text td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
        border: none;
        border-bottom: 1px solid #e8f0f7;
        padding: 9px 12px;
        text-align: right;
    }

    .country-table-wrap tr td:last-child,
    .country-price-table-block tr td:last-child,
    .country-main-card .rich-text tr td:last-child {
        border-bottom: none;
    }

    .country-table-wrap td::before,
    .country-price-table-block td::before,
    .country-main-card .rich-text td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #184970;
        flex-shrink: 0;
        text-align: left;
    }

    .country-main-card .rich-text table {
        margin: 10px 0 16px;
    }
}

/* ── 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;
}

/* ─── Hero with embedded search widget ─── */
.hero-with-search {
    min-height: auto;
    padding: 104px 0 0;
    overflow: hidden;
}

.hero-ws-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-width: 0;
    overflow: hidden;
}

.hero-ws-head {
    text-align: center;
    color: #fff;
    padding: 0 12px;
    align-self: center;
    max-width: 800px;
    width: 100%;
}

.hero-with-search .hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    max-width: none;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(12, 25, 57, 0.35);
}

.hero-with-search .hero-subtitle {
    font-size: 18px;
    opacity: 0.93;
    margin: 0 auto;
    max-width: 60ch;
    line-height: 1.5;
}

.hero-ws-widget {
    width: 100%;
    min-width: 0;           /* fix: flex item must not expand beyond container */
    max-width: 100%;
}

.hero-with-search .custom-tour-search {
    position: relative;
    z-index: 1;
}

/* Альтернативный CTA-квиз под поисковиком */
.hero-quiz-alt {
    margin-top: 14px;
    text-align: center;
}

.hero-quiz-alt-btn {
    display: inline-block;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.hero-quiz-alt-btn:hover {
    color: #fff;
}

.hero-ws-trust {
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(12, 25, 57, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 24px;
}

.hero-ws-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    gap: 2px;
    padding: 0 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-ws-trust-item:last-child {
    border-right: none;
}

.hero-ws-trust-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-ws-trust-label {
    font-size: 13px;
    opacity: 0.82;
    white-space: nowrap;
}

@media (max-width: 991px) {
    /* Samsung/Chrome mobile scrolling is more stable without blur+GPU forcing on sticky header. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
        will-change: auto;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
    }

    /* Keep trust strip pinned to the bottom of the first screen. */
    .hero-with-search {
        height: calc(100vh - var(--hero-header-height, 58px));
        height: calc(100dvh - var(--hero-header-height, 58px));
        height: calc(100svh - var(--hero-header-height, 58px));
        min-height: calc(100vh - var(--hero-header-height, 58px));
        min-height: calc(100dvh - var(--hero-header-height, 58px));
        min-height: calc(100svh - var(--hero-header-height, 58px));
        padding-top: 0;
        overflow: hidden;
    }

    .hero-with-search.is-hero-overflow {
        height: auto;
        overflow: visible;
    }

    .hero-ws-wrap {
        align-self: stretch;
        height: 100%;
        min-height: 0;
        justify-content: flex-start;
        padding-top: 88px;          /* clearance for sticky header */
        gap: 20px;
        overflow: hidden;
    }

    .hero-ws-wrap.is-hero-hide-subtitle .hero-subtitle {
        display: none;
    }

    /* If even without subtitle it still overflows (e.g. opened widget controls),
       keep natural flow so trust follows the widget instead of clipping. */
    .hero-ws-wrap.is-hero-overflow {
        justify-content: flex-start;
        overflow: visible;
        height: auto;
    }

    .hero-with-search.is-hero-overflow .hero-ws-head {
        flex-shrink: 0;
        overflow: visible;
    }

    .hero-ws-head {
        flex-shrink: 1;
        min-height: 0;
        overflow: hidden;
    }

    .hero-with-search .hero-subtitle {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 0;
    }

    .hero-ws-widget {
        min-width: 0;
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
        min-height: 0;
        flex-shrink: 0;
        overflow: visible !important;
    }

    .hero-ws-trust {
        margin-top: auto;           /* pin trust strip to bottom of first screen */
        flex-shrink: 0;             /* trust strip always fully visible */
    }

    .hero-ws-trust-item {
        padding: 0 16px;
    }

    .hero-ws-trust-value {
        font-size: 20px;
    }

    .hero-ws-trust-label {
        font-size: 11px;
    }
}

/* ====== Блок «Другие популярные направления» на страницах направлений ====== */

.country-other-directions-section {
    padding-top: 44px !important;
    padding-bottom: 48px !important;
    background: var(--surface) !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.country-other-directions-head {
    margin-bottom: 24px;
}

.country-other-directions-head p {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 1rem;
}

/* Сетка карточек направлений */
.country-dest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.country-dest-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.country-dest-card:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(11, 120, 184, 0.22);
    transform: translateY(-2px);
}

.country-dest-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-dest-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.15s, transform 0.15s;
}

.country-dest-card:hover .country-dest-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Строка вспомогательных ссылок */
.country-other-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
}

.country-other-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

.country-other-links a:hover {
    color: var(--brand);
}

.country-other-links span[aria-hidden] {
    color: var(--border);
    font-size: 1rem;
}

@media (max-width: 860px) {
    .country-dest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .country-dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .country-dest-card {
        padding: 12px 14px;
        font-size: 0.92rem;
    }
}

/* =====================================================
   FAB: плавающая кнопка поиска тура (десктоп >860px)
   ===================================================== */

.fab-tour-search {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    right: max(24px, calc((100vw - 1206px) / 2));
    bottom: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 200;
    padding: 0 20px;
    height: 52px;
    min-width: 44px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(135deg, #f87c7c, #F46363);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(244, 99, 99, 0.38), 0 2px 8px rgba(0, 0, 0, 0.14);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s, background 0.2s;
    pointer-events: none;
}

.fab-tour-search[hidden] {
    display: none;
}

.fab-tour-search.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-tour-search:hover,
.fab-tour-search:active {
    background: linear-gradient(135deg, #f98f8f, #e04f4f);
    box-shadow: 0 6px 28px rgba(244, 99, 99, 0.48), 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Второй FAB — заявка, расположен выше первого */
.fab-lead-form {
    bottom: 88px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    background: linear-gradient(135deg, #1a8fd1, var(--brand));
    box-shadow: 0 4px 20px rgba(11, 120, 184, 0.38), 0 2px 8px rgba(0, 0, 0, 0.14);
}

.fab-lead-form:hover,
.fab-lead-form:active {
    background: linear-gradient(135deg, #2299df, #0a6aa0);
    box-shadow: 0 6px 28px rgba(11, 120, 184, 0.48), 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* FAB: привязка левым краем к правой границе контейнера, кнопки уходят вправо */
@media (min-width: 1700px) {
    .fab-tour-search {
        right: auto;
        left: calc(50% + 611px);
    }
}

/* FAB скрыт там где гарнитур недостаточен — используется bottom bar */
@media (max-width: 860px) {
    .fab-tour-search {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fab-tour-search {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .fab-tour-search[hidden] { display: none; }
    .fab-tour-search:not([hidden]) { pointer-events: auto; }
}

/* =====================================================
   Bottom Action Bar (мобильный, ≤860px)
   ===================================================== */

.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15, 34, 63, 0.10);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-action-bar[hidden] {
    display: none;
}

.bottom-action-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    font-size: 15px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.bottom-action-bar__btn--search {
    background: #F46363;
    color: #fff;
}

.bottom-action-bar__btn--search:hover,
.bottom-action-bar__btn--search:active {
    background: #e04f4f;
    color: #fff;
}

.bottom-action-bar__btn--contact {
    background: var(--surface);
    color: var(--brand);
    border-left: 1px solid var(--border);
}

.bottom-action-bar__btn--contact:hover,
.bottom-action-bar__btn--contact:active {
    background: var(--surface-soft);
    color: var(--brand);
}

/* Bar скрыт на планшетах и десктопе где показываются FAB */
@media (min-width: 861px) {
    .bottom-action-bar {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bottom-action-bar__btn {
        transition: none;
    }
}

/* Отступ страницы когда bar виден */
@media (max-width: 860px) {
    body.has-bottom-bar {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }
}

/* =====================================================
   Модальное окно поиска тура
   ===================================================== */

.modal-tour-search {
    position: fixed;
    inset: 0;
    z-index: 290;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-tour-search[hidden] {
    display: none;
}

.modal-tour-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 34, 63, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-tour-search.is-open .modal-tour-search__backdrop {
    opacity: 1;
}

.modal-tour-search__box {
    position: relative;
    z-index: 300;
    width: 100%;
    max-width: 820px;
    max-height: 96dvh;
    max-height: 96vh;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -8px 40px rgba(15, 34, 63, 0.18);
}

.modal-tour-search.is-open .modal-tour-search__box {
    transform: translateY(0);
}

.modal-tour-search__header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-tour-search__title {
    font-size: 20px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    line-height: 1.3;
}

.modal-tour-search__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.modal-tour-search__close:hover {
    background: var(--border);
    color: var(--ink);
}

.modal-tour-search__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px;
}

/* Десктоп: центрированная модалка с анимацией fade+slide */
@media (min-width: 861px) {
    .modal-tour-search {
        align-items: center;
        padding: 24px;
    }

    .modal-tour-search__box {
        max-height: 90dvh;
        max-height: 90vh;
        border-radius: 16px;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .modal-tour-search.is-open .modal-tour-search__box {
        transform: translateY(0);
        opacity: 1;
    }

    .modal-tour-search__header {
        padding: 18px 28px;
    }

    .modal-tour-search__body {
        padding: 20px 28px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-tour-search__backdrop,
    .modal-tour-search__box {
        transition: none;
    }
}

/* =====================================================
   Модальное окно заявки (lead form)
   Использует классы modal-tour-search, дополнение — ширина
   ===================================================== */

.modal-lead-form .modal-tour-search__box {
    max-width: 560px;
}

.modal-lead-form .modal-tour-search__body {
    display: grid;
    gap: 14px;
}

.modal-lead-form .lead-form {
    gap: 10px;
    padding: 0;
}

.modal-lead-form .lead-form label {
    gap: 5px;
}

.modal-lead-form .lead-form input[type="text"],
.modal-lead-form .lead-form input[type="tel"] {
    min-height: 42px;
}

.modal-lead-form .lead-form .btn-cta {
    min-height: 48px;
    width: 100%;
    justify-content: center;
}

.lead-form-selection {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #c8dfef;
    border-radius: 10px;
    background: #f7fbff;
}

.lead-form-selection[hidden] {
    display: none;
}

.lead-form-selection__label {
    margin: 0;
    color: #0b78b8;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.lead-form-selection__text {
    max-height: 148px;
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #102447;
    font: 13px/1.45 "Manrope", sans-serif;
}

.modal-lead-form .form-trust-list {
    margin-top: 0;
}

/* =====================================================
   Кнопка «Загранпаспорт» в шапке
   ===================================================== */

.menu-passport-btn {
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--brand);
    background: none;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.menu-passport-btn:hover {
    transform: translateY(-1px);
}

/* =====================================================
   Модальное окно загранпаспорта
   ===================================================== */

.modal-passport .modal-tour-search__box {
    max-width: 560px;
}

.passport-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.passport-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.passport-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.passport-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.passport-input,
.passport-select-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s;
}

.passport-input:focus,
.passport-select-input:focus {
    border-color: var(--brand);
}

/* Searchable country select */
.passport-select-wrap {
    position: relative;
}

.passport-select-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 400;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 34, 63, 0.12);
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.passport-select-list__item {
    padding: 10px 14px;
    font-size: 15px;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.12s;
}

.passport-select-list__item:hover {
    background: var(--surface-soft);
}

.passport-select-list__empty {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--muted);
}

/* Result block */
.passport-result {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.passport-result__label {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.passport-result__date {
    font-size: 28px;
    font-weight: 800;
    color: #1b5e20;
    line-height: 1.2;
}

.passport-result__note {
    font-size: 13px;
    color: #388e3c;
    line-height: 1.4;
}

.passport-disclaimer {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

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

/* =====================================================
   Виджет оператора
   ===================================================== */
.operator-widget {
    position: fixed;
    bottom: 88px;
    right: max(24px, calc((100vw - 1206px) / 2));
    z-index: 1100;
    width: min(360px, calc(100vw - 32px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(8, 26, 52, 0.24);
    border: 1px solid rgba(200, 221, 236, 0.92);
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.operator-widget[hidden] {
    display: none;
}

.operator-widget.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.operator-widget__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #1f2c46;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    transition: background 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.operator-widget__close:hover,
.operator-widget__close:focus-visible {
    background: #f2f7fb;
    transform: translateY(-1px);
    outline: none;
}

.operator-widget__header {
    min-height: 62px;
    padding: 18px 58px 17px 24px;
    background:
        radial-gradient(circle at 22% 0%, rgba(255,255,255,0.13), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(255,255,255,0.09), transparent 24%),
        #15295f;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.operator-widget__body {
    padding: 16px 18px 18px;
}

.operator-widget__brand {
    margin: 0 0 10px;
    color: #8a94a6;
    font-size: 13px;
    line-height: 1.3;
}

.operator-widget__brand::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-radius: 50%;
    background: #25c151;
    box-shadow: 0 0 0 3px rgba(37, 193, 81, 0.14);
    vertical-align: 1px;
}

.operator-widget__message {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.operator-widget__message p {
    margin: 0;
    width: fit-content;
    max-width: 100%;
    padding: 10px 13px;
    border-radius: 15px 15px 15px 4px;
    background: #f4f6f8;
    color: #2b3447;
    font-size: 15px;
    line-height: 1.4;
}

.operator-widget__reply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: #21c637;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(33, 198, 55, 0.22);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.operator-widget__reply:hover,
.operator-widget__reply:focus-visible {
    background: #18b92e;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(33, 198, 55, 0.28);
    outline: none;
}

.operator-widget__reply time {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.operator-widget.is-replied .operator-widget__reply {
    display: none;
}

.operator-widget__form {
    display: grid;
    gap: 10px;
    padding-top: 2px;
}

.operator-widget__form[hidden] {
    display: none;
}

.operator-widget__form-text {
    margin: 0 0 2px;
    color: #566377;
    font-size: 14px;
    line-height: 1.4;
}

.operator-widget__field {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #65748a;
    font-size: 12px;
    font-weight: 700;
}

.operator-widget__field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8e4ee;
    border-radius: 10px;
    background: #fff;
    color: #0c1f3c;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.operator-widget__field input:focus {
    border-color: #40ad77;
    box-shadow: 0 0 0 3px rgba(64, 173, 119, 0.14);
}

.operator-widget__error {
    margin: 0;
    color: #9d1d1d;
    font-size: 12px;
    line-height: 1.35;
}

.operator-widget__submit {
    width: 100%;
    min-height: 44px;
    border: none;
    border-radius: 10px;
    background: #21c637;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.operator-widget__submit:hover,
.operator-widget__submit:focus-visible {
    background: #18b92e;
    transform: translateY(-1px);
    outline: none;
}

.operator-widget__submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.operator-widget__success {
    display: grid;
    gap: 4px;
    margin-top: 4px;
    padding: 12px;
    border-radius: 12px;
    background: #effaf2;
    color: #155f27;
    font-size: 14px;
    line-height: 1.35;
}

.operator-widget__success[hidden] {
    display: none;
}

@media (max-width: 860px) {
    .operator-widget {
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom, 0px));
        left: auto;
        width: min(344px, calc(100vw - 24px));
        max-height: min(76vh, 620px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .operator-widget__close {
        top: 10px;
        right: 10px;
    }

    .operator-widget__header {
        padding-right: 52px;
    }
}

@media (max-width: 420px) {
    .operator-widget {
        right: 10px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        width: min(330px, calc(100vw - 20px));
    }

    .operator-widget__body {
        padding: 14px;
    }

    .operator-widget__header {
        min-height: 58px;
        padding: 16px 50px 15px 16px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .operator-widget {
        transition: none;
    }
}

/* ===== Конверсионная воронка: форма с заголовком и доверием ===== */

.lead-form-header {
    padding: 16px 16px 0;
}

.lead-form-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.35;
}

.lead-form-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 4px;
}

.field-optional {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 2px;
}

/* Список доверия под формой */
.form-trust-list {
    list-style: none;
    margin: 0;
    padding: 6px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-trust-list li {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-trust-list li::before {
    content: "✓";
    color: var(--brand-2);
    font-weight: 700;
    flex-shrink: 0;
}

/* Кнопки мессенджеров под формой */
.form-messenger-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 16px;
    flex-wrap: wrap;
}

.form-messenger-label {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.form-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
    cursor: pointer;
}

.form-messenger-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.form-messenger-telegram {
    background: #2CA5E0;
    color: #fff;
}

.form-messenger-max {
    background: #0077ff;
    color: #fff;
}

/* Thank-you мессенджеры */
.form-success-messengers {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.form-success-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
}

.form-success-telegram-btn {
    background: #2CA5E0;
    color: #fff;
}

.form-success-max-btn {
    background: #0077ff;
    color: #fff;
}

/* ===== Hero CTA group с мессенджерами ===== */

.modal-quiz .modal-tour-search__box {
    max-width: 620px;
}

.quiz-wrap {
    display: grid;
    gap: 16px;
}

.quiz-progress {
    height: 8px;
    background: var(--surface-soft);
    border-radius: 999px;
    overflow: hidden;
}

.quiz-progress__bar {
    height: 100%;
    width: 33.333%;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    transition: width 0.25s ease;
}

.quiz-step-label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.quiz-step {
    display: grid;
    gap: 14px;
}

.quiz-step__question {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.18;
    color: var(--ink);
}

.quiz-step__sub {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quiz-option {
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(18, 40, 77, 0.1);
    border-color: rgba(11, 120, 184, 0.42);
}

.quiz-option.is-selected {
    border-color: rgba(11, 120, 184, 0.44);
    background: linear-gradient(180deg, rgba(238, 245, 255, 0.96), #fff);
    box-shadow: 0 14px 28px rgba(18, 40, 77, 0.12);
}

.quiz-other-input,
.quiz-phone-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
}

.quiz-other-input::placeholder,
.quiz-phone-input::placeholder {
    color: #6f859f;
}

.quiz-next-btn {
    width: 100%;
}

.quiz-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quiz-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.quiz-back-btn:hover,
.quiz-back-btn:focus-visible {
    background: #e4eefb;
    transform: translateY(-1px);
    outline: none;
}

.quiz-submit-btn {
    min-width: 220px;
}

.quiz-error {
    margin: -4px 0 0;
    color: #8e1e1e;
    font-size: 13px;
}

.quiz-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink);
}

.quiz-agree-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--brand);
    flex-shrink: 0;
}

.quiz-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.quiz-trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.quiz-trust-list li::before {
    content: "✓";
    color: var(--brand-2);
    font-weight: 800;
    flex-shrink: 0;
}

.quiz-success {
    place-items: center;
    text-align: center;
    padding: 16px 4px 4px;
}

.quiz-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, rgba(11, 120, 184, 0.08), rgba(0, 168, 207, 0.12));
}

.quiz-success__title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
}

.quiz-success__sub {
    margin: 0;
    max-width: 420px;
    color: var(--muted);
}

.quiz-success-messengers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    font-size: 13px;
}

@media (max-width: 860px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .modal-quiz .modal-tour-search__body {
        padding: 14px;
    }

    .quiz-step__question {
        font-size: 22px;
    }

    .quiz-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .quiz-submit-btn,
    .quiz-back-btn {
        width: 100%;
    }

    .quiz-success__title {
        font-size: 24px;
    }
}

.country-hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.country-hero-messengers {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.country-hero-messengers-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.hero-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

.hero-messenger-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.hero-messenger-telegram {
    background: #2CA5E0;
    color: #fff;
}

.hero-messenger-max {
    background: #0077ff;
    color: #fff;
}

/* Список доверия в hero курорта */
.country-hero-trust-list {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.country-hero-trust-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.country-hero-trust-list li::before {
    content: "✓";
    color: #7ee8a2;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .country-hero-messengers-label {
        color: rgba(255, 255, 255, 0.65);
        font-size: 12px;
    }
    .hero-messenger-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .form-messenger-row {
        gap: 6px;
    }
}

/* Homepage visual polish 2026-06-02 */
:root {
    --hp-blue-900: #073354;
    --hp-blue-800: #0b4268;
    --hp-blue-700: #0b78b8;
    --hp-blue-050: #f3f9ff;
    --hp-card-border: #cfe1ef;
    --hp-card-shadow: 0 18px 42px rgba(8, 37, 67, 0.12);
    --hp-card-shadow-strong: 0 24px 58px rgba(8, 37, 67, 0.18);
    --hp-focus-ring: 0 0 0 4px rgba(11, 120, 184, 0.14);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgba(11, 120, 184, 0.68);
    outline-offset: 3px;
}

.site-header {
    background: rgba(247, 251, 255, 0.96);
    border-bottom-color: rgba(190, 211, 229, 0.82);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.main-menu a,
.menu-passport-btn {
    color: #0a5f94;
    font-weight: 600;
}

.main-menu a:hover,
.main-menu a:focus-visible,
.menu-passport-btn:hover,
.menu-passport-btn:focus-visible {
    background: #e9f4fb;
    color: #063d66;
    transform: none;
}

.main-menu a.is-active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 120, 184, 0.22);
}

.menu-toggle {
    min-width: 86px;
    border-color: #cfe1ef;
    border-radius: 14px;
    background: #fff;
    color: #14213d;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(8, 37, 67, 0.06);
}

.phone-link {
    color: #102447;
}

.hero-with-search {
    padding: 94px 0 0;
    overflow: visible;
    background-position: center;
}

.hero-ws-wrap {
    gap: 24px;
    overflow: visible;
}

.hero-ws-head {
    max-width: 860px;
}

.hero-with-search .hero-title {
    max-width: 820px;
    margin-inline: auto;
    font-size: clamp(34px, 4.1vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-with-search .hero-subtitle {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(16px, 1.45vw, 20px) !important;
}

.custom-tour-search {
    border-color: var(--hp-card-border);
    border-radius: 18px;
    box-shadow: var(--hp-card-shadow-strong);
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(250,253,255,0.99));
}

.custom-tour-search__top {
    align-items: center;
    margin-bottom: 14px;
}

.custom-tour-search__eyebrow {
    color: #0b78b8;
    font-size: 12px;
    font-weight: 700;
}

.custom-tour-search__title {
    color: #112543;
    font-size: 22px;
    font-weight: 650;
}

.custom-tour-search__city {
    background: #eef8fc;
    border-color: #c8e4f2;
    color: #095a87;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.custom-tour-search__tabs {
    border-color: #cfe1ef;
    background: #edf6fc;
}

.custom-tour-search__tab {
    color: #274b67;
    font-weight: 650;
}

.custom-tour-search__tab.is-active {
    background: #1084c5;
    box-shadow: 0 8px 18px rgba(16, 132, 197, 0.24);
}

.custom-tour-search__field,
.custom-tour-search__more {
    min-height: 74px;
    border-color: #d1e2f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(13, 72, 118, 0.045);
}

.custom-tour-search__field:hover,
.custom-tour-search__more:hover {
    border-color: #a8d0e9;
    box-shadow: 0 12px 26px rgba(13, 72, 118, 0.09);
}

.custom-tour-search__field:focus-within,
.custom-tour-search__field.is-open,
.custom-tour-search__more:focus-visible,
.custom-tour-search__more.is-open {
    border-color: #6bb7e2;
    box-shadow: var(--hp-focus-ring), 0 14px 28px rgba(13, 72, 118, 0.12);
}

.custom-tour-search__label {
    color: #64758c;
    font-weight: 650;
}

.custom-tour-search__field input,
.custom-tour-search__field select,
.custom-tour-search__value-button {
    color: #102447;
    font-size: 14px;
    font-weight: 650;
}

.custom-tour-search__more {
    color: #0b78b8;
    font-weight: 700;
}

.custom-tour-search__submit--inline {
    min-height: 74px;
    border-radius: 13px !important;
    font-size: 17px !important;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(255, 122, 0, 0.22);
}

.btn-cta,
.custom-tour-search__submit,
.lead-form .btn-cta {
    background: #ff7900;
    color: #071f3d;
}

.btn-cta:hover,
.btn-cta:focus-visible,
.custom-tour-search__submit:hover,
.custom-tour-search__submit:focus-visible,
.lead-form .btn-cta:hover,
.lead-form .btn-cta:focus-visible {
    background: #f06f00;
    color: #061b34;
    box-shadow: 0 14px 30px rgba(255, 122, 0, 0.28);
    transform: translateY(-1px);
}

.custom-tour-search__hint {
    max-width: 72ch;
    color: #52647d;
    font-size: 13px;
    line-height: 1.45;
}

.custom-tour-search__popover,
.flatpickr-calendar {
    border-color: #c8ddec;
    box-shadow: 0 22px 52px rgba(8, 37, 67, 0.22);
}

.custom-tour-search__combo-option.is-active,
.custom-tour-search__combo-option:hover,
.custom-tour-search__combo-option:focus-visible {
    background: #e7f4fb;
}

.custom-tour-search__budget-presets button.is-active,
.custom-tour-search__budget-presets button:hover,
.custom-tour-search__budget-presets button:focus-visible {
    border-color: #1084c5;
    background: #e7f4fb;
}

.flatpickr-day.inRange {
    background: #dff1fb;
    box-shadow: -3px 0 0 #dff1fb, 3px 0 0 #dff1fb;
}

.section-trust {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    background: linear-gradient(180deg, #f2f8ff 0%, #eef6ff 100%) !important;
}

.trust-grid {
    gap: 18px !important;
}

.trust-card {
    align-items: center;
    min-height: 116px;
    padding: 22px !important;
    border-color: #d7e5f1 !important;
    box-shadow: 0 14px 34px rgba(8, 37, 67, 0.08) !important;
}

.trust-card-value {
    color: #071f3d;
    font-size: 25px !important;
    letter-spacing: 0;
}

.trust-card-label {
    color: #4b5f79;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: #edf7ff !important;
    color: #0b78b8;
}

#destinations .section-head,
#reviews .section-head {
    display: grid;
    gap: 6px;
    margin-bottom: 26px !important;
}

#destinations .section-head h2,
#reviews .section-head h2,
#faq .section-head h2 {
    color: #071f3d;
    letter-spacing: 0;
    text-wrap: balance;
}

#destinations .section-head p,
#reviews .section-head p {
    color: #52647d;
}

.direction-card--new {
    border-color: #d3e3f1;
    border-radius: 18px !important;
    box-shadow: 0 14px 34px rgba(8, 37, 67, 0.09) !important;
}

.direction-card--new:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(8, 37, 67, 0.15) !important;
}

.direction-card-image {
    background: linear-gradient(135deg, #dcebf5, #f3f8ff);
}

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

.direction-card--new .direction-cta {
    border-color: #9bcde9;
    background: #f5fbff;
}

.direction-card--new .direction-cta:hover,
.direction-card--new .direction-cta:focus-visible {
    background: #0b78b8;
    border-color: #0b78b8;
    color: #fff;
}

.review-card-new,
.faq-item,
.lead-form-box .lead-form {
    border-color: #d7e5f1 !important;
    box-shadow: 0 14px 34px rgba(8, 37, 67, 0.08) !important;
}

.faq-question:hover,
.faq-question:focus-visible {
    background: #f5fbff;
}

.section-final-cta-with-contacts {
    background: linear-gradient(135deg, #073354 0%, #0b4c75 100%) !important;
}

.final-cta-block {
    gap: 28px;
}

.final-cta-text h2 {
    text-wrap: balance;
}

.final-cta-contacts {
    backdrop-filter: blur(6px);
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #9bd8ff;
}

@media (max-width: 991px) {
    .hero-with-search {
        height: auto;
        min-height: 0;
        padding-bottom: 34px;
        overflow: visible;
    }

    .hero-ws-wrap {
        height: auto;
        min-height: 0;
        padding-top: 58px;
        gap: 18px;
        overflow: visible;
    }

    .hero-with-search .hero-title {
        max-width: 13ch;
        font-size: clamp(29px, 8.2vw, 38px);
        line-height: 1.04;
    }

    .hero-with-search .hero-subtitle {
        font-size: 15px !important;
    }

    .hero-ws-widget {
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
    }
}

@media (max-width: 767px) {
    .header-inner,
    .site-header.is-compact .header-inner {
        min-height: 58px !important;
        padding-inline: 0 !important;
    }

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

    .menu-toggle {
        min-width: 70px;
        min-height: 44px;
        padding: 8px 13px !important;
    }

    .custom-tour-search {
        padding: 12px;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(8, 37, 67, 0.16);
    }

    .custom-tour-search__top {
        margin-bottom: 8px;
    }

    .custom-tour-search__city {
        max-width: 150px;
        justify-content: center;
        font-size: 12px;
        line-height: 1.15;
    }

    .custom-tour-search__field,
    .custom-tour-search__more {
        min-height: 78px;
        padding: 10px 9px;
        border-radius: 12px;
    }

    .custom-tour-search__field input,
    .custom-tour-search__field select,
    .custom-tour-search__value-button,
    .custom-tour-search__more {
        font-size: 13px;
        line-height: 1.3;
    }

    .custom-tour-search__submit--inline {
        min-height: 50px;
        border-radius: 12px !important;
        font-size: 16px !important;
    }

    .custom-tour-search__hint {
        font-size: 12px;
        line-height: 1.35;
    }

    .custom-tour-search__popover,
    .flatpickr-calendar.open,
    .custom-tour-search__field--date .flatpickr-calendar.open {
        position: fixed !important;
        inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: min(62vh, 420px) !important;
        overflow: auto;
        transform: none !important;
        z-index: 10000 !important;
    }

    .flatpickr-calendar,
    .flatpickr-days,
    .dayContainer,
    .flatpickr-rContainer {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .flatpickr-current-month {
        font-size: 18px;
    }

    .custom-tour-search__combo-search {
        margin: -2px -2px 6px;
        padding: 2px 2px 8px;
    }

    .custom-tour-search__combo-list {
        max-height: calc(min(62vh, 420px) - 64px);
    }

    .section-trust {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .trust-card {
        min-height: 116px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px !important;
    }

    .trust-icon {
        width: 38px;
        height: 38px;
    }

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

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

    .trust-card-label {
        font-size: 12px !important;
    }

    .destinations-grid,
    .review-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

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

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

    .bottom-action-bar__btn {
        min-height: 58px;
    }
}

@media (max-width: 380px) {
    .container {
        width: min(100% - 24px, 1206px);
    }

    .hero-ws-widget {
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
    }

    .custom-tour-search__panel--tour,
    .custom-tour-search__panel--cruise,
    .custom-tour-search__advanced {
        gap: 7px;
    }

    .custom-tour-search__field,
    .custom-tour-search__more {
        min-height: 76px;
        padding-inline: 8px;
    }
}

/* Final visual pass: resilient media fallbacks and mobile title rhythm */
.direction-card-image::before {
    background-image: var(--direction-bg), linear-gradient(135deg, #0b78b8 0%, #62b7dd 52%, #ff9b45 100%);
    background-color: #0b78b8;
}

.direction-card--new:nth-child(2n) .direction-card-image::before {
    background-image: var(--direction-bg), linear-gradient(135deg, #07507a 0%, #2fa2ce 55%, #f6c46c 100%);
}

.direction-card--new:nth-child(3n) .direction-card-image::before {
    background-image: var(--direction-bg), linear-gradient(135deg, #0a365a 0%, #3f8fcb 52%, #edf7ff 100%);
}

.direction-card-image::after {
    background: linear-gradient(180deg, rgba(8, 29, 55, 0.14) 0%, rgba(8, 29, 55, 0.26) 100%);
}

@media (max-width: 767px) {
    .hero-with-search {
        padding-top: 0;
        padding-bottom: 18px;
    }

    .hero-ws-wrap {
        gap: 8px;
        padding-top: 12px;
    }

    .hero-ws-head {
        padding-inline: 8px;
    }

    .hero-with-search .hero-title {
        font-size: clamp(22px, 6.4vw, 28px);
        line-height: 1.02;
        max-width: 17ch;
        margin-bottom: 6px;
    }

    .hero-with-search .hero-subtitle {
        max-width: 32ch;
        font-size: 12px !important;
        line-height: 1.25;
    }

    .hero-ws-widget {
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
    }

    .hero-ws-widget .custom-tour-search {
        padding: 8px;
    }

    .hero-ws-widget .custom-tour-search__top {
        margin-bottom: 5px;
    }

    .hero-ws-widget .custom-tour-search__tabs {
        min-height: 44px;
    }

    .hero-ws-widget .custom-tour-search__tab {
        min-height: 36px;
        padding-block: 4px;
    }

    .hero-ws-widget .custom-tour-search__panel--tour,
    .hero-ws-widget .custom-tour-search__panel--cruise {
        gap: 6px;
    }

    .hero-ws-widget .custom-tour-search__field,
    .hero-ws-widget .custom-tour-search__more {
        min-height: 58px;
        padding: 7px;
    }

    .hero-ws-widget .custom-tour-search__submit--inline {
        min-height: 46px;
    }

    .custom-tour-search__hint {
        font-size: 12px;
        line-height: 1.4;
    }
}
