/* ═══════════════════════════════════════════
   KlimatPro — Landing Page Styles
   Modern, clean, conversion-focused
   ═══════════════════════════════════════════ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #2563eb, #06b6d4);
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,.15);
    --shadow-xl: 0 25px 60px -15px rgba(37,99,235,.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; font-weight: 600; font-size: 15px;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    cursor: pointer; transition: all .2s; text-decoration: none;
    padding: 12px 28px; gap: 8px;
}
.btn--primary { background: var(--gradient); color: var(--white); border-color: transparent; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--ghost { background: transparent; color: var(--primary); border-color: transparent; }
.btn--ghost:hover { background: var(--primary-light); }
.btn--white { background: var(--white); color: var(--primary); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn--lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius); }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--full { width: 100%; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── HEADER ── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .3s;
}
.header.scrolled { border-bottom-color: var(--gray-300); box-shadow: var(--shadow); }
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo__icon { font-size: 28px; }
.logo__text { font-size: 22px; font-weight: 800; color: var(--dark); }
.logo__accent { color: var(--primary); }
.nav { display: flex; gap: 28px; }
.nav__link {
    text-decoration: none; color: var(--gray-700); font-weight: 500; font-size: 14px;
    transition: color .2s; position: relative;
}
.nav__link:hover { color: var(--primary); }
.header__right { display: flex; align-items: center; gap: 16px; }
.header__phone {
    font-weight: 600; color: var(--dark); text-decoration: none; font-size: 15px;
}
.header__phone:hover { color: var(--primary); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span {
    display: block; width: 24px; height: 2px; background: var(--dark);
    margin: 5px 0; transition: all .3s;
}

/* ── HERO ── */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--gray-300);
    padding: 8px 18px; border-radius: 50px; font-size: 14px; font-weight: 500;
    margin-bottom: 20px; color: var(--gray-700);
}
.hero__title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero__subtitle { font-size: 18px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; }
.stat__number { font-size: 28px; font-weight: 800; color: var(--dark); }
.stat__label { font-size: 13px; color: var(--gray-500); font-weight: 500; }

.hero__visual { display: flex; justify-content: center; }
.hero__card {
    width: 280px; padding: 40px 30px; text-align: center;
    background: var(--gradient); border-radius: 24px; color: var(--white);
    box-shadow: 0 30px 80px -20px rgba(37,99,235,.4);
    position: relative; overflow: hidden;
}
.hero__card-icon { font-size: 48px; margin-bottom: 12px; }
.hero__card-temp { font-size: 64px; font-weight: 800; line-height: 1; }
.hero__card-text { font-size: 14px; opacity: .85; margin-top: 12px; }
.hero__card-wave {
    position: absolute; bottom: -20px; left: -20px; right: -20px; height: 80px;
    background: rgba(255,255,255,.1); border-radius: 50%; transform: scaleX(1.5);
}

/* ── PROMO ── */
.promo { padding: 0; margin-top: -20px; position: relative; z-index: 2; }
.promo__inner {
    background: var(--gradient); border-radius: var(--radius); padding: 20px 32px;
    display: flex; align-items: center; gap: 20px; color: var(--white);
}
.promo__icon { font-size: 32px; flex-shrink: 0; }
.promo__text { flex: 1; font-size: 15px; }

/* ── SECTION SHARED ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--gray-500); }

/* ── SERVICES ── */
.services { padding: 100px 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius); padding: 32px; transition: all .3s;
    position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card--featured { border-color: var(--primary); background: linear-gradient(180deg, var(--primary-light), var(--white)); }
