* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', sans-serif; background: #f0fdf4; color: #1a2c3e; overflow-x: hidden; }

:root {
    --primary: #00B050;
    --primary-dark: #008a3d;
    --primary-light: #33c16e;
    --primary-glow: rgba(0,176,80,0.15);
    --primary-soft: #e6f9ef;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,176,80,0.1); }
.top-bar { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; padding: 8px 0; font-size: 12px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.main-nav { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--gray-600); font-weight: 500; transition: 0.3s; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--primary); }
.logo { font-size: 26px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.logo span:last-child { color: var(--accent); background: none; }
.logo small { font-size: 10px; font-weight: 400; color: var(--gray-600); display: block; }
.btn-call { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; padding: 8px 20px; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; box-shadow: 0 2px 8px rgba(249,115,22,0.2); }
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(249,115,22,0.3); }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--primary); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 80%); padding: 60px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; background: linear-gradient(135deg, var(--gray-800), var(--primary)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-text h1 .accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-text p { font-size: 1.1rem; margin: 20px 0; color: var(--gray-600); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.badge { background: white; padding: 8px 20px; border-radius: 40px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 500; border: 1px solid rgba(0,176,80,0.1); transition: 0.3s; }
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.badge i { color: var(--primary); }
.hero-stats { background: white; border-radius: 32px; padding: 32px; text-align: center; box-shadow: var(--shadow-lg); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--primary); }

/* Buttons */
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; box-shadow: 0 4px 12px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--primary-glow); }
.btn-secondary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(249,115,22,0.2); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(249,115,22,0.3); }

