:root {
    --steel-900: #161a20;
    --steel-800: #1f242c;
    --steel-700: #2b323c;
    --steel-200: #d8dde3;
    --steel-100: #eef1f4;
    --bg: #f6f7f9;
    --white: #ffffff;
    --text: #1d222a;
    --text-muted: #5b6470;
    --accent: #f5a019;
    --accent-dark: #d9870a;
    --accent-soft: #fff4e0;
    --copper: #c2703d;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(22, 26, 32, 0.08);
    --shadow-lg: 0 20px 50px rgba(22, 26, 32, 0.14);
    --maxw: 1180px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
    font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn--accent {
    background: var(--accent);
    color: var(--steel-900);
    box-shadow: 0 6px 18px rgba(245, 160, 25, 0.35);
}
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 8px 22px rgba(245, 160, 25, 0.45); }
.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__icon { font-size: 16px; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--steel-100);
}
.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1;
}
.logo__badge {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--steel-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo__mark { color: var(--steel-900); }
.logo__accent { color: var(--accent); }
.logo--footer { font-size: 26px; justify-content: center; }
.logo--footer .logo__mark { color: var(--white); }
.logo--footer .logo__badge { width: 42px; height: 42px; font-size: 22px; }

.nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 20px;
}
.nav__link {
    position: relative;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    transition: color .15s ease;
}
.nav__link:hover { color: var(--accent-dark); }
.nav__link.is-active { color: var(--steel-900); }
.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.lang {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--steel-100);
    border-radius: 8px;
    padding: 3px;
}
.lang__opt {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 5px 9px;
    border-radius: 6px;
    line-height: 1;
    transition: background .15s ease, color .15s ease;
}
.lang__opt.is-active {
    background: var(--white);
    color: var(--steel-900);
    box-shadow: 0 1px 3px rgba(22, 26, 32, 0.12);
}
.lang__opt:not(.is-active):hover { color: var(--steel-900); }

.header__call { margin-left: auto; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--steel-900);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(245, 160, 25, 0.20), transparent 60%),
        linear-gradient(105deg, rgba(22, 26, 32, 0.96) 0%, rgba(22, 26, 32, 0.88) 45%, rgba(31, 36, 44, 0.72) 100%),
        url('img/hero.webp') center 40% / cover no-repeat;
    color: var(--white);
    overflow: hidden;
}
.hero::after {
    
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 22px);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    padding: 90px 24px 100px;
}
.hero__content { max-width: 720px; }
.hero__title {
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.hero__subtitle {
    font-size: clamp(17px, 2.4vw, 21px);
    color: var(--steel-200);
    max-width: 600px;
    margin-bottom: 36px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 56px;
}
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 24px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 14px; color: var(--steel-200); }

.section { padding: 84px 0; }
.section--alt { background: var(--white); }
.section--dark {
    background: linear-gradient(160deg, var(--steel-900), var(--steel-800));
    color: var(--white);
}
.section__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 16px;
}
.section__title--left { text-align: left; }
.section__title--light { color: var(--white); }
.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 48px;
    font-size: 17px;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.card {
    background: var(--white);
    border: 1px solid var(--steel-100);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: var(--accent-soft);
    border-radius: 14px;
    margin-bottom: 20px;
}
.card__title { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.card__text { color: var(--text-muted); font-size: 15.5px; }

.prices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.price-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--steel-100);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card__img {
    display: block;
    width: calc(100% + 56px);
    max-width: none;
    height: 152px;
    object-fit: cover;
    margin: -28px -28px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.price-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--steel-100);
}
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--steel-100);
    font-size: 15px;
}
.price-list { flex: 1 1 auto; }
.price-list li:last-child { border-bottom: none; }

.price-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    padding: 12px 18px;
    border: 1.5px solid var(--steel-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    background: var(--white);
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.price-card__cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--steel-900);
}
.price-list span { color: var(--text-muted); }
.price-list b {
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
}
.prices__cta {
    margin-top: 48px;
    text-align: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    padding: 36px 24px;
}
.prices__cta p { font-size: 18px; font-weight: 600; margin-bottom: 18px; }

.services__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}
.services__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.checklist { margin: 24px 0 30px; }
.checklist li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 13px;
    font-weight: 500;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 21px;
    height: 21px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23f5a019'/%3E%3Cpath d='M7 12.6l3.1 3.1L17 9' fill='none' stroke='%23161a20' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.photo-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.photo-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.photo-card__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: var(--accent);
    color: var(--steel-900);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.photo-card__badge strong { font-size: 34px; font-weight: 800; line-height: 1; }
.photo-card__badge span { font-size: 14px; font-weight: 700; max-width: 110px; }

.highlight-box {
    background: linear-gradient(160deg, var(--steel-900), var(--steel-700));
    color: var(--white);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.highlight-box__num {
    display: block;
    font-size: 86px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}
.highlight-box__label {
    display: block;
    margin-top: 12px;
    font-size: 17px;
    color: var(--steel-200);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.step {
    background: var(--white);
    border: 1px solid var(--steel-100);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.step__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 13px;
}
.step__icon svg { display: block; }
.step__text { font-size: 15.5px; color: var(--text-muted); }

.stats { background: var(--steel-900); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-box__num {
    display: block;
    font-size: 46px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.15;
}
.stat-box__label {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--steel-200);
}

.carousel {
    position: relative;
    margin: 52px auto 0;
}
.carousel__viewport { overflow: hidden; }
.carousel__track {
    display: flex;
    align-items: center;
    transition: transform .6s cubic-bezier(0.33, 0.9, 0.3, 1);
}
.carousel__slide {
    flex: 0 0 auto;
    width: 62%;
    margin: 0 10px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.86);
    opacity: 0.5;
    transition: transform .6s cubic-bezier(0.33, 0.9, 0.3, 1), opacity .6s ease;
}
.carousel__slide.is-active {
    transform: scale(1);
    opacity: 1;
}
.carousel.is-jumping .carousel__track,
.carousel.is-jumping .carousel__slide { transition: none; }
.carousel__track { touch-action: pan-y; cursor: grab; }
.carousel.is-dragging .carousel__track {
    transition: none;
    cursor: grabbing;
}
.carousel__slide img {
    user-select: none;
    -webkit-user-drag: none;
}
.carousel__slide img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.about__inner { max-width: 780px; }
.about__lead { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.about__inner p { color: var(--text-muted); font-size: 17px; }

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}
.contact-item { margin-bottom: 28px; }
.contact-item__label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}
.contact-item__value {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    transition: color .15s ease;
}
a.contact-item__value:hover { color: var(--accent); }

.lead-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.lead-form__title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.lead-form__hint { color: var(--text-muted); margin-bottom: 22px; font-size: 15px; }
.lead-form__field { margin-bottom: 14px; }
.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--steel-200);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease;
    resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 160, 25, 0.18);
}
.lead-form input.is-error,
.lead-form textarea.is-error { border-color: #e23b3b; }
.lead-form__success {
    margin-top: 16px;
    padding: 14px 16px;
    background: #e7f7ec;
    color: #1c7a3d;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
}
.lead-form__error {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fdecec;
    color: #b32424;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
}
.lead-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.map {
    margin-top: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.map__frame {
    display: block;
    width: 100%;
    height: 540px;
    border: 0;
    filter: grayscale(0.15);
}
@media (max-width: 760px) {
    .map { margin-top: 36px; }
    .map__frame { height: 340px; }
}

.footer {
    background: var(--steel-900);
    color: var(--steel-200);
    padding: 50px 0 36px;
    text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__text { max-width: 460px; font-size: 15px; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__contacts a { font-weight: 700; color: var(--white); transition: color .15s ease; }
.footer__contacts a:hover { color: var(--accent); }
.footer__copyright { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

.fab-stack {
    position: fixed;
    right: 18px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 90;
}
.fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--steel-900);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(245, 160, 25, 0.5);
    animation: pulse 2.2s infinite;
}
.fab--tg,
.fab--viber {
    width: 48px;
    height: 48px;
    color: var(--white);
    animation: none;
}
.fab--tg { background: #2aabee; box-shadow: 0 6px 18px rgba(42, 171, 238, 0.45); }
.fab--viber { background: #7360f2; box-shadow: 0 6px 18px rgba(115, 96, 242, 0.45); }
.fab svg { display: block; }
@keyframes pulse {
    0% { box-shadow: 0 8px 24px rgba(245, 160, 25, 0.5), 0 0 0 0 rgba(245, 160, 25, 0.5); }
    70% { box-shadow: 0 8px 24px rgba(245, 160, 25, 0.5), 0 0 0 16px rgba(245, 160, 25, 0); }
    100% { box-shadow: 0 8px 24px rgba(245, 160, 25, 0.5), 0 0 0 0 rgba(245, 160, 25, 0); }
}

.msgr-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.msgr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    transition: filter .15s ease;
}
.msgr-btn:hover { filter: brightness(1.1); color: var(--white); }
.msgr-btn--tg { background: #2aabee; }
.msgr-btn--viber { background: #7360f2; }
.msgr-btn--lg { padding: 14px 24px; font-size: 16px; }

.thanks { padding: 100px 0 110px; }
.thanks__inner { max-width: 660px; text-align: center; }
.thanks__icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}
.thanks__title { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.thanks__text { font-size: 18px; color: var(--text-muted); margin-bottom: 8px; }
.thanks__hint { font-size: 15.5px; color: var(--text-muted); margin-bottom: 38px; }
.thanks__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto 32px;
}
.thanks__actions .btn,
.thanks__actions .msgr-btn { width: 100%; justify-content: center; }
.thanks__home { font-weight: 700; color: var(--accent-dark); }
.thanks__home:hover { text-decoration: underline; }
.header__msgr {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: filter .15s ease, transform .15s ease;
}
.header__msgr:hover { filter: brightness(1.08); transform: translateY(-1px); }
.header__msgr--tg { background: #2aabee; }
.header__msgr--viber { background: #7360f2; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .services__inner { grid-template-columns: 1fr; gap: 36px; }
    .advantages__grid,
    .prices__grid,
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .header__call,
    .header__msgr { display: none; }
    .burger { display: flex; }
    .lang { margin-left: auto; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 8px 24px 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--steel-100);
        transform: translateY(-130%);
        transition: transform .3s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav__link { padding: 14px 0; border-bottom: 1px solid var(--steel-100); font-size: 17px; }
    
    .nav__link.is-active { color: var(--accent-dark); padding-left: 14px; }
    .nav__link.is-active::after {
        left: 0;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 4px;
        height: 22px;
        border-radius: 3px;
    }
    .fab-stack { display: flex; }

    .advantages__grid,
    .prices__grid,
    .steps,
    .contacts__grid { grid-template-columns: 1fr; }

    .thanks { padding: 64px 0 80px; }
    .thanks__title { font-size: 30px; }

    .stats__grid { grid-template-columns: 1fr; gap: 26px; }
    .stat-box__num { font-size: 38px; }
    .carousel__slide { width: 78%; margin: 0 6px; }
    .carousel__slide img { height: 230px; }

    .hero__inner { padding: 64px 24px 72px; }
    .hero__stats { gap: 26px; }
    .section { padding: 60px 0; }
}

@media (max-width: 420px) {
    .hero__actions .btn { width: 100%; }
}
