

/* Start:/ecotourism/style.css?178912012639201*/
/* /ecotourism/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background: #FAF8F0;
    color: #333;
    overflow-x: hidden;
}

.page-content {
  background-color: #FAF8F0 !important;
}

.description-text {
    text-align: justify;
}

/* ---------- HERO SECTION ---------- */
.ecotourism-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background: #FAF8F0;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.ecotourism-hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-green {
    color: #2ECC71;
    display: block;
}

.title-pink {
    color: #FF6B9D;
    display: block;
}

.ecotourism-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.btn-pink {
    background: #FF6B9D;
    color: #fff;
    border-color: #FF6B9D;
}

.btn-pink:hover {
    background: #ff5289;
    border-color: #ff5289;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

.btn-green-outline {
    background: transparent;
    color: #2ECC71;
    border-color: #2ECC71;
}

.btn-green-outline:hover {
    background: #2ECC71;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.hero-chart {
    flex: 0 0 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.circular-chart {
    width: 220px;
    height: 220px;
    animation: rotateChart 20s linear infinite;
    position: relative;
    z-index: 1;
}

@keyframes rotateChart {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---------- STATS SECTION ---------- */
.ecotourism-stats {
    padding: 0 80px 80px;
    background: #FAF8F0;
}

.stats-container {
    max-width: 100%;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    border-top: 2px solid #D0D0D0;
}

.stat-item {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border-left: 2px solid #D0D0D0;
}

.stat-item:first-child {
    border-left: none;
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
}

.stat-number.green {
    color: #2ECC71;
}

.stat-number.pink {
    color: #FF6B9D;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

/* ---------- DESCRIPTION SECTION ---------- */
.ecotourism-description {
    padding: 60px 80px;
    background: #FAF8F0;
}

.description-container {
    max-width: 100%;
    margin: 0 auto;
}

.description-header {
    display: inline-block;
    background: #fff;
    padding: 25px 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.description-header span {
    display: block;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.desc-green {
    color: #2ECC71;
    margin-bottom: 6px;
}

.desc-pink {
    color: #FF6B9D;
}

.description-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.description-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.highlight-pink {
    color: #FF6B9D;
    font-weight: 700;
}

.highlight-green {
    color: #2ECC71;
    font-weight: 700;
}

/* ---------- PROTECTED SECTION ---------- */
.ecotourism-protected {
    padding: 60px 80px 100px;
    background: #FAF8F0;
}

.protected-container {
    max-width: 1200px;
    margin: 0 auto;
}

.protected-header {
    display: inline-block;
    background: #fff;
    padding: 25px 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.protected-header span {
    display: block;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.prot-green {
    color: #2ECC71;
    margin-bottom: 6px;
}

.prot-pink {
    color: #FF6B9D;
}

.protected-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.protected-item {
    background: transparent;
    overflow: hidden;
}

.protected-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.protected-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60px;
}

.protected-item-info {
    padding: 20px 10px 0;
    text-align: center;
}

.protected-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
}

.protected-item-region {
    font-size: 15px;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.protected-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.protected-item-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ---------- FOOTER BLOCK ---------- */
.ecotourism-footer-block {
    padding: 60px 80px;
    background: #FAF8F0;
    text-align: center;
}

.footer-text {
    display: inline-block;
    background: #fff;
    padding: 30px 60px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.footer-green,
.footer-pink {
    display: block;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-green {
    color: #2ECC71;
    margin-bottom: 8px;
}

.footer-pink {
    color: #FF6B9D;
}

/* ---------- ROUTES SECTION ---------- */
.ecotourism-routes {
    padding: 0px 80px 100px;
    background: #FAF8F0;
}

.routes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.routes-header {
    display: inline-block;
    background: #fff;
    padding: 25px 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.routes-header span {
    display: block;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.routes-green {
    color: #2ECC71;
    margin-bottom: 6px;
}

.routes-pink {
    color: #FF6B9D;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.route-item {
    background: transparent;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
}

.route-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 40px;
}

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

.route-item-info {
    padding: 20px 10px 0;
    text-align: center;
}

.route-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.route-item-preview {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ---------- ROUTE POPUP ---------- */
.route-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 248, 240, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.route-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.route-popup-content {
    background: #fff;
    border-radius: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 60px 70px 70px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.route-popup-overlay.active .route-popup-content {
    transform: translateY(0);
}

.route-popup-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #FF6B9D;
    background: transparent;
    color: #FF6B9D;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
}

.route-popup-close:hover {
    background: transparent;
    color: #FF6B9D;
}

.route-popup-image-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 35px;
    overflow: hidden;
}

.route-popup-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 43px;
    object-fit: cover;
}

.route-popup-title {
    font-size: 20px;
    font-weight: 500;
    color: #616161;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-popup-park {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-popup-type {
    font-size: 16px;
    font-weight: 700;
    color: #2ECC71;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 8px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-popup-name {
    font-size: 20px;
    font-weight: 900;
    color: #FF6B9D;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-popup-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 35px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-popup-description p {
    margin-bottom: 15px;
}

.route-popup-description p:last-child {
    margin-bottom: 0;
}

.route-popup-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #FF6B9D;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.route-popup-btn:hover {
    background: #ff5289;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

/* ---------- VIDEOS SECTION ---------- */
.ecotourism-videos {
    padding: 0px 80px 100px;
    background: #FAF8F0;
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-header {
    display: inline-block;
    background: #fff;
    padding: 25px 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.videos-header span {
    display: block;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.videos-green {
    color: #2ECC71;
    margin-bottom: 6px;
}

.videos-pink {
    color: #FF6B9D;
}

.video-category {
    margin-bottom: 60px;
}

.video-category:last-child {
    margin-bottom: 0;
}

.video-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.video-carousel-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    width: auto;
    height: auto;
    min-width: 80px;
    min-height: 45px;
}

.video-carousel-btn:hover {
    opacity: 0.7;
}

.video-carousel-btn svg {
    width: 122px;
    height: 45px;
}

.video-carousel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.video-item {
    display: none;
}

.video-item.active {
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
    display: block;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.video-thumbnail:hover .video-play-overlay {
    background: rgba(0,0,0,0.5);
}

.video-play-btn {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 0 35px 60px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .video-play-btn {
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 40px;
    display: none;
    background: #000;
}

.video-category-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    text-align: left;
    margin-left: 152px;
}

/* ---------- QR SECTION ---------- */
.ecotourism-qr {
    padding: 0px 80px 100px;
    background: #FAF8F0;
}

.qr-container {
    max-width: 1200px;
    margin: 0 auto;
}

.qr-header {
    display: inline-block;
    background: #fff;
    padding: 25px 50px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.qr-header span {
    display: block;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.qr-green {
    color: #2ECC71;
    margin-bottom: 6px;
}

.qr-pink {
    color: #FF6B9D;
}

.qr-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
    text-align: left;
}

.qr-codes-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.qr-item {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    min-width: 400px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.qr-code {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

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

.qr-info {
    text-align: left;
}

.qr-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.qr-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.qr-link:hover {
    color: #FF6B9D;
}

.qr-mobile-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.qr-mobile-btn {
    display: inline-block;
    padding: 18px 40px;
    border: 3px solid #2ECC71;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
	line-height: 1.5;
    color: #333;
    text-decoration: none;
    text-align: center;
    background: transparent;
    transition: all 0.3s ease;
    max-width: 320px;
    width: 100%;
}

.qr-mobile-btn:hover {
    background: #2ECC71;
    color: #fff;
}

/* ---------- ECOTOURISM HEADER ---------- */
.ecotourism-header {
    background: #FAF8F0;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ecotourism-header-container {
    max-width: 100%; /* ИЗМЕНЕНО С 1400px НА 100% */
    padding: 0 40px 0 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ecotourism-header-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.ecotourism-header-logo-item {
    display: flex;
    align-items: center;
}

.ecotourism-header-logo-img,
.ecotourism-header-logo-item svg {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.ecotourism-header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.ecotourism-header-link {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.ecotourism-header-link:hover {
    color: #FF6B9D;
}

.ecotourism-header-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #FF6B9D;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ecotourism-header-lang span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ---------- RESPONSIVE ---------- */

/* Large screens (1920px+) */
@media screen and (min-width: 1920px) {
    .page-header__content { display: none !important; }
    .ecotourism-hero-title { font-size: 118px !important; line-height: 1.15 !important; }
    .ecotourism-hero { padding: 80px 120px; }
    .hero-chart { flex: 0 0 320px; }
    .circular-chart { width: 300px; height: 300px; }
    .ecotourism-header-container { max-width: 100%; padding: 0 40px 0 20px; }
    .ecotourism-header-logo-img, .ecotourism-header-logo-item svg { height: 70px; }
}

/* Medium screens (1200px and below) */
@media (max-width: 1199px) {
    .ecotourism-header { padding: 20px 30px; }
    .ecotourism-header-container { gap: 15px; }
    .ecotourism-header-logos { gap: 10px; }
    
    .ecotourism-header-logo-img,
    .ecotourism-header-logo-item svg {
        max-height: 50px;
        height: auto;
        width: auto;
        object-fit: contain;
    }
    
    .ecotourism-header-nav { gap: 20px; margin-left: 20px; }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .ecotourism-hero { padding: 40px; text-align: left; }
    .hero-content { max-width: 100%; margin-bottom: 0; }
    .ecotourism-hero-title { font-size: 48px; align-items: flex-start; }
    .ecotourism-buttons { justify-content: flex-start; }
    .hero-chart { flex: 0 0 auto; }
    .circular-chart { width: 180px; height: 180px; }
    .ecotourism-stats { padding: 0 40px 60px; }
    .stats-grid { grid-template-columns: 1fr 1fr; border-top: 2px solid #D0D0D0; }
    .stat-item { padding: 40px 30px; border-left: 2px solid #D0D0D0; border-top: 2px solid #D0D0D0; }
    .stat-item:nth-child(odd) { border-left: none; }
    .stat-item:nth-child(-n+2) { border-top: none; }
    .ecotourism-description { padding: 40px; }
    .description-content { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
    .ecotourism-protected { padding: 40px; }
    .protected-grid { gap: 30px; }
    .protected-item-image { height: 260px; }
    .ecotourism-routes { padding: 60px 40px; }
    .routes-grid { gap: 30px; }
    .route-popup-content { padding: 45px 40px 55px; }
    .ecotourism-videos { padding: 60px 40px; }
    .video-thumbnail, .video-player { height: 400px; }
    .ecotourism-qr { padding: 60px 40px; }
    .qr-codes-wrapper { gap: 40px; }
    .qr-item { min-width: 350px; }

    /* --- FIX HEADER for Tablet (800-1024px) --- */
    .ecotourism-header { padding: 20px 30px; }
    .ecotourism-header-container { gap: 15px; }
    .ecotourism-header-logos { gap: 10px; }
    
    .ecotourism-header-logo-item { justify-content: center; }
    
    .ecotourism-header-logo-img,
    .ecotourism-header-logo-item svg {
        max-width: 100%;
        height: auto;
        max-height: 50px;
        object-fit: contain;
    }
    
    .ecotourism-header-nav { gap: 20px; margin-left: 20px;}
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .ecotourism-hero { min-height: auto; padding: 15px 20px; text-align: left; }
    .hero-content { max-width: 100%; margin-bottom: 0; }
    .ecotourism-hero-title { font-size: 36px; align-items: flex-start; margin-bottom: 20px; }
    .ecotourism-buttons { flex-direction: column; align-items: stretch; gap: 8px; }
    .btn { padding: 16px 32px; font-size: 16px; width: 100%; text-align: center; max-width: 100%; }
    .hero-chart { flex: 0 0 auto; width: 200px; }
    .circular-chart { width: 180px; height: 180px; }
    .ecotourism-stats { padding: 0 20px 40px; }
    .stats-grid { grid-template-columns: 1fr; border-top: 2px solid #D0D0D0; }
    .stat-item { padding: 40px 30px; border-left: none !important; border-top: 2px solid #D0D0D0 !important; }
    .stat-item:first-child { border-top: none !important; }
    .stat-number { font-size: 40px; }
    .stat-label { font-size: 15px; }
    .ecotourism-description { padding: 30px 20px; }
    .description-header, .protected-header { padding: 20px 30px; margin-bottom: 30px; }
    .description-header span, .protected-header span { font-size: 18px; }
    .description-content { padding: 25px; }
    .description-text p { font-size: 15px; }
    .ecotourism-protected { padding: 30px 20px; }
    .protected-grid { grid-template-columns: 1fr; gap: 30px; }
    .protected-item-image { height: 250px; }
    .protected-item-name { font-size: 12px; }
    .routes-header { padding: 20px 30px; margin-bottom: 30px; }
    .routes-header span { font-size: 18px; }
    .routes-grid { grid-template-columns: 1fr; gap: 30px; }
    .route-item-image { height: 250px; }
    .route-popup-content { padding: 40px 25px 45px; border-radius: 30px; }
    .route-popup-close { top: 15px; right: 15px; width: 36px; height: 36px; font-size: 24px; }
    .route-popup-image-wrapper { max-width: 320px; }
    .route-popup-title { font-size: 18px; margin-bottom: 20px; line-height: 1.3; text-align: center; }
    .route-popup-park { font-size: 13px; margin-bottom: 15px; }
    .route-popup-type { font-size: 15px; margin-bottom: 10px; text-align: center; }
    .route-popup-name { font-size: 18px; margin-bottom: 25px; text-align: center; }
    .route-popup-description { font-size: 14px; line-height: 1.6; }
    .videos-header { padding: 20px 30px; margin-bottom: 30px; }
    .videos-header span { font-size: 28px; }
    .video-carousel-wrapper { gap: 15px; justify-content: center; }
    .video-carousel-btn { min-width: auto; min-height: auto; width: auto; height: auto; }
    .video-carousel-btn svg { width: 24px; height: 24px; }
    .video-thumbnail, .video-player { width: 100%; max-width: 285px; height: 204px; border-radius: 39px; margin: 0 auto; }
    .video-play-btn { border-width: 30px 0 30px 50px; }
    .video-category-name { font-size: 15px; margin-left: calc(39px + (100% - 363px) / 2); }
    .qr-header { padding: 20px 30px; margin-bottom: 30px; }
    .qr-header span { font-size: 28px; }
    .qr-header .qr-green { display: none; }
    .qr-header .qr-pink { display: none; }
    .qr-header::before { content: 'ПОЛЕЗНЫЕ'; display: block; font-size: 28px; font-weight: 900; text-transform: uppercase; color: #2ECC71; line-height: 1.2; margin-bottom: 6px; }
    .qr-header::after { content: 'ССЫЛКИ'; display: block; font-size: 28px; font-weight: 900; text-transform: uppercase; color: #FF6B9D; line-height: 1.2; }
    .qr-subtitle { display: none; }
    .qr-codes-wrapper { display: none; }
    .qr-mobile-links { display: flex; }

    /* --- FIX HEADER for Mobile (up to 768px) --- */
    .ecotourism-header { padding: 15px 20px; }
    .ecotourism-header-container { gap: 10px; }
    .ecotourism-header-logos { gap: 10px; }

    .ecotourism-header-logo-item {
        min-width: 33%;
        flex-shrink: 1;
        justify-content: center;
    }

    .ecotourism-header-logo-img,
    .ecotourism-header-logo-item svg {
        max-width: 100%;
        height: auto;
        max-height: 40px;
        object-fit: contain;
    }

    .ecotourism-header-nav { display: none; }
    .ecotourism-header-lang { flex-shrink: 0; padding: 8px 12px; border-radius: 20px; }
    .ecotourism-header-lang span { display: none; }
    .ecotourism-header-link { font-size: 14px; }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
    .ecotourism-hero { min-height: auto; padding: 10px 15px; }
    .ecotourism-hero-title { font-size: 28px; margin-bottom: 15px; }
    .btn { padding: 14px 24px; font-size: 15px; }
    .ecotourism-buttons { gap: 6px; }
    .hero-chart { width: 160px; }
    .circular-chart { width: 140px; height: 140px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 14px; }
    .description-header span, .protected-header span { font-size: 20px; }
    .description-text p { font-size: 14px; }
    .protected-item-image { height: 220px; }
    .protected-item-name { font-size: 12px; }
    .protected-item-region { font-size: 14px; }
    .routes-header span { font-size: 20px; }
    .route-item-image { height: 220px; }
    .route-popup-content { padding: 30px 20px 40px; }
    .route-popup-close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
    .route-popup-image-wrapper { max-width: 260px; }
    .route-popup-title { font-size: 16px; margin-bottom: 18px; }
    .route-popup-park { font-size: 12px; margin-bottom: 12px; }
    .route-popup-type { font-size: 14px; margin-bottom: 8px; }
    .route-popup-name { font-size: 16px; margin-bottom: 20px; }
    .route-popup-description { font-size: 13px; line-height: 1.5; }
    .route-popup-btn { width: 100%; text-align: center; }
    .videos-header span { font-size: 24px; }
    .video-carousel-btn { min-width: 40px; min-height: 30px; }
    .video-carousel-btn svg { width: 18px; height: 18px; }
    .video-thumbnail, .video-player { width: 100%; max-width: 285px; height: 204px; border-radius: 39px; margin: 0 auto; }
    .video-carousel-wrapper { gap: 8px; }
    .video-category-name { margin-left: calc(26px + (100% - 337px) / 2); }
    .qr-header { padding: 20px 30px; }
    .qr-header::before, .qr-header::after { font-size: 24px; }
    .qr-mobile-btn { padding: 16px 30px; font-size: 15px; }

    /* --- FIX HEADER for Small Mobile (up to 480px) --- */
    .ecotourism-header-logo-item {
        min-width: 33%;
        flex-shrink: 1;
    }
    .ecotourism-header-logo-img,
    .ecotourism-header-logo-item svg {
        max-width: 100%;
        height: auto;
        max-height: 35px;
        object-fit: contain;
    }
}

/* =====================================================================
   ПРАВКИ 11.09.2026 — по списку заказчика
   1) Логотипы в шапке (ПК и мобильный) — по макету: одна линия, размеры из Figma
   2) Основной знак на первом экране — по макету, без искажения пропорций
   3) Видео на мобильном — один размер плашки и плеера, как в макете
   Значения высот взяты из макета при ширине 1920:
   Минприроды 83px, Росзаповедцентр 56px, ВФМ (ru) 74px, WYF (en) 80px
   ===================================================================== */

.ecotourism-header {
    --logo-k: 1;
}

.ecotourism-header-logos {
    display: flex;
    align-items: center;
    gap: calc(32px * var(--logo-k));
    flex: 0 1 auto;
    min-width: 0;
}

.ecotourism-header-logos .ecotourism-header-logo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    flex: 0 0 auto;
}

/* Русская версия: логотипы-картинки */
.ecotourism-header-logos .ecotourism-header-logo-item img {
    width: auto;
    max-width: none;
    object-fit: contain;
}
.ecotourism-header-logos .ecotourism-header-logo-item:nth-child(1) img {
    height: calc(83px * var(--logo-k));
}
.ecotourism-header-logos .ecotourism-header-logo-item:nth-child(2) img {
    height: calc(56px * var(--logo-k));
}

/* Логотипы, вставленные как inline-svg (ru: ВФМ 225x74; en: три штуки) */
.ecotourism-header-logos .ecotourism-header-logo-item svg {
    width: auto;
    max-width: none;
}
.ecotourism-header-logos .ecotourism-header-logo-item svg[width="225"] {
    height: calc(74px * var(--logo-k));
    /* в макете знак ВФМ приподнят: его надпись стоит на общей линии с
       «Росзаповедцентром» и Минприроды, а круглый значок выступает вверх */
    transform: translateY(calc(-16px * var(--logo-k)));
}
.ecotourism-header-logos .ecotourism-header-logo-item svg[width="311"] { height: calc(132px * var(--logo-k)); }
.ecotourism-header-logos .ecotourism-header-logo-item svg[width="247"] { height: calc(56px * var(--logo-k)); }
.ecotourism-header-logos .ecotourism-header-logo-item svg[width="167"] {
    height: calc(80px * var(--logo-k));
    transform: translateY(calc(-21px * var(--logo-k)));   /* англ. WORLD YOUTH FESTIVAL — то же по макету */
}

@media (max-width: 1919px) { .ecotourism-header { --logo-k: 0.75; } }
@media (max-width: 1600px) { .ecotourism-header { --logo-k: 0.62; } }
@media (max-width: 1366px) { .ecotourism-header { --logo-k: 0.50; } }
@media (max-width: 1024px) { .ecotourism-header { --logo-k: 0.40; } }
@media (max-width: 960px)  { .ecotourism-header { --logo-k: 0.34; } }
@media (max-width: 880px)  { .ecotourism-header { --logo-k: 0.28; } }
@media (max-width: 800px)  { .ecotourism-header { --logo-k: 0.24; } }
@media (max-width: 768px)  { .ecotourism-header { --logo-k: 0.34; } }
@media (max-width: 480px)  { .ecotourism-header { --logo-k: 0.31; } }
@media (max-width: 380px)  { .ecotourism-header { --logo-k: 0.28; } }

/* На мобильном боковые поля шапки — как в макете (13px), иначе логотипы
   упираются в переключатель языка */
@media (max-width: 768px) {
    .ecotourism-header { padding: 14px 14px; }
    .ecotourism-header .ecotourism-header-container { padding: 0; gap: 10px; }
    .ecotourism-header-logos { gap: calc(30px * var(--logo-k)); }
}

/* Переключатель языка не должен наезжать на логотипы */
.ecotourism-header-container .ecotourism-header-lang { flex: 0 0 auto; }

/* --- Основной знак на первом экране --- */
.ecotourism-hero .hero-chart {
    flex: 0 0 auto;
    width: auto;
}
.ecotourism-hero .hero-chart > svg {
    display: block;
    width: clamp(140px, 33vw, 635px);
    height: auto;
}
@media (min-width: 1920px) {
    .ecotourism-hero .hero-chart { margin-right: 42px; }
}
@media (max-width: 768px) {
    .ecotourism-hero .hero-chart > svg { width: 32vw; }
}

/* --- Видео на мобильном: плашка и плеер одного размера, как в макете --- */
@media (max-width: 768px) {
    .ecotourism-videos { padding: 40px 16px 60px; }
    .videos-container .video-carousel-wrapper { gap: 5px; justify-content: space-between; }
    .videos-container .video-carousel-btn { min-width: 26px; min-height: 26px; width: 26px; height: 26px; flex: 0 0 26px; }
    .videos-container .video-carousel-btn svg { width: 26px; height: 26px; }
    .videos-container .video-carousel { flex: 1 1 auto; min-width: 0; }
    .videos-container .video-thumbnail,
    .videos-container .video-player {
        width: 100%;
        max-width: 420px;      /* на планшете плашка не растягивается во всю ширину */
        height: auto;
        aspect-ratio: 283 / 205;
        border-radius: 24px;
        margin: 0 auto;
    }
    .videos-container .video-player { object-fit: cover; }
    /* подпись — ровно под левым краем плашки */
    .videos-container .video-category-name {
        margin-left: max(31px, calc(31px + (100% - 482px) / 2));
        margin-top: 14px;
        font-size: 14px;
    }
}
@media (max-width: 380px) {
    .ecotourism-videos { padding: 32px 12px 48px; }
    .videos-container .video-carousel-btn { min-width: 22px; width: 22px; flex: 0 0 22px; }
    .videos-container .video-carousel-btn svg { width: 22px; height: 22px; }
    .videos-container .video-category-name { margin-left: 27px; }
}

/* Подвал: копирайт в шаблоне позиционирован абсолютом по центру строки
   (position:absolute; left:50%), поэтому длинная строка FSBI "Roszapovedcenter"
   наезжала на соседние ссылки. Возвращаем его в поток — только на этой странице. */
@media (min-width: 768px) {
    .footer__info-panel-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: nowrap;
    }
    .footer__info-panel-content .footer__copyright {
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        white-space: nowrap;
    }
}
@media (max-width: 767px) {
    .footer__info-panel-content .footer__copyright { left: 6vw; max-width: 60vw; }
}

/* --- Переключатель языка на мобильном: по макету это пилюля «глобус + RU»,
       а не голый кружок с иконкой (span скрывали целиком) --- */
.ecotourism-header-lang .lang-short { display: none; }
@media (max-width: 768px) {
    .ecotourism-header .ecotourism-header-lang {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        border-width: 1.5px;
        border-radius: 20px;
        height: auto;
    }
    .ecotourism-header .ecotourism-header-lang svg { width: 15px; height: 15px; flex: 0 0 15px; }
    .ecotourism-header .ecotourism-header-lang .lang-full { display: none; }
    .ecotourism-header .ecotourism-header-lang .lang-short {
        display: inline;
        font-size: 12px;
        font-weight: 600;
        color: #EB5793;
        text-decoration: none;
        line-height: 1;
    }
}

/* --- Превью роликов: кадр из видео вместо чёрной плашки --- */
.videos-container .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.videos-container .video-thumbnail .video-play-overlay { background: rgba(0,0,0,0.28); }
.videos-container .video-thumbnail:hover .video-play-overlay { background: rgba(0,0,0,0.42); }

/* в макете подпись в пилюле языка без подчёркивания */
.ecotourism-header .ecotourism-header-lang,
.ecotourism-header .ecotourism-header-lang span { text-decoration: none; }

/* --- Первый экран на мобильном: кнопки по ширине текста и в одну строку,
       как в макете (сейчас растягивались на всю ширину и текст ломался) --- */
@media (max-width: 768px) {
    .ecotourism-hero .ecotourism-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ecotourism-hero .ecotourism-buttons .btn {
        width: auto;
        max-width: 100%;
        white-space: nowrap;
        padding: 12px 24px;
        font-size: 14px;
        border-width: 2px;
    }
}
@media (max-width: 380px) {
    .ecotourism-hero .ecotourism-buttons .btn { font-size: 13px; padding: 11px 20px; }
}

/* Англ. версия: логотипы вынесены из base64 в обычные картинки (страница стала легче на 300 КБ).
   Третий логотип (World Youth Festival) — те же размеры и подъём, что и у русского значка ВФМ. */
.ecotourism-header-logos .ecotourism-header-logo-item:nth-child(3) img {
    height: calc(80px * var(--logo-k));
    transform: translateY(calc(-21px * var(--logo-k)));
}

/* Подписи под фото в «Заповедных территориях» и «Маршрутах» на мобильном
   были разного кегля (12 и 14 px) — приводим к одному. */
@media (max-width: 1024px) {
    .routes-grid .route-item-name { font-size: 12px; }
}
@media (max-width: 480px) {
    .routes-grid .route-item-name { font-size: 12px; }
}

/* На мобильном заголовок блока со ссылками зашит прямо в CSS (::before/::after)
   и поэтому на английской версии выводился по-русски. Для en-страницы даём перевод. */
@media (max-width: 768px) {
    html[lang="en"] .qr-header::before { content: 'USEFUL'; }
    html[lang="en"] .qr-header::after { content: 'LINKS'; }
}

/* --- Ролики на десктопе: размеры плашки по макету (в макете 1073x819 при ширине 1920,
       стрелки 121 px по бокам). Было 896x500 — другая пропорция. --- */
@media (min-width: 769px) {
    .videos-container { max-width: 1364px; }
    .videos-container .video-carousel-wrapper { gap: 25px; }
    .videos-container .video-carousel-btn { min-width: 121px; }
    .videos-container .video-thumbnail,
    .videos-container .video-player {
        width: 100%;
        height: auto;
        aspect-ratio: 1073 / 819;
    }
    .videos-container .video-category-name { margin-left: 146px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .videos-container { max-width: 100%; }
    .videos-container .video-carousel-btn { min-width: 60px; }
    .videos-container .video-carousel-btn svg { width: 60px; height: 24px; }
    .videos-container .video-category-name { margin-left: 85px; }
}

/* --- Кнопка Play: в макете треугольник занимает 10% ширины плашки (1073 -> 102x140).
       На мобильном был вдвое крупнее макета. Масштабируем от ширины экрана. --- */
@media (min-width: 769px) {
    .videos-container .video-play-btn {
        border-width: 3.65vw 0 3.65vw 5.3vw;
        max-width: none;
    }
}
@media (max-width: 768px) {
    .videos-container .video-play-btn { border-width: 5.2vw 0 5.2vw 7.6vw; }
}

@media (min-width: 481px) and (max-width: 768px) {
    /* на планшетах плашка ограничена 420 px — держим ту же долю для кнопки */
    .videos-container .video-play-btn { border-width: 28px 0 28px 42px; }
}

/* Подпись под роликом и скругление плашки — как в макете (подпись серая, не чёрная) */
.videos-container .video-category-name { color: #767676; font-weight: 500; }
@media (max-width: 768px) {
    .videos-container .video-thumbnail,
    .videos-container .video-player { border-radius: 36px; }
}

/* End */


/* Start:/local/templates/main/styles.css?1788873476463*/
.fullscreen-section__item-title a {	
	color:#fff;
	text-decoration: none;	
}


.fullscreen-section__item-title a:hover {
	text-decoration: underline;	
}

/* ---------- АДАПТИВНЫЙ БАННЕР (дополнение) ---------- */
.banner {
    padding-top: 70px; /* отступ под мобильное меню */
}

@media (min-width: 1024px) {
    .banner {
        padding-top: 177px; /* отступ под десктопное меню */
    }
}
/* End */
/* /ecotourism/style.css?178912012639201 */
/* /local/templates/main/styles.css?1788873476463 */
