:root {
    --blue: #1463f3;
    --blue-dark: #0f49c8;
    --ink: #0f172a;
    --text: #475569;
    --muted: #8a97aa;
    --line: #e6edf6;
    --soft-blue: #eef6ff;
    --soft-green: #effaf2;
    --soft-orange: #fff5eb;
    --soft-purple: #f5efff;
    --bg: #ffffff;
    --card: #ffffff;
    --radius: 26px;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

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

.container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230, 237, 246, 0.7);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 12px 24px rgba(20, 99, 243, 0.24);
}

.logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.brand strong {
    display: block;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.brand span {
    display: block;
    color: var(--text);
    font-size: 13px;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #182235;
    font-size: 15px;
}

.nav a:hover { color: var(--blue); }

.phone-top {
    text-align: right;
    min-width: max-content;
}

.phone-top a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.phone-top small {
    display: block;
    color: var(--muted);
    margin-top: 1px;
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: #f4f7fb;
    border-radius: 16px;
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-btn:hover,
.menu-btn[aria-expanded="true"] {
    background: #e8f1ff;
    color: var(--blue);
}

.hero {
    padding: 72px 0 86px;
    overflow: hidden;
    background:
    radial-gradient(circle at 88% 16%, rgba(20, 99, 243, 0.10), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--text);
    font-size: 15px;
    margin-bottom: 24px;
}

.pill b {
    color: var(--blue);
    background: #dcecff;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 13px;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.065em;
    max-width: 650px;
}

h1 span { color: var(--blue); }

.hero-text {
    margin: 26px 0 32px;
    color: var(--text);
    font-size: 20px;
    max-width: 580px;
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 16px;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), #0757dd);
    box-shadow: 0 16px 30px rgba(20, 99, 243, 0.22);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px rgba(20, 99, 243, 0.28); }

.btn-outline {
    color: var(--blue);
    background: white;
    border-color: rgba(20, 99, 243, 0.42);
}

.features-mini {
    display: flex;
    gap: 34px;
    margin-top: 34px;
    color: var(--text);
    flex-wrap: wrap;
}

.features-mini div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 4% 14% auto;
    width: 78%;
    border-radius: 44px;
    background: radial-gradient(circle at 30% 35%, rgba(79, 163, 255, 0.26), rgba(20, 99, 243, 0.06) 48%, transparent 72%);
    filter: blur(18px);
    z-index: -1;
}

.door-card {
    position: relative;
    width: min(520px, 100%);
    height: 560px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
    box-shadow: var(--shadow);
}

.door-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 76% center;
    transform: scale(1.03);
}

.door-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.04) 35%, rgba(20, 99, 243, 0.06) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.02));
    pointer-events: none;
}


.handle {
    position: absolute;
    left: 46%;
    top: 18%;
    width: 82px;
    height: 342px;
    border-radius: 42px;
    background: linear-gradient(90deg, #6e655d, #d1c4b4 42%, #514840);
    box-shadow: inset -10px 0 18px rgba(0,0,0,.25), 0 24px 42px rgba(0,0,0,.25);
}

.handle:before {
    content: "";
    position: absolute;
    width: 230px;
    height: 52px;
    left: 38px;
    top: 118px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f0e3d2, #766b62 48%, #332d29);
    box-shadow: 0 14px 22px rgba(0,0,0,.28);
}

.handle:after {
    content: "";
    position: absolute;
    left: 29px;
    bottom: 62px;
    width: 26px;
    height: 54px;
    border-radius: 20px;
    border: 5px solid #2a2624;
    background: #c8bba9;
}

.section {
    padding: 82px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.section-head {
    text-align: center;
    margin-bottom: 44px;
}

.eyebrow {
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
}

h2 {
    margin: 0;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.underline {
    width: 52px;
    height: 4px;
    border-radius: 10px;
    background: var(--blue);
    margin: 18px auto 0;
}

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

.service-card {
    min-height: 310px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--soft-blue);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.75);
}

.service-card:nth-child(2) { background: var(--soft-green); }
.service-card:nth-child(3) { background: var(--soft-orange); }
.service-card:nth-child(4) { background: var(--soft-purple); }

.icon-bubble {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(20, 99, 243, 0.10);
    color: var(--blue);
    margin-bottom: 26px;
}

.service-card:nth-child(2) .icon-bubble { background: rgba(36, 166, 76, 0.12); color: #18a64a; }
.service-card:nth-child(3) .icon-bubble { background: rgba(255, 139, 27, 0.14); color: #ff8b1b; }
.service-card:nth-child(4) .icon-bubble { background: rgba(112, 72, 232, 0.12); color: #7048e8; }

.service-card h3,
.advantage h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.service-card p,
.advantage p,
.contact p {
    color: var(--text);
    margin: 0;
}

.more {
    margin-top: 28px;
    color: var(--blue);
    font-weight: 800;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    text-align: center;
}

.advantage .icon-bubble {
    margin: 0 auto 22px;
    border-radius: 50%;
}

.advantage:nth-child(2) .icon-bubble { background: var(--soft-green); color: #18a64a; }
.advantage:nth-child(3) .icon-bubble { background: var(--soft-purple); color: #7048e8; }
.advantage:nth-child(4) .icon-bubble { background: var(--soft-orange); color: #ff8b1b; }

.contact {
    display: flex;
    justify-content: center;
}

.contact-content {
    max-width: 720px;
    text-align: center;
}

.contact h2 { margin-bottom: 18px; }

.footer {
    padding: 42px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

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

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

svg { width: 24px; height: 24px; stroke-width: 2; }

@media (max-width: 980px) {
    body.menu-open { overflow: hidden; }
    .phone-top { display: none; }
    .menu-btn { display: grid; place-items: center; }
    .header-inner {
        height: auto;
        min-height: 82px;
        padding: 18px 0;
        flex-wrap: wrap;
        row-gap: 18px;
    }
    .nav {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(20, 99, 243, 0.12);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    }
    .nav.is-open { display: flex; }
    .nav a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 16px;
        font-weight: 700;
    }
    .nav a:hover { background: var(--soft-blue); }
    .hero { padding: 42px 0 58px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { min-height: auto; order: -1; }
    .handle { transform: scale(.78); transform-origin: top left; left: 43%; top: 13%; }
    .service-grid, .advantages { grid-template-columns: 1fr; }
    .advantages { text-align: left; gap: 28px; }
    .advantage { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: center; }
    .advantage .icon-bubble { margin: 0; }
    .door-card {
        width: min(100%, 680px);
        height: 380px;
        margin: 0 auto;
        border-radius: 32px;
    }
}

@media (max-width: 620px) {
    .container { width: min(100% - 32px, 1160px); }
    .header-inner {
        min-height: 72px;
        padding: 14px 0;
    }
    .logo { width: 38px; height: 38px; border-radius: 13px; }
    .brand strong { font-size: 19px; }
    .brand span { font-size: 12px; }
    .hero { padding-top: 32px; }
    .pill { margin-bottom: 18px; }
    h1 { font-size: 38px; }
    .hero-text { font-size: 17px; margin: 20px 0 24px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .btn { width: 100%; min-height: 54px; }
    .features-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
    .features-mini div { display: grid; justify-items: center; gap: 6px; font-size: 13px; }
    .hero-visual::before {
        inset: 6% 0 12% 0;
        width: 100%;
        border-radius: 30px;
    }
    .door-card {
        height: 260px;
        border-radius: 28px;
    }
    .door-card img { object-position: 72% center; }
    .handle { transform: scale(.58); left: 43%; top: 14%; }
    .section { padding: 58px 0; }
    .section-head { margin-bottom: 30px; }
    .service-grid { gap: 16px; }
    .service-card { min-height: 230px; padding: 24px; border-radius: 22px; }
    .icon-bubble { width: 56px; height: 56px; border-radius: 19px; margin-bottom: 18px; }
    .service-card h3, .advantage h3 { font-size: 19px; }
    .advantage { grid-template-columns: 62px 1fr; }
    .footer-inner, .footer-links { display: grid; gap: 14px; }
}
