/*
Theme Name: Финист Трэвел — Океан
Theme URI: https://finist-travel.com
Author: Finist Travel
Author URI: https://finist-travel.com
Description: Тема WordPress для туристической компании «Финист Трэвел» (Пермь). Палитра «Океан» — глубокий синий + золотые акценты. Адаптивный дизайн, Tourvisor-интеграция, шаблоны для страниц стран, новостей, отзывов, заявок.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finist-ocean
Tags: travel, tourism, custom-header, custom-menu, responsive-layout, one-column, two-columns

Финист Трэвел — хорошая компания для хорошего отдыха.
С 1997 года. Пермь, Россия.
*/

/* ===== ПАЛИТРА «ОКЕАН» ===== */
:root {
    /* Основные синие */
    --ocean-deep: #1E4976;
    --ocean-dark: #265D8F;
    --ocean-mid: #2E6B9C;
    --ocean-blue: #3A7FB2;
    --ocean-light: #4D94C8;
    --ocean-bright: #6BB0E0;
    --ocean-sky: #60A5FA;
    --ocean-foam: #DBEAFE;
    --ocean-mist: #EFF6FF;

    /* Акценты — золото */
    --gold: #D4A843;
    --gold-light: #F0CC6B;
    --gold-warm: #E8B84D;
    --cta-orange: #FCA32D;
    --cta-orange-dark: #D48A15;

    /* Фоны */
    --bg: #F7F9FC;
    --bg-warm: #EDF2F9;
    --white: #FFFFFF;
    --dark: #0A1628;

    /* Текст */
    --text: #1A1F2E;
    --text-sec: #5A6478;
    --text-muted: #8A94A6;
    --border: #D6DEE8;

    /* Ошибки */
    --red: #D32F2F;
    --red-light: #FFEBEE;

    /* Шрифты */
    --font-body: 'Onest', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-hero: 'Cormorant Garamond', serif;

    /* Тени */
    --shadow-sm: 0 1px 3px rgba(30,73,118,0.06);
    --shadow-md: 0 4px 16px rgba(30,73,118,0.08);
    --shadow-lg: 0 8px 32px rgba(30,73,118,0.12);
    --shadow-xl: 0 16px 48px rgba(30,73,118,0.16);

    /* Радиусы */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Utility ===== */
.section-label {
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    color: var(--ocean-deep); line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px; color: var(--text-sec); max-width: 560px; line-height: 1.7;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroPan {
    from { transform: scale(1.08) translateX(-0.5%); }
    to { transform: scale(1.08) translateX(0.5%); }
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes modalBgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes checkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,67,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(212,168,67,0); }
}
@keyframes heroImgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--ocean-deep); color: rgba(255,255,255,0.8);
    font-size: 13px; padding: 8px 0;
}
.top-bar .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar__left { display: flex; gap: 20px; align-items: center; }
.top-bar__right { display: flex; gap: 16px; align-items: center; }
.top-bar__reg { font-size: 11px; opacity: 0.6; }

/* ===== Header ===== */
.header {
    background: var(--white); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; padding-bottom: 12px; gap: 24px;
}
.header__brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header__brand img, .custom-logo { max-height: 50px; width: auto; }
.header__logo {
    width: 52px; height: 62px;
    background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-mid));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-family: var(--font-display); font-size: 26px; font-weight: 700;
}
.header__brand-text {
    display: flex; flex-direction: column;
}
.header__brand-text h1,
.header__brand-text .site-title {
    font-family: var(--font-body); font-size: 18px; font-weight: 700;
    color: var(--ocean-deep); line-height: 1.2; margin: 0; white-space: nowrap;
}
.header__brand-text span,
.header__brand-text .site-tagline { font-size: 14px; color: var(--text); font-weight: 500; margin-top: 2px; }

/* ===== Navigation ===== */
.nav { display: flex; align-items: center; gap: 4px; }
.nav .menu-item > a,
.nav__link {
    padding: 8px 14px; font-size: 15px; font-weight: 500;
    border-radius: var(--radius-sm); color: var(--text);
    transition: all 0.3s var(--ease); white-space: nowrap;
    display: block;
}
.nav .menu-item > a:hover,
.nav li { list-style: none; display: inline-block; position: relative; }
.nav li a { padding: 8px 14px; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); color: var(--text); transition: all 0.3s var(--ease); white-space: nowrap; display: block; }
.nav li a:hover { background: var(--bg-warm); color: var(--ocean-mid); }
.nav li ul { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; min-width: 240px; z-index: 50; list-style: none; }
.nav li:hover > ul { display: block; }
.nav li ul li { display: block; }
.nav li ul li a { padding: 10px 14px; font-size: 15px; color: var(--text); border-radius: var(--radius-sm); }
.nav__link:hover { background: var(--bg-warm); color: var(--ocean-mid); }
.nav .current-menu-item > a,
.nav__link--active { background: var(--bg-warm); color: var(--ocean-mid); font-weight: 600; }

