@import './fonts.css';

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 90%;
}

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

#контакты {
    scroll-margin-top: 100px;
}

.hero-btn {
    text-decoration: none;
}

/* ======================
   HEADER
====================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.header-inner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #0055A5;
}

.logo img {
    height: 32px;
    display: block;
}

nav {
    display: flex;
    gap: 50px;
}

nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    transition: 0.2s ease;
}

nav a:hover {
    color: #0055A5;
}

.hero h1 {
    letter-spacing: -0.5px;
    word-spacing: 12px;
}

.phone {
    font-size: 14px;
    font-weight: 500;
    color: #0055A5;
    text-decoration: none;
}

.phone:hover {
    text-decoration: none;
}

/* ===== БУРГЕР ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0055A5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    padding: 100px 40px 40px;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    text-decoration: none;
    font-size: 18px;
    color: #374151;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-menu a:hover {
    color: #0055A5;
}

.mobile-menu .phone {
    display: block;
    font-size: 18px;
    margin-top: 20px;
    border-bottom: none;
}

/* Затемнение фона */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ======================
   HERO
====================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 90px;
    background: linear-gradient(90deg, rgba(0,31,63,0.9) 0%, rgba(0,31,63,0.7) 40%, rgba(0,31,63,0.4) 70%, rgba(0,31,63,0.1) 100%), url('../assets/bg/hero-bg.gif') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/bg/hero-bg.gif') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,31,63,0.9),transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 300px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin: 25px 0;
    letter-spacing: -2px;
}

.hero-top {
    margin-bottom: 30px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #93c5fd;
    margin-bottom: 18px;
}

.hero-contacts {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.hero-contact span {
    font-size: 11px;
    color: #93c5fd;
}

.hero-contact p {
    font-size: 14px;
    color: #ffffff;
}

.hero-desc {
    font-size: 18px;
    color: #e5e7eb;
    margin: 20px 0;
    max-width: 600px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-arrow {
    transition: transform 0.25s ease;
}

.hero-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-primary {
    background: #ffffff;
    color: #0055A5;
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    letter-spacing: 0.3px;
    min-width: 44px;
    min-height: 44px;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* ======================
   STATS
====================== */
.stats {
    padding: 90px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 60px;
    text-align: center;
}

.stats h3 {
    font-size: 42px;
    color: #001F3F;
    margin-bottom: 10px;
}

.stats span {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
}

/* ======================
   INFRASTRUCTURE
====================== */
.infrastructure {
    background: linear-gradient(to bottom,#ffffff,#f9fafb);
    padding: 140px 0 100px 0;
    position: relative;
}

.infrastructure::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    pointer-events: none;
}

.infrastructure h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 30px;
    color: #001F3F;
}

.infrastructure p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px auto;
    color: #6b7280;
    font-size: 18px;
}

.infra-slider {
    overflow: hidden;
    padding: 40px 0;
}

.infra-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.infra-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.infra-card {
    height: 230px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.infra-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #0055A5;
}

.card-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}

.infra-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #001F3F;
    font-weight: 700;
}

.infra-card p {
    font-size: 14px;
    color: #6b7280;
}

/* ======================
   SOLUTIONS
====================== */
.solutions {
    padding: 140px 0;
    background: linear-gradient(to bottom,#001F3F,#003366);
    color: #ffffff;
    position: relative;
}

.solutions h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 90px;
}

.solutions-slider {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}

.solution-slide {
    width: 100%;
    min-height: 420px;
    border-radius: 28px;
    padding: 60px;
    background: radial-gradient(circle at 15% 20%, rgba(59,130,246,0.25), transparent 40%), linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 60px 120px rgba(0,0,0,0.45);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
}

.solution-left {
    max-width: 700px;
}

.solution-number {
    font-size: 56px;
    font-weight: 700;
    color: #3b82f6;
}

.solution-line {
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    margin: 12px 0 28px;
}

.solution-slide h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.solution-desc {
    font-size: 16px;
    color: #93c5fd;
    margin-bottom: 20px;
}

.solution-slide ul {
    padding-left: 20px;
    line-height: 1.7;
}

