:root {
    --bg-main: #f4f6f8;
    --bg-header: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8f9fa;
    --gold-1: #00984A;          /* основной зелёный */
    --gold-2: #006937;          /* тёмно-зелёный */
    --gold-3: #004d28;          /* ещё темнее */
    --gold-dark: #004d28;
    --blue-1: #e8f5e9;
    --blue-2: #c8e6c9;
    --text-light: #333333;
    --text-muted: #666666;
    --border: #dddddd;
    --danger: #E74C3C;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.7; background: var(--bg-main); color: var(--text-light); }
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; font-weight: 700; color: var(--gold-2); }
a { color: var(--gold-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-1); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; transition: all var(--transition); position: relative; z-index: 1; }
.btn-outline { background: transparent; border: 1px solid var(--gold-2); color: var(--gold-2); }
.btn-outline:hover { background: var(--gold-2); color: #ffffff; border-color: var(--gold-2); }
.btn-gold { background: var(--gold-1); color: #ffffff; }
.btn-gold:hover { background: var(--gold-3); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,152,74,0.3); }

/* Шапка */
.site-header { background: var(--bg-header); padding: 15px 0; border-bottom: 2px solid var(--gold-2); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 50px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--gold-2); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 30px; position: relative; z-index: 1100; }
.menu-toggle span { display: block; width: 100%; height: 3px; background: var(--gold-2); margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { color: var(--text-light); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; position: relative; padding: 5px 0; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold-1); transition: width var(--transition); }
.main-nav a:hover::after { width: 100%; }
.header-contacts { display: flex !important; align-items: center; gap: 15px; flex-shrink: 0; }
.phone-header { display: flex !important; align-items: center; gap: 8px; font-size: 1.2rem !important; font-weight: 700 !important; color: var(--gold-1) !important; text-decoration: none !important; white-space: nowrap; }
.phone-header:hover { color: var(--gold-3) !important; }
.phone-header svg { width: 20px; height: 20px; }

/* Hero */
.hero { background: linear-gradient(135deg, #006937 0%, #00984A 100%); padding: 100px 0; text-align: center; color: #ffffff; border-bottom: 3px solid var(--gold-1); }
.hero h1 { color: #ffffff; font-size: 2.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: #e8f5e9; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-outline { border-color: #ffffff; color: #ffffff; }
.hero-buttons .btn-outline:hover { background: #ffffff; color: #006937; }
.hero-buttons .btn-gold { background: #ffffff; color: #006937; }
.hero-buttons .btn-gold:hover { background: #e8f5e9; color: #006937; }

/* Секции */
.services-section, .advantages, .reviews, .cta, .calculator, .contacts, .service-page { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.2rem; position: relative; display: inline-block; width: 100%; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; margin: 15px auto 0; background: var(--gold-1); }

/* Карточки услуг */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); border-radius: 12px; padding: 25px; border: 1px solid var(--border); transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card:hover { border-color: var(--gold-2); box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.service-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.service-card h3 { margin-bottom: 10px; color: var(--gold-2); }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--gold-1); }
.service-card p { color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.service-card .btn { align-self: flex-start; }

/* Преимущества */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.adv-item { background: var(--bg-card); padding: 30px; border-radius: 12px; border-left: 4px solid var(--gold-1); transition: all 0.3s ease; }
.adv-item:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateX(5px); }
.adv-item h4 { color: var(--gold-2); margin-bottom: 12px; font-size: 1.2rem; }
.adv-item p { color: var(--text-muted); line-height: 1.8; }

/* CTA */
.cta { background: var(--bg-card); text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--gold-2); }
.cta p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-muted); }

/* Формы */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--gold-2); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text-light); border-radius: 6px; font-size: 1rem; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-2); background: #ffffff; box-shadow: 0 0 10px rgba(0,152,74,0.2); outline: none; }

/* Модальные окна */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 9999; justify-content: center; align-items: center; padding: 20px; }
.modal-content { background: var(--bg-header); max-width: 500px; width: 100%; padding: 40px; border-radius: 16px; border: 1px solid var(--gold-2); position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.modal-content .close { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--text-muted); transition: color 0.3s; }
.modal-content .close:hover { color: var(--gold-1); }
.modal-content h3 { margin-bottom: 20px; text-align: center; color: var(--gold-2); }
.modal-content form { display: flex; flex-direction: column; gap: 15px; }
.modal-content input { width: 100%; padding: 14px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text-light); border-radius: 6px; font-size: 1rem; }
.modal-content input:focus { border-color: var(--gold-2); outline: none; }

/* Футер */
.site-footer { background: #ffffff; padding: 60px 0 30px; border-top: 3px solid var(--gold-2); }
.footer-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 30px; }
.footer-contacts h4, .footer-right h4 { color: var(--gold-2); margin-bottom: 20px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-row { display: flex; align-items: flex-start; margin-bottom: 10px; line-height: 1.5; }
.contact-label { width: 110px; flex-shrink: 0; color: var(--gold-2); font-weight: 500; }
.contact-row a, .contact-row span:not(.contact-label) { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.contact-row a:hover { color: var(--gold-1); }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo-img { max-width: 180px; height: auto; }
.footer-requisites .btn { padding: 8px 20px; font-size: 0.85rem; }
.footer-right .partner-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.footer-right .partner-links a.btn { padding: 8px 15px; font-size: 0.85rem; }
.footer-company p { color: var(--text-muted); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 25px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Друзья */
.friends-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.friend-card { background: #ffffff; border-radius: 12px; padding: 25px; border: 1px solid #dddddd; transition: all 0.3s; display: flex; flex-direction: column; }
.friend-card:hover { border-color: #00984A; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-3px); }
.friend-logo { max-height: 80px; width: auto; object-fit: contain; margin-bottom: 15px; }
.friend-card h3 { color: #006937; margin-bottom: 5px; }
.friend-category { color: #00984A; font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.friend-description { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.friend-contacts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.friend-contact-item { display: inline-flex; align-items: center; gap: 8px; color: #333; font-size: 0.9rem; text-decoration: none; transition: color 0.3s; }
.friend-contact-item:hover { color: #00984A; }
.friend-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.friend-social { background: #f8f9fa; border: 1px solid #dddddd; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: #006937; text-decoration: none; transition: all 0.3s; }
.friend-social:hover { background: #00984A; color: #ffffff; border-color: #00984A; }

/* Адаптив */
@media (max-width: 992px) { .footer-layout { grid-template-columns: 1fr; gap: 30px; } .footer-center { order: -1; } }
@media (max-width: 768px) { body { font-size: 15px; } h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } .menu-toggle { display: block; } .main-nav { position: fixed; top: 70px; left: 0; width: 100%; background: #ffffff; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-150%); transition: transform 0.3s ease; max-height: calc(100vh - 70px); overflow-y: auto; z-index: 1050; } .main-nav.open { transform: translateY(0); } .main-nav ul { flex-direction: column; gap: 15px; } .main-nav a { font-size: 1rem; text-transform: none; letter-spacing: 0.5px; } .main-nav a::after { display: none; } .header-contacts { display: none !important; } .contact-grid, .footer-cols { grid-template-columns: 1fr; gap: 30px; } .service-detail { padding: 25px; } .cta h2 { font-size: 1.8rem; } .btn { padding: 10px 20px; font-size: 0.8rem; } .friends-grid { grid-template-columns: 1fr; } }