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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    scroll-behavior: smooth;
    line-height: 1.5;
}

/* Кастомный скролл под светлую тему */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f172a;
}

/* общие контейнеры */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Хедер — светлый, минималистичный */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    color: red !important;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: red !important;
}

/* кнопки — радиус 3px */
.btn {
    display: inline-block;
    background: #0f172a;
    border: none;
    padding: 12px 28px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: 0.1s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn:hover {
    background-color: red !important;
    color: white !important;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #0f172a;
    color: #0f172a;
    box-shadow: none;
}

.btn-outline:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateY(-1px);
}

/* hero секция — светлый фон */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: #eef2ff;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
}

.hero-content h1 {
    font-size: 3.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-content p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 550px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.weld-icon {
    background: #ffffff;
    border-radius: 3px;
    padding: 5px;
    width: 380px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.weld-icon img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

/* секции */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.section-sub {
    text-align: center;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* карточки услуг — радиус 3px */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    padding: 32px 24px;
    transition: 0.2s;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.service-card:hover {
    outline: 2px solid red;
    outline-offset: -1px;
    border-color: transparent !important;
}

.service-icon {
    font-size: 48px;
    color: #1e293b;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #0f172a;
}

.service-card p {
    color: #475569;
}

/* галерея работ — радиус 3px */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.gallery-item {
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
    text-align: center;
    padding: 28px 20px;
}

.gallery-item i {
    font-size: 72px;
    color: #1e293b;
    margin-bottom: 15px;
}

.gallery-item h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.gallery-item p {
    color: #475569;
    font-size: 0.9rem;
}

/* преимущества — радиус 3px */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 200px;
    background: #ffffff;
    border-radius: 3px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.1s;
}

.feature i {
    font-size: 40px;
    color: #1e293b;
}

.feature h3 {
    margin: 12px 0 8px;
}

/* контактный блок — светлый стиль */
.contact-section {
    background: #ffffff;
    border-radius: 3px;
    margin: 20px 0 60px;
    padding: 48px 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #0f172a;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.contact-detail i {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 22px;
    color: #1e293b;
}

/* Стиль для кастомной иконки Max */
.icon-max {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
}

.social-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 3px;
    transition: all 0.1s ease;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #0f172a;
    background-color: red !important;
    outline: 0px solid red;
    outline-offset: 0px;
}

.social-link:hover .icon-max,
.social-link:hover span {
    color: white !important;
}

.contact-form {
    flex: 1;
    background: #f8fafc;
    padding: 32px;
    border-radius: 3px;
    border: 1px solid #e2e8f0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 14px 20px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
    transition: 0.2s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

footer {
    border-top: 1px solid #e2e8f0;
    padding: 40px 0;
    text-align: center;
    color: #475569;
    background: #ffffff;
}

footer .logo span {
    color: red !important;
}

@media (max-width: 820px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .nav-links {
        gap: 20px;
        margin-top: 12px;
    }
    .header .container {
        flex-direction: column;
    }
    .contact-section {
        padding: 32px 20px;
    }
}

@media (max-width: 580px) {
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
.btn, .btn-outline, .service-card, .gallery-item, .feature, .contact-section, .contact-detail i, .input-group input, .input-group textarea, .weld-icon, .social-link, .icon-max {
    border-radius: 3px;
}