/* ===== БАЗА ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; } /* плавный скролл по якорям */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: #222;
    background: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; text-decoration: none; transition: all .3s ease; }

/* ===== СЕКЦИИ ===== */
.section { padding: 70px 0; }
.section--dark  { background: #2b2b2b; color: #f2f2f2; }
.section--light { background: #ffffff; }
.section--gray  { background: #f4f4f4; }

.section__title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
}
.section__subtitle {
    font-size: 26px;
    font-weight: 700;
    margin: 45px 0 25px;
    text-align: center;
}

/* ===== ЗАГЛУШКИ КАРТИНОК ===== */
.placeholder {
    background: #cfcfcf;
    border: 1px solid #a9a9a9;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    letter-spacing: 1px;
}
.placeholder--icon { width: 70px; height: 70px; border-radius: 10px; margin-bottom: 16px; }
.placeholder--big  { width: 100%; height: 280px; border-radius: 12px; margin-bottom: 20px; }

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    background: #FD7003;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.btn:hover { background: #d95f00; transform: scale(1.03); box-shadow: 0 6px 18px rgba(0,0,0,.25); }

.btn--big { font-size: 20px; padding: 15px 34px; margin-top: 16px; }

/* пульсация для телефонных кнопок */
.btn--phone, .btn--big {
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(253,112,3,.5); }
    70%  { box-shadow: 0 0 0 14px rgba(253,112,3,0); }
    100% { box-shadow: 0 0 0 0 rgba(253,112,3,0); }
}

/* ===== HEADER ===== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: #2b2b2b; color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-size: 28px; font-weight: 900; letter-spacing: 2px; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; padding: 4px 0; font-weight: 600; }
/* animated underline */
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: #FD7003; transition: width .3s ease;
}
.nav a:hover { color: #FD7003; }
.nav a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero__inner { display: flex; flex-direction: column; gap: 40px;}
.hero__left { flex: 1; }
.hero__right { flex: 1; max-width: 50%; }
.hero__title { font-size: 46px; line-height: 1.1; font-weight: 900; max-width: 50%; }
.hero__text { font-size: 20px; opacity: .9; }

.stats { display: flex; gap: 30px; margin-top: 55px; }
.stat {
    flex: 1; text-align: center; padding: 26px;
    background: #363636; border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.stat__num { display: block; font-size: 46px; font-weight: 900; color: #FD7003; }
.stat__label { font-size: 16px; opacity: .85; }

/* ===== СЕТКИ ===== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== КАРТОЧКИ ===== */
.card {
    background: #fafafa; border: 1px solid #eaeaea;
    border-radius: 12px; padding: 28px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.card--dark { background: #363636; border-color: #444; }
.card__title { font-size: 21px; margin-bottom: 12px; font-weight: 700; }
.card__text { opacity: .9; }

.specs__list, .check-list { padding-left: 22px; }
.specs__list li, .check-list li { margin-bottom: 10px; }
.check-list { list-style: none; padding-left: 0; }
.check-list li::before { content: '✔ '; color: #FD7003; font-weight: 900; }

/* ===== КАТАЛОГ ===== */
.catalog { display: flex; gap: 40px; }
.catalog__left { flex: 0 0 320px; }
.catalog__subtitle { font-size: 22px; margin-bottom: 12px; }
.catalog__cut { list-style: none; margin-bottom: 10px; }
.catalog__cut li { padding: 6px 0; border-bottom: 1px solid #444; }
.catalog__right { flex: 1; display: flex; flex-direction: column; gap: 14px; }

.product {
    display: grid; grid-template-columns: 1.2fr 1.6fr .8fr;
    align-items: center; gap: 16px;
    background: #363636; border-radius: 10px; padding: 16px 20px;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.product:hover { background: #454545; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.product__name { display: block; font-weight: 800; font-size: 19px; }
.product__desc { font-size: 15px; opacity: .8; }
.product__prices { display: flex; flex-direction: column; font-size: 14px; gap: 3px; }
.prices__label { color: #FD7003; font-weight: 700; }
.product__m2 { font-size: 26px; font-weight: 900; color: #FD7003; text-align: right; }
.product__m2 small { font-size: 14px; }

/* ===== ШАГИ ===== */
.step {
    display: flex; gap: 20px; align-items: flex-start;
    background: #fff; border: 1px solid #eaeaea;
    border-radius: 12px; padding: 26px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.step__num {
    flex: 0 0 54px; height: 54px;
    background: #FD7003; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 900;
    transition: transform .3s ease;
}
.step:hover .step__num { transform: scale(1.1) rotate(6deg); }
.step__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step__text { opacity: .9; }

.center { text-align: center; margin-top: 40px; }

/* ===== ФОРМА ===== */
.form {
    max-width: 620px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 16px;
}
.form input, .form textarea {
    font-size: 18px; padding: 14px 18px;
    border: 1px solid #ccc; border-radius: 8px;
    font-family: inherit; transition: border .3s ease, box-shadow .3s ease;
}
.form input:focus, .form textarea:focus {
    outline: none; border-color: #FD7003;
    box-shadow: 0 0 0 3px rgba(253,112,3,.25);
}
.form .btn { align-self: center; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer__col h4 { margin: 18px 0 8px; color: #FD7003; font-size: 18px; }
.footer__col a { display: block; padding: 3px 0; }
.footer__col a:hover { color: #FD7003; padding-left: 6px; }

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ (reveal) ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 36px; max-width: max-content; }
    .hero__right { max-width: max-content; }
    .catalog { flex-direction: column; }
    .catalog__left { flex: 1; }
    .nav { gap: 18px; }
}

@media (max-width: 768px) {
    body { font-size: 17px; }
    .header__inner { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
    .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
   
}
    .stats { flex-direction: column; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .product { grid-template-columns: 1fr; text-align: left; }
    .product__m2 { text-align: left; }
    .section__title { font-size: 26px; }
    .hero__title { font-size: 30px; max-width: max-content; }
    .hero__right { max-width: max-content; }
    .footer__inner { grid-template-columns: 1fr; }
}