.solution-controls {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-controls button {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.solution-controls button:hover {
    transform: scale(1.08);
}

.solution-controls button:active {
    transform: scale(0.92);
}

/* ======================
   PROJECTS
====================== */
.projects {
    padding: 140px 0;
    background: linear-gradient(to bottom,#f9fafb,#ffffff);
}

.projects h2 {
    text-align: center;
    font-size: 44px;
    margin-bottom: 80px;
    color: #001F3F;
}

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

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: 0.4s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.85), rgba(0,0,0,0.55), rgba(0,0,0,0.25) );
}

.project-main {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.project-main h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.project-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.25s ease;
    cursor: pointer;
}

.project-toggle:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.6);
}

.project-content {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.4s ease;
    padding: 0 24px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

.project-content ul {
    padding-left: 18px;
    line-height: 1.6;
    font-size: 14.5px;
    color: #374151;
    list-style: none;
    padding-left: 0;
}

.project-content li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 18px;
}

.project-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
}

.project-card.active {
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.project-card.active .project-content {
    max-height: 400px;
    padding: 20px 24px 24px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

/* ======================
   PARTNERS
====================== */
.partners {
    padding: 100px 0 120px;
    background: #f9fafb;
}

.partners h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #001F3F;
}

.slider {
    position: relative;
}

.slider-mask {
    overflow: hidden;
    padding: 40px 0;
}

.slider::before,
.slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb, transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    align-items: center;
}

.partner {
    min-width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    transition: none;
    opacity: 1;
    transform: none;
}

