/* ============ БАЗА ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #0D2B5C;
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }

:root {
    --blue-dark: #0D2B5C;
    --blue: #1A4B8C;
    --blue-light: #2E6BC4;
    --blue-sky: #4A8FE0;
    --orange: #F59E0B;
    --orange-dark: #E08A00;
    --white: #FFFFFF;
    --gray: #F4F7FC;
}

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

/* ============ ХЕДЕР ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(13, 43, 92, 0.06);
    padding: 16px 0;
    transition: all 0.3s ease;
}
.header.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(13, 43, 92, 0.12); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo-img { height: 48px; width: auto; }
.nav { display: flex; gap: 12px; align-items: center; }
.nav a {
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--gray);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav a:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
}
.burger span {
    width: 26px; height: 3px;
    background: var(--blue-dark);
    border-radius: 3px;
    transition: 0.3s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6); }
.btn-blue {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(26, 75, 140, 0.35);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-white {
    background: var(--white);
    color: var(--orange-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); }

/* ============ HERO ============ */
.hero-section { background: #FFFFFF; padding: 120px 0 40px; }
.hero-box {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 60px;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 60px rgba(13, 43, 92, 0.2);
}
.hero-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13, 43, 92, 0.55) 0%,
        rgba(13, 43, 92, 0.15) 40%,
        rgba(13, 43, 92, 0) 70%
    );
    pointer-events: none;
    border-radius: 40px;
}
.hero-cta { position: relative; z-index: 2; padding-bottom: 20px; }

/* ============ ПАРТИЙНЫЙ БАННЕР ============ */
.party-banner { padding: 60px 0; background: #FFFFFF; }
.party-banner-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 48px;
    background: linear-gradient(135deg, #EEF4FC 0%, #E1ECF9 100%);
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(13, 43, 92, 0.08);
    border: 1px solid #D6E4F5;
    text-align: center;
}
.party-logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 14px rgba(13, 43, 92, 0.15));
    transition: transform 0.3s ease;
}
.party-logo:hover { transform: scale(1.05); }
.party-text {
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 900;
    color: var(--blue-dark);
    line-height: 1.3;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .party-banner { padding: 40px 0; }
    .party-banner-box { gap: 20px; padding: 28px 24px; border-radius: 24px; }
    .party-logo { height: 56px; }
    .party-text { font-size: 17px; }
}
@media (max-width: 600px) {
    .party-banner { padding: 30px 0; }
    .party-banner-box { flex-direction: column; gap: 16px; padding: 24px 18px; }
    .party-logo { height: 48px; }
    .party-text { font-size: 15px; line-height: 1.35; }
}

/* ============ СЕКЦИИ ============ */
.section { padding: 50px 0 100px 0; }
.section-gray { background: var(--gray); }
.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    color: var(--blue-dark);
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 17px;
    color: #5A6B85;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 56px;
    line-height: 1.7;
}
.section-tag {
    display: inline-block;
    background: rgba(26, 75, 140, 0.1);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ============ О ПРОЕКТЕ ============ */
.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}
.about-col p { font-size: 16px; color: #4A5A75; line-height: 1.8; margin-bottom: 20px; }
.about-col p:last-child { margin-bottom: 0; }

/* ============ СТАТИСТИКА ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.stat-num {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
    white-space: nowrap;
}
.stat-num-wide { font-size: clamp(38px, 4.8vw, 58px); }
.stat-sign { color: var(--orange); margin-right: 4px; }
.stat-label { font-size: 15px; color: #5A6B85; line-height: 1.5; font-weight: 500; }

/* ============ ГЕРОИ ПРОЕКТА ============ */
.heroes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(13, 43, 92, 0.07);
    transition: all 0.35s ease;
    border: 1px solid #EDF1F7;
}
.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(13, 43, 92, 0.14);
    border-color: var(--blue-light);
}
.hero-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    margin-bottom: 20px;
}
.hero-card-img img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(13, 43, 92, 0.15));
    transition: transform 0.4s ease;
}
.hero-card:hover .hero-card-img img { transform: scale(1.06); }
.hero-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-card p { font-size: 13px; color: #5A6B85; line-height: 1.55; }

/* ============ ЭЛЕМЕНТЫ ПРОЕКТА ============ */
.elements-section {
    background: linear-gradient(135deg, #1A4B8C 0%, #0D2B5C 100%);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}
.elements-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(74, 143, 224, 0.35), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.15), transparent 50%);
    pointer-events: none;
}
.elements-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 120px 120px;
    pointer-events: none;
    opacity: 0.6;
}
.elements-wrap { position: relative; z-index: 2; min-height: 640px; }
.elements-title {
    position: absolute;
    left: 0;
    bottom: 40px;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
}
.elements-cards {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 0 120px;
    min-height: 620px;
    perspective: 1200px;
}
.element-card {
    flex: 0 0 auto;
    width: 220px;
    height: 320px;
    background: var(--color, #6FD8B6);
    border-radius: 24px;
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transform: rotate(var(--rot, 0deg));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    cursor: pointer;
    position: relative;
    will-change: transform;
}
.element-card:hover {
    transform: rotate(0deg) translateY(-16px) scale(1.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    z-index: 10;
}
.element-card-img { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.element-card-img img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}
.element-card:hover .element-card-img img { transform: scale(1.06); }
.element-card-label {
    width: 100%;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    padding: 8px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.25;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ ХРОНИКА ПРОЕКТА (ВИДЕО) ============ */
.video-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FC 100%);
    position: relative;
    overflow: hidden;
}
.video-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.video-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    color: var(--blue-dark);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.video-desc { font-size: 16px; color: #4A5A75; line-height: 1.7; margin-bottom: 28px; }
.video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 43, 92, 0.2);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-character {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-character img {
    max-height: 460px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(13, 43, 92, 0.25));
    animation: float 6s ease-in-out infinite;
}
.video-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(74, 143, 224, 0.45), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

/* ============ ВИДЕО-ФАСАД (RuTube) ============ */
.video-facade {
    position: absolute;
    inset: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}
.video-facade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-facade:hover img { transform: scale(1.04); }
.video-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}
.video-facade:hover::after { opacity: 0.85; }
.video-play-btn {
    position: relative;
    z-index: 3;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--blue-dark);
    font-size: 34px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding-left: 6px;
}
.video-play-btn:hover { transform: scale(1.1); box-shadow: 0 16px 50px rgba(0,0,0,0.45); }
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 600px) {
    .video-play-btn { width: 64px; height: 64px; font-size: 24px; }
}

/* ============ НАШИ ПРОЕКТЫ ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}
.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(13, 43, 92, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 1px solid #EDF1F7;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 50px rgba(13, 43, 92, 0.18);
    border-color: var(--blue-light);
}
.project-img { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img img { transform: scale(1.1); }
.project-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue-dark);
    padding: 24px 24px 8px;
    line-height: 1.3;
}
.project-card p { font-size: 14px; color: #5A6B85; padding: 0 24px 24px; line-height: 1.5; }

/* ============ ФОТОГАЛЕРЕЯ — СЛАЙДЕР ============ */
.gallery-slider-wrap { position: relative; margin-top: 20px; padding: 0 60px; }
.gallery-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 4px 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gallery-slider::-webkit-scrollbar { display: none; }
.gallery-slide {
    flex: 0 0 auto;
    width: 320px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    background: var(--gray);
    box-shadow: 0 6px 20px rgba(13, 43, 92, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}
.gallery-slide:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(13, 43, 92, 0.22); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-slide:hover img { transform: scale(1.08); }
.gallery-slide::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 43, 92, 0.4);
    color: #fff;
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-slide:hover::after { opacity: 1; }
.gallery-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 43, 92, 0.2);
    z-index: 5;
    transition: all 0.25s ease;
    font-weight: 400;
    padding-bottom: 4px;
}
.gallery-slider-btn:hover { background: var(--orange); color: var(--white); transform: translateY(-50%) scale(1.08); }
.gallery-slider-prev { left: 8px; }
.gallery-slider-next { right: 8px; }
@media (max-width: 900px) {
    .gallery-slider-wrap { padding: 0 20px; }
    .gallery-slide { width: 260px; height: 200px; }
    .gallery-slider-btn { width: 44px; height: 44px; font-size: 26px; }
    .gallery-slider-prev { left: 0; }
    .gallery-slider-next { right: 0; }
}
@media (max-width: 600px) {
    .gallery-slider-wrap { padding: 0 12px; }
    .gallery-slide { width: 220px; height: 170px; }
    .gallery-slider-btn { width: 38px; height: 38px; font-size: 22px; }
}

