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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f0a08;
    background-image: url('/img/back.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.site-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    background: rgba(220, 195, 165, 0.90);
    padding: 40px 44px 36px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border-top: 6px solid #8b2e1a;
    border-bottom: 6px solid #4f2a1a;
}

.text-center {
    text-align: center;
}

h1, h2, h3, .brand-main, .menu-item {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2, h1.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a0c06;
    margin-bottom: 1.4rem;
    letter-spacing: -0.03em;
    border-bottom: 3px solid #8b2e1a;
    padding-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
}

.section-title {
    text-align: center;
}

/* ===== ХЕДЕР ===== */
.header {
    border-bottom: 2px solid rgba(100, 40, 20, 0.25);
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.brand-main {
    font-size: 4rem;
    font-weight: 900;
    color: #1a0c06;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(100, 40, 20, 0.15);
}

.brand-main .accent {
    color: #8b1f0a;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 2.4rem;
    margin-top: 16px;
}

.menu-item {
    text-decoration: none;
    color: #3a2218;
    font-weight: 700;
    font-size: 1rem;
    padding: 4px 0;
    border-bottom: 3px solid transparent;
    transition: 0.15s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.menu-item.active {
    font-size: 1.2rem;
    font-weight: 800;
    color: #8b1f0a;
    border-bottom-color: #a8341a;
}

.menu-item:hover {
    border-bottom-color: #7a2e1a;
    color: #4a1f0e;
}

/* ===== ГЛАВНАЯ ===== */
.hero-tagline {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: #1a0c06;
    text-align: center;
    padding: 24px 20px;
    background: rgba(120, 60, 30, 0.08);
    border-left: 6px solid #8b2e1a;
    border-right: 6px solid #8b2e1a;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-tagline .highlight {
    color: #8b1f0a;
}

.hero-tagline .big {
    font-size: 2.6rem;
    color: #6f1f0a;
}

.stat-highlight {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem 3.5rem;
    margin: 16px 0 20px 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.stat-highlight strong {
    font-size: 2rem;
    color: #6f2816;
    margin-right: 4px;
}

.contact-wrapper {
    text-align: center;
}

.contact-line {
    font-size: 1.4rem;
    font-weight: 700;
    background: #2a160d;
    color: #e3d4be;
    padding: 14px 28px;
    display: inline-block;
    border: 2px solid #7a3e2a;
    margin: 14px auto 24px auto;
    text-align: center;
    border-radius: 2px;
}

.contact-line a {
    color: #f5e7d0;
    text-decoration: none;
    border-bottom: 2px solid #b07a5a;
    transition: 0.15s;
}

.contact-line a:hover {
    border-bottom-color: #f5e7d0;
}

.contact-line .divider {
    color: #b07a5a;
    margin: 0 8px;
}

.contact-line .social-link {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 18px 0 30px 0;
}

.benefit-card {
    background: rgba(45, 25, 14, 0.85);
    padding: 18px 14px;
    border-left: 6px solid #9a3a20;
    color: #f0e4d6;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.object-section {
    margin: 30px 0 20px 0;
}

.object-item {
    background: rgba(190, 165, 140, 0.5);
    margin-bottom: 10px;
    border: 1px solid #8a6548;
    border-radius: 2px;
}

.object-header {
    background: #3f2416;
    color: #eedbc2;
    padding: 14px 22px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 8px solid #a04020;
    transition: 0.15s;
    border-radius: 2px;
}

.object-header:hover {
    background: #5a3420;
}

.object-header .arrow {
    font-size: 1.6rem;
    transition: 0.2s;
    font-weight: 400;
}

.object-content {
    padding: 18px 24px;
    background: rgba(225, 205, 180, 0.7);
    border-top: 1px solid #7a3e2a;
    font-size: 1.05rem;
}

.js .object-content {
    display: none;
}

.js .object-content.open {
    display: block;
}

.object-content .utp {
    background: #581f0e;
    color: #efdecb;
    padding: 10px 18px;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 1.1rem;
    border-radius: 2px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.4rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.stats-grid .big-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #3b1b0c;
    background: rgba(100, 50, 20, 0.15);
    padding: 0 12px;
    border: 1px solid #7a3e2a;
    border-radius: 2px;
}

.closed-tag {
    color: #4f2a1a;
    font-weight: 700;
    background: #b48a6a;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: inline-block;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    background: rgba(45, 25, 14, 0.6);
    padding: 24px 20px;
    margin: 10px 0 30px 0;
    border: 2px solid #6d3e2a;
    border-radius: 2px;
}

.payment-item {
    background: rgba(235, 215, 190, 0.7);
    padding: 14px 16px;
    border-left: 6px solid #8b2e1a;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1c0e07;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.payment-item .label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.payment-item .desc {
    font-weight: 400;
    font-size: 0.9rem;
    color: #3a2218;
    display: block;
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #332016;
    padding: 24px 20px;
    border-left: 6px solid #a04020;
    border-radius: 2px;
}

.start-step {
    background: rgba(255, 255, 255, 0.06);
    padding: 18px 16px;
    text-align: center;
    color: #ede3d2;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.start-step .num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #a04020;
    display: block;
    margin-bottom: 6px;
}

.start-step .text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.start-step .sub {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

/* ===== ЕДИНЫЙ СТИЛЬ ДЛЯ СПЕЦТЕХНИКИ И СНАБЖЕНИЯ ===== */
.page-badge {
    background: #8b1f0a;
    color: #f5e7d0;
    padding: 8px 24px;
    display: inline-block;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 2px;
}

.intro-block {
    background: rgba(45, 25, 14, 0.4);
    padding: 20px 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    border-left: 6px solid #8b2e1a;
}

.intro-block p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1c0e07;
    line-height: 1.6;
}

.intro-block p strong {
    color: #8b1f0a;
}

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a0c06;
    margin: 20px 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid rgba(139, 46, 26, 0.2);
    padding-bottom: 8px;
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 20px 0 30px 0;
}

.grid-2col .card {
    background: rgba(45, 25, 14, 0.7);
    padding: 18px 20px;
    border-left: 6px solid #8b2e1a;
    border-radius: 2px;
    color: #f0e4d6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.15s;
}

.grid-2col .card:hover {
    background: rgba(45, 25, 14, 0.85);
    transform: translateY(-2px);
}

.grid-2col .card .name {
    font-weight: 700;
    font-size: 1.05rem;
}

.grid-2col .card .count {
    background: #8b2e1a;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #f5e7d0;
    white-space: nowrap;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    background: rgba(45, 25, 14, 0.4);
    padding: 20px 18px;
    border-radius: 2px;
    margin: 20px 0;
}

.grid-3col .feature {
    text-align: center;
    font-weight: 700;
    color: #1a0c06;
    font-size: 1rem;
    padding: 10px;
    background: rgba(255, 245, 230, 0.3);
    border-radius: 2px;
}

.grid-3col .feature .num {
    font-size: 1.8rem;
    color: #8b1f0a;
    display: block;
    font-weight: 900;
}

.info-block {
    background: rgba(45, 25, 14, 0.3);
    padding: 16px 20px;
    border-radius: 4px;
    margin: 16px 0 12px 0;
    border-left: 4px solid #8b2e1a;
}

.info-block p {
    font-weight: 600;
    color: #1a0c06;
    font-size: 1rem;
}

/* ===== СНАБЖЕНИЕ (дополнительные стили) ===== */
.supply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 30px 0;
}

.supply-grid .card {
    background: rgba(45, 25, 14, 0.75);
    padding: 18px 16px;
    border-left: 6px solid #8b2e1a;
    border-radius: 2px;
    color: #f0e4d6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.15s;
}

.supply-grid .card:hover {
    background: rgba(45, 25, 14, 0.9);
    transform: translateY(-2px);
}

.supply-grid .card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f5e7d0;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.supply-grid .card p {
    font-size: 0.9rem;
    font-weight: 400;
    color: #d4c5b2;
    line-height: 1.4;
}

.supply-grid .card .tag {
    display: inline-block;
    background: #8b2e1a;
    padding: 2px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
    border-radius: 2px;
}

/* ===== О КОМПАНИИ ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0;
}

.about-card {
    background: rgba(45, 25, 14, 0.7);
    padding: 24px 20px;
    border-left: 6px solid #8b2e1a;
    border-radius: 2px;
    color: #f0e4d6;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f5e7d0;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.about-card p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #d4c5b2;
    line-height: 1.5;
}

.about-card .highlight {
    color: #e3c9b0;
    font-weight: 700;
}

.req-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 245, 230, 0.5);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.req-table tr {
    border-bottom: 1px solid rgba(100, 50, 30, 0.12);
}

.req-table tr:last-child {
    border-bottom: none;
}

.req-table td {
    padding: 14px 20px;
    font-size: 1rem;
    vertical-align: top;
}

.req-table .label {
    font-weight: 700;
    color: #2a160d;
    width: 200px;
    white-space: nowrap;
    background: rgba(139, 46, 26, 0.06);
}

.req-table .value {
    font-weight: 400;
    color: #1c0e07;
    word-break: break-word;
}

.req-table .value.highlight {
    font-weight: 700;
    color: #8b1f0a;
    font-size: 1.05rem;
}

.req-table .value a {
    color: #8b1f0a;
    text-decoration: none;
    border-bottom: 1px solid #8b1f0a;
}

.req-table .value a:hover {
    border-bottom-width: 2px;
}

.okved-section {
    margin-top: 30px;
}

.okved-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a0c06;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid rgba(139, 46, 26, 0.2);
    padding-bottom: 8px;
}

.okved-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
    background: rgba(255, 245, 230, 0.4);
    padding: 16px 20px;
    border-radius: 4px;
}

.okved-item {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.okved-item .code {
    font-weight: 700;
    color: #8b1f0a;
    flex-shrink: 0;
    min-width: 48px;
}

.okved-item .desc {
    font-weight: 400;
    color: #1c0e07;
}

/* ===== ОБЩЕЕ ===== */
.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #8b1f0a;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: 0.15s;
}