/* Dropdown menus */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a::after {
    content: ' ▾'; font-size: 12px;
}
.nav .sub-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 8px; min-width: 240px; z-index: 50; list-style: none;
}
.nav .menu-item-has-children:hover > .sub-menu { display: block; }
.nav .sub-menu a {
    display: block; padding: 10px 14px; font-size: 14px; color: var(--text-sec);
    border-radius: var(--radius-sm); transition: all 0.3s var(--ease);
}
.nav .sub-menu a:hover { background: var(--bg-warm); color: var(--ocean-mid); }

/* Phone in header */
.header__phones { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.header__phone { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.header__phone:hover { color: var(--ocean-mid); }
.header__phone-label { font-size: 13px; color: var(--text); }

/* Mobile toggle */
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text);
    margin: 5px 0; transition: 0.3s var(--ease); border-radius: 2px;
}

/* ===== Mobile Nav ===== */
.mobile-nav {
    display: none; position: fixed; inset: 0; background: var(--white);
    z-index: 200; padding: 80px 24px 24px; overflow-y: auto;
}
.mobile-nav.active { display: block; animation: fadeIn 0.3s ease; }
.mobile-nav__close {
    position: absolute; top: 16px; right: 16px; background: none;
    border: none; font-size: 32px; cursor: pointer; color: var(--text); padding: 8px;
}
.mobile-nav a {
    display: block; padding: 14px 0; font-size: 18px; font-weight: 600;
    border-bottom: 1px solid var(--border); color: var(--text);
}
.mobile-nav li { list-style: none; }
.mobile-nav li a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav li ul { list-style: none; padding-left: 20px; }
.mobile-nav li ul li a { font-size: 16px; font-weight: 500; color: var(--text-sec); }
.mobile-nav__phones {
    margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--ocean-mid);
}
.mobile-nav__phone {
    font-size: 22px; font-weight: 800; color: var(--ocean-deep);
    display: block; margin-bottom: 8px;
}

/* ===== HERO (Front Page) ===== */
.hero {
    position: relative; min-height: 620px; display: flex;
    align-items: flex-end; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80') center 40%/cover no-repeat;
    filter: brightness(0.7);
    transform: scale(1.08);
    animation: heroPan 25s ease-in-out infinite alternate;
}
.hero__gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(30,73,118,0.95) 0%, rgba(30,73,118,0.72) 30%,
        rgba(30,73,118,0.25) 60%, rgba(30,73,118,0.10) 100%);
}
.hero__grain {
    position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 128px;
}
.hero__container {
    position: relative; z-index: 2; max-width: 1200px; width: 100%;
    margin: 0 auto; padding: 48px 32px 56px;
}
.hero__layout--wide {
    display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.hero__text { max-width: 600px; }
.hero__eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
    animation: fadeUp 0.8s ease forwards;
}
.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 36px; font-weight: 700;
    color: #FFFFFF; line-height: 1.1; margin-bottom: 16px;
    animation: fadeUp 0.8s ease 0.1s forwards; opacity: 0;
}
.hero__accent {
    display: block;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__desc {
    font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7;
    margin-bottom: 24px; max-width: 480px;
    animation: fadeUp 0.8s ease 0.2s forwards; opacity: 0;
}
.hero__links {
    display: flex; gap: 24px; flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero__link {
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6);
    padding-bottom: 2px; border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.hero__link:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* Hero Info Row (compact, text only) */
.hero__info-row {
    display: flex; gap: 20px; flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s forwards; opacity: 0;
}
.hero__info-item {
    font-size: 13px; color: rgba(255,255,255,0.6);
    display: flex; align-items: center; gap: 6px;
}

/* Hero Actions (right side) */
.hero__actions {
    display: flex; flex-direction: column; gap: 12px; align-items: center;
    animation: fadeUp 0.8s ease 0.4s forwards; opacity: 0;
}
.hero__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; background: var(--cta); color: #fff; border: none; border-radius: 12px;
    font-size: 15px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; text-decoration: none; width: 240px; text-align: center;
    box-shadow: 0 6px 24px rgba(252,163,45,0.35); transition: all 0.2s;
}
.hero__cta:hover { background: #E89520; transform: translateY(-1px); }
.hero__phone-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.3); border-radius: 12px;
    font-size: 18px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; text-decoration: none; width: 240px; text-align: center;
    transition: all 0.2s;
}
.hero__phone-link:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.hero__phone-sub { font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; }