/* ============ FAQ ============ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 43, 92, 0.06);
    border: 1px solid #EDF1F7;
    transition: all 0.3s ease;
}
.faq-item.active { box-shadow: 0 10px 30px rgba(13, 43, 92, 0.12); border-color: var(--blue-light); }
.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
    line-height: 1.4;
}
.faq-question:hover { color: var(--blue); }
.faq-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    transition: all 0.3s ease;
}
.faq-item.active .faq-toggle { background: var(--orange); color: var(--white); transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 28px 24px; }
.faq-answer p { font-size: 15px; color: #5A6B85; line-height: 1.7; }

/* ============ CTA ============ */
.cta {
    background: linear-gradient(135deg, #F59E0B, #E08A00);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent 60%);
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ ФУТЕР ============ */
.footer { background: #081C3D; color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer p, .footer li { font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; }
.footer ul li a { transition: color 0.2s; }
.footer ul li a:hover { color: var(--orange); }
.footer-logo { margin-bottom: 16px; }
.footer-logo-img {
    height: 44px;
    width: auto;
}
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-social {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}
.footer-social:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-requisites {
    max-width: 900px;
    margin: 0 auto 16px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.2px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 600px) {
    .footer-requisites {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}

/* ============ МОДАЛЬНОЕ ОКНО ЭЛЕМЕНТОВ ============ */
.element-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 43, 92, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 24px 70px;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.element-modal-overlay.active { opacity: 1; visibility: visible; }
.element-modal {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    border-radius: 32px;
    background: var(--modal-color, #0D2B5C);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}
.element-modal-overlay.active .element-modal { transform: scale(1) translateY(0); }
.element-modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.25s ease;
}
.element-modal-close:hover { background: var(--orange); transform: rotate(90deg); }
.element-modal-inner {
    position: relative;
    padding: 50px 60px 130px;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    color: #fff;
}
.element-modal-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    z-index: 2;
}
.element-modal-top { text-align: center; }
.element-modal-title-wrap {
    display: inline-block;
    background: #fff;
    color: #0D2B5C;
    padding: 12px 32px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.element-modal-title {
    font-size: clamp(20px, 2.6vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.05;
}
.element-modal-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-top: 6px;
}
.element-modal-how h4 {
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 900;
    margin-bottom: 18px;
    color: #fff;
}
.element-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.element-modal-list li {
    position: relative;
    padding-left: 32px;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
}
.element-modal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--orange);
    border-radius: 50%;
}
.element-modal-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.element-modal-image {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
    animation: modalFloat 5s ease-in-out infinite;
}
.element-modal-percent {
    position: absolute;
    right: 60px;
    bottom: 170px;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    color: #fff;
    line-height: 0.95;
    letter-spacing: -2px;
    text-align: right;
    z-index: 3;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.element-modal-percent small {
    display: block;
    font-size: clamp(14px, 1.6vw, 22px);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
}
.element-modal-bottom {
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: 30px;
    background: rgba(13, 43, 92, 0.85);
    color: #fff;
    padding: 18px 28px;
    border-radius: 18px;
    text-align: center;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 600;
    line-height: 1.45;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3;
}
.element-modal-shooter {
    position: absolute;
    left: -30px;
    bottom: 0;
    width: 220px;
    height: auto;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45));
    animation: none !important;
}

/* ============ ЛАЙТБОКС ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 40, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: lightboxIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes lightboxIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-weight: 300;
    z-index: 5;
}
.lightbox-close:hover { background: var(--orange); transform: rotate(90deg); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-weight: 300;
    padding-bottom: 4px;
}
.lightbox-nav:hover { background: var(--orange); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
@media (max-width: 900px) {
    .lightbox { padding: 60px 20px; }
    .lightbox-nav { width: 46px; height: 46px; font-size: 28px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 26px; }
}

/* ============ АНИМАЦИИ КАРТИНОК ============ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}
@keyframes modalFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
@keyframes applyFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-10px) translateX(0); }
}

/* ============ СТРАНИЦА «ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ» ============ */
.page-privacy { background: #FFFFFF; }
.privacy-hero {
    background: linear-gradient(135deg, #0D2B5C 0%, #1A4B8C 60%, #2E6BC4 100%);
    padding: 220px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(74, 143, 224, 0.5), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.2), transparent 45%);
    pointer-events: none;
}
.privacy-hero-title {
    position: relative;
    z-index: 2;
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    max-width: 900px;
}
.privacy-content { padding: 60px 0 100px; }
.privacy-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.75;
    color: #4A5A75;
}
.privacy-body h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--blue-dark);
    margin: 40px 0 16px;
    letter-spacing: -0.3px;
}
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p { margin-bottom: 14px; }
.privacy-body ul { list-style: none; padding-left: 0; margin-bottom: 16px; }
.privacy-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.privacy-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}
.privacy-table { background: var(--gray); border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.privacy-table-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #E3EAF4;
}
.privacy-table-row:last-child { border-bottom: none; }
.privacy-table-label { font-weight: 700; color: var(--blue-dark); font-size: 15px; }
.privacy-table-value { color: #4A5A75; font-size: 15px; }
@media (max-width: 600px) {
    .privacy-hero { padding: 120px 0 40px; }
    .privacy-content { padding: 40px 0 80px; }
    .privacy-table-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
    .privacy-table-label { font-size: 14px; }
    .privacy-table-value { font-size: 14px; }
}

/* ============ БЛОК «ПОДАЙТЕ ЗАЯВКУ» (БИАТЛОШКА) ============ */
.apply-section { background: linear-gradient(180deg, #FFFFFF 0%, #EEF4FC 100%); }
.apply-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    color: var(--blue);
    text-align: center;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    margin-bottom: 56px;
    line-height: 1;
}
.apply-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.apply-image { position: relative; display: flex; align-items: center; justify-content: center; }
.apply-image img {
    max-height: 520px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(13, 43, 92, 0.25));
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.apply-section.is-visible .apply-image img {
    opacity: 1;
    transform: translateX(0);
    animation: applyFloat 4s ease-in-out 1s infinite;
}
.apply-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(74, 143, 224, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 1;
}
.apply-content { max-width: 560px; }
.apply-lead {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.5;
    margin-bottom: 24px;
}
.apply-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.apply-steps li {
    position: relative;
    padding-left: 32px;
    font-size: 16px;
    line-height: 1.55;
    color: #4A5A75;
}
.apply-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
}
.apply-btn { margin-top: 8px; }
@media (max-width: 900px) {
    .apply-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .apply-content { max-width: 100%; text-align: left; }
    .apply-image img { max-height: 320px; }
    .apply-title { margin-bottom: 36px; }
    .apply-btn { width: 100%; max-width: 320px; }
}
@media (max-width: 600px) {
    .apply-image img { max-height: 240px; }
    .apply-lead { font-size: 16px; }
    .apply-steps li { font-size: 15px; padding-left: 26px; }
}

/* ============ СТРАНИЦА «БИАТЛОШКА» ============ */
.page-preschool { background: #FFFFFF; }
.preschool-hero {
    background: linear-gradient(135deg, #0D2B5C 0%, #1A4B8C 60%, #2E6BC4 100%);
    padding: 140px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.preschool-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(74, 143, 224, 0.5), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.2), transparent 45%);
    pointer-events: none;
}
.preschool-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.preschool-hero-content { max-width: 640px; }
.preschool-hero-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.95);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.preschool-hero-title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.preschool-hero-title span { color: var(--orange); }
.preschool-hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}
.preschool-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline-blue {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-blue:hover {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}
.preschool-hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.preschool-hero-image img {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
.preschool-hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}
@media (max-width: 900px) {
    .preschool-hero { padding: 110px 0 60px; }
    .preschool-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .preschool-hero-content { max-width: 100%; }
    .preschool-hero-buttons { justify-content: center; }
    .preschool-hero-image img { max-height: 280px; }
}
.preschool-about { max-width: 960px; margin: 0 auto; text-align: center; }
.preschool-about p { font-size: 16px; color: #4A5A75; line-height: 1.85; margin-bottom: 20px; }
.preschool-about p:last-child { margin-bottom: 0; }
.preschool-elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.preschool-element {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 8px 30px rgba(13, 43, 92, 0.08);
    border: 1px solid #EDF1F7;
    transition: all 0.35s ease;
    position: relative;
}
.preschool-element:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 43, 92, 0.16);
    border-color: var(--blue-light);
}
.preschool-element-num { font-size: 48px; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 16px; letter-spacing: -2px; }
.preschool-element h3 { font-size: 20px; font-weight: 800; color: var(--blue-dark); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.3px; }
.preschool-element p { font-size: 15px; color: #5A6B85; line-height: 1.7; }
@media (max-width: 900px) {
    .preschool-elements { grid-template-columns: 1fr; gap: 20px; }
    .preschool-element { padding: 28px 24px; }
    .preschool-element-num { font-size: 36px; }
}
.inventory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.inventory-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(13, 43, 92, 0.08);
    border: 1px solid #EDF1F7;
    transition: all 0.35s ease;
}
.inventory-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13, 43, 92, 0.14); border-color: var(--blue-light); }
.inventory-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.inventory-card h3 { font-size: 18px; font-weight: 800; color: var(--blue-dark); margin-bottom: 12px; line-height: 1.3; }
.inventory-card p { font-size: 15px; color: #5A6B85; line-height: 1.7; }
@media (max-width: 900px) {
    .inventory-grid { grid-template-columns: 1fr; gap: 20px; }
    .inventory-card { padding: 28px 24px; }
}
.preschool-gto { background: #FFFFFF; }
.preschool-gto-box {
    display: flex;
    gap: 32px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #EEF4FC 0%, #E1ECF9 100%);
    border-radius: 28px;
    padding: 48px 56px;
    box-shadow: 0 12px 40px rgba(13, 43, 92, 0.08);
    border: 1px solid #D6E4F5;
}
.preschool-gto-icon { font-size: 64px; line-height: 1; flex-shrink: 0; }
.preschool-gto-box h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; color: var(--blue-dark); margin-bottom: 14px; text-transform: uppercase; letter-spacing: -0.5px; }
.preschool-gto-box p { font-size: 16px; color: #4A5A75; line-height: 1.75; }
@media (max-width: 900px) {
    .preschool-gto-box { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
}

/* ============ ОБЩИЙ АДАПТИВ ============ */
@media (max-width: 1100px) {
    .heroes-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav a { padding: 8px 14px; font-size: 13px; }
    .elements-cards { gap: 12px; }
    .element-card { width: 180px; height: 270px; }
    .element-card-img img { max-height: 140px; }
    .element-card-label { font-size: 10px; }
    .video-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .video-character img { max-height: 380px; }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .burger { display: flex; }
    .hero-section { padding: 100px 0 30px; }
    .hero-box { border-radius: 28px; padding: 32px 24px; min-height: 480px; background-position: center top; }
    .about-columns { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: 1fr; gap: 32px; }
    .heroes-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .section { padding: 70px 0; }
    .elements-wrap { min-height: auto; }
    .elements-title { position: static; text-align: center; margin-bottom: 40px; }
    .elements-cards { flex-wrap: wrap; gap: 16px; padding: 20px 0 40px; min-height: auto; }
    .element-card { transform: rotate(0) !important; width: 160px; height: 240px; }
    .element-card:hover { transform: translateY(-10px) scale(1.05); }
    .element-card-img img { max-height: 120px; }
    .video-grid { grid-template-columns: 1fr; gap: 32px; }
    .video-character { display: none; }
    .projects-grid { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
    .element-modal-inner { grid-template-columns: 1.1fr 0.9fr; padding: 40px 24px 120px; min-height: auto; gap: 20px; }
    .element-modal-image { max-height: 260px; }
    .element-modal-percent { position: absolute; right: 24px; bottom: 90px; margin: 0; font-size: clamp(32px, 5vw, 48px); }
    .element-modal-bottom { left: 20px; right: 20px; bottom: 20px; font-size: 13px; padding: 12px 16px; }

    .nav.nav-open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(13, 43, 92, 0.15);
        border-top: 1px solid #EDF1F7;
    }
    .nav.nav-open a { width: 100%; text-align: center; padding: 14px 20px; }
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .container { padding: 0 18px; }
    .section { padding: 60px 0; }
    .hero-box { min-height: 400px; padding: 24px 18px; }
    .hero-cta { padding-bottom: 8px; }
    .heroes-grid { grid-template-columns: 1fr; gap: 18px; }
    .elements-cards { gap: 12px; }
    .element-card { width: calc(50% - 6px); height: 200px; padding: 14px 10px 10px; }
    .element-card-img img { max-height: 100px; }
    .element-card-label { font-size: 9px; min-height: 42px; padding: 6px; }
    .lightbox { padding: 20px; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .element-modal-image { display: none; }
    .element-modal-right { display: none; }
    .element-modal-shooter { display: none; }
    .element-modal-inner {
        grid-template-columns: 1fr;
        padding: 32px 18px 100px;
        gap: 0;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .element-modal-percent { position: static; text-align: center; margin: 16px auto 0; font-size: 42px; letter-spacing: -1px; }
    .element-modal-percent small { font-size: 16px; margin-top: 2px; }
    .element-modal-bottom { left: 14px; right: 14px; bottom: 14px; font-size: 12px; padding: 10px 14px; }
    .element-modal-overlay { padding: 16px; }
}

/* ============ БЛОК «СВЯЖИТЕСЬ С НАМИ» ============ */
.contact-form-section { background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.contact-info { padding-top: 10px; }
.contact-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 900;
    color: var(--blue-dark);
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.contact-desc { font-size: 16px; color: #4A5A75; line-height: 1.75; }
.contact-desc a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}
.contact-desc a:hover { color: var(--orange-dark); }

.contact-form {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(13, 43, 92, 0.08);
    border: 1px solid #EDF1F7;
}
.contact-form-field { margin-bottom: 18px; }
.contact-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 8px;
}
.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E3EAF4;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--blue-dark);
    background: #FFFFFF;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    resize: vertical;
}
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder { color: #A0AEC0; }
.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}
.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 24px;
    font-size: 13px;
    line-height: 1.5;
    color: #5A6B85;
    cursor: pointer;
}
.contact-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
    flex-shrink: 0;
    cursor: pointer;
}
.contact-consent a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
}
.contact-consent a:hover { color: var(--orange-dark); }
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 36px;
    background: var(--orange);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}
