/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1a56db;
    --blue-dark: #1444b0;
    --blue-light: #e8effc;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    padding: 10px 24px;
    background: var(--blue);
    color: #fff;
    white-space: nowrap;
}

.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }

.btn--outline {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}
.btn--outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }

.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-light); }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--blue);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo__text { color: var(--text); }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav__link:hover { color: var(--blue); }

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

.nav__link:hover::after { width: 100%; }

.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header__phone {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

.header__phone:hover { color: var(--blue); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(26,86,219,0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245,158,11,0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(37,99,235,0.2) 0%, transparent 60%);
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

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

.hero__illustration {
    width: 100%;
    max-width: 460px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* Floating animations */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes heroFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes heroPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hero__float-1 { animation: heroFloat 4s ease-in-out infinite; }
.hero__float-2 { animation: heroFloat 4.5s ease-in-out 0.5s infinite; }
.hero__float-3 { animation: heroFloat2 5s ease-in-out 1s infinite; }
.hero__float-4 { animation: heroFloat 4s ease-in-out 1.5s infinite; }
.hero__float-5 { animation: heroPulse 3s ease-in-out infinite; }

.hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #fff;
}

.accent { color: #93bbff; }

.hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__actions .btn:not(.btn--outline) {
    background: var(--accent);
}
.hero__actions .btn:not(.btn--outline):hover {
    background: var(--accent-hover);
}

.hero__actions .btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.hero__actions .btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.hero__stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section--gray {
    background: var(--bg-gray);
}

.section--blue {
    background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
    color: #fff;
}

.section__title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 48px;
}

.section--blue .section__subtitle {
    color: rgba(255,255,255,0.75);
}

/* ===== Advantages ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.advantage-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.advantage-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card__text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Supplies ===== */
.supplies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.supply-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: all var(--transition);
    cursor: default;
}

.supply-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 50%, rgba(15,23,42,0.1) 100%);
    transition: all var(--transition);
}

.supply-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.supply-card:hover::before {
    background: linear-gradient(to top, rgba(26,86,219,0.85) 0%, rgba(26,86,219,0.3) 50%, rgba(26,86,219,0.1) 100%);
}

.supply-card__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    z-index: 1;
}

/* ===== Clients ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.client-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: all var(--transition);
}

.client-badge:hover {
    background: var(--blue-light);
    border-color: var(--blue);
}

.client-badge svg {
    color: var(--blue);
    min-width: 24px;
}

.client-badge span {
    font-size: 15px;
    font-weight: 500;
}

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--blue);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}

.process-step__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step__text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info__title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.contact-info__text {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.contact-info__item:hover { color: #fff; }
.contact-info__item svg { min-width: 20px; opacity: 0.8; }

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contact-form__group {
    margin-bottom: 20px;
}

.contact-form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.optional {
    font-weight: 400;
    color: var(--text-light);
}

.contact-form__input {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-gray);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
}

.contact-form__input:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.contact-form__input::placeholder { color: #94a3b8; }

.contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form__submit {
    width: 100%;
    margin-top: 4px;
}

.contact-form__note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding-top: 48px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.logo--footer .logo__text { color: #fff; }

.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}

.footer__heading {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer__nav a:hover { color: #fff; }

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts a,
.footer__contacts span {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer__contacts a:hover { color: #fff; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== Form Success ===== */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.form-success__text {
    font-size: 15px;
    color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .supplies-grid { grid-template-columns: repeat(3, 1fr); }
    .supply-card { height: 160px; }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid::before { display: none; }
    .process-step:nth-child(n+4) { margin-top: 12px; }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 99;
    }
    .nav.active { display: flex; }
    .nav__link { font-size: 20px; color: var(--text); }
    .nav__link:hover { color: var(--blue); }

    .header__right { display: none; }
    .burger { display: flex; }

    .hero { padding: 110px 0 60px; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 16px; }
    .hero__stats { gap: 24px; }
    .hero__stat-num { font-size: 22px; }

    .section { padding: 60px 0; }
    .section__title { font-size: 26px; }
    .section__subtitle { font-size: 15px; margin-bottom: 32px; }

    .advantages-grid { grid-template-columns: 1fr; }
    .supplies-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-step {
        text-align: left;
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 0 16px;
        align-items: center;
    }
    .process-step__num {
        width: 48px; height: 48px; font-size: 18px;
        margin: 0;
        grid-row: 1 / 3;
    }
    .process-step__title { margin-bottom: 2px; }
    .process-step__text { grid-column: 2; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 24px; }

    .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__stats { flex-direction: column; gap: 12px; }
    .supplies-grid { grid-template-columns: 1fr; }
}
