/* Splash Screen */

/* Responsive splash */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Театральная палитра */
    --bg-primary: #f9ead3;
    --bg-secondary: #efe0cb;
    --ink: #0c0c0c;
    --muted: #565656;
    --deep-green: #033220;
    --dark-burgundy: #4e0204;
    --border-color: #d7c8b2;
    --shadow-sm: 0 2px 4px rgba(3, 50, 32, 0.08);
    --shadow-md: 0 8px 16px rgba(3, 50, 32, 0.12);
    --shadow-lg: 0 18px 40px rgba(3, 50, 32, 0.18);
}

body {
    font-family: Georgia, 'Georgia', serif;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    font-display: swap;
}

/* Цветовые схемы для разных секций */

/* Адаптация элементов к смене цветов */

/* Адаптация галерей к смене цветов */

/* Шрифты для заголовков: Oswald (бесплатная альтернатива) или Druk Cyr (платный) */
 .hero-title, .section-title, h1, h2, h3, .logo {
    font-family: 'Oswald', 'Arial Narrow', Arial, 'Arial', sans-serif;
    /* Если у вас есть Druk Cyr, замените 'Oswald', 'Arial Narrow', Arial на 'Druk Cyr' */
    letter-spacing: 0.5px;
    font-display: swap;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */

a { color: var(--deep-green); text-decoration: none; }
a:hover { text-decoration: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary { background: var(--deep-green); color: #fff; box-shadow: var(--shadow-md); }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary { 
    background: linear-gradient(135deg, #0e4a2b 0%, #1a5f3f 100%); 
    color: white; 
    border: 2px solid transparent; 
    box-shadow: 0 8px 22px rgba(13,66,39,.22);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1a5f3f 0%, #0e4a2b 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13,66,39,.35);
}

.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--deep-green); }

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header { position: relative; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; }

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.header:hover::before {
    opacity: 1;
}

.nav { display:flex; align-items:center; justify-content:space-between; padding: 18px 24px; max-width: 1280px; margin:0 auto; }

@media (max-width: 1280px) {
    .nav-links { gap: 16px; }
    .nav-link { font-size: 17px; }
}

@media (max-width: 1100px) {
    .nav-links { gap: 12px; }
    .nav-link { font-size: 15px; }
}

.nav-brand .logo { font-size: 40px; font-weight: 900; color: #0d4227; letter-spacing:.6px; position:relative; }

.nav-brand .logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d4227;
    transition: width 0.3s ease;
}

.nav-brand .logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link { text-decoration:none; color: #0d4227; font-weight:600; font-size: 20px; position:relative; font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; letter-spacing: 1px; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d4227;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}




















/* Hero Section */
.hero {
    min-height: 90vh;
    /* display: flex;
    align-items: center; */
    background: #f9ead3;
    z-index: 1;
    position: relative;
    overflow: visible;
    padding: 80px 0;
    /* background: linear-gradient(145deg, #f6e9d3 0%, #efe1cb 50%, #f4d8b2 100%); */
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-top: 0;
}

.hero-title { font-size: 5rem; font-weight: 900; line-height: .95; margin-bottom: 24px; animation: slideInLeft 1s ease-out 0.1s both; text-shadow: none; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 1;
    font-weight: 600;
    color: white;
}

/* Статичное шахматное расположение справа */

/* Accent variants to make cards brighter */

/* Interactive Sparkles */










/* ============================
   HERO LIGHT STRIPES - Netflix Style (Infinite)
============================ */
  
  
  /* слой под контентом */
  
  /* Световые полосы */
  
  /* Основная анимация движения */
  /* @keyframes stripeFlow {
    0% {
      transform: translateX(0) scaleY(1);
      opacity: 0.6;
    }
    25% {
      transform: translateX(var(--moveX1)) scaleY(1.1);
      opacity: 0.8;
    }
    50% {
      transform: translateX(var(--moveX2)) scaleY(0.9);
      opacity: 0.5;
    }
    75% {
      transform: translateX(calc(var(--moveX2) * -1)) scaleY(1.05);
      opacity: 0.7;
    }
    100% {
      transform: translateX(0) scaleY(1);
      opacity: 0.6;
    }
  } */
  
  /* Мягкое свечение */
  /* @keyframes stripeGlow {
    0% { filter: blur(5px) brightness(0.9); }
    50% { filter: blur(7px) brightness(1.3); }
    100% { filter: blur(5px) brightness(1); }
  } */
  
  /* Разные направления и скорости */
  /* .light-stripe:nth-child(odd) {
    --moveX1: -20px;
    --moveX2: -40px;
    animation-delay: calc(var(--index) * 0.1s);
  }
  .light-stripe:nth-child(even) {
    --moveX1: 20px;
    --moveX2: 40px;
    animation-delay: calc(var(--index) * 0.15s);
  } */
  
  /* Разнообразие временных интервалов для динамики */
  /* .light-stripe:nth-child(3n) { animation-duration: 14s, 7s; }
  .light-stripe:nth-child(4n) { animation-duration: 10s, 8s; }
  .light-stripe:nth-child(5n) { animation-duration: 16s, 9s; } */
  
  /* Контент поверх */
  .hero-container {
    position: relative;
    z-index: 5;
  }
  
  /* Ограничение движения на слабых устройствах */
  




































/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title { font-size: 3rem; font-weight: 900; margin-bottom: 16px; color: var(--ink); }

.section-subtitle { font-size: 1.1rem; color: var(--muted); max-width: 760px; margin: 0 auto; text-align: center; }

/* Features Section */
.features { 
    padding: 120px 0; 
    position: relative; 
    overflow: hidden; 
    /* background: linear-gradient(135deg, #f9ead3 0%, #efe0cb 50%, #f9ead3 100%); */
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(circle at 20% 20%, rgba(3, 50, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 2, 4, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.04) 0%, transparent 70%); */
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #033220 0%, #0a4d2e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 24px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 24px rgba(3, 50, 32, 0.25);
}

/* About Section */
.about { padding: 80px 0; position: relative; overflow: hidden; }

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background:
        radial-gradient(circle at 30% 70%, rgba(3,50,32,0.06) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(78,2,4,0.06) 0%, transparent 60%); */
    z-index: 1;
    animation: aboutGlow 12s ease-in-out infinite;
}

@keyframes aboutGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* About mosaic gallery */
.about-gallery { display:grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; gap: 12px; width: 100%; }
.about-gallery .tile { position: relative; overflow:hidden; border-radius: 16px; box-shadow: var(--shadow-md); }
.about-gallery .tile img { 
    width:100%; 
    height:100%; 
    object-fit: cover; 
    display:block; 
    transition: transform .4s ease; 
    cursor: pointer;
    position: relative;
}

.about-gallery .tile:hover img { 
    transform: scale(1.06); 
}

/* Индикатор кликабельности для about изображений */
.about-gallery .tile img::after {
    content: '⤢';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    transform: rotate(45deg);
}

.about-gallery .tile:hover img::after {
    opacity: 1;
    transform: rotate(45deg) scale(1.1);
}
.about-gallery .tile-big { grid-column: span 3; grid-row: span 3; }
.about-gallery .tile-tall { grid-column: span 2; grid-row: span 3; }
.about-gallery .tile-wide { grid-column: span 3; grid-row: span 2; }

/* About numbers styling */
.about-stat-number { font-size: 3rem; font-weight: 900; margin-bottom: 6px; line-height: 1; color: #0d4227; letter-spacing: .5px; }
.about .stat .stat-label { color: #374151; font-weight: 700; }

/* About concept block */
.about-concept { margin-top: 0px; }
.concept-title { font-size: 1.6rem; font-weight: 900; color: var(--ink); margin-bottom: 32px; }
.concept-list { list-style:none; padding:0; margin:0; display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 18px; }
.concept-item { display:flex; gap:12px; align-items:flex-start; padding:4px 0; }
.concept-number { flex-shrink:0; line-height:1; font-size: 1.8rem; font-weight: 300; color:#0d4227; }
.concept-heading { margin: 0 0 4px; font-size: 1rem; font-weight: 800; color:#0f172a; text-transform: none; letter-spacing:.2px; }
 .concept-item p { color: var(--muted); margin:0; }

@media (max-width: 900px) {
    .about-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 80px; }
    .about-gallery .tile-big { grid-column: span 4; grid-row: span 3; }
    .about-gallery .tile-tall { grid-column: span 2; grid-row: span 3; }
    .about-gallery .tile-wide { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 560px) {
    .about-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 90px; }
    .about-gallery .tile-big { grid-column: span 2; grid-row: span 3; }
    .about-gallery .tile-tall { grid-column: span 2; grid-row: span 2; }
    .about-gallery .tile-wide { grid-column: span 2; grid-row: span 2; }
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Events Section */
.events { padding: 60px 0; position: relative; overflow: hidden; }

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 70%); */
    z-index: 1;
}

.events .container {
    position: relative;
    z-index: 2;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Цветовые вариации карточек событий */
.event-card.bg-green { background: #033220; color: #fff; border-color: rgba(255,255,255,0.12); }
.event-card.bg-gray { background: #565656; color: #fff; border-color: rgba(255,255,255,0.12); }
.event-card.bg-burgundy { background: #4e0204; color: #fff; border-color: rgba(255,255,255,0.12); }

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.02) 0%, 
        rgba(236, 72, 153, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Event Header */
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 10px;
    position: relative;
    gap: 20px;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.2;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.event-description {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 400;
}

.event-info-blocks {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

/* Date Block */
.date-block {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    min-width: 70px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
}

.date-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .date-block {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.event-card:hover .date-block::before {
    opacity: 1;
}

.date-block .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 1px;
}

.date-block .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1;
    color: #fff;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Details Block */
.details-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 140px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.detail-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateX(3px);
}

.detail-item i {
    font-size: 0.9rem;
    opacity: 0.8;
    min-width: 14px;
    text-align: center;
}

/* Event Media */
.event-media {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 0 20px 15px;
    margin: 0;
}

.event-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.1);
}

.event-photo:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

/* Event Footer */
.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    gap: 20px;
}

/* Event Tags */
.event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.event-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.event-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Event Action */
.event-action {
    flex-shrink: 0;
}

.btn-event-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-event-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-event-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-event-details:hover::before {
    left: 100%;
}

.btn-event-details:hover::after {
    opacity: 1;
}

.btn-event-details:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-event-details .btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-event-details i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-event-details:hover i {
    transform: translateX(3px);
}

/* Photo Modal */

/* Video Modal */

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 40px;
    box-sizing: border-box;
}

.modal-content img {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: block;
}

.modal-content video {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: block;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10002;
}

/* Format Section */
.format {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.format::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(3, 50, 32, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(78, 2, 4, 0.06) 0%, transparent 60%);
    z-index: 1;
}

.format .container {
    position: relative;
    z-index: 2;
}

.format-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.title-cooperation {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.format-description {
    flex: 2;
    background: center/cover no-repeat;
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

.format-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(3, 50, 32, 0.3) 100%
    );
    z-index: 1;
}

.format-description > * {
    position: relative;
    z-index: 2;
}

.format-description .section-title {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 18px;
    font-size: 2.5rem;
    font-weight: 900;
}

.format-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 32px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.format-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInFromBottom 0.6s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;    
    color: #f3f3f3;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.no-bg {
    background: none;
    border: none;
    backdrop-filter: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.format-cta-section {
    flex: 1;
    background: linear-gradient(
        135deg,
        var(--deep-green) 0%,
        #0a5e35 50%,
        #033220 100%
    );
    padding: 50px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

.format-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.format-cta-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 28px;
    line-height: 1.2;
    text-align: center;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    position: relative;
    z-index: 2;
}

.format-cta-subtitle {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 900;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
}

.contacts-grid {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInFromBottom 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.5s; }
.contact-item:nth-child(2) { animation-delay: 0.6s; }
.contact-item:nth-child(3) { animation-delay: 0.7s; }
.contact-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInFromBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
}

/* QR Code Block */
.qr-code-block {
    margin-top: 10px;
    padding-top: 0px;
}

.qr-code-icon {
    border-radius: 7px;
}

.qr-code-placeholder {
    padding: 20px;
    padding-bottom: 0px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-code-placeholder:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact { padding: 140px 0; background: #f9ead3; position: relative; overflow: hidden; }

/* Team Section */
.team { padding: 0; margin: 0; }

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(3, 50, 32, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 75% 25%, rgba(78, 2, 4, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.04) 0%, transparent 70%);
    z-index: 1;
    animation: contactGlow 10s ease-in-out infinite;
}

@keyframes contactGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.contact .container {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer { 
    /* background: linear-gradient(135deg, #faf8f4 0%, #f4f0e8 50%, #efeae1 100%);  */
    color: var(--ink); 
    padding: 80px 0 28px; 
    position: relative; 
    overflow: hidden; 
    border-top: 2px solid rgba(13, 66, 39, 0.08);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(13, 66, 39, 0.2) 20%, 
        rgba(13, 66, 39, 0.4) 50%, 
        rgba(13, 66, 39, 0.2) 80%, 
        transparent 100%);
    z-index: 2;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Navigation Map Styles */

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 18px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; background: transparent; border-radius: 0; margin-top: 24px; }

.footer-brand .logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-green) 0%, #0a5e35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 16px;
}

/* Footer phone - prominent CTA */

/* New Footer Styles */

.footer-main { display:grid; grid-template-columns: 1.2fr 2fr; gap: 64px; margin-bottom: 44px; }

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo { font-size: 3.2rem; font-weight: 900; color: var(--ink); margin-bottom: 10px; letter-spacing: 0.65px; }

.footer-description { font-size: 1rem; line-height: 1.7; color: var(--muted); margin-bottom: 4px; padding: 0; font-weight: 400; max-width: 520px; }

.footer-column h4 { font-size: 1.15rem; font-weight: 900; margin-bottom: 18px; color: var(--ink); letter-spacing: .02em; text-transform: uppercase; }

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column a { color: var(--deep-green); text-decoration: none; font-size: 0.95rem; transition: color .2s ease, transform .2s ease; padding: 3px 0; display: inline-block; border-bottom: 2px solid transparent; }

.footer-column a:hover { color: #0c0c0c; transform: translateX(4px); border-bottom-color: #0c0c0c; }

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 18px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; background: transparent; border-radius: 0; }

.mb-0 {
    margin-bottom: 0px!important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        padding: 0;
        gap: 12px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
        z-index: 1001;
    }
    
    .nav { position: relative; }
    .nav-links.active { opacity: 1; transform: translateY(0); pointer-events: auto; padding: 14px 18px; }
    .nav-link { padding: 8px 2px; }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .about-visual {
        margin-top: 20px;
    }
    
    .event-card {
        border-radius: 20px;
    }
    
    .event-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 18px 8px;
        gap: 12px;
    }
    
    .event-content {
        margin-bottom: 12px;
    }
    
    .event-info-blocks {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    
    .details-block {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
    }
    
    .detail-item {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .event-media {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 0 18px 12px;
    }
    
    .event-photo {
        height: 150px;
    }
    
    .event-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0 18px 15px;
    }
    
    .event-tags {
        justify-content: center;
        gap: 6px;
    }
    
    .event-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .btn-event-details {
        padding: 8px 16px;
        font-size: 0.8rem;
        min-width: 110px;
    }
    
    .events-grid {
        max-width: 100%;
        padding: 20px 0;
        gap: 30px;
    }
    
    .modal-navigation {
        display: none;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-content img {
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 40px);
    }
    
    .modal-content video {
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 40px);
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    /* Адаптивные стили для двухколоночной структуры */
    .gastro-text-top,
    .masquerade-text-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gastro-text-left .about-description,
    .gastro-text-right .about-description,
    .masquerade-text-left .about-description,
    .masquerade-text-right .about-description,
    .gastro-text-bottom .about-description,
    .masquerade-text-bottom .about-description {
        text-indent: 0;
        text-align: left;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand .logo {
        font-size: 2rem;
    }
    
    .footer-description {
        font-size: 1.2rem;
        padding: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .format-content {
        flex-direction: column;
    }
    
    .format-description {
        flex: none;
        padding: 40px 24px;
        min-height: 350px;
    }
    
    .format-cta-section {
        flex: none;
        padding: 40px 24px;
        min-height: auto;
    }
    
    .format-cta-title {
        font-size: 1.6rem;
    }
    
    .format-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .feature-text {
        max-width: none;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .event-card {
        border-radius: 16px;
    }
    
    .event-header {
        padding: 15px 15px 6px;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    
    .event-description {
        font-size: 0.85rem;
    }
    
    .date-block {
        padding: 8px 12px;
        min-width: 50px;
    }
    
    .date-block .day {
        font-size: 1.3rem;
    }
    
    .date-block .month {
        font-size: 0.7rem;
    }
    
    .event-media {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
        padding: 0 15px 10px;
    }
    
    .event-photo {
        height: 120px;
    }
    
    .event-footer {
        gap: 10px;
        padding: 0 15px 12px;
    }
    
    .event-tags {
        gap: 4px;
    }
    
    .event-tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .btn-event-details {
        padding: 7px 14px;
        font-size: 0.75rem;
        min-width: 100px;
    }
    
    .about-content {
        padding: 0 15px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--deep-green);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(3, 50, 32, 0.3);
    transition: all 0.3s ease;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #0a5e35;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(3, 50, 32, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}































/* ============================
   HERO FINAL VERSION (SEO + ADAPTIVE)
============================ */
  
  /* Световые акценты */
  
  /* Основная сетка */
  .hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    z-index: 2;
    margin-top: 40px;
  }
  
  /* Левая часть */
  .hero-title {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 24px;
    color: #0b0b0b;
  }
  .hero-title span {
    color: #0d4227;
  }
  .hero-text {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 36px;
  }
  .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* Правая часть */
  .hero-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  /* Галерея */
  .hero-gallery {
    position: absolute;
    top: 50%;
    right: 380px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
  }
  
  .hero-gallery img {
    width: 248px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
    position: relative;
  }
  .hero-gallery img:nth-child(1) { 
    transform: translateX(15%); 
    object-position: 50% 30%;
  }
  .hero-gallery img:nth-child(2) { transform: translateX(15%); }
  .hero-gallery img:nth-child(3) { transform: translateX(15%); }
  
  .hero-gallery img:hover {
    transform: scale(1.05);
    opacity: 1;
    z-index: 3;
  }

  /* Индикатор кликабельности для hero изображений */
  .hero-gallery img::after {
      content: '⤢';
      position: absolute;
      top: 12px;
      right: 12px;
      width: 32px;
      height: 32px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: bold;
      opacity: 0;
      transition: all 0.3s ease;
      pointer-events: none;
      transform: rotate(45deg);
  }

  .hero-gallery img:hover::after {
      opacity: 1;
      transform: rotate(45deg) scale(1.1);
  }
  
  /* Дашборд */
  .hero-dashboard {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    padding: 28px;
    backdrop-filter: blur(12px);
    width: 420px;
    margin-right: -60px;
  }
  
  /* Метрики */
  .hero-metrics {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    text-align: center;
    margin-bottom: 20px;
  }
  .metric {
    flex: 1;
    min-width: 0;
  }
  .metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0d4227;
    line-height: 1.1;
  }
  .metric-label {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.25;
  }
  
  /* События */
  .hero-events h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
  }
  
  .hero-events .btn {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    max-width: 300px;
  }

  .hero-events h2 {
    text-align: center;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  
  #animatedTitle {
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
  }
  
  /* Event Types List */
  
  .event-type-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #0d4227;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(13, 66, 39, 0.1);
    text-align: center;
    font-family: Georgia, 'Georgia', serif;
  }
  
  .event-type-btn:last-child {
    border-bottom: none;
  }
  
  .event-type-btn:hover {
    background: linear-gradient(90deg, rgba(13, 66, 39, 0.05), rgba(13, 66, 39, 0.02));
    color: #0d4227;
    padding-left: 24px;
  }
  
  .event-type-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #0e4a2b, #1a5f3f);
    transition: width 0.3s ease;
  }
  
  .event-type-btn:hover::before {
    width: 4px;
  }
  
  .event-type-btn::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 600;
  }
  
  .event-type-btn:hover::after {
    opacity: 1;
    right: 16px;
  }
  
  /* Hero events block - unified card style */
  .hero-events-block {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .hero-event-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, rgba(13, 66, 39, 0.06) 0%, rgba(26, 95, 63, 0.04) 100%);
    border: 2px solid rgba(13, 66, 39, 0.15);
    border-radius: 14px;
    text-decoration: none;
    color: #0d4227;
    transition: all 0.3s ease;
    position: relative;
    min-height: 72px;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
  }
  
  .hero-event-card:hover {
    background: linear-gradient(135deg, rgba(13, 66, 39, 0.1) 0%, rgba(26, 95, 63, 0.06) 100%);
    border-color: rgba(13, 66, 39, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 50, 32, 0.12);
  }
  
  .hero-event-visual {
    position: relative;
    flex: 0 0 64px;
    min-height: 72px;
    overflow: hidden;
  }
  
  .hero-event-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .hero-event-card:hover .hero-event-visual img {
    transform: scale(1.08);
  }
  
  .hero-event-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #0d4227;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 4px 12px rgba(3, 50, 32, 0.2);
  }
  
  .hero-event-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 12px;
    flex: 1;
    position: relative;
    min-width: 0;
  }
  
  .hero-event-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 66, 39, 0.7);
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  }
  
  .hero-event-title {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-weight: 900;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    line-height: 1.15;
  }
  
  .hero-event-action {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(13, 66, 39, 0.1);
    border: 1px solid rgba(13, 66, 39, 0.18);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0d4227;
    pointer-events: none;
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  
  .hero-event-card:hover .hero-event-action {
    background: rgba(13, 66, 39, 0.16);
    border-color: rgba(13, 66, 39, 0.28);
  }
  
  /* Event Modal */
  .event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .event-modal.active {
    display: flex;
    opacity: 1;
  }
  
  .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
  }
  
  .event-modal .modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 16px !important;
    max-width: 900px !important;
    width: min(900px, 92vw) !important;
    height: auto !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    animation: modalSlideIn 0.3s ease !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
  }
  
  #modalContent {
    padding-top: 70px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
    display: block !important;
    min-height: 100% !important;
  }
  
  @keyframes modalSlideIn {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .event-modal .modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
  }
  
  .event-modal .modal-close:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.1) !important;
  }
  
  .event-modal .modal-close i {
    font-size: 18px !important;
    color: #666 !important;
  }
  
  /* Modal Event Content */
  .modal-event-item {
    display: flex !important;
    gap: 30px !important;
    padding: 0 40px 40px 40px !important;
    align-items: center !important;
    margin-top: 0 !important;
  }
  
  .modal-event-item > .modal-event-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .modal-event-item-reverse {
    flex-direction: row-reverse;
  }
  
  .modal-event-content {
    flex: 1;
  }
  
  .modal-event-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #0e4a2b, #1a5f3f) !important;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
  
  .modal-event-title {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: #0d4227 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2 !important;
    padding-top: 0 !important;
  }
  
  .modal-event-title em {
    background: linear-gradient(135deg, #0e4a2b, #1a5f3f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .modal-event-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 24px;
  }
  
  .modal-event-text strong {
    color: #0d4227;
    font-weight: 700;
  }
  
  .modal-event-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }
  
  .modal-event-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
    color: #555;
  }
  
  .modal-event-features i {
    color: #0d4227;
    font-size: 0.9rem;
  }
  
  .modal-event-image {
    flex: 0 0 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  
  .modal-event-image img {
    width: 100%;
    height: auto;
    max-height: 45vh;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .modal-event-image:hover img {
    transform: scale(1.05);
  }
  
  .modal-booking-btn {
    background: linear-gradient(135deg, #0e4a2b 0%, #1a5f3f 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(13, 66, 39, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
  }
  
  .modal-booking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13, 66, 39, 0.4);
    background: linear-gradient(135deg, #1a5f3f 0%, #0e4a2b 100%);
  }
  
  .modal-booking-btn i {
    margin-right: 8px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .event-modal .modal-content { 
      width: 94vw !important; 
      max-height: 86vh !important;
      padding: 0 !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
    }
    
    #modalContent {
      padding-top: 75px !important;
      padding-left: 16px !important;
      padding-right: 16px !important;
      padding-bottom: 16px !important;
    }
    
    .hero-events-block {
      margin: 12px 0;
    }
    
    .hero-event-card {
      min-height: 68px;
    }
    
    .hero-event-visual {
      flex: 0 0 56px;
      min-height: 68px;
    }
    
    .hero-event-badge {
      width: 22px;
      height: 22px;
      font-size: 0.6rem;
    }
    
    .hero-event-content {
      padding: 8px 10px;
    }
    
    .hero-event-title {
      font-size: 0.85rem;
    }
    
    .hero-event-action {
      font-size: 0.62rem;
      padding: 2px 8px;
    }
    
    .event-type-btn {
      padding: 10px 12px;
      font-size: 0.9rem;
    }
    
    .event-type-btn:hover {
      padding-left: 20px;
    }
    
    .modal-event-item {
      flex-direction: column !important;
      padding: 0 16px 16px 16px !important;
      gap: 16px !important;
      min-width: 0 !important;
      width: 100% !important;
      margin-top: 0 !important;
    }
    
    .modal-event-item-reverse {
      flex-direction: column !important;
    }
    
    .modal-event-image { 
      flex: none !important; 
      width: 100% !important;
      max-width: 100% !important;
    }
    
    .modal-event-title { 
      font-size: 1.5rem !important;
      margin-top: 0 !important;
    }
    
    .modal-event-content {
      width: 100% !important;
      min-width: 0 !important;
      overflow: visible !important;
    }
  }
  .event-date {
    background: #0d4227;
    color: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 6px 10px;
    min-width: 50px;
  }
  .event-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
  }
  .event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
  }
  
  /* Кнопка */
  .btn.small {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
  
  /* ====== Адаптив ====== */
  @media (max-width: 1024px) {
    .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .hero-left {
      margin-bottom: 40px;
    }
    .hero-right {
      justify-content: center;
    }
    .hero-gallery {
      display: none; /* скрываем фото на мобильных и планшетах */
    }
    .hero-dashboard {
      margin: 0 auto;
      width: 90%;
    }
  }
  
  @media (max-width: 600px) {
    .hero {
      padding: 80px 0;
    }
    .hero-title {
      font-size: 3rem;
    }
    .hero-dashboard {
      padding: 20px;
    }
    .hero-metrics {
      gap: 4px;
      margin-bottom: 16px;
    }
    .metric-number {
      font-size: 1.25rem;
    }
    .metric-label {
      font-size: 0.62rem;
      letter-spacing: -0.01em;
    }
  }
  







































/* ===== Team Arc Slider (light, curved, infinite) ===== */
.curved-carousel{
  padding:0;
  margin:0;
  background:transparent;
  position:relative;
  overflow:visible;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.curved-carousel .container {
  max-width:100%;
  padding:0;
  width:100%;
}
.curved-carousel .section-header {
  padding:40px 24px 20px;
  margin-bottom:0;
}
.arcSwiper{
  padding:60px 0;
  overflow:visible;
  width:100%;
}
.arcSwiper .swiper-wrapper{
  align-items:flex-end;
  transform:perspective(1400px) rotateX(12deg);
  transform-origin:50% 100%;
}
.arcSwiper .swiper-slide{width:380px;transition:transform .35s ease, box-shadow .35s ease, filter .35s ease;will-change:transform;filter:saturate(.96);}
.team-card{background:transparent;}
.team-card__frame{
  background:#fff; /* светлая карточка */
  border-radius:28px;
  border:3px solid var(--deep-green);
  box-shadow: 0 18px 45px rgba(3,50,32,.22);
  overflow:hidden;
}
.team-card__frame img{width:100%;height:450px;object-fit:cover;display:block;}
.team-card__meta{background:var(--bg-primary);padding:18px 20px 22px;border-top:3px solid var(--deep-green);text-align:center;}
.team-card__meta h3{font-family:'Oswald', 'Arial Narrow', Arial,sans-serif;font-size:1.3rem;letter-spacing:.03em;color:black;margin:8px 0 6px;}
.team-card__meta p{color:var(--muted);font-size:1rem;}

.arcSwiper .swiper-slide-active {transform:translateY(-15px) scale(1.08) rotateZ(-.6deg);filter:saturate(1);}
.arcSwiper .swiper-slide-next,
.arcSwiper .swiper-slide-prev {transform:translateY(-8px) scale(1.04);}

.curved-carousel .swiper-pagination{position:static;margin-top:40px;}
.curved-carousel .swiper-pagination-bullet{background:var(--deep-green);opacity:.35;width:10px;height:10px;margin:0 5px;}
.curved-carousel .swiper-pagination-bullet-active{opacity:1;transform:scale(1.3);}

@media (max-width: 768px){
  .curved-carousel{min-height:auto;padding:40px 0;}
  .arcSwiper .swiper-slide{width:280px;}
  .team-card__frame img{height:350px;}
}

/* Inline Gallery Styles */
.gastro-gallery-inline,
.masquerade-gallery-inline {
    margin: 0px;
    width: 100%;
}

/* Fix layout for new sections */
.gastro-section .about-content,
.masquerade-section .about-content {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.gastro-section .about-text,
.masquerade-section .about-text {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

/* Расширяем блоки галерей на всю доступную ширину */
/* Новая структура с двумя колонками текста */
.gastro-text-grid,
.masquerade-text-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gastro-text-top,
.masquerade-text-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.gastro-text-left,
.gastro-text-right,
.masquerade-text-left,
.masquerade-text-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gastro-text-left .about-description,
.gastro-text-right .about-description,
.masquerade-text-left .about-description,
.masquerade-text-right .about-description {
    text-align: justify;
    text-indent: 1.5em;
    line-height: 1.7;
}

.gastro-text-bottom,
.masquerade-text-bottom {
    margin-top: 15px;
}

.gastro-text-bottom .about-description,
.masquerade-text-bottom .about-description {
    text-align: justify;
    text-indent: 1.5em;
    line-height: 1.7;
    margin: 0;
}

/* Стили для выделенной фразы */
.highlight-phrase {
    text-align: center !important;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--deep-green);
    margin: 20px 0;
    text-indent: 0 !important;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* В темах с темным фоном */

.gastro-gallery-inline,
.masquerade-gallery-inline {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 30px 0;
    background: linear-gradient(180deg, rgba(249, 234, 211, 0.15) 0%, rgba(239, 224, 203, 0.25) 50%, rgba(249, 234, 211, 0.15) 100%);
    position: relative;
    border-top: 1px solid rgba(215, 200, 178, 0.3);
    border-bottom: 1px solid rgba(215, 200, 178, 0.3);
}

/* Элегантные декоративные элементы */
.gastro-gallery-inline::before,
.masquerade-gallery-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(3, 50, 32, 0.2) 20%, 
        rgba(3, 50, 32, 0.4) 50%, 
        rgba(3, 50, 32, 0.2) 80%, 
        transparent 100%);
}

.gastro-gallery-inline::after,
.masquerade-gallery-inline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(3, 50, 32, 0.2) 20%, 
        rgba(3, 50, 32, 0.4) 50%, 
        rgba(3, 50, 32, 0.2) 80%, 
        transparent 100%);
}