.contact-submit:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6);
}
.contact-form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #D4EDDA;
    color: #155724;
    font-weight: 600;
    text-align: center;
    display: none;
}
.contact-form-message.show { display: block; }
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-title { text-align: center; font-size: clamp(24px, 5vw, 36px); }
    .contact-desc { text-align: center; }
    .contact-form { padding: 28px 24px; }
}
@media (max-width: 600px) {
    .contact-form { padding: 24px 18px; border-radius: 20px; }
    .contact-form-field input,
    .contact-form-field textarea { padding: 12px 14px; font-size: 14px; }
    .contact-submit { font-size: 14px; padding: 14px 24px; }
}

/* ============ ЛАСКА В БЛОКЕ «СВЯЖИТЕСЬ С НАМИ» (жёсткий фикс) ============ */
.contact-form-section .contact-mascot {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 220px !important;
}

.contact-form-section .contact-mascot img {
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(13, 43, 92, 0.2));
    opacity: 0;
    transform: translateX(-140px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form-section.is-visible .contact-mascot img {
    opacity: 1;
    transform: translateX(0);
    animation: contactFloat 4s ease-in-out 1s infinite;
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-12px) translateX(0); }
}

.contact-form-section .contact-mascot-glow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 240px !important;
    height: 240px !important;
    background: radial-gradient(circle, rgba(74, 143, 224, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

@media (max-width: 900px) {
    .contact-form-section .contact-mascot {
        justify-content: center;
        min-height: 180px !important;
        margin-top: 24px;
    }
    .contact-form-section .contact-mascot img { max-height: 180px !important; }
    .contact-form-section .contact-mascot-glow {
        width: 180px !important;
        height: 180px !important;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .contact-form-section .contact-mascot { min-height: 140px !important; }
    .contact-form-section .contact-mascot img { max-height: 140px !important; }
    .contact-form-section .contact-mascot-glow {
        width: 140px !important;
        height: 140px !important;
    }
}

/* ============ БИАТЛОШКА — ТАЛИСМАН (главная) ============ */
.mascot-section {
    background: #FFFFFF;
}

.mascot-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.mascot-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-image img {
    max-height: 460px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(13, 43, 92, 0.25));
    animation: float 6s ease-in-out infinite;
}

.mascot-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 1;
}

.mascot-content p {
    font-size: 16px;
    color: #4A5A75;
    line-height: 1.8;
    margin-bottom: 20px;
}
.mascot-content p:last-child { margin-bottom: 0; }

.mascot-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.mascot-fact {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(13, 43, 92, 0.07);
    border: 1px solid #EDF1F7;
    transition: all 0.35s ease;
}

.mascot-fact:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(13, 43, 92, 0.14);
    border-color: var(--blue-light);
}

