:root {
    --primary: #f39c12;
    --secondary: #2c3e50;
    --accent: #e67e22;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --font-base: 16px;
    --heading-color: #2c3e50;
    --text-color: #34495e;
    --link-color: #f39c12;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: var(--font-base, 16px);
    color: var(--text-color, var(--text-dark, #2c3e50));
    background-color: #ffffff;
}
h1, h2, h3, h4, h5, h6 { color: var(--heading-color, var(--secondary, #2c3e50)); }
a { color: var(--link-color, var(--primary, #f39c12)); }

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

/* Header & Nav */
header {
    background: var(--secondary, #2c3e50);
    color: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary, #f39c12);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary, #f39c12); }
.btn-contact {
    background: var(--primary, #f39c12);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.2s, transform 0.1s;
}
.btn-contact:hover {
    background: var(--accent, #e67e22);
    transform: translateY(-2px);
}
.admin-link {
    font-size: 0.85rem;
    opacity: 0.7;
    border: 1px dashed rgba(255,255,255,0.4);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 80px 20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(135deg, rgba(0,0,0,var(--hero-overlay, 0.7)) 0%, rgba(20,30,40,var(--hero-overlay, 0.7)) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero-content p { font-size: 1.3rem; margin-bottom: 2.2rem; opacity: 0.95; }
.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-main {
    background: var(--primary, #f39c12);
    color: #ffffff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-main:hover {
    background: var(--accent, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.btn-secondary {
    background: var(--secondary, #2c3e50);
    color: #ffffff;
}

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 { font-size: 2.3rem; color: var(--heading-color, var(--secondary, #2c3e50)); margin-bottom: 12px; font-weight: 800; }
.section-title .underline { width: 70px; height: 4px; background: var(--primary, #f39c12); margin: 0 auto; border-radius: 2px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card {
    background: var(--bg-light, #f8f9fa);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-bottom-color: var(--primary, #f39c12);
}
.service-card .icon { font-size: 3.2rem; margin-bottom: 18px; display: block; }
.service-card h3 { margin-bottom: 12px; color: var(--heading-color, var(--secondary, #2c3e50)); font-size: 1.4rem; }

/* Materials Grid & Table */
.materials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 35px; }
.material-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #edf0f2;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
.material-card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background: #e9ecef;
}
.material-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.material-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color, var(--secondary, #2c3e50));
    display: flex;
    align-items: center;
    gap: 8px;
}
.material-card-desc { color: #6c757d; font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.material-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f3f5;
    padding-top: 12px;
}
.price-tag { color: var(--accent, #e67e22); font-weight: 800; font-size: 1.3rem; }

/* Equipment Grid */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.equipment-item-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}
.equipment-item-img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    background: #dee2e6;
}
.equipment-item-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.equipment-item-body h3 { font-size: 1.5rem; color: var(--heading-color, var(--secondary, #2c3e50)); margin-bottom: 10px; }
.equipment-item-body p { color: #555; margin-bottom: 20px; font-size: 0.95rem; flex: 1; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.92rem; }
.specs-table td { padding: 8px 0; border-bottom: 1px solid #f1f3f5; }
.specs-table td:first-child { color: #777; font-weight: 600; }
.specs-table td:last-child { text-align: right; font-weight: 700; color: var(--secondary, #2c3e50); }

/* Contact Section */
.contact-section { background: var(--bg-light, #f8f9fa); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.contact-info { background: #ffffff; padding: 35px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.contact-info h3 { font-size: 1.7rem; margin-bottom: 20px; color: var(--heading-color, var(--secondary, #2c3e50)); }
.contact-item { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.contact-form { background: #ffffff; padding: 35px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--secondary, #2c3e50); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary, #f39c12);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

/* Footer */
footer {
    background: #1a252f;
    color: #bdc3c7;
    text-align: center;
    padding: 30px 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .equipment-grid { grid-template-columns: 1fr; }
}

/* Читаемость текста на фоновом фото шапки */
.hero-content h1 { text-shadow: 0 0 26px rgba(255,255,255,0.55); }
.hero-content p { text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