/* Hero Search Bar (bottom) */
.hero__search {
    margin-top: 32px; padding: 20px 28px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: fadeUp 0.8s ease 0.5s forwards; opacity: 0;
    overflow: hidden;
}
.hero__search .tv-search-form { width: 100%; }
.modal__close:hover { background: #DEE5EF; color: var(--text); }
.modal__body { padding: 28px; }

/* ===== Page Hero Banner (inner pages) ===== */
.page-hero {
    position: relative; padding: 0; overflow: hidden;
    min-height: 320px; display: flex; align-items: flex-end;
}
.page-hero--mini {
    min-height: 240px;
    background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-mid));
}
.page-hero__bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: brightness(0.6);
}
.page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(30,73,118,0.9) 0%, rgba(30,73,118,0.4) 60%, transparent 100%);
}
.page-hero__content {
    position: relative; z-index: 2; max-width: 1200px; width: 100%;
    margin: 0 auto; padding: 48px 32px 40px;
}
.page-hero__breadcrumb {
    font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 12px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--gold-light); }
.page-hero__title {
    font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700; color: var(--white); line-height: 1.15;
}
.page-hero__title strong { color: var(--gold-light); font-weight: 700; }
.page-hero__subtitle {
    font-size: 17px; color: rgba(255,255,255,0.7); margin-top: 12px; max-width: 600px;
}

/* ===== Content Area ===== */
.content-area {
    background: var(--bg); padding: 48px 0 72px;
}
.content-area .container { max-width: 860px; }
.content-area h2 {
    font-family: var(--font-display); font-size: 26px;
    color: var(--ocean-deep); margin: 36px 0 16px;
}
.content-area h3 {
    font-size: 20px; font-weight: 700; color: var(--ocean-deep); margin: 28px 0 12px;
}
.content-area p {
    margin-bottom: 16px; color: var(--text-sec); line-height: 1.8; font-size: 16px;
}
.content-area img {
    border-radius: var(--radius-lg); margin: 28px 0; width: 100%;
}
.content-area a { color: var(--ocean-mid); font-weight: 500; }
.content-area a:hover { color: var(--ocean-deep); text-decoration: underline; }
.content-area blockquote {
    border-left: 4px solid var(--gold); padding: 20px 24px; margin: 28px 0;
    background: var(--bg-warm); border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic; color: var(--text-sec);
}
.content-area ul,
.content-area ol {
    margin: 16px 0 24px 24px;
}
.content-area ul li {
    position: relative; padding: 6px 0 6px 20px; color: var(--text-sec); list-style: none;
}
.content-area ul li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}
.content-area ol li {
    padding: 6px 0; color: var(--text-sec); list-style: decimal;
}

