:root {
    --bg-dark: #050505;
    --bg-light: #ffffff;
    --accent: #ff6a00;
    --accent-soft: #ff8a33;
    --text-main: #f5f5f5;
    --text-muted: #b0b0b0;
    --card-bg: #111111;
    --border-soft: #262626;
    --max-width: 1200px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 14px 40px rgba(0,0,0,0.45);
    --shadow-light: 0 10px 30px rgba(0,0,0,0.35);
    --transition-fast: 0.18s ease-out;
}

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

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top left, #151515 0, #050505 55%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), rgba(5,5,5,0.8) 55%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #ff6a00 25%, #d14800 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #151515, 0 0 0 4px #ff6a00;
    font-weight: 800;
    font-size: 20px;
}

.logo-text-main {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 18px;
    text-transform: uppercase;
}

.logo-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

nav a {
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: width var(--transition-fast);
}

nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    text-align: right;
}

.header-phone a {
    font-weight: 600;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    gap: 8px;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #000;
    box-shadow: 0 10px 25px rgba(255,106,0,0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 30px rgba(255,106,0,0.55);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.hero {
    padding: 40px 0 60px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 14px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46,204,113,0.6);
}

.hero-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title span {
    color: var(--accent-soft);
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-note strong {
    color: #ffffff;
}

.hero-right {
    position: relative;
}

.hero-card {
    background: linear-gradient(145deg, #141414, #050505);
    border-radius: 26px;
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hero-card-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric {
    background: radial-gradient(circle at top, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: 14px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.metric-label {
    font-size: 11px;
    color: var(--text-muted);
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
}

.metric-tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-soft);
}

.hero-guarantee {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-accent {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.section-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 540px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-light);
}

.card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
}

.card ul li {
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-soft);
}

.card-tagline {
    margin-top: 10px;
    font-size: 11px;
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.adv-item {
    background: #0c0c0c;
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid var(--border-soft);
}

.adv-item h3 {
    font-size: 13px;
    margin-bottom: 6px;
}

.adv-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.5);
    font-size: 12px;
    margin-right: 6px;
}

.seo-block {
    background: #0c0c0c;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    border: 1px dashed rgba(255,255,255,0.15);
    font-size: 12px;
    color: var(--text-muted);
}

.seo-block strong {
    color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.step {
    background: #0c0c0c;
    border-radius: var(--radius-md);
    padding: 12px 12px 14px;
    border: 1px solid var(--border-soft);
}

.step-num {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
    margin-bottom: 4px;
}

.step h3 {
    font-size: 13px;
    margin-bottom: 6px;
}

.step p {
    font-size: 12px;
    color: var(--text-muted);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.price-card {
    background: #0c0c0c;
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(255,106,0,0.12);
    color: var(--accent-soft);
    padding: 4px 8px;
    border-radius: 999px;
}

.price-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.price-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price-card ul {
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
}

.price-card ul li {
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}

.price-card ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent-soft);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.case-card {
    background: #0c0c0c;
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid var(--border-soft);
    font-size: 12px;
    color: var(--text-muted);
}

.case-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-soft);
    margin-bottom: 4px;
}

.case-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.faq-item {
    background: #0c0c0c;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
}

.faq-q {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.faq-a {
    font-size: 12px;
    color: var(--text-muted);
}

.cta {
    background: radial-gradient(circle at top, rgba(255,106,0,0.3), rgba(0,0,0,0.95));
    border-radius: 26px;
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-soft);
}

.cta h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.cta p {
    font-size: 13px;
    color: #f0f0f0;
    margin-bottom: 12px;
}

.cta-contacts {
    font-size: 13px;
}

.cta-contacts a {
    color: #ffffff;
    font-weight: 600;
}

.contact-form {
    display: grid;
    gap: 10px;
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.field {
    cursor: text;
}

.field label {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.7);
    padding: 8px 10px;
    background: rgba(0,0,0,0.6);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.field textarea {
    min-height: 80px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #777777;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent-soft);
}

.form-disclaimer {
    font-size: 11px;
    color: rgba(240,240,240,0.75);
}

footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
    padding: 16px 0 22px;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.footer-inner a {
    color: var(--text-muted);
}

/* Плавающая кнопка звонка (мобильные) */
.call-floating {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff 0, #ff6a00 35%, #d14800 80%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
    color: #000;
    font-size: 26px;
    text-decoration: none;
}

/* круглый ореол */
.call-floating::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    opacity: 0.5;
    pointer-events: none;
}

.call-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.85);
}

@keyframes call-pulse {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,106,0,0.6);}
    70%  { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(255,106,0,0);}
    100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,106,0,0);}
}

.call-floating-inner {
    position: relative;
    z-index: 2;
    animation: call-pulse 1.8s infinite;
}

/* Сообщения формы */
.form-alert {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.form-alert-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.form-alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.6);
    color: #e74c3c;
}

/* Адаптив */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-right {
        order: -1;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .prices-grid,
    .cards-grid,
    .cases-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        background: rgba(5,5,5,0.98);
    }
    nav {
        position: fixed;
        inset: 52px 0 auto 0;
        padding: 10px 16px 12px;
        background: rgba(5,5,5,0.98);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition:
            transform var(--transition-fast),
            opacity var(--transition-fast);
    }
    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .header-inner {
        padding: 8px 0;
    }
    .header-cta {
        display: none;
    }
    .hero {
        padding-top: 24px;
    }
    .hero-card {
        border-radius: 20px;
    }
    .cards-grid,
    .prices-grid,
    .cases-grid,
    .steps-grid,
    .advantages-list,
    .faq-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .burger {
        display: flex;
    }
    .call-floating {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .cta {
        padding: 16px 14px;
    }
}
