
* { box-sizing: border-box; }
:root {
    --bg: #f7f7f7;
    --surface: #ffffff;
    --ink: #132033;
    --muted: #5e6778;
    --line: #d9dde4;
    --pill: #f3f4f6;
    --pill-line: #c8ced8;
    --dark: #191919;
    --brand: #1f7c73;
    --brand-2: #12304d;
    --accent: #e63b34;
    --shadow: 0 18px 48px rgba(19,32,51,.08);
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--surface);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1360px, calc(100% - 56px)); margin: 0 auto; }
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    min-height: 92px;
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 350px; height: auto; }
.nav { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.nav a {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 999px; text-decoration: none;
    border: 1px solid var(--pill-line); background: #fff; color: var(--ink);
    font-weight: 700; font-size: 15px; transition: .2s ease;
}
.nav a:hover, .nav a.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.header-cta {
    min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 20px; border-radius: 999px; background: var(--brand);
    color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap;
}
.header-cta:hover { background: var(--brand-2); }
.breadcrumbs {
    color: rgba(255,255,255,.88); font-size: 14px; margin-bottom: 20px;
}
.breadcrumbs a { text-decoration: none; }
.billboard-wrap { padding: 22px 0 30px; background: #fff; }
.billboard {
    position: relative; min-height: 540px; overflow: hidden; border-radius: 26px;
    background: linear-gradient(135deg, #464646, #a79f99); box-shadow: var(--shadow);
    display: flex; align-items: stretch;
}
.billboard::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(28,27,27,.76) 0%, rgba(28,27,27,.56) 32%, rgba(28,27,27,.16) 60%, rgba(28,27,27,.06) 100%);
    z-index: 1;
}
.billboard.has-image { background-size: cover; background-position: center; }
.billboard-content {
    position: relative; z-index: 2; width: min(760px, 100%);
    padding: 28px 22px 30px 22px; color: #fff; align-self: stretch;
    display: flex; flex-direction: column; justify-content: center;
}
.billboard h1, .billboard h2 { margin: 0 0 22px; color: #fff; letter-spacing: -.045em; }
.billboard h1 { font-size: clamp(42px, 6vw, 82px); line-height: .95; }
.billboard h2 { font-size: clamp(38px, 5vw, 62px); line-height: .98; }
.billboard p { margin: 0; font-size: 21px; line-height: 1.42; color: rgba(255,255,255,.92); max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
    min-height: 56px; display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 26px; border-radius: 16px; text-decoration: none; font-weight: 800;
    border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #cc2f29; }
.btn.secondary { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.28); }
.btn.dark { background: var(--dark); color: #fff; }
.page-section { padding: 72px 0; }
.page-section.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { max-width: 980px; margin-bottom: 26px; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 32px; padding: 7px 12px; border-radius: 999px;
    background: #eef5f4; color: var(--brand); font-size: 12px; font-weight: 900;
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px;
}
.section-header h2, .page-section h2 {
    margin: 0 0 14px; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em;
}
.section-header p, .text-lg { color: var(--muted); font-size: 19px; line-height: 1.65; margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel, .contact-card, .detail-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.panel, .detail-card, .contact-card { padding: 28px; }
.card { padding: 26px; }
.panel h3, .card h3, .detail-card h3, .contact-card h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.12; letter-spacing: -.03em; }
.panel p, .card p, .detail-card p, .contact-card p, .detail-card li, .card li, .panel li { color: var(--muted); line-height: 1.65; }
.list-check, .detail-card ul, .panel ul, .card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.list-check li, .detail-card li, .panel li, .card li { position: relative; padding-left: 24px; margin: 10px 0; }
.list-check li::before, .detail-card li::before, .panel li::before, .card li::before {
    content: "•"; position: absolute; left: 6px; top: -2px; color: var(--brand); font-size: 22px; line-height: 1;
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.stat {
    background: #111923; color: #fff; padding: 22px; border-radius: 20px;
}
.stat-value { font-size: 36px; font-weight: 900; line-height: 1; }
.stat-label { margin-top: 8px; color: rgba(255,255,255,.8); line-height: 1.4; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.anchor-nav a {
    padding: 10px 16px; border-radius: 999px; text-decoration: none; border: 1px solid var(--pill-line);
    background: #fff; font-weight: 700;
}
.anchor-nav a:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.billboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.billboard-card {
    position: relative; min-height: 370px; overflow: hidden; border-radius: 22px;
    background-size: cover; background-position: center; box-shadow: var(--shadow); color: #fff;
}
.billboard-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,.20) 0%, rgba(13,13,13,.38) 40%, rgba(13,13,13,.84) 100%);
}
.billboard-card .more-btn {
    position: absolute; top: 18px; right: 18px; z-index: 2;
    min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 16px; border-radius: 14px; background: rgba(255,255,255,.94);
    color: var(--ink); text-decoration: none; font-weight: 700;
}
.billboard-card-inner {
    position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
}
.billboard-card .icon-badge {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.94);
    display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 28px; font-weight: 900;
}
.billboard-card h3 { color: #fff; font-size: clamp(32px, 3vw, 40px); line-height: .98; margin: 0 0 10px; }
.billboard-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.45; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-tile {
    min-height: 320px; position: relative; overflow: hidden; border-radius: 20px; background-size: cover; background-position: center; color: #fff;
}
.feature-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.8) 100%); }
.feature-content { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.feature-content h3 { color: #fff; margin: 0 0 10px; font-size: 29px; line-height: 1.02; }
.feature-content p { color: rgba(255,255,255,.88); margin: 0; }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-link-card {
    border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; text-decoration: none;
    box-shadow: var(--shadow);
}
.service-link-card strong { display: block; font-size: 22px; margin-bottom: 8px; }
.service-link-card span { color: var(--muted); line-height: 1.5; }
.service-link-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.notice { margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: #f1f6f5; color: var(--brand-2); border: 1px solid #dce6e4; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.industries-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.industry-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.industry-card-image { aspect-ratio: 4/2.55; background-size: cover; background-position: center; }
.industry-card-body { padding: 24px 24px 26px; }
.industry-no { color: var(--brand); font-size: 14px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.industry-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.1; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
    display: inline-flex; padding: 8px 12px; border-radius: 10px; background: #eef1f2; color: #0f2a44;
    font-size: 14px; font-weight: 700;
}
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.step-card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); position: relative;
}
.step-no {
    width: 54px; height: 54px; border-radius: 16px; background: #111923; color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; margin-bottom: 16px;
}
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.price-card .price-value { font-size: 34px; font-weight: 900; margin: 10px 0 14px; }
.price-card .price-value small { display: block; font-size: 14px; color: var(--muted); font-weight: 700; margin-top: 6px; }
.contacts-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }
.contact-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.contact-item { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); font: inherit; color: var(--ink);
}
.form-card textarea { min-height: 138px; resize: vertical; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.site-footer { margin-top: 28px; padding: 38px 0 56px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .9fr; gap: 24px; }
.footer-logo { width: 220px; margin-bottom: 12px; }
.footer-title { font-weight: 900; margin-bottom: 10px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.muted { color: var(--muted); }
@media (max-width: 1180px) {
    .header-inner { grid-template-columns: 1fr; padding: 18px 0; }
    .nav { justify-content: flex-start; }
    .billboard-grid, .feature-grid, .industries-grid, .price-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-2, .detail-grid, .contacts-grid, .footer-grid, .steps-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-visual { order: -1; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1360px); }
    .brand-logo { width: 210px; }
    .billboard { min-height: 520px; }
    .billboard h1 { font-size: 44px; }
    .billboard p { font-size: 18px; }
    .billboard-content { width: 100%; padding: 22px 18px 24px; }
    .billboard-grid, .feature-grid, .service-links, .industries-grid, .price-grid, .billboard-card, .feature-tile { grid-template-columns: 1fr; }
    .billboard-grid, .feature-grid, .service-links, .industries-grid, .price-grid, .stats, .form-row { display: grid; grid-template-columns: 1fr; }
    .actions { gap: 10px; }
    .btn { width: 100%; }
}


/* v7: исправление кнопок-якорей на billboard.
   Раньше текст наследовал белый цвет от billboard-content и пропадал на белой кнопке. */
.billboard .anchor-nav a {
    color: var(--ink) !important;
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(255,255,255,.72) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.billboard .anchor-nav a:hover {
    color: #fff !important;
    background: var(--dark) !important;
    border-color: var(--dark) !important;
}