/* ===== Country Info Grid ===== */
.country-info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin: 32px 0;
}
.country-info-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px; text-align: center;
}
.country-info-card__icon { font-size: 28px; margin-bottom: 8px; }
.country-info-card__label {
    font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.country-info-card__value { font-size: 17px; font-weight: 700; color: var(--ocean-deep); }

/* ===== Tourvisor Embed ===== */
.tv-embed {
    background: var(--bg-warm); border-radius: var(--radius-lg); padding: 32px;
    margin-top: 40px; text-align: center;
}
.tv-embed__title {
    font-family: var(--font-display); font-size: 22px; color: var(--ocean-deep); margin-bottom: 16px;
}

/* ===== Country: Tourvisor Search ===== */
.country-search {
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.country-search__widget {
    max-width: 960px; margin: 0 auto; padding: 28px 24px 20px;
}
.country-search__widget .tv-search-form { margin: 0; padding: 0; }

/* ===== Country: Text Content ===== */
.country-text { margin-bottom: 48px; }
.country-text h2 {
    font-family: var(--font-display); font-size: 28px;
    color: var(--ocean-deep); margin: 36px 0 16px; line-height: 1.25;
}
.country-text h3 {
    font-size: 20px; font-weight: 700; color: var(--ocean-deep); margin: 28px 0 10px;
}
.country-text p { margin-bottom: 16px; color: var(--text-sec); line-height: 1.85; }
.country-text a { color: var(--ocean-bright); font-weight: 500; }
.country-text a:hover { text-decoration: underline; }

/* ===== Country: CTA ===== */
.country-cta {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 48px 40px; text-align: center;
    margin-bottom: 48px; position: relative; overflow: hidden;
}
.country-cta::before { display: none; }
.country-cta__content { position: relative; z-index: 2; }
.country-cta__icon { font-size: 40px; margin-bottom: 12px; }
.country-cta__title {
    font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px);
    font-weight: 700; color: var(--ocean-deep); margin-bottom: 12px; line-height: 1.25;
}
.country-cta__text {
    font-size: 16px; color: var(--text-sec); max-width: 480px;
    margin: 0 auto 28px; line-height: 1.7;
}
.country-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.country-cta__btn {
    padding: 14px 32px; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 15px; font-weight: 700;
    transition: all 0.3s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.country-cta__btn--gold {
    background: var(--cta-orange);
    color: var(--white); border: none;
}
.country-cta__btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(252,163,45,0.35); background: var(--cta-orange-dark); }
.country-cta__btn--outline {
    background: var(--white); color: var(--ocean-deep); border: 2px solid var(--border);
}
.country-cta__btn--outline:hover { border-color: var(--ocean-mid); background: var(--white); }

/* ===== Site Links Grid ===== */
.site-links { margin-bottom: 24px; }
.site-links__title {
    font-size: 14px; font-weight: 700; color: var(--ocean-deep);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.site-links__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.site-links__item {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); transition: all 0.3s var(--ease);
}
.site-links__item:hover { border-color: var(--ocean-bright); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.site-links__icon { font-size: 20px; flex-shrink: 0; }
.site-links__label { font-size: 14px; font-weight: 600; color: var(--text-sec); }
.site-links__item:hover .site-links__label { color: var(--ocean-mid); }
@media (max-width: 768px) {
    .site-links__grid { grid-template-columns: 1fr 1fr; }
    .country-cta { padding: 36px 24px; }
}
@media (max-width: 480px) {
    .site-links__grid { grid-template-columns: 1fr; }
}

/* ===== News Archive ===== */
.news-archive { background: var(--bg); padding: 48px 0 72px; }
.news-archive__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 1200px; margin: 0 auto;
}
.news-card {
    background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
    padding: 28px; transition: all 0.3s var(--ease); display: flex; flex-direction: column;
    min-height: 200px;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.news-card__date { font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.news-card__title {
    font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px;
    color: var(--ocean-deep); flex-grow: 1;
}
.news-card:hover .news-card__title { color: var(--ocean-mid); }
.news-card__excerpt {
    font-size: 14px; color: var(--text-sec); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== Pagination ===== */
.pagination,
.nav-links {
    display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.pagination a, .pagination span,
.nav-links a, .nav-links span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600;
    border: 1px solid var(--border); color: var(--text-sec); transition: all 0.3s ease;
}
.pagination a:hover, .nav-links a:hover {
    border-color: var(--ocean-mid); color: var(--ocean-mid);
    background: rgba(15,40,71,0.05); text-decoration: none;
}
.pagination .current, .nav-links .current {
    background: var(--ocean-dark); color: var(--white); border-color: var(--ocean-dark);
}

/* ===== Reviews ===== */
.review-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px;
    transition: all 0.3s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card__header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.review-card__avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-mid));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 18px;
}
.review-card__name { font-weight: 700; color: var(--ocean-deep); }
.review-card__meta { font-size: 13px; color: var(--text-muted); }
.review-card__stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card__text { color: var(--text-sec); line-height: 1.7; }
.review-card__country {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    padding: 4px 12px; background: var(--bg-warm); border-radius: 100px;
    font-size: 13px; font-weight: 500; color: var(--text-sec);
}

/* ===== Review Modal & Button ===== */
.review-open-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px; background: #FCA32D; color: #fff; border: none; border-radius: 14px;
    font-size: 17px; font-weight: 700; font-family: 'Onest', sans-serif;
    cursor: pointer; transition: all 0.2s;
    box-shadow: 0 6px 24px rgba(252,163,45,0.3);
}
.review-open-btn:hover { background: #E89520; transform: translateY(-1px); }

.review-modal {
    display: none; position: fixed; inset: 0; z-index: 9999;
    align-items: center; justify-content: center;
}
.review-modal.active { display: flex; }
.review-modal__overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
}
.review-modal__body {
    position: relative; z-index: 2; background: #fff; border-radius: 24px;
    padding: 40px; width: 90%; max-width: 540px; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    animation: reviewSlideUp 0.3s ease;
}
@keyframes reviewSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.review-modal__close {
    position: absolute; top: 16px; right: 20px; background: none; border: none;
    font-size: 28px; color: var(--text-muted); cursor: pointer; line-height: 1;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.2s;
}
.review-modal__close:hover { background: var(--bg-warm); color: var(--text-main); }

