* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}
a { color: #b8860b; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
    background: #111;
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
/* Логотип */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.logo:hover { text-decoration: none; color: #ffcc00; }

.logo-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;   /* сохраняет пропорции, не обрезает */
    background: #fff;      /* подложка, если логотип с прозрачностью на тёмной шапке */
    border-radius: 6px;    /* мягкие углы; уберите, если не нужно */
    padding: 2px;          /* небольшой отступ внутри квадрата */
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}
.main-nav a {
    color: #eee;
    margin-right: 16px;
}
.main-nav a:hover { color: #ffcc00; text-decoration: none; }
.header-phone a { color: #ffcc00; font-weight: 600; }

/* Main */
main.container { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: 30px; margin-top: 8px; }
h2 { font-size: 22px; margin-top: 32px; }

/* Hero */
.hero { padding: 24px 0; border-bottom: 1px solid #eee; }
.hero .lead { font-size: 18px; color: #555; }
.btn {
    display: inline-block;
    background: #ffcc00;
    color: #111;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #e6b800; text-decoration: none; }
.btn-outline {
    background: transparent;
    border: 2px solid #111;
    color: #111;
}
.btn-outline:hover { background: #111; color: #fff; }

/* Features */
.feature-list { padding-left: 20px; }
.feature-list li { margin-bottom: 8px; }

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.card {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 16px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}
.card h3 { margin-top: 0; font-size: 18px; }
.card .price { font-weight: 700; color: #111; margin-top: auto; }

/* Service detail */
.service-meta { padding-left: 20px; }
.service-meta li { margin-bottom: 6px; }

/* Industries */
.industries-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.industries-table th,
.industries-table td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}
.industries-table th { background: #222; color: #fff; }
.industries-list { padding-left: 20px; }
.industries-list li { margin-bottom: 6px; }

/* Form */
.request-form { max-width: 520px; margin-top: 16px; }
.request-form label { display: block; margin-bottom: 12px; }
.request-form input,
.request-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
}
.msg { padding: 10px 14px; border-radius: 6px; margin-top: 12px; }
.msg.ok { background: #e7f6e7; color: #206020; border: 1px solid #b9e0b9; }
.msg.err { background: #fdecec; color: #8a1f1f; border: 1px solid #f0b9b9; }

/* Map */
.map-wrap { margin-top: 16px; }

/* CTA */
.cta {
    margin-top: 32px;
    padding: 24px;
    background: #111;
    color: #fff;
    border-radius: 8px;
}
.cta h2 { margin-top: 0; }
.cta .btn { background: #ffcc00; }

/* Footer */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 24px 0;
    margin-top: 40px;
    font-size: 14px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.site-footer a { color: #ffcc00; }

/* Responsive */
@media (max-width: 700px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    .main-nav a { display: inline-block; margin-bottom: 6px; }
    .industries-table { font-size: 14px; }
    .industries-table th, .industries-table td { padding: 6px; }
}

/* Кнопка MAX */
.btn-max {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0077FF;
    color: #fff;
    border: 2px solid #0077FF;
}
.btn-max:hover {
    background: #0060CC;
    border-color: #0060CC;
    color: #fff;
    text-decoration: none;
}
.btn-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}