@font-face {
    font-family: 'Cuyabra';
    src: url('fonts/cuyabra-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #F2F4F8;
    --primary: #0F2A4F;
    --accent: #2C5AA0;
    --border: rgba(15, 42, 79, 0.1);
    --card-bg: rgba(255, 255, 255, 0.82);
}

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

body {
    background: var(--bg);
    color: var(--primary);
    font-family: Manrope, Arial, sans-serif;
    overflow: hidden;
}

/* декоративные вертикальные линии */
.v-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: url("SVG/bg-lines.svg") center center / cover no-repeat;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(242, 244, 248, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}
.logo {
    height: 55px;
    display: block;
}
.logo-img {
    height: 100%;
    width: auto;
    display: block;
}
.responsive-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}
.nav::-webkit-scrollbar {
    display: none;
}
.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-family: Manrope, Arial;
    font-size: 11px;
    opacity: 0.6;
    transition: 0.3s;
    text-transform: uppercase;
}
.nav-link:hover {
    opacity: 1;
}
.header-right {
    justify-self: end;
}

/* ОСНОВНОЙ СКРОЛЛЕР */
.main-scroller {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
    z-index: 2;
}
.section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}
.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 10px;
    display: block;
    opacity: 0.8;
    text-shadow:
        1px 0 2px rgba(255,255,255,0.35),
       -1px 0 2px rgba(255,255,255,0.35),
        0 1px 2px rgba(255,255,255,0.35),
        0 -1px 2px rgba(255,255,255,0.35);
}
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* Главная */
#home {
    height: auto;
    min-height: 100vh;
    padding-top: calc(80px + clamp(16px, 5vh, 48px));
    padding-bottom: 64px;
}
#about {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 110px;
    padding-bottom: 48px;
}

.home-mission-grid {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2vw, 24px);
    max-width: 800px;
    margin: clamp(16px, 5vh, 32px) auto 0;
    flex-wrap: wrap;
}