.review-modal__stars { display: flex; gap: 4px; }
.review-modal__star {
    font-size: 32px; color: #D1D9E6; cursor: pointer; transition: color 0.15s; user-select: none;
}
.review-modal__star.active, .review-modal__star.hover { color: var(--gold); }

.review-modal__upload {
    border: 2px dashed #D1D9E6; border-radius: 12px; padding: 20px;
    text-align: center; transition: border-color 0.2s; cursor: pointer;
}
.review-modal__upload:hover { border-color: var(--ocean-mid); }
.review-modal__upload-label {
    display: block; cursor: pointer; font-size: 14px; color: var(--text-sec);
}

.review-form__success {
    background: #E8F5E9; border: 1px solid #2EAD6D; border-radius: 12px;
    padding: 20px 24px; font-size: 15px; color: #2E7D32; text-align: center;
}
.review-form__error {
    background: #FFF3CD; border: 1px solid #D4960A; border-radius: 12px;
    padding: 16px 20px; font-size: 14px; color: #8B6914;
}
@media (max-width: 768px) {
    .review-modal__body { padding: 28px 20px; width: 95%; border-radius: 20px; }
}

/* ===== About Stats ===== */
.about-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0;
}
.about-stat {
    text-align: center; padding: 28px 16px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.about-stat__num {
    font-family: var(--font-display); font-size: 36px; font-weight: 700;
    color: var(--ocean-dark); line-height: 1;
}
.about-stat__label { font-size: 14px; color: var(--text-sec); margin-top: 8px; }

/* ===== Custom Tour Form ===== */
.form-section { padding: 56px 0 72px; }
.form-layout {
    display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.form-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 40px;
    box-shadow: var(--shadow-md); animation: fadeUp 0.6s ease forwards;
}
.form-card__header { margin-bottom: 32px; }
.form-card__label {
    font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.form-card__title {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--ocean-deep); margin-bottom: 6px;
}
.form-card__subtitle { font-size: 15px; color: var(--text-sec); }

/* Form steps */
.form-steps { display: flex; gap: 4px; margin-bottom: 32px; }
.form-step {
    flex: 1; height: 4px; border-radius: 2px;
    background: var(--border); transition: background 0.5s var(--ease);
}
.form-step.active { background: linear-gradient(90deg, var(--ocean-dark), var(--ocean-mid)); }
.form-step.completed { background: var(--gold); }

/* Form fields */
.form-group { margin-bottom: 20px; }
.form-group__label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-sec); margin-bottom: 6px;
}
.form-group__label .required { color: var(--red); margin-left: 2px; }
.form-input {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 15px; color: var(--text);
    background: var(--white); transition: all 0.3s var(--ease); outline: none;
}
.form-input:focus {
    border-color: var(--ocean-mid); background: var(--white);
    box-shadow: 0 0 0 3px rgba(15,40,71,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { min-height: 100px; resize: vertical; }
select.form-input {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--dates {
    grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 4px;
}
.form-row--dates .form-input { border: none; background: transparent; padding: 12px 8px; }
.form-dates-sep { color: var(--text-muted); font-size: 16px; padding: 0 4px; }

/* Destination chips */
.dest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 500;
    background: var(--bg-warm); border: 1.5px solid var(--border);
    color: var(--text-sec); cursor: pointer; transition: all 0.3s var(--ease);
    user-select: none;
}
.dest-chip:hover { border-color: var(--ocean-mid); color: var(--ocean-mid); }
.dest-chip.selected { background: var(--ocean-dark); color: var(--white); border-color: var(--ocean-dark); }

/* Budget options */
.budget-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.budget-opt {
    padding: 10px 8px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; text-align: center;
    background: var(--bg-warm); border: 1.5px solid var(--border);
    color: var(--text-sec); cursor: pointer; transition: all 0.3s var(--ease);
}
.budget-opt:hover { border-color: var(--ocean-mid); color: var(--ocean-mid); }
.budget-opt.selected { background: var(--ocean-dark); color: var(--white); border-color: var(--ocean-dark); }

/* Consent */
.form-consent {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 24px; margin-bottom: 24px;
}
.form-consent input[type="checkbox"] {
    width: 20px; height: 20px; margin-top: 2px;
    accent-color: var(--ocean-mid); cursor: pointer; flex-shrink: 0;
}
.form-consent__text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.form-consent__text a { color: var(--ocean-mid); text-decoration: underline; }

/* Submit button */
.form-submit {
    width: 100%; padding: 18px;
    background: var(--cta-orange);
    color: var(--white); border: none; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 17px; font-weight: 700;
    cursor: pointer; transition: all 0.3s var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(252,163,45,0.4); background: var(--cta-orange-dark);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-hint { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; transition: all 0.3s var(--ease);
}
.side-card:hover { box-shadow: var(--shadow-md); }
.side-card__icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 14px;
}
.side-card__icon--ocean { background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-mid)); }
.side-card__icon--gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.side-card__title { font-size: 16px; font-weight: 700; color: var(--ocean-deep); margin-bottom: 6px; }
.side-card__text { font-size: 14px; color: var(--text-sec); line-height: 1.6; }
.side-card__phone {
    display: block; font-size: 22px; font-weight: 800;
    color: var(--ocean-deep); margin-top: 10px; letter-spacing: -0.5px;
}
.side-card__phone:hover { color: var(--ocean-mid); }
.side-card__detail { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Side process */
.side-process {
    background: var(--ocean-deep); border-radius: var(--radius-lg);
    padding: 28px; color: var(--white);
}
.side-process__title {
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    margin-bottom: 20px;
}
.side-process__steps { display: flex; flex-direction: column; gap: 0; }
.side-process__step {
    display: flex; gap: 14px; position: relative; padding-bottom: 20px;
}
.side-process__step:last-child { padding-bottom: 0; }
.side-process__step::before {
    content: ''; position: absolute; left: 15px; top: 32px; bottom: 0;
    width: 1.5px; background: rgba(255,255,255,0.12);
}
.side-process__step:last-child::before { display: none; }
.side-process__num {
    width: 32px; height: 32px; flex-shrink: 0;
    background: rgba(212,168,67,0.2); border: 1px solid rgba(212,168,67,0.4);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--gold-light);
}
.side-process__content { padding-top: 4px; }
.side-process__label { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.side-process__desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* Side trust */
.side-trust {
    background: var(--bg-warm); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
}
.side-trust__items { display: flex; flex-direction: column; gap: 12px; }
.side-trust__item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-sec);
}
.side-trust__icon {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--white); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* Back link */
.back-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
    padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 15px; font-weight: 600; color: var(--ocean-mid);
}
.back-link:hover { gap: 12px; color: var(--ocean-deep); text-decoration: none; }