.back-link:hover {
    border-bottom-color: #8b1f0a;
}

.footer-note {
    margin-top: 32px;
    border-top: 2px solid rgba(100, 40, 20, 0.25);
    padding-top: 18px;
    text-align: center;
    font-size: 0.95rem;
    color: #3a2218;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.footer-note span {
    color: #8b1f0a;
}

/* ===== ДОСТУПНОСТЬ / ПРОИЗВОДИТЕЛЬНОСТЬ ===== */
.menu-item:focus-visible,
.object-header:focus-visible {
    outline: 3px solid #a8341a;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* fixed-фон вызывает перерисовку при скролле на мобильных */
@media (max-width: 768px) {
    body { background-attachment: scroll; }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .site-wrapper { padding: 20px 16px; }
    .brand-main { font-size: 2.8rem; }
    .menu { gap: 0.4rem 1.2rem; }
    .menu-item { font-size: 0.8rem; }
    .menu-item.active { font-size: 1rem; }
    .hero-tagline { font-size: 1.6rem; padding: 18px 14px; }
    .hero-tagline .big { font-size: 2rem; }
    .stat-highlight { gap: 1rem 2rem; font-size: 1rem; }
    .stat-highlight strong { font-size: 1.6rem; }
    .contact-line { font-size: 1rem; padding: 10px 14px; display: block; }
    h2, h1.page-title { font-size: 1.5rem; }
    .object-header { font-size: 1rem; padding: 12px 16px; }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .payment-grid { grid-template-columns: 1fr 1fr; padding: 16px 14px; }
    .start-steps { grid-template-columns: 1fr 1fr; padding: 18px 14px; }
    .req-table td { padding: 10px 14px; font-size: 0.9rem; }
    .req-table .label { width: 120px; white-space: normal; }
    .okved-grid { grid-template-columns: 1fr; padding: 12px 14px; }
    .okved-item { font-size: 0.8rem; }
    .supply-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2col { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .site-wrapper { padding: 14px 10px; }
    .brand-main { font-size: 2.2rem; }
    .hero-tagline { font-size: 1.3rem; padding: 14px 10px; border-left-width: 4px; border-right-width: 4px; }
    .hero-tagline .big { font-size: 1.6rem; }
    .stat-highlight { flex-direction: column; gap: 0.6rem; font-size: 0.95rem; }
    .stat-highlight strong { font-size: 1.4rem; }
    .menu { gap: 0.3rem 0.8rem; }
    .menu-item { font-size: 0.75rem; padding: 10px 2px; }
    .menu-item.active { font-size: 0.9rem; }
    .benefit-grid { grid-template-columns: 1fr; }
    .payment-grid { grid-template-columns: 1fr; gap: 10px; padding: 12px 10px; }
    .payment-item { font-size: 1rem; padding: 12px 10px; }
    .start-steps { grid-template-columns: 1fr; padding: 14px 12px; gap: 12px; }
    .start-step .num { font-size: 1.8rem; }
    .start-step .text { font-size: 1rem; }
    .object-content { padding: 12px 14px; }
    .stats-grid { font-size: 0.95rem; gap: 0.6rem 1.2rem; }
    .stats-grid .big-number { font-size: 1.6rem; }
    .contact-line { font-size: 0.85rem; padding: 8px 10px; }
    .footer-note { font-size: 0.8rem; }
    .req-table td { display: block; padding: 8px 12px; border-bottom: none; }
    .req-table tr { display: block; border-bottom: 2px solid rgba(100, 50, 30, 0.2); padding: 4px 0; }
    .req-table .label { width: 100%; background: none; font-size: 0.8rem; color: #6d3e2a; padding-bottom: 2px; }
    .req-table .value { font-size: 0.95rem; padding-top: 0; }
    .okved-grid { padding: 10px 12px; gap: 2px; }
    .okved-item { font-size: 0.75rem; padding: 4px 0; }
    .okved-item .code { min-width: 40px; }
    .supply-grid { grid-template-columns: 1fr; }
    .grid-2col { grid-template-columns: 1fr; }
    .grid-3col { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .grid-2col .card { flex-direction: column; gap: 8px; text-align: center; }
}
/* ===== БРЕНД-ССЫЛКА И ФУТЕР ===== */
.brand-main a { color: inherit; text-decoration: none; }
.footer-note a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.footer-note .sep { margin: 0 8px; opacity: 0.5; }

/* ===== ФОТО И ВИДЕО ОБЪЕКТА ===== */
.media-label { font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: #3b1b0c; margin: 20px 0 8px; }
.media-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; font-size: 0; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.media-item { display: inline-block; vertical-align: top; width: 72%; max-width: 300px; margin-right: 10px; white-space: normal; border: 1px solid #7a3e2a; border-radius: 2px; background: #000; overflow: hidden; scroll-snap-align: start; }
.media-item:last-child { margin-right: 0; }
.media-item img { display: block; width: 100%; height: auto; }
.video-box { position: relative; padding-top: 133.33%; background: #000; }
.video-box video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
@media (min-width: 769px) {
    .media-strip { overflow: visible; white-space: normal; }
    .media-item { width: 31.5%; max-width: none; margin-right: 2%; }
    .media-item:last-child { margin-right: 0; }
}

/* ===== КНОПКА «ПОЗВОНИТЬ» ===== */
body { padding-bottom: 84px; }
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: block; text-align: center; background: #8b1f0a; color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1.2; padding: 16px 12px; border-top: 2px solid #b34a30; text-decoration: none; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4); -webkit-tap-highlight-color: transparent; }
.call-bar:active { background: #6f1f0a; }
.call-bar svg { width: 20px; height: 20px; vertical-align: -3px; margin-right: 8px; fill: currentColor; }
.call-bar strong { margin-left: 4px; white-space: nowrap; font-weight: 900; }
@media (min-width: 769px) {
    .call-bar { left: 50%; right: auto; bottom: 16px; -webkit-transform: translateX(-50%); transform: translateX(-50%); border: 2px solid #b34a30; border-radius: 40px; padding: 14px 32px; }
}
@media (max-width: 360px) { .call-bar { font-size: 1rem; } }

/* ===== СОВМЕСТИМОСТЬ: старые iOS/Android без gap во flex и aspect-ratio ===== */
@supports not (aspect-ratio: 1) {
    .menu-item { margin: 0.3rem 1rem; }
    .stat-highlight > span { margin: 0.8rem 1.6rem; }
    .stats-grid > span { margin: 0.5rem 1.1rem 0.5rem 0; }
}
