/* Публичная часть сайта — креативный дизайн в бразильской тематике */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: #ff0000;
    --color-primary-dark: #cc0000;
    --color-secondary: #0077be;
    --color-secondary-dark: #005f9e;
    --color-accent-yellow: #ffde03;
    --color-accent-green: #9acd32;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #f8fafc;
    --color-bg-white: #ffffff;
    --color-border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
    --container-narrow: 900px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif, Arial;
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin: 10px 0 15px 20px;
}

li {
    margin: 8px 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-yellow) 0%, var(--color-accent-green) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Top Header ===== */
.top-header {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 12px 0;
    position: relative;
    z-index: 1001;
}

.top-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: #fff;
    line-height: 1.1;
    text-decoration: none;
}

.top-header__logo:hover .top-header__logo-brand {
    color: var(--color-accent-yellow);
}

.top-header__logo-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.top-header__logo-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.top-header__lang {
    display: flex;
    gap: 6px;
}

.top-header__lang a {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
}

.top-header__lang a:hover,
.top-header__lang a.active {
    background: var(--color-accent-yellow);
    color: #1f2937;
    border-color: var(--color-accent-yellow);
}

.top-header__controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-header__currency {
    display: flex;
    gap: 6px;
}

.top-header__currency a {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    text-transform: uppercase;
}

.top-header__currency a:hover,
.top-header__currency a.active {
    background: var(--color-accent-green);
    color: #1f2937;
    border-color: var(--color-accent-green);
}

/* ===== Navigation ===== */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.main-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.main-nav__logo {
    font-size: 1.3rem;
    display: none;
}

.main-nav__items {
    display: flex;
    gap: 8px;
}

.main-nav__link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 30px;
    position: relative;
}

.main-nav__link:hover {
    background: rgba(0, 119, 190, 0.08);
    color: var(--color-secondary);
}

.main-nav__link.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,0,0,0.25);
}

.main-nav__cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.main-nav__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.main-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.main-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: #fff;
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-section__bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 222, 3, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 119, 190, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-section__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-section__pretitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-section__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-section__subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-section__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-3px);
}

.hero-stat__label-top,
.hero-stat__label-bottom {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.85;
}

.hero-stat__label-top {
    margin-bottom: 6px;
}

.hero-stat__value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--color-accent-yellow) 0%, var(--color-accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-section__photo-link {
    display: inline-block;
    border-radius: 50%;
    text-decoration: none;
    line-height: 0;
}

.hero-section__photo {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.15);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-section__decor {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 222, 3, 0.3);
    animation: rotate 30s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge--vegan {
    background: #2dc26b;
    color: #fff;
}

.badge--secondary {
    background: #e2e8f0;
    color: #334155;
}

.badge--primary {
    background: var(--color-primary, #ff0000);
    color: #fff;
}

.badge--accent {
    background: linear-gradient(135deg, var(--color-accent-yellow, #f59e0b) 0%, var(--color-accent-green, #10b981) 100%);
    color: #fff;
}

.card-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.card-item__badges--overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    z-index: 20;
    justify-content: flex-end;
}

.tip-types-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tip-types-filter a {
    text-decoration: none;
}

.card-item__tip-types,
.item-detail__tip-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.4);
}

.btn--secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,119,190,0.3);
}

.btn--secondary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,119,190,0.4);
}

.home-section--tours .section-header__tag {
    color: var(--color-primary);
}

.home-section--services .card-item__footer .btn--primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    box-shadow: 0 4px 15px rgba(0,119,190,0.3);
}