/* ===== Footer ===== */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.7); padding: 56px 0 32px;
}
.footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px; margin-bottom: 40px;
}
.footer__brand h3 {
    font-family: var(--font-display); font-size: 22px; color: var(--white); margin-bottom: 8px;
}
.footer__brand p { font-size: 14px; line-height: 1.7; margin-bottom: 4px; }
.footer__brand .reg-number { font-size: 14px; opacity: 0.5; margin-top: 12px; }
.footer h4 {
    color: var(--white); font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer__links li { list-style: none; }
.footer__links a {
    display: block; padding: 4px 0; font-size: 14px; color: rgba(255,255,255,0.6);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__contact-item { font-size: 14px; margin-bottom: 8px; }
.footer__contact-item a { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer__contact-item a:hover { color: var(--gold-light); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer__bottom p { font-size: 14px; opacity: 0.5; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer__legal a:hover { color: rgba(255,255,255,0.8); }

/* ===== Tourvisor: Минимальные цены ===== */
.tv-minprice {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 40%, var(--ocean-light) 100%);
    padding: 48px 0 56px; position: relative; overflow: hidden;
}
.tv-minprice::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 28px 28px;
}
.tv-minprice .container { position: relative; z-index: 2; }
.tv-minprice__header { text-align: center; margin-bottom: 28px; }
.tv-minprice__label {
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px;
}
.tv-minprice__title {
    font-family: var(--font-display); font-size: 28px;
    font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 10px;
}
.tv-minprice__subtitle {
    font-size: 16px; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto;
}
.tv-minprice__widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 32px;
}
.tv-minprice__widget .tv-min-prices-wrapper,
.tv-minprice__widget .tvmp { background: transparent !important; }

/* ===== Destinations ===== */
.destinations {
    padding: 48px 0; position: relative; overflow: hidden;
    background: var(--bg);
}
.destinations .section-label { color: var(--gold); }
.destinations .section-title { color: var(--ocean-deep); }
.destinations .section-subtitle { color: var(--text-sec); }
.destinations__header { text-align: center; margin-bottom: 28px; }
.destinations__header .section-subtitle { margin: 0 auto; }
.destinations__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.dest-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    height: 240px; cursor: pointer; transition: all 0.4s var(--ease);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.dest-card--featured { grid-column: span 1; height: 240px; }
.dest-card__img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 0.6s var(--ease);
}
.dest-card:hover .dest-card__img { transform: scale(1.08); }
.dest-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(30,73,118,0.85) 0%, rgba(30,73,118,0.2) 50%, transparent 100%);
}
.dest-card__content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px; z-index: 2;
}
.dest-card__flag { font-size: 28px; margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.dest-card__name {
    font-family: var(--font-body); font-size: 22px; font-weight: 700;
    color: var(--white); margin-bottom: 4px;
}
.dest-card--featured .dest-card__name { font-size: 28px; }
.dest-card__price {
    font-size: 13px; color: var(--gold-light); font-weight: 600;
}
.dest-card__tag {
    position: absolute; top: 16px; right: 16px; z-index: 3;
    background: rgba(212,168,67,0.9); color: var(--ocean-deep);
    padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.5px;
}
.destinations__more {
    text-align: center; margin-top: 40px;
}
.destinations__more a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius-md);
    background: #FCA32D; color: var(--white);
    font-size: 15px; font-weight: 600; transition: all 0.3s var(--ease);
}
.destinations__more a:hover {
    background: #D48A15; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(252,163,45,0.3);
}
.destinations--archive { padding: 48px 0 80px; background: var(--bg); }
.destinations--archive .section-label,
.destinations--archive .section-title { color: var(--ocean-deep); }
.destinations--archive .section-subtitle { color: var(--text-sec); }
.destinations__grid--archive {
    grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.destinations__grid--archive .dest-card { height: 220px; }
.destinations__grid--archive .dest-card--featured { grid-column: span 1; height: 220px; }

/* Pagination */
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.nav-links a, .nav-links span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px;
    border-radius: var(--radius-md); font-size: 15px; font-weight: 600;
    border: 1px solid var(--border); color: var(--text); background: var(--white);
    transition: all 0.3s var(--ease);
}
.nav-links a:hover { background: var(--ocean-mid); color: var(--white); border-color: var(--ocean-mid); }
.nav-links .current { background: var(--ocean-deep); color: var(--white); border-color: var(--ocean-deep); }
.dest-card__season {
    font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px;
}

