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

:root {
    --blue: #2563EB;
    --blue-light: #EFF6FF;
    --blue-mid: #DBEAFE;
    --text: #0F172A;
    --muted: #64748B;
    --border: #E2E8F0;
    --bg: #FFFFFF;
    --bg2: #F8FAFC;
    --radius: 16px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Onest', sans-serif; }

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

.logo-text { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.logo-text span { color: var(--blue); }

nav { display: flex; align-items: center; gap: 32px; }

nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s;
}
nav a:hover { color: var(--text); }

.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .1s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-primary:hover { background: #1D4ED8; }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, background .2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.burger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

/* ── MOBILE MENU ── */
.mob-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #fff;
    padding: 24px;
    flex-direction: column;
}

.mob-menu.open { display: flex; }

.mob-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* ИСПРАВЛЕНО: добавлен display:flex и flex-direction:column */
.mob-menu nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.mob-menu nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-family: 'Onest', sans-serif;
    text-decoration: none;
    display: block;
}

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

.mob-menu .btn-primary {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ── HERO ── */
.hero { background: var(--bg); padding: 80px 24px 64px; }

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.dot-green { width: 7px; height: 7px; background: #22C55E; border-radius: 50%; display: inline-block; }

.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); font-weight: 900; line-height: 1.1; color: var(--text); margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 460px; margin-bottom: 32px; line-height: 1.7; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btns .btn-primary { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.hero-btns .btn-outline { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }

.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 40px; }

.stat-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.stat-val { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--text); }
.stat-label { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.hero-img-wrap { position: relative; }
.hero-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 480px; display: block; }

.hero-card {
    position: absolute;
    bottom: -16px; left: -16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.hero-card-icon { width: 40px; height: 40px; background: #DCFCE7; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #16A34A; }
.hero-card-val { font-family: 'Onest', sans-serif; font-weight: 800; font-size: .9rem; }
.hero-card-sub { font-size: .75rem; color: var(--muted); }

/* ── TRUST ── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 24px; background: var(--bg2); }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.trust-item i { color: var(--blue); }

/* ── SECTION LABEL ── */
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 900; color: var(--text); line-height: 1.2; }

/* ── SERVICES ── */
.services { padding: 80px 24px; }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-head { margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.svc-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.svc-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,.1); transform: translateY(-3px); }

.svc-img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--bg2); }
.svc-img-placeholder { width: 100%; height: 180px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }

.svc-body { padding: 20px 22px 22px; }
.svc-title { font-family: 'Onest', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.svc-desc { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.svc-price { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.svc-price-val { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 1rem; color: var(--blue); }
.svc-price-from { font-size: .78rem; color: var(--muted); }

.btn-sm { background: var(--blue-light); color: var(--blue); border: none; border-radius: 8px; padding: 7px 16px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background .2s; }
.btn-sm:hover { background: var(--blue-mid); }

/* ── STEPS ── */
.steps { padding: 80px 24px; background: var(--bg2); }
.steps-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.steps-img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; height: 420px; }
.steps-list { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 20px; }
.step-num { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; background: var(--blue); color: #fff; font-family: 'Onest', sans-serif; font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.step-text h4 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.step-text p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── WHY ── */
.why { padding: 80px 24px; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-head { text-align: center; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.why-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.why-card h4 { font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.why-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── FAQ ── */
.faq { padding: 80px 24px; background: var(--bg2); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: .95rem; color: var(--text); }
.faq-icon { color: var(--muted); transition: transform .3s; font-size: .8rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; font-size: .88rem; color: var(--muted); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT ── */
.contact { padding: 80px 24px; background: var(--blue); }
.contact-inner { max-width: 1000px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 48px; }
.contact-head .section-label { color: rgba(255,255,255,.6); }
.contact-head .section-title { color: #fff; }
.contact-head p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: .95rem; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select { border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: .95rem; font-family: 'Manrope', sans-serif; color: var(--text); background: var(--bg2); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: #fff; }
.form-group textarea { resize: none; }
.form-submit { margin-top: 8px; }
.form-submit .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; border-radius: 12px; }
.form-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 10px; }

/* ── FOOTER ── */
footer { background: var(--text); padding: 56px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: #94A3B8; font-size: .88rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #334155; color: #94A3B8; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color .2s, color .2s; }
.social-btn:hover { border-color: var(--blue); color: #fff; }
.footer-col h4 { font-family: 'Onest', sans-serif; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #94A3B8; text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--blue); margin-top: 3px; width: 14px; }
.footer-contact-item span { color: #94A3B8; font-size: .88rem; }
.footer-contact-item a { color: #94A3B8; text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-divider { height: 1px; background: #1E293B; margin-bottom: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #64748B; font-size: .82rem; }
.online-badge { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #22C55E; font-weight: 500; }
.footer-logo-text { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-logo-text span { color: #60A5FA; }

/* ── FLOATING BTN ── */
.float-btn { position: fixed; bottom: 24px; right: 24px; z-index: 99; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 8px 24px rgba(37,211,102,.4); text-decoration: none; transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-img-wrap { display: none; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .steps-inner { grid-template-columns: 1fr; gap: 40px; }
    .steps-img { height: 280px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:768px) {
    nav { display: none; }
    .burger { display: block; }
    .services-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:480px) {
    .hero { padding: 48px 16px 48px; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
    .why-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s; }
.fade-up.visible { opacity: 1; transform: none; }