.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 48px; text-align: center; }
.section-title span { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.section-title:after { content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); margin: 16px auto 0; border-radius: 2px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin: 40px 0; }
.service-card { background: white; border-radius: 28px; padding: 32px 24px; text-align: center; transition: 0.4s; border: 1px solid var(--gray-200); cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--primary-glow), transparent); transition: 0.5s; }
.service-card:hover::before { left: 100%; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon { width: 80px; height: 80px; background: var(--primary-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: 0.3s; }
.service-card:hover .service-icon { transform: scale(1.05); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.service-card:hover .service-icon i { color: white; }
.service-icon i { font-size: 36px; color: var(--primary); transition: 0.3s; }
.service-card .price { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-top: 12px; }

/* Cartridge Banner */
.cartridge-info { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: 32px; padding: 48px; margin: 40px 0; text-align: center; position: relative; overflow: hidden; }
.cartridge-info::after { content: '🖨️'; position: absolute; bottom: -20px; right: -20px; font-size: 150px; opacity: 0.1; pointer-events: none; }
.cartridge-features { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 30px 0; }
.cartridge-feature { background: rgba(255,255,255,0.15); padding: 16px 24px; border-radius: 60px; backdrop-filter: blur(10px); }

/* Zones */
.zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 40px 0; }
.zone-card { background: white; border-radius: 24px; padding: 28px; transition: 0.3s; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.zone-card h3 { color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.zone-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zone-list li { font-size: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--gray-200); }
.zone-list i { color: var(--primary); width: 18px; }

/* Price Table */
.price-table { width: 100%; background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); }
.price-table th { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 16px; font-weight: 600; }
.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }
.price-table tr:hover td { background: var(--primary-soft); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 40px 0; }
.review-card { background: white; border-radius: 24px; padding: 28px; transition: 0.3s; border-left: 4px solid var(--primary); box-shadow: var(--shadow-sm); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-rating { color: #fbbf24; margin-bottom: 16px; font-size: 18px; }

/* Стили для выбора рейтинга */
.rating-input { display: flex; gap: 8px; font-size: 28px; cursor: pointer; }
.rating-input .star { transition: 0.2s; color: #ccc; }
.rating-input .star:hover,
.rating-input .star.active { color: #fbbf24; transform: scale(1.1); }

/* SEO */
.seo-block { background: white; border-radius: 28px; padding: 40px; margin: 40px 0; box-shadow: var(--shadow-sm); transition: 0.3s; }
.seo-block:hover { box-shadow: var(--shadow-md); }
.seo-block h2 { color: var(--primary); margin-bottom: 20px; font-size: 1.6rem; }
.seo-block p { color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

/* Map */
.map-container { height: 280px; border-radius: 20px; overflow: hidden; margin-top: 20px; box-shadow: var(--shadow-md); }

/* Footer */
.footer { background: var(--gray-900); color: white; padding: 60px 0 30px; margin-top: 60px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 40px; }
.footer a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: var(--primary-light); }

/* Fixed Buttons */
.call-button-fixed { position: fixed; bottom: 24px; left: 24px; z-index: 1000; }
.call-btn { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-lg); text-decoration: none; animation: pulse-call 2s infinite; }
.call-btn:hover { transform: scale(1.1); }
.call-btn i { font-size: 28px; color: white; }
@keyframes pulse-call { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); } 70% { box-shadow: 0 0 0 15px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }

.chat-fixed { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
.chat-btn { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-lg); animation: pulse 2s infinite; }
.chat-btn:hover { transform: scale(1.1); }
.chat-btn i { font-size: 28px; color: white; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--primary-glow); } 70% { box-shadow: 0 0 0 15px rgba(0,176,80,0); } 100% { box-shadow: 0 0 0 0 rgba(0,176,80,0); } }

/* Admin Link */
.admin-link { position: fixed; bottom: 10px; left: 10px; opacity: 0.3; font-size: 10px; z-index: 999; }
.admin-link a { color: #666; text-decoration: none; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-content { max-width: 650px; width: 100%; background: white; border-radius: 32px; padding: 40px; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 20px; right: 24px; font-size: 28px; cursor: pointer; color: #999; transition: 0.3s; }
.modal-close:hover { color: #e74c3c; }
.modal-logo { text-align: center; margin-bottom: 24px; }
.modal-logo span:first-child { color: var(--primary); font-weight: 800; font-size: 24px; }
.modal-logo span:last-child { color: var(--accent); font-weight: 800; font-size: 24px; }
.modal h1 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.modal-subtitle { text-align: center; color: #666; margin-bottom: 28px; font-size: 14px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: #333; }
.form-group label .required { color: #e74c3c; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 2px solid #e2e8f0; border-radius: 14px; font-size: 14px; font-family: inherit; background: #f8fafc; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px var(--primary-glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.phone-input { display: flex; align-items: center; gap: 8px; }
.phone-code { width: 70px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 14px; padding: 12px; text-align: center; font-weight: 600; }

.radio-group-modal { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.radio-option-modal { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 14px; cursor: pointer; background: #f8fafc; transition: 0.3s; }
.radio-option-modal.selected { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.radio-option-modal input { width: 18px; height: 18px; margin: 0; cursor: pointer; }
.radio-option-modal span { flex: 1; cursor: pointer; font-size: 14px; }

.modal-btn-submit { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 40px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 16px; transition: 0.3s; }
.modal-btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.privacy-text { text-align: center; font-size: 11px; color: #999; margin-top: 20px; }
.privacy-text a { color: var(--primary); text-decoration: none; }

.error-msg { color: #e74c3c; font-size: 11px; margin-top: 4px; display: none; }
.error-border { border-color: #e74c3c !important; background: #fff5f5 !important; }
.cartridge-info-block { background: #fef9e0; border-radius: 12px; padding: 12px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.cartridge-info-block i { font-size: 20px; color: #f39c12; }

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 1.8rem; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); z-index: 1001; border-radius: 0 0 20px 20px; }
    .main-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .modal-content { padding: 24px; }
    .zone-list { grid-template-columns: 1fr; }
    .call-button-fixed, .chat-fixed { bottom: 16px; }
    .call-btn, .chat-btn { width: 50px; height: 50px; }
    .call-btn i, .chat-btn i { font-size: 24px; }
    .cartridge-features { gap: 16px; }
}
@media (min-width: 769px) { .mobile-menu-btn { display: none; } }

.fade-up { opacity: 0; transform: translateY(30px); transition: 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }