/* --- style.css --- */
:root {
    --primary: #fcd535; /* Желтый из бренда */
    --dark: #222222;
    --text: #444444;
    --light: #f4f4f4;
    --white: #ffffff;
    --accent: #d32f2f;
    --success: #388e3c;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --radius: 8px;
    --container: 1200px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, .brand-font {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: var(--dark);
    color: var(--primary);
    padding: 12px 30px;
    font-weight: bold;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--dark); }
.btn-primary:hover { background: #e5c12e; }

/* Header */
header {
    background: var(--dark);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; color: var(--primary); display: flex; flex-direction: column; line-height: 1; }
.logo span { font-size: 12px; color: #ccc; font-family: 'Roboto'; margin-top: 4px; }

.nav-menu { display: flex; gap: 25px; }
.nav-menu a { font-weight: 500; font-size: 14px; text-transform: uppercase; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }

.header-contacts { text-align: right; }
.phone { font-weight: bold; color: var(--primary); font-size: 18px; display: block; }
.work-time { font-size: 12px; color: #999; }

/* Hero Section */
.page-header {
    background: #333;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--primary); }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* Sections */
section { padding: 60px 0; }
.bg-light { background: var(--light); }
.section-title { margin-bottom: 40px; text-align: center; }
.section-title h2 { font-size: 2rem; margin-bottom: 10px; }

/* Cards */
.card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card-icon { font-size: 40px; margin-bottom: 15px; color: var(--primary); }

/* Form */
.form-wrapper { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }
.form-input:focus { border-color: var(--primary); outline: none; }

/* Footer */
footer { background: #1a1a1a; color: #777; padding: 40px 0; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.copyright { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* Mobile */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .header-contacts { text-align: center; }
}