.service-card__badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--gradient); color: var(--white); font-size: 11px;
    font-weight: 700; padding: 4px 12px; border-radius: 50px;
}
.service-card__icon { font-size: 40px; margin-bottom: 16px; }
.service-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card__text { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.service-card__price { font-size: 20px; font-weight: 800; color: var(--primary); }

/* ── STEPS ── */
.steps { padding: 100px 0; background: var(--gray-100); }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; padding: 24px; }
.step__number {
    font-size: 48px; font-weight: 800; background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 16px;
}
.step__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step__text { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── PRICING ── */
.pricing { padding: 100px 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    overflow: hidden; transition: all .3s; position: relative;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card--featured { border-color: var(--primary); box-shadow: var(--shadow-xl); transform: scale(1.03); }
.price-card--featured:hover { transform: scale(1.05); }
.price-card__badge {
    position: absolute; top: 0; right: 24px;
    background: var(--gradient); color: var(--white); font-size: 12px;
    font-weight: 700; padding: 6px 16px; border-radius: 0 0 8px 8px;
}
.price-card__header {
    padding: 28px 24px 20px;
    background: var(--gray-100);
}
.price-card__header h3 { font-size: 18px; font-weight: 700; }
.price-card__header p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.price-card--featured .price-card__header { background: linear-gradient(135deg, var(--primary-light), #e0f2fe); }
.price-card__body { padding: 24px; }
.price-card__item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}
.price-card__item:last-child { border-bottom: none; }
.price-card__item strong { color: var(--dark); font-weight: 700; }
.pricing__note { text-align: center; margin-top: 32px; color: var(--gray-500); font-size: 14px; }

/* ── ADVANTAGES ── */
.advantages { padding: 100px 0; background: var(--gray-100); }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    transition: all .3s;
}
.advantage:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.advantage__icon { font-size: 36px; margin-bottom: 16px; }
.advantage h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.advantage p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── BRANDS ── */
.brands { padding: 100px 0; }
.brands__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.brand-item {
    background: var(--gray-100); border-radius: var(--radius-sm); padding: 20px;
    text-align: center; font-weight: 600; font-size: 14px; color: var(--gray-700);
    transition: all .2s; border: 1px solid transparent;
}
.brand-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── REVIEWS ── */
.reviews { padding: 100px 0; background: var(--gray-100); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
    background: var(--white); border-radius: var(--radius); padding: 28px;
    transition: all .3s;
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.review-card__stars { color: #f59e0b; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-card__text { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
    width: 40px; height: 40px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 16px;
}
.review-card__name { font-weight: 600; font-size: 14px; }
.review-card__meta { font-size: 12px; color: var(--gray-500); }

/* ── CTA ── */
.cta { padding: 100px 0; }
.cta__inner {
    background: var(--gradient); border-radius: 24px; padding: 64px;
    text-align: center; color: var(--white);
}
.cta__title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 16px; }
.cta__text { font-size: 17px; opacity: .9; margin-bottom: 32px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── COVERAGE ── */
.coverage { padding: 80px 0; }
.coverage__areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.coverage__col h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.coverage__col ul { list-style: none; }
.coverage__col li {
    padding: 8px 0; font-size: 14px; color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
}

/* ── CONTACTS ── */
.contacts { padding: 100px 0; background: var(--gray-100); }
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacts__info h2 { font-size: 28px; font-weight: 800; margin-bottom: 28px; }
.contacts__item { display: flex; gap: 16px; margin-bottom: 20px; }
.contacts__item span { font-size: 24px; flex-shrink: 0; }
.contacts__item a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 16px; }
.contacts__item p { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.contacts__socials { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
    padding: 10px 20px; border-radius: var(--radius-sm);
    background: var(--white); border: 1px solid var(--gray-300);
    font-size: 13px; font-weight: 600; color: var(--gray-700);
    text-decoration: none; transition: all .2s;
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }

.contacts__form {
    background: var(--white); border-radius: var(--radius); padding: 36px;
    box-shadow: var(--shadow-lg);
}
.contacts__form h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.contacts__form input,
.contacts__form select,
.contacts__form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
    margin-bottom: 14px; transition: border-color .2s; outline: none;
    background: var(--white); color: var(--dark);
}
.contacts__form input:focus,
.contacts__form select:focus,
.contacts__form textarea:focus { border-color: var(--primary); }
.form-note { font-size: 12px; color: var(--gray-500); margin-top: 12px; text-align: center; }
.form-note a { color: var(--primary); }
.success { text-align: center; padding: 32px; font-size: 18px; font-weight: 600; color: var(--primary); }

/* ── FOOTER ── */
.footer {
    background: var(--dark); color: var(--gray-300); padding: 48px 0;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__brand p { width: 100%; font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.footer__brand .logo__text { color: var(--white); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--gray-500); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 12px; color: var(--gray-500); text-align: right; }

/* ── MODAL ── */
.modal {
    display: none; position: fixed; inset: 0; z-index: 200;
    align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal__content {
    position: relative; background: var(--white); border-radius: var(--radius);
    padding: 40px; max-width: 420px; width: 90%; z-index: 1;
}
.modal__content h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal__content p { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.modal__content input {
    width: 100%; padding: 14px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
    margin-bottom: 14px; outline: none;
}
.modal__content input:focus { border-color: var(--primary); }
.modal__close {
    position: absolute; top: 16px; right: 16px; background: none;
    border: none; font-size: 20px; cursor: pointer; color: var(--gray-500);
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: all .2s;
}
.modal__close:hover { background: var(--gray-100); color: var(--dark); }

/* ── FAB ── */
.fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 50;
    width: 56px; height: 56px; background: var(--gradient);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,99,235,.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,99,235,.4); }
    50% { box-shadow: 0 8px 40px rgba(37,99,235,.6); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin: 0 auto 32px; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { display: none; }
    .services__grid, .pricing__grid, .advantages__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .steps__grid { grid-template-columns: repeat(2, 1fr); }
    .brands__grid { grid-template-columns: repeat(3, 1fr); }
    .contacts__inner { grid-template-columns: 1fr; }
    .coverage__areas { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: var(--white); padding: 24px; flex-direction: column;
        gap: 16px; border-bottom: 1px solid var(--gray-300);
        box-shadow: var(--shadow-lg);
    }
    .nav.active { display: flex; }
    .nav__link { font-size: 16px; padding: 8px 0; }
    .burger { display: block; }
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .header__phone { display: none; }
    .header__right .btn--outline { display: none; }
    .hero__title { font-size: 32px; }
    .hero__stats { flex-wrap: wrap; gap: 24px; }
    .services__grid, .pricing__grid, .advantages__grid, .reviews__grid,
    .steps__grid { grid-template-columns: 1fr; }
    .brands__grid { grid-template-columns: repeat(2, 1fr); }
    .price-card--featured { transform: none; }
    .price-card--featured:hover { transform: translateY(-4px); }
    .cta__inner { padding: 40px 24px; }
    .promo__inner { flex-direction: column; text-align: center; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__copy { text-align: center; }
}
