/* ============================================
ГЛОБАЛЬНЫЕ СТИЛИ
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #212121;
    --bg-card: #2a2a2a;
    --accent: #fda308;
    --accent-hover: #e08f00;
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-muted: #888888;
    --border-color: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
АКЦЕНТНЫЙ ТЕКСТ
============================================ */
.accent-text {
    color: var(--accent);
}

/* ============================================
SECTION TAG
============================================ */
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(253, 163, 8, 0.08);
    padding: 4px 16px;
    border-radius: 4px;
    border: 1px solid rgba(253, 163, 8, 0.12);
}

/* ============================================
ШАПКА
============================================ */
.header {
    background: var(--bg-primary);
    padding: 16px 0;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.04);
}

.nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
}

/* ============================================
КНОПКИ
============================================ */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253, 163, 8, 0.3);
}

/* ============================================
ГЕРОЙ-БЛОК
============================================ */
.hero {
    position: relative;
    background-color: var(--bg-primary);
    background-image: url('../assets/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.85);
    z-index: 1;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transform: translateY(-30px);
}

.hero__content {
    max-width: 620px;
    padding: 0;
}

.hero__badge {
    display: inline-block;
    background: rgba(253, 163, 8, 0.1);
    color: var(--accent);
    padding: 20px 18px;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
    border: 1px solid rgba(253, 163, 8, 0.12);
    animation: fadeInUp 0.8s ease;
}

.hero__content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__content h1 .accent-text {
    color: var(--accent);
}

.hero__content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 480px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__info {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.25s both;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__phone {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 12px;
    border: 3px solid var(--accent);
    background: rgba(253, 163, 8, 0.06);
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-align: center;
    min-width: 320px;
}

.hero__phone:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(253, 163, 8, 0.35);
}

.hero__phone-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-right: 8px;
    opacity: 0.7;
}

.hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 80px;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0) 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

/* ============================================
БЛОК "НАША ТЕХНИКА"
============================================ */
.tech {
    background: var(--bg-primary);
    padding: 60px 0;
}

.tech__header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== ОДИНАКОВЫЕ КАРТОЧКИ ===== */
.tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.tech__card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    height: 100%;
    min-height: 520px;
}

.tech__card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.tech__card-image {
    position: relative;
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.tech__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech__card:hover .tech__card-image img {
    transform: scale(1.05);
}

.tech__card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 24px 24px;
}

.tech__card-body h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    min-height: 56px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech__list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    flex: 1;
}

.tech__list li {
    padding: 6px 0;
    border-bottom: 1px solid #383838;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #d0d0d0;
}

.tech__list li:last-child {
    border-bottom: none;
}

.tech__list li span {
    color: var(--text-muted);
}

.tech__list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.tech__link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech__link:hover {
    gap: 12px;
}

.tech__gradient {
    height: 80px;
    margin-top: 30px;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    pointer-events: none;
}

/* ============================================
БЛОК "О НАС"
============================================ */
.about {
    background: var(--bg-secondary);
    padding: 70px 0 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about__header {
    text-align: center;
    margin-bottom: 50px;
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about__content {
    padding-right: 20px;
}

.about__text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__text strong {
    color: var(--accent);
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about__feature-icon {
    font-size: 1.2rem;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about__stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about__stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about__stat:hover::before {
    opacity: 1;
}

.about__stat:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(253, 163, 8, 0.08);
}

.about__stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.about__stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
    font-weight: 500;
}

.about__stat--full {
    grid-column: 1 / -1;
}

.about__gradient {
    height: 80px;
    margin-top: 30px;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

/* ============================================
КОНТАКТЫ
============================================ */
.contacts {
    background: var(--bg-primary);
    padding: 70px 0;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts__content {
    padding-top: 0;
}

.contacts__desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 16px 0 24px;
    max-width: 440px;
}

.contacts__info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.contacts__info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contacts__phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contacts__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    max-width: 360px;
}

.contacts__phone:hover {
    background: rgba(253, 163, 8, 0.06);
    border-color: var(--accent);
    color: var(--accent);
}

.contacts__info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

/* ===== ПРАВАЯ КОЛОНКА КОНТАКТОВ ===== */
.contacts__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    padding: 20px 0;
}

.contacts__social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contacts__social-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contacts__social-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(253, 163, 8, 0.08);
}

.contacts__social-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.contacts__social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.contacts__social-card:hover .contacts__social-link img {
    transform: scale(1.05);
}

/* Почта + логотип + кнопка */
.contacts__email-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 24px;
    gap: 16px;
    transition: border-color 0.3s ease;
    flex-wrap: wrap;
}

.contacts__email-block:hover {
    border-color: var(--accent);
}

.contacts__email-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.contacts__mail-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px;
}

.contacts__mail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contacts__email-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contacts__copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.contacts__copy-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.contacts__copy-btn svg {
    flex-shrink: 0;
}