/* ===== Why Us ===== */
.why-us { padding: 48px 0; background: var(--bg); }
.why-us__header { text-align: center; margin-bottom: 28px; }
.why-us__header .section-subtitle { margin: 0 auto; }
.why-us__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transition: transform 0.4s var(--ease); transform-origin: left;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-card__icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--ocean-foam), var(--ocean-mist));
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; transition: all 0.4s var(--ease);
}
.why-card:hover .why-card__icon {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    transform: scale(1.1);
}
.why-card__title { font-size: 16px; font-weight: 700; color: var(--ocean-deep); margin-bottom: 8px; }
.why-card__desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--ocean-deep); padding: 48px 0;
    position: relative; overflow: hidden;
}
.stats-bar::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(212,168,67,0.05) 0%, transparent 50%, rgba(212,168,67,0.05) 100%);
}
.stats-bar .container { position: relative; z-index: 2; }
.stats-bar__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stats-bar__num {
    font-family: var(--font-display); font-size: 48px; font-weight: 700;
    color: var(--gold-light); line-height: 1; margin-bottom: 8px;
}
.stats-bar__label { font-size: 14px; color: rgba(255,255,255,0.55); }

/* ===== Reviews ===== */
.reviews { padding: 48px 0; background: var(--white); }
.reviews__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 40px;
}
.reviews__all-link {
    font-size: 14px; font-weight: 600; color: var(--ocean-mid);
    border-bottom: 1px dashed var(--border); padding-bottom: 2px;
}
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== News ===== */
/* ===== News (Front Page) ===== */
.news { padding: 48px 0; background: var(--bg); }
.news__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 40px;
}
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news__all-link {
    font-size: 14px; font-weight: 600; color: var(--ocean-mid);
    border-bottom: 1px dashed var(--border); padding-bottom: 2px;
}

