/* /home/c/crestpro/drenis.ru/public_html/static/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
    --brand-indigo: #4b5e6d; 
    --brand-orange: #ff6b00; 
    --brand-dark: #0f172a;
    --text-main: #1a1a1a;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-soft: #f8fafc;
    --accent-line: #e2e8f0;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 40px 80px -15px rgba(75, 94, 109, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
    transition: var(--transition); border-bottom: 1px solid var(--accent-line);
    height: 80px;
}

.site-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
    background: var(--brand-orange);
}

.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 38px !important; width: auto !important; display: block; }
.logo-text { font-size: 22px; color: var(--brand-indigo); font-weight: 900; }

.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-link { text-decoration: none; color: var(--brand-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-link:hover { color: var(--brand-orange); }

.header-phone a {
    text-decoration: none; color: var(--brand-indigo); font-weight: 800; font-size: 15px;
    border: 2px solid var(--brand-indigo); padding: 8px 16px; border-radius: 10px; transition: var(--transition);
}
.header-phone a:hover { background: var(--brand-indigo); color: white; }

/* GLOBAL CONTENT SPACING */
.page-wrapper { padding-top: 140px; padding-bottom: 100px; min-height: 80vh; display: block; }

/* HERO SECTIONS */
.hero-section { padding: 40px 0 60px; text-align: center; }
.page-title { font-size: 3.2rem; color: var(--brand-dark); line-height: 1.1; margin-bottom: 25px; }
.page-title span { color: var(--brand-indigo); }
.page-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 40px; }

/* FAQ GRID */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin: 40px 0; }
.faq-card { 
    background: white; border: 1px solid var(--accent-line); border-radius: 32px; 
    padding: 45px; text-decoration: none; transition: var(--transition); 
    display: flex; flex-direction: column; box-shadow: var(--shadow-premium);
}
.faq-card:hover { border-color: var(--brand-orange); box-shadow: var(--shadow-hover); transform: translateY(-10px); }
.faq-icon { font-size: 28px; color: var(--brand-orange); margin-bottom: 20px; }
.faq-card h3 { font-size: 1.4rem; color: var(--brand-dark); margin-bottom: 15px; line-height: 1.2; }
.faq-card p { font-size: 1rem; color: var(--text-muted); flex-grow: 1; line-height: 1.5; }
.faq-link { margin-top: 25px; color: var(--brand-indigo); font-weight: 800; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }

/* CALCULATOR */
.calc-card-container { max-width: 700px; margin: 60px 0; }
.calc-card { background: white; border: 1px solid var(--accent-line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-premium); transition: var(--transition); }
.calc-card:hover { box-shadow: var(--shadow-hover); }
.calc-card-header { background: var(--brand-dark); padding: 30px 40px; color: white; border-bottom: 5px solid var(--brand-orange); }
.calc-card-header h2 { font-size: 1.8rem; margin: 0; }
.calc-card-body { padding: 50px 40px; }
.calc-input-group { margin-bottom: 30px; }
.calc-input-group label { display: block; font-weight: 800; color: var(--brand-dark); margin-bottom: 12px; font-size: 1rem; text-transform: uppercase; }
.calc-input-group input { width: 100%; padding: 20px 25px; border-radius: 16px; border: 2px solid var(--accent-line); font-size: 1.2rem; font-family: inherit; font-weight: 600; }
.calc-submit-btn { width: 100%; background: var(--brand-dark); color: white; border: none; padding: 22px; border-radius: 16px; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: var(--transition); }
.calc-submit-btn:hover { background: var(--brand-orange); transform: translateY(-3px); }
.calc-results-area { margin-top: 45px; display: none; border-top: 2px dashed var(--accent-line); padding-top: 40px; animation: fadeIn 0.6s ease; }
.calc-res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-res-item { background: var(--bg-soft); padding: 25px; border-radius: 20px; border: 1px solid var(--accent-line); }
.calc-res-label { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.calc-res-value { font-size: 1.8rem; font-weight: 800; color: var(--brand-dark); }
.calc-warning-box { display: none; background: #fff7ed; border: 1px solid #ffedd5; padding: 20px 25px; border-radius: 16px; color: #9a3412; margin-bottom: 30px; }

/* CONTACTS PAGE */
.contacts-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; margin-top: 60px; }
.contact-info-block { display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; gap: 25px; align-items: flex-start; margin-bottom: 40px; }
.contact-icon { width: 60px; height: 60px; background: var(--bg-soft); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--brand-orange); font-size: 24px; flex-shrink: 0; border: 1px solid var(--accent-line); }
.contact-label { display: block; font-size: 0.9rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.contact-value { font-size: 1.4rem; font-weight: 800; color: var(--brand-dark); text-decoration: none; transition: var(--transition); }
.contact-value:hover { color: var(--brand-orange); }
.messenger-links { display: flex; gap: 15px; margin-top: 10px; }
.msg-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 14px; transition: var(--transition); }
.msg-tg { background: #26A5E4; color: white; }
.msg-max { background: #000; color: white; }
.qr-section { background: var(--bg-soft); padding: 30px; border-radius: 24px; border: 1px solid var(--accent-line); display: flex; align-items: center; gap: 25px; margin-top: 20px; max-width: 450px; }
.qr-code { width: 110px; height: 110px; background: white; padding: 10px; border-radius: 12px; border: 1px solid var(--accent-line); }

/* REQUISITES */
.requisites-section { margin-top: 100px; border-top: 1px solid var(--accent-line); padding-top: 80px; }
.requisites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.req-card { background: var(--bg-soft); padding: 45px; border-radius: 32px; border: 1px solid var(--accent-line); box-shadow: var(--shadow-premium); }
.req-title { font-size: 1.5rem; margin-bottom: 30px; color: var(--brand-dark); border-bottom: 4px solid var(--brand-orange); padding-bottom: 12px; display: inline-block; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table td { padding: 14px 0; font-size: 1.05rem; vertical-align: top; border-bottom: 1px solid rgba(0,0,0,0.05); }
.req-table td:first-child { color: var(--text-muted); width: 150px; font-weight: 600; }
.req-table td:last-child { color: var(--brand-dark); font-weight: 700; padding-left: 20px; }

/* ARTICLE CONTENT */
.article-container { max-width: 900px; margin: 0 auto; padding: 20px 24px; }
.tech-badge { display: inline-block; padding: 8px 16px; background: var(--brand-orange); color: white; border-radius: 10px; font-weight: 800; font-size: 12px; margin-bottom: 25px; text-transform: uppercase; }
.benefit-item { display: flex; gap: 20px; margin-bottom: 25px; padding: 30px; background: var(--bg-soft); border-radius: 24px; border-left: 6px solid var(--brand-orange); box-shadow: var(--shadow-premium); }

/* TABLES */
.tech-table { width: 100%; border-collapse: collapse; margin: 40px 0; background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-premium); border: 1px solid var(--accent-line); }
.tech-table th { background: var(--brand-dark); color: white; padding: 20px 25px; text-align: left; font-size: 1rem; text-transform: uppercase; }
.tech-table td { padding: 20px 25px; border-bottom: 1px solid var(--accent-line); font-size: 1.1rem; }

/* PRINT MODAL */
.print-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); }
.print-modal-content { background: white; margin: 50px auto; padding: 40px; border-radius: 32px; max-width: 850px; width: 90%; position: relative; box-shadow: var(--shadow-hover); }
.btn-print { background: var(--brand-orange); color: white; border: none; padding: 18px 35px; border-radius: 14px; font-weight: 800; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; }

/* FOOTER */
.site-footer { background: #000; color: #fff; padding: 80px 0; border-top: 2px solid var(--brand-orange); margin-top: 100px; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .faq-grid, .contacts-grid, .calc-res-grid, .requisites-grid { grid-template-columns: 1fr; }
    .site-header { height: 70px; }
    .page-wrapper { padding-top: 110px; }
}
/* Добавить в конец style.css */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        border-bottom: 2px solid var(--brand-orange);
        box-shadow: var(--shadow-premium);
    }
    .main-nav.active { display: block; }
    .nav-list { flex-direction: column; gap: 20px; }
    .header-phone { display: none; }
}
/* /home/c/crestpro/drenis.ru/public_html/static/css/style.css (ADDITIONS) */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--brand-dark);
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        z-index: 1050;
        transition: var(--transition);
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
    }

    .nav-link {
        font-size: 18px;
    }

    .header-phone {
        display: none;
    }
}