:root {
    --bg: #07111d;
    --bg-deep: #030811;
    --bg-soft: #0c1d2e;
    --surface: rgba(255,255,255,0.055);
    --surface-strong: rgba(255,255,255,0.09);
    --card-border: rgba(156,196,255,0.16);
    --text: #f4f8ff;
    --muted: #aebed0;
    --accent: #f6c443;
    --accent-strong: #ffd66b;
    --accent-dark: #b88309;
    --success: #69e7a5;
    --danger: #ff8f8f;
    --shadow: 0 22px 70px rgba(0,0,0,0.36);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1240px;
    --header-h: 82px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 0%, rgba(246,196,67,.13), transparent 31%),
        radial-gradient(circle at 92% 18%, rgba(58,139,255,.16), transparent 29%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 48%, #06101a 100%);
    color: var(--text);
    line-height: 1.65;
    font-size: 18px;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input { font: inherit; }
button { border: 0; background: none; cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; overflow: hidden; }
.section::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246,196,67,.22), transparent);
    pointer-events: none;
}
.section__title {
    max-width: 820px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin-bottom: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    color: #0a1421;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    box-shadow: 0 15px 36px rgba(246,196,67,0.22);
}
.btn--sm { min-height: 46px; padding: 0 22px; font-size: .96rem; }
.btn--outline {
    border: 1px solid rgba(246,196,67,.42);
    color: var(--accent-strong);
}
.btn--outline:hover { background: rgba(246,196,67,.08); }

.grid { display: grid; gap: 20px; }
.grid--2, .grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
    .grid--2 { grid-template-columns: repeat(2,1fr); }
    .grid--3 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1040px) {
    .grid--3 { grid-template-columns: repeat(3,1fr); }
}

.card,
.case-card,
.review-card,
.error-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
        linear-gradient(135deg, rgba(246,196,67,.045), transparent 42%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}
.card {
    padding: 28px;
    min-height: 100%;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--accent), rgba(58,139,255,.25));
    opacity: .9;
}
.card__icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(246,196,67,.13);
    color: var(--accent-strong);
    margin-bottom: 18px;
    font-size: 1.35rem;
}
.card__title { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.card__text { color: var(--muted); }
.card__price {
    display: inline-flex;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(246,196,67,.12);
    color: var(--accent-strong);
    font-weight: 800;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(3,8,17,0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(156,196,255,0.14);
}
.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}
.header__logo {
    margin-right: auto;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.header__logo::before {
    content: '⚡';
    display: inline-flex;
    margin-right: 10px;
    color: var(--accent);
}
.header__nav { display: none; gap: 18px; }
.header__nav-link {
    color: var(--muted);
    font-size: .98rem;
    font-weight: 650;
}
.header__nav-link:hover { color: var(--accent-strong); }
.header__cta { display: none; }
.header__burger { display: inline-flex; flex-direction: column; gap: 4px; padding: 4px; }
.header__burger span {
    width: 25px; height: 2px; border-radius: 2px; background: var(--text);
    transition: .2s ease;
}
.header__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    padding: 18px;
    background: rgba(4,12,22,.97);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
@media (min-width: 900px) {
    .header__nav { display: flex; }
    .header__cta { display: inline-flex; }
    .header__burger { display: none; }
}

.hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 78px 0 96px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(246,196,67,.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(246,196,67,.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 22% 38%, black, transparent 66%);
    opacity: .42;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 40px;
    align-items: center;
}
.hero__content { max-width: 740px; }
.hero__title {
    font-size: clamp(2.65rem, 7vw, 6rem);
    line-height: .95;
    letter-spacing: -0.07em;
    font-weight: 900;
    margin-bottom: 22px;
}
.hero__subtitle {
    color: var(--muted);
    max-width: 680px;
    font-size: clamp(1.08rem, 2vw, 1.34rem);
    margin-bottom: 30px;
}
.hero__image {
    position: relative;
    border-radius: 34px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(246,196,67,.4), rgba(71,151,255,.16), rgba(255,255,255,.04));
    box-shadow: 0 30px 90px rgba(0,0,0,.46);
}
.hero__image::after {
    content: 'Электрика • Свет • Щиты • Кабельные линии';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(3,8,17,.72);
    border: 1px solid rgba(255,255,255,.16);
    color: var(--accent-strong);
    font-size: .92rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}
.hero__image img {
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 26px;
}
@media (min-width: 980px) {
    .hero__inner { grid-template-columns: 1.04fr .96fr; }
}

.about__inner {
    display: grid;
    gap: 28px;
    align-items: start;
}
.about__text {
    color: var(--muted);
    max-width: 760px;
}
.about__text p + p { margin-top: 18px; }
.about__stats {
    display: grid;
    gap: 14px;
}
.about__stat {
    padding: 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: rgba(255,255,255,.045);
}
.about__stat-value {
    display: block;
    color: var(--accent-strong);
    font-size: 2.05rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}
.about__stat-label { display: block; margin-top: 8px; color: var(--muted); }
@media (min-width: 900px) {
    .about__inner { grid-template-columns: 1.25fr .75fr; }
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: rgba(255,255,255,.045);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid rgba(156,196,255,.13); }
th { color: var(--accent-strong); font-size: .93rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(3,8,17,.42); }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
.price-table td:first-child, .cmp-table td:first-child { color: var(--text); font-weight: 750; }
.cmp-table__us { background: rgba(246,196,67,.055); }
.check, .cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 900;
}
.check { color: #06150f; background: var(--success); }
.cross { color: #24090b; background: var(--danger); }

.stages__list {
    display: grid;
    gap: 18px;
    list-style: none;
    counter-reset: stages;
}
.stages__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.stages__num {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(246,196,67,.14);
    color: var(--accent-strong);
    font-weight: 900;
}
.stages__name { font-size: 1.25rem; margin-bottom: 6px; }
.stages__desc { color: var(--muted); }
@media (min-width: 900px) {
    .stages__list { grid-template-columns: repeat(2,1fr); }
}

.case-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.case-card::after {
    content: '';
    position: absolute;
    right: -46px;
    top: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(246,196,67,.1);
}
.case-card__num {
    color: var(--accent-strong);
    font-weight: 900;
    letter-spacing: .08em;
}
.case-card__title { margin-top: 16px; font-size: 1.45rem; line-height: 1.18; }
.case-card__result {
    display: inline-flex;
    margin: 16px 0 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(246,196,67,.12);
    color: var(--accent-strong);
    font-weight: 800;
}
.case-card__desc { color: var(--muted); }

.review-card { padding: 28px; }
.review-card__text { color: var(--text); }
.review-card__author {
    margin-top: 22px;
    display: grid;
    gap: 2px;
    padding-top: 18px;
    border-top: 1px solid rgba(156,196,255,.13);
}
.review-card__name { font-weight: 900; }
.review-card__role { color: var(--muted); font-size: .95rem; }

.error-card {
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}
.error-card__badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}
.error-card--tip .error-card__badge { background: rgba(105,231,165,.15); color: var(--success); }
.error-card--error .error-card__badge { background: rgba(255,143,143,.15); color: var(--danger); }
.error-card__title { font-size: 1.15rem; margin-bottom: 6px; }
.error-card__text { color: var(--muted); }

.slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.slider__track { display: flex; transition: transform .35s ease; }
.slider__slide { min-width: 100%; }
.slider__slide img { aspect-ratio: 16/9; object-fit: cover; }
.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(3,8,17,.68);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.18);
}
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.slider__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.28); }
.slider__dot.active { background: var(--accent); }