.gallery-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

/* Убираем центральную линию для более чистого вида */

.gallery-row img {
    width: 200px;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(3, 50, 32, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    /* border: 1px solid rgba(215, 200, 178, 0.2); */
    overflow: hidden;
}

.gallery-row img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(3, 50, 32, 0.25);
    border-color: rgba(3, 50, 32, 0.3);
}

.gallery-row img:active {
    transform: translateY(-4px) scale(1.01);
}

/* Элегантный индикатор кликабельности */
.gallery-row img::after {
    content: '⤢';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(3, 50, 32, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    transform: rotate(45deg);
}

.gallery-row img:hover::after {
    opacity: 1;
    transform: rotate(45deg) scale(1.1);
}

/* Responsive adjustments for inline galleries */
@media (max-width: 1400px) {
    .gallery-row img {
        width: 160px;
        height: 240px;
    }
}

@media (max-width: 1200px) {
    .gallery-row img {
        width: 140px;
        height: 210px;
    }
    
    .gastro-gallery-inline,
    .masquerade-gallery-inline {
        padding: 25px 0;
    }
}

@media (max-width: 900px) {
    .gallery-row {
        gap: 12px;
    }
    
    .gallery-row img {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 900px) {
    .gastro-text-top,
    .masquerade-text-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gastro-section .gastro-text-grid,
    .masquerade-section .masquerade-text-grid {
        margin-inline: -16px;
        padding-inline: 16px;
        width: auto;
        max-width: none;
        box-sizing: border-box;
    }

    .gastro-text-left .about-description,
    .gastro-text-right .about-description,
    .masquerade-text-left .about-description,
    .masquerade-text-right .about-description,
    .gastro-text-bottom .about-description,
    .masquerade-text-bottom .about-description {
        text-indent: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .gastro-section,
    .masquerade-section {
        overflow-x: visible;
    }

    .gastro-section .about-content,
    .masquerade-section .about-content {
        overflow: visible;
    }

    .gastro-gallery-inline,
    .masquerade-gallery-inline {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-top: 12px;
        margin-bottom: 12px;
        padding: 16px 0;
        box-sizing: border-box;
    }
    
    .gallery-row {
        gap: 10px;
        justify-content: flex-start;
        padding: 0;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-padding-inline: 0;
    }

    .gallery-row img:first-child {
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .gallery-row img:last-child {
        margin-right: 12px;
    }
    
    .gallery-row img {
        width: 112px;
        height: 168px;
        flex-shrink: 0;
        border-radius: 12px;
    }

    .format {
        padding: 72px 0;
    }

    .format .container {
        padding-inline: 0;
    }

    .format .section-header {
        padding-inline: 16px;
        margin-bottom: 20px;
    }

    .format-content {
        border-radius: 0;
        max-width: 100%;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }

    .format-description {
        padding: 24px 16px;
        min-height: auto;
    }

    .format-cta-section {
        padding: 24px 16px;
    }

    .title-cooperation {
        font-size: 1.55rem;
        margin-bottom: 12px;
        line-height: 1.15;
    }

    .format-cta-subtitle {
        font-size: 0.92rem;
        line-height: 1.35;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .format-intro {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 14px;
        font-weight: 500;
    }

    .format-features {
        flex-direction: column;
        gap: 6px;
        margin-top: 8px;
    }

    .format-features .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .format-features .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .format-features .feature-icon i {
        font-size: 1.1rem;
    }

    .format-features .feature-text {
        font-size: 0.86rem;
        line-height: 1.25;
        font-weight: 600;
    }

    .format-cta-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .contacts-grid {
        gap: 8px;
    }

    .contact-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .qr-code-icon {
        width: 110px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .gastro-section .gastro-text-grid,
    .masquerade-section .masquerade-text-grid {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .gastro-gallery-inline,
    .masquerade-gallery-inline {
        padding: 12px 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .gallery-row {
        gap: 8px;
    }

    .gallery-row img:last-child {
        margin-right: 10px;
    }
    
    .gallery-row img {
        width: 96px;
        height: 144px;
        border-radius: 10px;
    }

    .format {
        padding: 56px 0;
    }

    .format .section-header {
        padding-inline: 12px;
    }

    .format-description {
        padding: 20px 12px;
    }

    .format-cta-section {
        padding: 20px 12px;
    }

    .title-cooperation {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .format-cta-subtitle {
        font-size: 0.85rem;
    }

    .format-intro {
        font-size: 0.82rem;
        margin-bottom: 12px;
    }

    .format-features {
        gap: 4px;
    }

    .format-features .feature-item {
        gap: 8px;
    }

    .format-features .feature-icon {
        width: 28px;
        height: 28px;
    }

    .format-features .feature-icon i {
        font-size: 1rem;
    }

    .format-features .feature-text {
        font-size: 0.8rem;
    }

    .format-cta-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .contact-item {
        padding: 7px 8px;
        font-size: 0.8rem;
    }

    .qr-code-icon {
        width: 96px;
    }
}

.home-offer-featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 2px solid rgba(13, 66, 39, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(3, 50, 32, 0.08);
    margin-bottom: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-offer-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(3, 50, 32, 0.14);
}

.home-offer-featured img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.home-offer-featured .home-offer-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
}

.home-offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.home-offer-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 2px solid rgba(13, 66, 39, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(3, 50, 32, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(3, 50, 32, 0.14);
}

.home-offer-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-offer-card__body {
    padding: 20px 22px 24px;
}

.home-offer-card__label,
.home-offer-featured .home-offer-card__label {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #0d4227;
    font-weight: 700;
}

.home-offer-card h3,
.home-offer-featured h3 {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.45rem;
    margin: 6px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.home-offer-card p,
.home-offer-featured p {
    margin: 0 0 12px;
    color: #555;
    line-height: 1.65;
}

.home-offer-card__action {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    color: #0d4227;
    letter-spacing: 0.4px;
}

@media (max-width: 768px) {
    .home-offer-grid {
        grid-template-columns: 1fr;
    }
    .home-offer-featured {
        grid-template-columns: 1fr;
    }
    .home-offer-featured img {
        min-height: 220px;
        max-height: 260px;
    }
}

.form-consent {
    margin-bottom: 18px;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 500 !important;
    color: #444 !important;
    line-height: 1.55;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family: Georgia, Georgia, serif !important;
    font-size: 0.92rem !important;
    margin-bottom: 0 !important;
}

.consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #0d4227;
    cursor: pointer;
}

.consent-check a {
    color: #0d4227;
    font-weight: 700;
    text-decoration: underline;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}