.mascot-fact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mascot-fact h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mascot-fact p {
    font-size: 14px;
    color: #5A6B85;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .mascot-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .mascot-image img { max-height: 320px; }
    .mascot-content p { text-align: left; }
    .mascot-facts { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
}

@media (max-width: 600px) {
    .mascot-image img { max-height: 240px; }
    .mascot-content p { font-size: 15px; }
    .mascot-fact { padding: 24px 20px; }
}
/* ============ РЕКВИЗИТЫ ============ */
.requisites {
    padding: 60px 0;
    background: #FFFFFF;
}

.requisites-box {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #EEF4FC 0%, #E1ECF9 100%);
    border-radius: 24px;
    padding: 40px 48px;
    border: 1px solid #D6E4F5;
    box-shadow: 0 12px 40px rgba(13, 43, 92, 0.06);
}

.requisites-title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
    text-align: center;
}

.requisites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}

.requisites-item { }

.requisites-item-wide {
    grid-column: 1 / -1;
}

.requisites-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.requisites-value {
    font-size: 15px;
    color: var(--blue-dark);
    line-height: 1.55;
    font-weight: 500;
}

@media (max-width: 900px) {
    .requisites-box { padding: 32px 24px; border-radius: 20px; }
    .requisites-grid { grid-template-columns: 1fr; gap: 18px; }
    .requisites-item-wide { grid-column: auto; }
}

@media (max-width: 600px) {
    .requisites { padding: 40px 0; }
    .requisites-box { padding: 24px 18px; }
    .requisites-value { font-size: 14px; }
    .requisites-label { font-size: 11px; }
}