.seo-text__inner {
    max-width: 980px;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: rgba(255,255,255,.045);
}
.seo-text p { color: var(--muted); }
.seo-text p + p { margin-top: 18px; }

.faq__list { display: grid; gap: 14px; }
.faq__item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.045);
    overflow: hidden;
}
.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    color: var(--text);
    font-weight: 850;
    text-align: left;
}
.faq__arrow { color: var(--accent-strong); transition: transform .2s ease; }
.faq__question[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__answer {
    display: none;
    padding: 0 24px 22px;
    color: var(--muted);
}
.faq__answer.open { display: block; }

.cta__inner {
    padding: clamp(30px, 6vw, 60px);
    border-radius: 34px;
    border: 1px solid rgba(246,196,67,.24);
    background:
        radial-gradient(circle at top right, rgba(246,196,67,.18), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: var(--shadow);
}
.cta__title {
    max-width: 820px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}
.cta__subtitle { color: var(--muted); max-width: 760px; margin-bottom: 26px; }
.cta__form {
    display: grid;
    gap: 14px;
}
.cta__input {
    width: 100%;
    min-height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(156,196,255,.18);
    background: rgba(3,8,17,.5);
    color: var(--text);
    padding: 0 20px;
    outline: none;
}
.cta__input:focus { border-color: rgba(246,196,67,.72); }
.cta__input::placeholder { color: rgba(174,190,208,.72); }
.cta__privacy { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.cta__msg { margin-top: 14px; font-weight: 800; }
@media (min-width: 820px) {
    .cta__form { grid-template-columns: 1fr 1fr auto; align-items: center; }
}

.footer {
    background: #030811;
    border-top: 1px solid rgba(156,196,255,.14);
}
.footer__inner {
    display: grid;
    gap: 30px;
    padding: 54px 0;
}
.footer__logo {
    display: block;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.footer__desc, .footer__hours, .footer__address, .footer__legal { color: var(--muted); }
.footer__heading { margin-bottom: 12px; color: var(--accent-strong); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__contact-link, .footer__nav-link {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}
.footer__contact-link:hover, .footer__nav-link:hover { color: var(--accent-strong); }
.footer__legal { margin-top: 12px; display: grid; gap: 4px; font-size: .96rem; }
.footer__bottom {
    border-top: 1px solid rgba(156,196,255,.12);
    padding: 18px 0;
    color: var(--muted);
    font-size: .94rem;
}
.footer__bottom-inner {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.footer__dev-link { color: var(--accent-strong); }
@media (min-width: 860px) {
    .footer__inner { grid-template-columns: 1.3fr 1fr .8fr; }
}

@media (max-width: 719px) {
    body { font-size: 16px; }
    .section { padding: 66px 0; }
    .hero { min-height: auto; padding: 54px 0 66px; }
    .hero__title { font-size: clamp(2.35rem, 14vw, 4rem); }
    .hero__image::after { display: none; }
    .card, .case-card, .review-card, .error-card, .stages__item { padding: 22px; }
    .cta__form { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .header__logo { font-size: .9rem; }
}