.home-mission-card {
    flex: 1 1 clamp(240px, 30vw, 340px);
    min-width: 220px;
    background: var(--card-bg, rgba(255,255,255,0.82));
    backdrop-filter: blur(3px);
    border: 1px solid var(--border, rgba(15,42,79,0.1));
    border-radius: clamp(16px, 3vh, 24px);
    padding: 14px 18px 16px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.home-mission-card:hover {
    transform: translateY(-4px);
    border-color: rgba(44,90,160,0.4);
    box-shadow: 0 12px 24px rgba(15,42,79,0.08);
}

.home-mission-title {
    font-family: Manrope, Arial;
    font-size: clamp(0.9rem, 2.4vh, 1.15rem);
    margin-bottom: clamp(6px, 1.2vh, 12px);
    color: var(--primary, #0F2A4F);
    letter-spacing: 1px;
}

.home-mission-text {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.85;
    margin-bottom: 8px;
}

.home-mission-icon {
    font-size: clamp(1.3rem, 3.5vh, 2rem);
    opacity: 0.5;
    margin-top: auto;
    align-self: flex-end;
    line-height: 1;
    transition: font-size 0.2s ease;
}

.btn-primary, .btn-secondary {
    min-width: auto;
    width: 100%;
}

.responsive-logo {
    max-width: clamp(160px, 25vh, 500px);
}

@media (max-width: 680px) {
    .home-mission-grid {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 3vh, 20px);
    }
    .home-mission-card {
        width: 100%;
        max-width: 360px;
        flex: 0 0 auto;
        text-align: center;
    }
    .home-mission-icon {
        align-self: center;
        margin-top: clamp(8px, 2vh, 14px);
    }
}

@media (max-height: 500px) and (max-width: 650px) {
    .home-mission-card {
        padding: 8px 12px;
    }
    .home-mission-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        grid-template-columns: 1fr;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ТИПОГРАФИКА И ОБЩИЕ БЛОКИ */
.hero-title {
    font-family: Manrope, Arial;
    font-size: clamp(2rem, 8vw, 4rem);
    text-align: center;
    line-height: 1.1;
    margin-bottom: clamp(10px, 2vh, 20px);
}

.hero-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.75;
    font-size: clamp(0.85rem, 2.5vh, 1.2rem);
    font-style: normal;
    text-shadow:
        1px 0 2px rgba(255,255,255,0.35),
       -1px 0 2px rgba(255,255,255,0.35),
        0 1px 2px rgba(255,255,255,0.35),
        0 -1px 2px rgba(255,255,255,0.35);
}
.hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 260px));
    justify-content: center;
    gap: 16px;
}
.hero-actions a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.section-title {
    font-family: Manrope, Arial;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 24px;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 34px;
    min-width: 210px;
    text-align: center;
    text-decoration: none;
    font-family: Manrope, Arial;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--accent);
}
.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 16px 34px;
    min-width: 210px;
    text-align: center;
    text-decoration: none;
    font-family: Manrope, Arial;
    font-size: 14px;
    transition: 0.3s;
    background: transparent;
}
.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* О ПЛАТФОРМЕ */
.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 10px;
}
.about-visual-card {
    position: relative;
    aspect-ratio: 3 / 2;
    min-height: unset;
    height: auto;

    border-radius: 28px;
    border: 1px solid rgba(44, 90, 160, 0.35);
    background: 
        linear-gradient(145deg, rgba(15,42,79,0.2), rgba(10,25,50,0.3)),
        url('jpg/TowerFair.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.08),
        0 2px 8px rgba(15,42,79,0.04);
}
.about-visual-glow {
    position: absolute;
    inset: 10%;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 0 60px rgba(255,255,255,0.05);
}
.about-visual-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    color: #fff;
    font-family: Manrope, Arial;
    font-size: 1.4rem;
    line-height: 1.3;
    text-shadow: 0 4px 12px rgba(15, 42, 79, 1);
}
.about-content-card {
    background: var(--card-bg);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px 34px;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.07),
        0 2px 10px rgba(15,42,79,0.03);
}
.content-text p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 18px;
    opacity: 0.9;
}
.about-quote {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    background: rgba(255,255,255,0.5);
    font-family: Manrope, Arial;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ГРАНТ ЛАБ */
.stats-block {
    background: var(--card-bg);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 36px 28px;
    text-align: center;
    margin-top: 20px;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.07),
        0 2px 10px rgba(15,42,79,0.03);
}
.stats-years {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}
.stats-year {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15, 42, 79, 0.1);
}
.stats-year-badge {
    font-family: Manrope, Arial;
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--accent);
    min-width: 100px;
    text-align: left;
    line-height: 1.2;
}
.stats-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 20px;
    flex: 1;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-width: 0;
    width: 100%;
}
.stat-value {
    font-family: Manrope, Arial;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
}
.stat-label {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100%;
}
.stats-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}
@media (max-width: 600px) {
    .stats-year {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-year-badge {
        font-size: 2rem;
        min-width: auto;
    }
    .stats-numbers {
        width: 100%;
        gap: 16px;
    }
    .stats-years {
        gap: 24px;
        margin-bottom: 28px;
    }
}
@media (max-width: 480px) {
    .stats-numbers {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ЭнергоКлуб */
.energy-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 10px;
}
.energy-content-card {
    background: var(--card-bg);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px 34px;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.07),
        0 2px 10px rgba(15,42,79,0.03);
}
.energy-visual-card {
    position: relative;
    aspect-ratio: 3 / 2;
    min-height: unset;
    height: auto;
    border-radius: 28px;
    border: 1px solid rgba(44, 90, 160, 0.35);
    background: 
        linear-gradient(145deg, rgba(15,42,79,0.1), rgba(10,25,50,0.2)),
        url('jpg/TowerAward.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.08),
        0 2px 8px rgba(15,42,79,0.04);
}
.energy-visual-glow {
    position: absolute;
    inset: 10%;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 0 60px rgba(255,255,255,0.05);
}
.energy-visual-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    color: #fff;
    font-family: Manrope, Arial;
    font-size: 1.4rem;
    line-height: 1.3;
    text-shadow: 0 4px 12px rgba(15, 42, 79, 1);
}
@media (max-width: 800px) {
    .energy-layout {
        grid-template-columns: 1fr;
    }
    .energy-visual-card {
        min-height: 320px;
        order: 1;
    }
    .energy-content-card {
        order: 0;
    }
}

/* Фотогалерея */
.gallery-slider {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.gallery-track {
    display: grid;
    align-items: center;
}
.gallery-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;

    border-radius: 28px;
    border: 1px solid rgba(44, 90, 160, 0.35);
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        0 10px 30px rgba(15,42,79,0.08),
        0 2px 8px rgba(15,42,79,0.04);
}
.gallery-slide {
    grid-area: 1 / 1 / 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.gallery-dots {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
/* Фотографии */
.gallery-photo-1 {
    background-image: url('jpg/Tower.jpg');
}
.gallery-photo-2 {
    background-image: url('jpg/TowerStars.jpg');
}
.gallery-photo-3 {
    background-image: url('jpg/TowerTableFar.jpg');
}
.gallery-photo-4 {
    background-image: url('jpg/TowerTable.jpg');
}

/* КОМАНДА */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(44,90,160,0.4);
    box-shadow: 0 12px 24px rgba(15,42,79,0.08);
}
.team-photo {
    height: 400px;
    background: #ccd3de;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.team-photo img.team-photo-artem {
    object-position: 100% center;
}
.team-photo img.team-photo-makar {
    object-position: 53% center;
}

.team-card:hover .team-photo img {
    transform: scale(1.03);
}
.team-info {
    padding: 20px 16px 24px;
}
.team-info h4 {
    font-family: Manrope, Arial;
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.team-role {
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
}
.team-description {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.8;
    margin-top: 12px;
    color: var(--primary);
}
@media (max-width: 600px) {
    .team-description {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    .team-role {
        font-size: 0.8rem;
    }
}

/* ОТЗЫВЫ — КАРУСЕЛЬ */
.testimonials-slider {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.testimonials-track {
    display: grid;
    align-items: start;
    min-height: auto;
}
.testimonial-slide {
    grid-area: 1 / 1 / 1 / 1;
    background: var(--card-bg);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 28px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: start;
    align-self: start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.07),
        0 2px 10px rgba(15,42,79,0.03);
}
.testimonial-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    background: #cddae9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: linear-gradient(135deg, #e2eaf5, #b8c6db);
    margin: 0 auto;
}
.testimonial-content h4 {
    font-family: Manrope, Arial;
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.testimonial-project {
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.testimonial-text {
    line-height: 1.2;
    opacity: 0.9;
    word-break: break-word;
    overflow-wrap: break-word;

}
.slider-nav {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    font-size: 20px;
    transition: 0.2s;
    border-radius: 40px;
}
.slider-nav:hover {
    background: var(--primary);
    color: #fff;
}
.testimonials-dots {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(15,42,79,0.25);
    transition: 0.2s;
    cursor: pointer;
}
.dot.is-active {
    background: var(--accent);
}

/* ПРИЗЫВ (ACTION) */
.final-join {
    position: relative;
    overflow: hidden;
    background: radial-gradient(80% 80% at 20% 10%, rgba(80,133,214,0.28), transparent 70%),
                radial-gradient(60% 80% at 85% 90%, rgba(44,90,160,0.24), transparent 70%),
                linear-gradient(165deg, #0f2a4f 0%, #12345d 55%, #1b4a84 100%);
}
.join-card {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.join-title {
    font-family: Manrope, Arial;
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 20px;
}
.join-cta {
    display: inline-block;
    padding: 16px 42px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    font-family: Manrope, Arial;
    font-size: 1.2rem;
    border-radius: 50px;
    margin: 16px 0;
    transition: 0.25s;
    font-weight: bold;
}
.join-cta:hover {
    background: #e9f3ff;
    transform: scale(1.02);
}
.join-note {
    opacity: 0.85;
    font-size: 0.9rem;
}
.join-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.join-particles span {
    position: absolute;
    color: rgba(255, 255, 255, 0.16);
    font-family: Manrope, Arial;
    font-size: clamp(14px, 1.8vw, 28px);
    letter-spacing: 1px;
    animation: flyUp 11s linear infinite;
}
.join-particles span:nth-child(1) { left: 8%; top: 92%; animation-duration: 12s; }
.join-particles span:nth-child(2) { left: 18%; top: 96%; animation-duration: 10.5s; animation-delay: 1.4s; }
.join-particles span:nth-child(3) { left: 31%; top: 95%; animation-duration: 9.8s; animation-delay: 0.8s; }
.join-particles span:nth-child(4) { left: 46%; top: 94%; animation-duration: 11.8s; animation-delay: 2s; }
.join-particles span:nth-child(5) { left: 58%; top: 98%; animation-duration: 10.8s; animation-delay: 1.2s; }
.join-particles span:nth-child(6) { left: 69%; top: 93%; animation-duration: 12.2s; animation-delay: 0.4s; }
.join-particles span:nth-child(7) { left: 79%; top: 97%; animation-duration: 11.2s; animation-delay: 2.2s; }
.join-particles span:nth-child(8) { left: 90%; top: 95%; animation-duration: 10.2s; animation-delay: 1.7s; }

@keyframes flyUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.2; }
    65% { opacity: 0.22; }
    100% {
        transform: translateY(-125vh) translateX(-24px) rotate(-6deg);
        opacity: 0;
    }
}

/* ФУТЕР */
.site-footer {
    border-top: 1px solid var(--border);
    border: 1px solid var(--border);
    border-radius: 32px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    padding: 32px 0 24px;
    box-shadow:
        0 10px 30px rgba(15,42,79,0.07),
        0 2px 10px rgba(15,42,79,0.03);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.footer-col {
    flex: 1;
    min-width: 180px;
}
.footer-logo-small {
    height: 42px;
    width: auto;
    margin-bottom: 10px;
}
.footer-links a, .footer-contacts a {
    display: block;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.9rem;
    margin: 6px 0;
    opacity: 0.8;
    transition: 0.2s;
}
.footer-links a:hover, .footer-contacts a:hover {
    opacity: 1;
    color: var(--accent);
}
.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 20px;
}

.section.footer-section {
    height: auto;
    min-height: auto;
    padding-top: 0;
    background: transparent;
    scroll-snap-align: start;
}

.section.footer-section footer {
    margin-bottom: 0;
}


.content-text p:last-child { margin-bottom: 0; }


@media (max-width: 800px) {
    .nav { display: none; }
    .main-scroller { scroll-snap-type: none; overflow-y: auto; }
    .section { height: auto; min-height: 100vh; padding: 100px 0; }
    .about-layout { grid-template-columns: 1fr; }
    .testimonial-slide {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .testimonial-avatar {
        margin: 0 auto;
    }
    .testimonial-content {
        text-align: center;
    }
    .testimonials-slider { grid-template-columns: 36px 1fr 36px; }
    .team-grid { gap: 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-height: 750px) {
    .section#home {
        padding-top: 40px;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    .home-mission-grid {
        margin-top: 16px;
        gap: 12px;
    }
    .home-mission-card {
        padding: 10px 14px;
    }
    .home-mission-title {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    .home-mission-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    .btn-primary, .btn-secondary {
        padding: 8px 18px;
        font-size: 11px;
        min-width: 140px;
    }
    .responsive-logo {
        max-width: 260px;
    }
}

/* Когда высота окна меньше 600px — делаем карточки уже, скругляем углы */
@media (max-height: 600px) {
    .section#home {
        padding-top: 20px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.8rem;
    }
    .home-mission-card {
        padding: 6px 12px;
    }
    .home-mission-text {
        font-size: 0.65rem;
    }
    .btn-primary, .btn-secondary {
        padding: 6px 14px;
        font-size: 10px;
        min-width: 120px;
    }
}

/* Когда высота меньше 480px — скрываем карточки, чтобы не мешали */
@media (max-height: 480px) {
    .home-mission-grid {
        display: none;
    }
    .hero-actions {
        margin-top: 8px;
    }
    .responsive-logo {
        max-width: 200px;
    }
}
#about .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 24px;
    width: 100%;
    align-items: stretch;
}
#about .about-visual-card,
#about .about-content-card {
    width: 100%;
    min-width: 0;
    position: relative;
}
#about .about-content-card {
    z-index: 2;
}
.gallery-photo-5 {
    background-image: url('jpg/TowerNew1.jpg');
}
.gallery-photo-6 {
    background-image: url('jpg/TowerNew2.jpg');
}
.gallery-photo-7 {
    background-image: url('jpg/TowerNew3.jpg');
}
.gallery-photo-8 {
    background-image: url('jpg/TowerNew4.jpg');
}
.home-mission-icon {
    display: inline-block;
}
.icon-rocket {
    animation: rocket 2.4s ease-in-out infinite;
}
.icon-bolt {
    animation: bolt 2.4s ease-in-out infinite;
}
@keyframes rocket {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes bolt {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}
.hero-title {
    letter-spacing: 1px;
}
.home-mission-card {
    box-shadow: 0 10px 24px rgba(15, 42, 79, 0.06);
}
.hero-actions {
    margin-top: 36px;
}
.energy-points {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    line-height: 1.6;
}
.energy-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.point-icon {
    display: inline-block;
    flex: 0 0 auto;
}
.icon-search {
    animation: search 2.6s ease-in-out infinite;
}
.icon-check {
    animation: check 2.6s ease-in-out infinite;
}
.icon-hands {
    animation: hands 2.6s ease-in-out infinite;
}
@keyframes search {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}
@keyframes check {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
@keyframes hands {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-8deg); }
}