.home-section--services .card-item__footer .btn--primary:hover {
    box-shadow: 0 8px 20px rgba(0,119,190,0.4);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.card-item__badges--overlay .badge {
    padding: 4px 8px;
    font-size: 0.7rem;
}

.badge--glass {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

/* ===== Section Headers ===== */
.home-section {
    padding: 80px 0;
}

.home-section:nth-child(even) {
    background: var(--color-bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header__tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(0,119,190,0.1) 100%);
    color: var(--color-secondary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-header__subtitle {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.home-section__intro {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px;
    color: var(--color-text-light);
}

/* ===== About Block ===== */
.about-block {
    max-width: 800px;
    margin: 0 auto;
}

.about-block .photo-about {
    float: left;
    margin: 0 25px 20px 0;
    border-radius: var(--radius);
    width: 200px;
    box-shadow: var(--shadow-lg);
}

.about-block::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.cards-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.cards-grid--guide {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card-item__image--guide {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.card-item__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.9;
}

.card-item--guide .card-item__image-link:has(.card-item__image-placeholder) {
    pointer-events: none;
}

.card-item--guide .card-item__title {
    font-size: 1.25rem;
}

.card-item--guide .card-item__body {
    padding: 22px;
}

.card-item {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-item__image-link {
    display: block;
    overflow: hidden;
}

.card-item__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.card-item__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-item__slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 5s linear;
}

.card-item__slider-img.is-active {
    transform: scale(1.12);
    opacity: 1;
}

.card-item__slider-img.is-fading {
    opacity: 0;
}

.card-item:hover .card-item__slider-img.is-active {
    transform: scale(1.15);
}

.card-item:hover .card-item__image img {
    transform: scale(1.08);
}

.card-item__badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-item__tip-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 24px);
}

.card-item__tip-badge {
    background: rgba(226, 232, 240, 0.95);
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-item__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-item__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-item__title a {
    color: var(--color-text);
}

.card-item__title a:hover {
    color: var(--color-secondary);
}

.card-item__meta {
    margin-bottom: 12px;
}

.card-item__duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 0.85rem;
    background: rgba(0,119,190,0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.card-item__tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.card-item__tour-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 11px;
    border-radius: 20px;
    line-height: 1.3;
}

.card-item__text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.card-item__footer {
    margin-top: auto;
}

.cards-grid--home .card-item__footer,
.card-list .card-item__footer {
    text-align: right;
}

/* ===== Page Header Section ===== */
.page-header-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 60px 0 80px;
    overflow: hidden;
}

.page-header-section__bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 222, 3, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.page-header-section .container {
    position: relative;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.8);
}

.breadcrumbs a:hover {
    color: var(--color-accent-yellow);
}

.breadcrumbs__sep {
    opacity: 0.5;
}

.page-header-section__title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header-section__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

/* ===== Page Section ===== */
.page-section {
    padding: 60px 0 80px;
}

.page-content {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius);
}

.page-content__cta {
    margin: 40px 0;
    padding: 40px;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.page-content::after {
    content: "";
    display: table;
    clear: both;
}

.page-content__image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
}

.page-blocks {
    margin-top: 40px;
}

.page-block {
    background: var(--color-bg-white);
    padding: 30px 40px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.page-block__title {
    margin: 0 0 20px;
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.page-block__content > *:first-child {
    margin-top: 0;
}

.page-block__content > *:last-child {
    margin-bottom: 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    margin-top: 30px;
    margin-bottom: 16px;
}

.page-content h2 {
    color: var(--color-secondary);
    font-size: 1.6rem;
}

.page-content h3 {
    color: var(--color-text);
    font-size: 1.3rem;
}

.page-content img {
    border-radius: var(--radius-sm);
    margin: 15px 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content th,
.page-content td {
    border: 1px solid var(--color-border);
    padding: 12px;
}

.page-content th {
    background: rgba(0,119,190,0.08);
}

/* ===== Item Detail ===== */
.item-detail {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.item-detail__image {
    height: 400px;
    overflow: hidden;
}

.item-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-detail__body {
    padding: 40px;
}

.item-detail__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text);
}

.item-detail__content {
    margin-bottom: 40px;
}

.item-detail__form {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.item-detail__cta {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

/* ===== Tour Accordion ===== */
.tour-accordion {
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tour-accordion__item {
    border-bottom: 1px solid var(--color-border);
}

.tour-accordion__item:last-child {
    border-bottom: none;
}

.tour-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: var(--color-bg);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--color-text);
}

.tour-accordion__header:hover {
    background: #e2e8f0;
}

.tour-accordion__header[aria-expanded="true"] {
    background: #dbeafe;
}

.tour-accordion__icon {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.tour-accordion__header[aria-expanded="true"] .tour-accordion__icon {
    transform: rotate(45deg);
}

.tour-accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    background: var(--color-bg-white);
}

.tour-accordion__panel.is-open {
    grid-template-rows: 1fr;
}

.tour-accordion__panel-inner {
    overflow: hidden;
    min-height: 0;
}

.tour-accordion__content {
    padding: 20px 24px;
    line-height: 1.7;
}

.tour-accordion__content p:last-child {
    margin-bottom: 0;
}

/* ===== Item Properties ===== */
.item-properties {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.item-property {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-bg);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    min-width: 200px;
}

.item-property--highlight {
    background: linear-gradient(135deg, rgba(255,0,0,0.05) 0%, rgba(255,0,0,0.1) 100%);
    border-color: rgba(255,0,0,0.2);
}

.item-property__icon {
    font-size: 1.5rem;
}

.item-property__content {
    display: flex;
    flex-direction: column;
}

.item-property__label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-property__value {
    font-weight: 600;
    color: var(--color-text);
}

.item-property--highlight .item-property__value {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ===== Gallery ===== */
.item-gallery {
    margin: 40px 0;
}

.item-gallery__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-grid__item {
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid__item:hover img {
    transform: scale(1.08);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox__stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 80px;
}

.lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 32px;
    line-height: 1;
    border-radius: 50%;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: var(--radius-sm);
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

.lightbox__nav.is-hidden {
    display: none;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lightbox__stage {
        padding: 70px 20px;
    }

    .lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.filter-bar__item {
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
}

.filter-bar__item:hover {
    background: rgba(0,119,190,0.08);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.filter-bar__item.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: #fff;
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0,119,190,0.25);
}

/* ===== Contacts Block ===== */
.contacts-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-block__info {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.contacts-block__intro {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.contacts-block__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.contact-card:hover {
    background: rgba(0,119,190,0.05);
    border-color: var(--color-secondary);
    color: var(--color-text);
}

.contact-card__icon {
    font-size: 1.6rem;
}

.contact-card__title {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.contact-card__value {
    font-weight: 600;
    font-size: 1rem;
}

.contacts-block__form {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.contacts-block--home,
.contacts-block--page {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}

.contacts-block--page .contacts-block__info {
    display: flex;
    flex-direction: column;
}

.contacts-block--page .contacts-block__info .page-content {
    margin-top: 10px;
}

.contacts-social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.contacts-social__title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--color-secondary);
}

.contacts-social__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contacts-social__list a {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.contacts-social__list a:hover {
    transform: translateY(-3px);
}

.contacts-social__list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Forms ===== */
.lead-form-container {
    padding: 0;
}

.lead-form-container h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    background: var(--color-bg);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,119,190,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== Sitemap ===== */
.sitemap {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.sitemap__section {
    margin-bottom: 30px;
}

.sitemap__title {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
}

.sitemap__list {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.sitemap__list li {
    margin: 0;
}

.sitemap__list a {
    color: var(--color-text);
    padding: 6px 0;
    display: inline-block;
}

.sitemap__list a:hover {
    color: var(--color-secondary);
    padding-left: 8px;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 160px 0 30px;
    position: relative;
}

.site-footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--color-bg);
    clip-path: polygon(0 0, 100% 0, 100% 0, 50% 100%, 0 0);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-accent-yellow);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-logo:hover {
    color: var(--color-accent-yellow);
}

.footer-logo__icon {
    font-size: 1.5rem;
}

.footer-about {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent-yellow);
    transform: translateY(-3px);
}

.footer-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-menu,
.footer-contacts {
    list-style: none;
    margin: 0;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.footer-menu li,
.footer-contacts li {
    margin: 0;
}

.footer-menu a,
.footer-contacts a {
    color: rgba(255,255,255,0.8);
    display: inline-block;
}

.footer-menu a:hover,
.footer-contacts a:hover {
    color: var(--color-accent-yellow);
    padding-left: 5px;
}

.footer-contacts__label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-extra-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.30);
}

.whatsapp-float svg {
    width: 100%;
    height: 100%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--color-accent-yellow);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* ===== Mobile Bottom Nav ===== */
#mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1001;
    border-top: 1px solid rgba(255,255,255,0.1);
}

#mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 6px 10px;
    transition: all 0.3s;
}

#mobile-bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: currentColor;
}

#mobile-bottom-nav .nav-item:hover,
#mobile-bottom-nav .nav-item:focus {
    color: var(--color-accent-yellow);
    transform: translateY(-2px);
}

#mobile-menu-popup {
    position: fixed;
    bottom: 75px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    visibility: hidden;
    transition: all 0.3s ease;
}

#mobile-menu-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

#mobile-menu-popup-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

#mobile-menu-popup-content a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

#mobile-menu-popup-content a svg {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

#mobile-menu-popup-content a:hover {
    background: rgba(0,119,190,0.1);
}

/* ===== Alerts ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
    background: var(--color-bg-white);
    border-radius: var(--radius);
    border: 1px dashed var(--color-border);
}

/* ===== Video Wrapper ===== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: var(--radius-sm);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-wrapper.youtube-lazy {
    cursor: pointer;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.youtube-lazy__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
    transition: transform 0.2s ease;
}

.video-wrapper.youtube-lazy:hover .youtube-lazy__play,
.video-wrapper.youtube-lazy:focus .youtube-lazy__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-lazy__play svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-section__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-section__title {
        font-size: 2.2rem;
    }
    
    .hero-section__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-section__actions {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .hero-stat {
        padding: 12px 8px;
    }
    
    .hero-stat__value {
        font-size: 1.25rem;
    }
    
    .hero-stat__label-top,
    .hero-stat__label-bottom {
        font-size: 0.65rem;
    }
    
    .hero-section__photo {
        width: 280px;
        height: 280px;
    }
    
    .hero-section__decor {
        width: 320px;
        height: 320px;
    }
    
    .contacts-block {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 700px) {
    body {
        padding-bottom: 70px;
    }
    
    .top-header {
        padding: 8px 0;
    }
    
    .top-header__logo-brand {
        font-size: 1.05rem;
        letter-spacing: 0.3px;
    }
    
    .top-header__controls {
        gap: 10px;
    }
    
    .top-header__lang a,
    .top-header__currency a {
        padding: 3px 7px;
        font-size: 10px;
    }
    
    .top-header__logo-sub {
        display: none;
    }
    
    .main-nav__items,
    .main-nav__cta {
        display: none;
    }
    
    .main-nav__logo {
        display: block;
    }
    
    .main-nav__toggle {
        display: flex;
    }
    
    .main-nav__items.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
    }
    
    #mobile-bottom-nav {
        display: flex;
    }
    
    .whatsapp-float {
        right: auto;
        left: 20px;
        bottom: 85px;
    }
    
    /* --- Секции: убираем большие вертикальные отступы --- */
    .hero-section {
        padding: 32px 0 40px;
    }

    .hero-section__inner {
        gap: 20px;
    }

    .home-section {
        padding: 36px 0;
    }

    .section-header {
        margin-bottom: 22px;
    }

    .home-section__intro {
        margin: 0 auto 16px;
    }

    .page-header-section {
        padding: 24px 0 32px;
    }

    .page-section {
        padding: 28px 0 36px;
    }

    .site-footer {
        padding: 72px 0 16px;
    }

    .footer-grid {
        margin-bottom: 24px;
    }

    .filter-bar {
        padding: 12px;
        margin-bottom: 16px;
        gap: 8px;
    }

    .page-content__cta {
        padding: 20px;
        margin: 20px 0;
    }

    /* --- Типографика --- */
    .hero-section__title {
        font-size: 1.8rem;
    }

    .section-header__title {
        font-size: 1.7rem;
    }

    .page-header-section__title {
        font-size: 1.9rem;
    }

    /* --- Сетки --- */
    .cards-grid,
    .cards-grid--home {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* --- Блоки --- */
    .page-content,
    .contacts-block__info,
    .contacts-block__form,
    .sitemap,
    .item-detail__body {
        padding: 20px;
    }

    .item-detail__image {
        height: 250px;
    }

    .item-properties {
        flex-direction: column;
    }

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

    /* --- Футер --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-about {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-contacts li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* --- Прочее --- */
    .about-block .photo-about {
        float: none;
        display: block;
        margin: 0 auto 16px;
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 400px) {
    .hero-section__photo {
        width: 220px;
        height: 220px;
    }
    
    .hero-section__decor {
        width: 260px;
        height: 260px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.heli-main-content {
    margin-bottom: 40px;
}

/* Карточки разделов страницы вертолёта */
.heli-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .heli-sections {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .heli-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .heli-sections {
        grid-template-columns: 1fr;
    }
}

.heli-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.heli-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.heli-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.heli-card__title a {
    color: var(--color-text);
}

.heli-card__title a:hover {
    color: var(--color-primary);
}

.heli-card__preview {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.heli-card__preview p {
    margin: 0;
}

.heli-card .btn {
    align-self: flex-start;
}

.heli-block-nav {
    margin-top: 30px;
    margin-bottom: 20px;
}

.heli-block-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

@media (max-width: 576px) {
    .heli-block-title {
        font-size: 22px;
    }
}


/* ===== Guide detail ===== */
.guide-detail {
    max-width: 860px;
    margin: 0 auto;
}
.guide-detail__header {
    margin-bottom: 30px;
}
.guide-detail__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
}
.guide-detail__breadcrumbs-link {
    color: var(--color-primary);
    text-decoration: none;
}
.guide-detail__breadcrumbs-link:hover {
    text-decoration: underline;
}
.guide-detail__breadcrumbs-sep {
    opacity: 0.5;
}
.guide-detail__breadcrumbs-current {
    color: rgba(0, 0, 0, 0.7);
}
.guide-detail__title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--color-text);
}
.guide-detail__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}
.guide-detail__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}
.guide-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}
.guide-detail__body {
    margin-bottom: 40px;
}
.guide-detail__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}
.guide-detail__content h2,
.guide-detail__content h3,
.guide-detail__content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}
.guide-detail__content p {
    margin-bottom: 1.1em;
}
.guide-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.2em 0;
}
.guide-detail__content ul,
.guide-detail__content ol {
    margin-bottom: 1.2em;
    padding-left: 1.4em;
}
.guide-detail__content li {
    margin-bottom: 0.4em;
}
.guide-detail__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 30px;
}
.guide-detail__gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
.guide-detail__gallery-item:hover {
    transform: translateY(-4px);
}
.guide-detail__gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.guide-detail__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}
.guide-detail__nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.25s ease;
}
.guide-detail__nav-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.guide-detail__nav-link--prev {
    text-align: left;
}
.guide-detail__nav-link--next {
    text-align: right;
}
.guide-detail__nav-link--back {
    text-align: center;
    background: linear-gradient(135deg, var(--color-accent-yellow) 0%, var(--color-accent-green) 100%);
    border-color: transparent;
    color: #1f2937;
    font-weight: 700;
}
.guide-detail__nav-link--back:hover {
    background: linear-gradient(135deg, #f0c040 0%, #3cb371 100%);
    color: #1f2937;
}
.guide-detail__nav-link--empty {
    visibility: hidden;
    pointer-events: none;
}
.guide-detail__nav-label {
    font-size: 0.8rem;
    opacity: 0.7;
}
.guide-detail__nav-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .guide-detail__title {
        font-size: 1.7rem;
    }
    .guide-detail__lead {
        font-size: 1rem;
    }
    .guide-detail__nav {
        grid-template-columns: 1fr 1fr;
    }
    .guide-detail__nav-link--back {
        grid-column: 1 / -1;
        order: -1;
    }
    .guide-detail__nav-link--prev,
    .guide-detail__nav-link--next {
        text-align: center;
    }
    .guide-detail__gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Калькулятор валют */
.currency-calculator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.currency-calculator__title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.currency-calculator__lead {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

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

@media (max-width: 900px) {
    .currency-calc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .currency-calc-grid {
        grid-template-columns: 1fr;
    }
}

.currency-calc-item {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.currency-calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.currency-calc-label strong {
    font-size: 1.1rem;
    color: var(--dark);
}

.currency-calc-label span {
    color: var(--gray);
    font-size: 0.9rem;
}

.currency-calc-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    box-sizing: border-box;
}

.currency-calc-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 640px) {
    .currency-calculator__title {
        font-size: 1.5rem;
    }
    .currency-calc-grid {
        grid-template-columns: 1fr;
    }
}