.partner img {
    max-width: 70px;
    max-height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.partner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ======================
   CONTACTS
====================== */
.contacts {
    padding: 140px 0;
    background: linear-gradient(to bottom,#ffffff,#f9fafb);
}

.contacts h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 80px;
    color: #001F3F;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #0b4a8b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.contact-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 18px;
    color: #001F3F;
    line-height: 1.4;
}

.contacts-map {
    width: 100%;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ======================
   FOOTER
====================== */
.footer {
    background: #002b55;
    color: #ffffff;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.footer-brand img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #9fb3c8;
    font-size: 14px;
}

.footer h4 {
    font-size: 13px;
    letter-spacing: 1px;
    color: #9fb3c8;
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 40px;
}

.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-contacts {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
}

.footer-contacts p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: #9fb3c8;
}

/* ======================
   МЕДИАЗАПРОСЫ (АДАПТАЦИЯ)
====================== */
@media (max-width: 1100px) {
    .hero-content {
        margin-left: 100px;
    }
}

@media (max-width: 900px) {
    nav, .header-inner .phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-inner {
        height: 70px;
    }

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

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-map {
        height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 10px 20px;
        justify-content: center;
    }

    .footer-brand img {
        margin: 0 auto 10px;
    }
}

/* ======================
   IPAD (768px - 1024px) - СЕТКА
====================== */
@media (min-width: 601px) and (max-width: 1024px) {
    .infra-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }

    .infra-card {
        height: 220px;
        padding: 30px 20px;
    }

    .card-image {
        width: 70px;
        height: 70px;
    }

    .infra-card h3 {
        font-size: 16px;
    }

    .infra-card p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        background: linear-gradient(180deg, rgba(0,31,63,0.9), rgba(0,31,63,0.7)), url('../assets/bg/hero-bg.gif') center/cover no-repeat;
    }
    .hero-top {
        margin-top: 0;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }

    .hero-contacts {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .hero-contact {
        gap: 8px;
    }

    .hero-icon {
        width: 34px;
        height: 34px;
    }

    .hero-contact p {
        font-size: 12px;
    }

    .hero-contact span {
        font-size: 9px;
    }

    .hero-btn {
        width: 80%;
        justify-content: center;
    }

    .solution-controls {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }

    .solution-slide {
        padding: 30px;
        min-height: auto;
    }

    .solution-number {
        font-size: 40px;
    }

    .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 600px) {

    /* Invisible left/right tap zones to navigate infra carousel on mobile */
    .infra-wrapper { position: relative; }
    .infra-nav-left, .infra-nav-right {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 18%;
        z-index: 3;
        background: transparent;
        touch-action: manipulation;
    }
    .infra-nav-left { left: 0; }
    .infra-nav-right { right: 0; }

    section {
        padding: 60px 0 !important;
    }
    .hero h1 {
        letter-spacing: -0.5px;
        word-spacing: 6px;
    }
    .hero {
        min-height: 100vh;
    }
    .solutions,
    .projects,
    .contacts {
        padding: 60px 0 !important;
    }
    .partners h2,
    .projects h2,
    .contacts h2,
    .solutions h2 {
        font-size: 24px;
    }
    .partners {
        padding: 60px 0;
    }

    .hero-contacts {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .hero-contact {
        flex: 1;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .stats h3 {
        font-size: 18px;
    }

    .stats p {
        font-size: 10px;
    }

    .stats {
        padding: 40px 0;
    }

    .infrastructure h2 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .infrastructure p {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .infrastructure {
        padding: 40px 0;
    }

    /* ======================
       INFRA CAROUSEL MOBILE
    ====================== */
    .infra-slider {
        overflow: hidden;
        padding: 40px 0 60px;
        position: relative;
    }

    /* Градиенты по бокам - подсказка что можно листать */
    .infra-slider::before,
    .infra-slider::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .infra-slider::before {
        left: 0;
        background: linear-gradient(to right, #f9fafb, transparent);
    }

    .infra-slider::after {
        right: 0;
        background: linear-gradient(to left, #f9fafb, transparent);
    }

    .infra-wrapper {
        overflow: hidden;
        width: 100%;
        position: relative;
    }

    .infra-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
    }

    .infra-card {
        /* Карточка 75% ширины - боковые видны на 12.5% с каждой стороны */
        min-width: 75%;
        width: 75%;
        margin: 0 12.5%;
        flex-shrink: 0;
        
        /* Форма как на фото */
        height: auto;
        min-height: 280px;
        padding: 40px 25px;
        
        /* Стили */
        background: #ffffff;
        border-radius: 24px;
        border: 1px solid #e5e7eb;
        
        opacity: 0.35;
        transform: scale(0.92);
        transition: all 0.4s ease;
    }

    /* Активная карточка по центру */
    .infra-card.active {
        opacity: 1;
        transform: scale(1);
        border-color: #0055A5;
        box-shadow: 0 15px 40px rgba(0,85,165,0.15);
        z-index: 2;
    }

    .card-image {
        width: 75px;
        height: 75px;
        margin: 0 auto 20px;
    }

    .infra-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.3;
        font-weight: 700;
        color: #001F3F;
    }

    .infra-card p {
        font-size: 13px;
        line-height: 1.4;
        color: #6b7280;
    }
    /* ======================================== */

    .solution-slide {
        padding: 20px;
        min-height: 360px;
    }

    .solution-slide h3 {
        font-size: 20px;
    }

    .solution-desc {
        font-size: 13px;
    }

    .solution-slide ul {
        font-size: 13px;
    }

    .solutions h2 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 40px;
    }

    .projects h2 {
        margin-bottom: 40px;
    }

    .projects-grid {
        gap: 20px;
    }

    .project-card {
        min-height: 180px;
    }

    .project-content li {
        font-size: 12px;
    }

    .projects h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .project-main h3 {
        font-size: 16px;
        line-height: 1.2;
    }

    .project-toggle {
        font-size: 11px;
        padding: 6px 12px;
    }

    .partner {
        min-width: 100px;
        height: 60px;
    }

    .partner img {
        max-width: 60px;
    }

    .contacts h2 {
        margin-bottom: 30px;
    }

    .contacts-info {
        gap: 16px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon img {
        width: 18px;
        height: 18px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .contact-label {
        font-size: 10px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .stats h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        min-height: 100vh;
    }
    .hero-contacts {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
    }

    .hero-contact {
        min-width: 0;
        flex: 1;
    }

    .hero-contact p {
        font-size: 11px;
        white-space: nowrap;
    }

    .hero-contact span {
        font-size: 9px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 16px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .infra-card {
        min-width: 80%;
        width: 80%;
        margin: 0 10%;
        min-height: 260px;
    }
}