/* ============================================
МОДАЛЬНОЕ ОКНО
============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 40px 36px 36px;
    position: relative;
    animation: slideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 4px 8px;
}

.modal__close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal__content {
    text-align: center;
}

.modal__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.modal__phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.modal__phone {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.modal__phone:hover {
    border-color: var(--accent);
    background: rgba(253, 163, 8, 0.06);
    color: var(--accent);
}

.modal__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal__social-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.modal__social-icons {
    display: flex;
    gap: 16px;
}

.modal__social-icon {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.modal__social-icon:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 163, 8, 0.08);
}

.modal__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
ФУТЕР
============================================ */
.footer {
    background: var(--bg-primary);
    padding: 50px 0 20px 0;
    border-top: 2px solid var(--accent);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand .footer__logo {
    max-height: 40px;
    margin-bottom: 12px;
}

.footer__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
    margin-bottom: 16px;
}

.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__phone {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: var(--accent);
}

.footer__grid h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer__links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__contacts p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer__social-icons {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}

.social-icon {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 163, 8, 0.08);
}

.social-icon:hover img {
    transform: scale(1.05);
}

.footer__social-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
АДАПТИВНОСТЬ
============================================ */
@media (max-width: 1024px) {
    .tech__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__content {
        padding-right: 0;
    }

    .hero__phone {
        font-size: 1.5rem;
        padding: 12px 24px;
        min-width: 260px;
    }
}

@media (max-width: 992px) {
    .hero__content h1 {
        font-size: 2.6rem;
    }

    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .nav {
        gap: 14px;
        justify-content: center;
    }

    .nav__link {
        font-size: 0.8rem;
    }

    .hero {
        min-height: auto;
        padding: 60px 0 0 0;
        background-attachment: scroll;
    }

    .hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        transform: translateY(0);
    }

    .hero__content h1 {
        font-size: 2rem;
    }

    .hero__content p {
        font-size: 1rem;
    }

    .hero__info {
        gap: 8px;
    }

    .hero__info-item {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .hero__gradient {
        height: 50px;
    }

    .hero__phones {
        align-items: center;
        padding: 10px 0 20px 0;
    }

    .hero__phone {
        font-size: 1.2rem;
        padding: 12px 20px;
        min-width: 0;
        width: 100%;
        max-width: 400px;
    }

    .hero__phone-label {
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .tech__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech__card {
        min-height: 480px;
    }

    .tech__card-image {
        height: 190px;
    }

    .tech__card-body h3 {
        min-height: 48px;
        font-size: 1.2rem;
    }

    .tech__gradient,
    .about__gradient {
        height: 50px;
    }

    .about__features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about__stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about__stat {
        padding: 20px 14px;
    }

    .about__stat-number {
        font-size: 2rem;
    }

    .about__stat--full {
        grid-column: 1 / -1;
    }

    .contacts__social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .contacts__email-block {
        padding: 14px 18px;
    }

    .contacts__email-left {
        gap: 12px;
    }

    .contacts__mail-logo {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        padding: 4px;
    }

    .contacts__email-text {
        font-size: 0.95rem;
        white-space: normal;
    }

    .contacts__copy-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
    }

    .contacts__info-block {
        flex-wrap: wrap;
        gap: 12px;
    }

    .contacts__phone {
        font-size: 1.1rem;
        padding: 12px 16px;
        max-width: 100%;
    }

    .contacts__right {
        padding: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer__desc {
        max-width: 100%;
        margin: 0 auto 16px;
    }

    .footer__phones {
        align-items: center;
    }

    .footer__social-icons {
        justify-content: center;
    }

    .footer__brand .footer__logo {
        margin: 0 auto 12px;
    }

    .modal {
        padding: 30px 20px 28px;
        margin: 10px;
    }

    .modal__title {
        font-size: 1.3rem;
    }

    .modal__phone {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .modal__social-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 36px;
    }

    .nav {
        gap: 8px;
    }

    .nav__link {
        font-size: 0.7rem;
    }

    .hero__content h1 {
        font-size: 1.6rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero__phone {
        font-size: 1rem;
        padding: 10px 16px;
        border-width: 2px;
    }

    .container {
        padding: 0 16px;
    }

    .tech__card {
        min-height: 440px;
    }

    .tech__card-image {
        height: 170px;
    }

    .tech__card-body {
        padding: 16px 16px 20px;
    }

    .tech__card-body h3 {
        min-height: 42px;
        font-size: 1.1rem;
    }

    .about__features {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .about__feature {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .about__stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about__stat {
        padding: 16px 12px;
    }

    .about__stat-number {
        font-size: 1.6rem;
    }

    .contacts__social-grid {
        gap: 8px;
    }

    .contacts__mail-logo {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        padding: 4px;
    }

    .contacts__email-text {
        font-size: 0.85rem;
    }

    .contacts__phone {
        font-size: 1rem;
        padding: 10px 14px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    .modal {
        padding: 24px 16px 24px;
    }

    .modal__title {
        font-size: 1.2rem;
    }

    .modal__phone {
        font-size: 0.95rem;
        padding: 10px 14px;
    }

    .modal__social-icon {
        width: 40px;
        height: 40px;
    }
}