/* ===== CTA Banner ===== */
.cta-banner {
    position: relative; padding: 48px 0; overflow: hidden;
}
.cta-banner__bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1920&q=80') center/cover no-repeat;
    filter: brightness(0.5);
}
.cta-banner__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(30,73,118,0.88), rgba(26,58,92,0.85));
}
.cta-banner__content {
    position: relative; z-index: 2; text-align: center;
    max-width: 600px; margin: 0 auto;
}
.cta-banner__title {
    font-family: var(--font-display); font-size: 28px;
    font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.cta-banner__desc {
    font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px;
}
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
    padding: 16px 36px; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all 0.3s var(--ease); border: none;
    display: inline-flex; align-items: center; gap: 10px;
}
.cta-btn--gold {
    background: #FCA32D; color: var(--white);
}
.cta-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(252,163,45,0.4); background: #D48A15; }
.cta-btn--outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}
.cta-btn--outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* ===== WordPress Specific ===== */
.wp-block-image img { border-radius: var(--radius-lg); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px); position: absolute; width: 1px; height: 1px;
    overflow: hidden; white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
    .header__phones { display: none; }
    .hero__layout--wide { grid-template-columns: 1fr auto; gap: 32px; }
    .form-layout { grid-template-columns: 1fr 340px; gap: 28px; }
    .destinations__grid { grid-template-columns: repeat(3, 1fr); }
    .dest-card--featured { grid-column: span 1; }
    .destinations__grid--archive { grid-template-columns: repeat(3, 1fr); }
    .destinations__grid--archive .dest-card { height: 220px; }
    .why-us__grid { grid-template-columns: repeat(2, 1fr); }
    .reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .dest-card--desktop-only { display: none; }
    .hero { min-height: auto; align-items: stretch; }
    .hero__layout--wide { grid-template-columns: 1fr; text-align: center; }
    .hero__title { font-size: 28px; }
    .hero__desc { margin: 0 auto 20px; font-size: 15px; }
    .hero__info-row { justify-content: center; gap: 12px; }
    .hero__info-item { font-size: 12px; }
    .hero__actions { width: 100%; }
    .hero__cta { width: 100%; max-width: 300px; }
    .hero__phone-link { display: none; }
    .hero__phone-sub { display: none; }
    .hero__search { padding: 16px; margin-top: 20px; }
    .form-layout { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .budget-options { grid-template-columns: repeat(2, 1fr); }
    .country-info-grid { grid-template-columns: 1fr; }
    .destinations__grid { grid-template-columns: repeat(2, 1fr); }
    .dest-card--featured { grid-column: span 1; }
    .destinations__grid--archive { grid-template-columns: repeat(2, 1fr); }
    .destinations__grid--archive .dest-card { height: 200px; }
    .why-us__grid { grid-template-columns: 1fr 1fr; }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .reviews__grid { grid-template-columns: 1fr; }
    .news__grid { grid-template-columns: 1fr; }
    .news-archive__grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .page-hero { min-height: 240px; }
    .page-hero__bg { display: none; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .hero__container { padding: 36px 20px 40px; }
    .destinations__grid { grid-template-columns: repeat(2, 1fr); }
    .dest-card { height: 180px; }
    .dest-card--featured { grid-column: span 1; height: 180px; }
    .destinations__grid--archive { grid-template-columns: repeat(2, 1fr); }
    .destinations__grid--archive .dest-card { height: 160px; }
    .why-us__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .footer__legal { justify-content: center; }
}

/* Выделение пункта Медицинский туризм */
.nav li.menu-highlight-med > a {
    border: 2px solid #2EAD6D; color: #2EAD6D; font-weight: 600;
    padding: 6px 13px; border-radius: 8px;
}
.nav li.menu-highlight-med > a:hover {
    background: #2EAD6D; color: #fff;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--ocean-deep); border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 24px rgba(30,73,118,0.3);
    animation: fadeUp 0.4s ease;
}
.cookie-banner.active { display: block; }
.cookie-banner__content {
    max-width: 1200px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1; font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; min-width: 280px;
}
.cookie-banner__text a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--white); }
.cookie-banner__btn {
    padding: 10px 24px; background: var(--cta-orange); color: var(--white);
    border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: all 0.3s var(--ease); white-space: nowrap;
}
.cookie-banner__btn:hover { background: var(--cta-orange-dark); }

/* ===== Page Content (правовые страницы) ===== */
.page-content {
    max-width: 800px; padding-top: 40px; padding-bottom: 60px;
}
.page-content h2 {
    font-family: var(--font-display); font-size: 24px; color: var(--ocean-deep);
    margin: 36px 0 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.page-content h2:first-child { border-top: none; padding-top: 0; }
.page-content h3 {
    font-size: 18px; font-weight: 700; color: var(--ocean-deep); margin: 24px 0 10px;
}
.page-content p {
    font-size: 15px; color: var(--text-sec); line-height: 1.8; margin-bottom: 14px;
}
.page-content ul, .page-content ol {
    margin: 12px 0 20px 24px; color: var(--text-sec); font-size: 15px; line-height: 1.8;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--ocean-bright); font-weight: 500; }
.page-content a:hover { text-decoration: underline; }
.page-content strong { color: var(--text); }
.page-content__meta {
    margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-muted);
}
@media (max-width: 768px) {
    .cookie-banner__content { flex-direction: column; text-align: center; }
}
