:root {
    --bg-light: #f5f5f5;
    --text-dark: #2d2d2d;
    --accent-orange: #ff6b35;
    --border-gray: #e0e0e0;
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Двойная шапка */
.header { background: white; padding: 20px 0; border-bottom: 1px solid var(--border-gray); position: sticky; top: 0; z-index: 100; }
.header-grid { display: flex; justify-content: space-between; align-items: center; }
.logo-partner { display: flex; align-items: center; text-decoration: none; color: var(--text-dark); font-weight: 600; gap: 8px; }
.blt-logo { width: 40px; height: 40px; object-fit: contain; filter: invert(15%) sepia(70%) saturate(300%) hue-rotate(340deg) brightness(100%) contrast(100%); }
.logo-local { font-size: 1.8rem; font-weight: 700; letter-spacing: -1px; }

/* Секции */
.hero { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.metal-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 4" width="4" height="4"><path fill="%23ffffff" fill-opacity="0.05" d="M0 0h4v4H0z"/><path fill="%23000000" fill-opacity="0.03" d="M2 0h2v2H2zM0 2h2v2H0z"/></svg>'); opacity: 0.3; }
.hero h1 { font-size: 3.2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.subtitle { font-size: 1.2rem; color: #555; max-width: 700px; margin: 0 auto 40px; }
.cta-buttons { margin-bottom: 60px; display: inline-flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.btn { padding: 14px 30px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: 2px solid transparent; }
.btn-primary { background: var(--accent-orange); color: white; border-color: var(--accent-orange); }
.btn-primary:hover { background: #e65c2f; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2); }
.btn-outline { background: transparent; color: var(--text-dark); border-color: var(--border-gray); }
.btn-outline:hover { background: var(--bg-light); border-color: var(--accent-orange); color: var(--accent-orange); }

/* О нас */
.about { padding: 100px 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 25px; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { padding: 15px 0; border-bottom: 1px dashed var(--border-gray); font-size: 1.05rem; }
.check-list strong { color: var(--accent-orange); }
.about-img { height: 400px; background-image: url('https://images.unsplash.com/photo-1598524216703-cdde7c1a4a8f?q=80&w=1280'); background-size: cover; background-position: center; border-radius: 16px; border: 1px solid var(--border-gray); }

/* Оборудование */
.technology { padding: 100px 0; }
.machines-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }
.machine-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid var(--border-gray); text-align: center; transition: transform 0.3s ease; }
.machine-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.machine-icon { width: 80px; height: 80px; margin-bottom: 20px; object-fit: contain; }
.machine-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-dark); }
.machine-card p { color: #666; font-size: 0.95rem; }

/* Процесс */
.process { padding: 100px 0; background: white; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.step { text-align: center; padding: 30px; background: #fafafa; border-radius: 12px; border: 1px solid var(--border-gray); }
.num { width: 50px; height: 50px; background: var(--accent-orange); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* Материалы */
.materials { padding: 80px 0; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 40px; }
.tag { background: var(--bg-light); color: var(--text-dark); padding: 8px 18px; border-radius: 50px; border: 1px solid var(--border-gray); font-size: 0.9rem; transition: all 0.3s; }
.tag:hover { background: var(--accent-orange); color: white; border-color: var(--accent-orange); transform: scale(1.05); }

/* Форма */
.contact-form-section { padding: 100px 0; background: white; text-align: center; }
.contact-form { max-width: 600px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { background: var(--bg-light); border: 1px solid var(--border-gray); color: var(--text-dark); padding: 16px 20px; border-radius: 10px; font-family: inherit; font-size: 1rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-orange); }

/* Футер */
.footer { background: var(--text-dark); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col a { color: #ccc; text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.95rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-orange); }
.logo-footer { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: white; }
.contacts p { color: #aaa; font-size: 0.9rem; margin-bottom: 5px; }

/* Адаптив */
@media (max-width: 768px) {
    .header-grid { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .about-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .machines-grid { grid-template-columns: 1fr; }
}

/* Стили для нового логотипа ALVA */
.logo-local-link { display: flex; align-items: center; text-decoration: none; }
.alva-logo { width: 140px; height: auto; object-fit: contain; display: block; }

/* Адаптивность: уменьшаем размер на мобильных */
@media (max-width: 768px) {
    .alva-logo { width: 110px; }
}