* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #1a1a1a; background: #071a07; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; width: 100%; }
header { background: linear-gradient(135deg, #071a07 0%, #0d3d0d 100%); color: white; padding: 40px 0; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.4); }
header h1 { font-size: 2.5em; margin-bottom: 10px; }
header p { font-size: 1.2em; opacity: 0.9; }
.services { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.services h2 { color: #1b5e20; margin-bottom: 20px; text-align: center; }
.services ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
#pricing-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { #pricing-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { #pricing-list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 480px) { #pricing-list { grid-template-columns: 1fr; } }
.services li { padding: 15px; background: #f0fff4; border-left: 4px solid #2e7d32; border-radius: 5px; }
.services li:before { content: "✓ "; color: #2e7d32; font-weight: bold; margin-right: 10px; }
.form-section { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); border: 2px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.form-section.form-success { border-color: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,0.25), 0 2px 10px rgba(0,0,0,0.1); }
.form-section h2 { color: #1b5e20; margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #c8e6c9; border-radius: 5px; font-size: 1em; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #2e7d32; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn { background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); color: white; padding: 15px 40px; border: none; border-radius: 5px; font-size: 1.1em; cursor: pointer; transition: transform 0.2s; width: 100%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(46,125,50,0.5); }
.calendar-section { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); overflow-x: auto; }
.calendar-section h2 { color: #1b5e20; margin-bottom: 20px; text-align: center; }
#calendar { margin: 20px 0; overflow-x: auto; }
#calendar table { width: 100%; min-width: 280px; border-collapse: collapse; }
#calendar th, #calendar td { padding: 10px 5px; font-size: 0.9em; }
.calendar-legend { display: flex; gap: 20px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-color { width: 20px; height: 20px; border-radius: 3px; }
.free { background: #4caf50; }
.busy { background: #f44336; }
.contact { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); text-align: center; }
.contact h2 { color: #1b5e20; margin-bottom: 20px; }
.contact p { font-size: 1.2em; margin: 10px 0; word-break: break-word; }
.contact a { color: #2e7d32; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
footer { text-align: center; padding: 20px; background: #071a07; color: #ccc; margin-top: 40px; border-top: 1px solid #1a3a1a; }
.message { padding: 15px; margin: 20px 0; border-radius: 5px; display: none; }
.message.success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.message.error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
@media (max-width: 768px) {
    header h1 { font-size: 1.8em; }
    header p { font-size: 1em; }
    .container { padding: 10px; }
    .services, .form-section, .calendar-section, .contact { padding: 20px; margin: 15px 0; }
    .services ul { grid-template-columns: 1fr; gap: 15px; }
    .btn { padding: 12px 20px; font-size: 1em; }
    #calendar th, #calendar td { padding: 8px 3px; font-size: 0.85em; }
    .contact p { font-size: 1em; }
}
.links-section { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.links-section h2 { color: #1b5e20; margin-bottom: 20px; text-align: center; }
.link-item { display: inline-block; padding: 12px 24px; background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); color: white; text-decoration: none; border-radius: 8px; font-weight: 500; transition: transform 0.2s, box-shadow 0.2s; }
.link-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(46,125,50,0.4); }
.ads-section { background: #fff; margin: 30px 0; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.ads-section h2 { color: #1b5e20; margin-bottom: 20px; text-align: center; }
.ad-item { margin-bottom: 20px; padding: 20px; background: #f0fff4; border-radius: 8px; border-left: 4px solid #2e7d32; }
.ad-item h3 { color: #1b5e20; margin-bottom: 10px; }
.ad-item p { color: #333; line-height: 1.6; }
.ad-item a { color: #2e7d32; text-decoration: none; font-weight: 500; }
.ad-item a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    header h1 { font-size: 1.5em; }
    header { padding: 20px 10px; }
    .services, .form-section, .calendar-section, .contact, .links-section { padding: 15px; }
    #calendar th, #calendar td { padding: 6px 2px; font-size: 0.8em; }
}
.date-popup { display: none; position: absolute; top: 100%; left: 0; z-index: 500; margin-top: 6px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); padding: 14px; width: 280px; }
.date-popup.is-open { display: block; }
.date-popup__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.date-popup__title { font-weight: 700; color: #1b5e20; font-size: 0.95em; text-transform: capitalize; }
.date-popup__nav { background: #2e7d32; color: #fff; border: none; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 1em; }
.date-popup__table { width: 100%; border-collapse: collapse; }
.date-popup__table th { font-size: 0.75em; color: #999; font-weight: 600; padding: 4px 0; }
.date-popup__day { text-align: center; padding: 8px 0; font-size: 0.85em; border-radius: 6px; cursor: pointer; }
.date-popup__day.is-free { background: #e8f5e9; color: #2e7d32; font-weight: 700; }
.date-popup__day.is-free:hover { background: #2e7d32; color: #fff; }
.date-popup__day.is-busy { background: #ffebee; color: #c62828; cursor: not-allowed; opacity: 0.7; text-decoration: line-through; }
.date-popup__day.is-past { background: #f5f5f5; color: #bbb; cursor: not-allowed; }
.date-popup__legend { display: flex; gap: 14px; margin-top: 10px; font-size: 0.75em; color: #666; }
.date-popup__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.date-popup__legend i.is-free { background: #2e7d32; }
.date-popup__legend i.is-busy { background: #c62828; }
/* Кнопка-ссылка "Оставить заявку" */
a[href="#requestFormSection"] { background: #00c853 !important; box-shadow: 0 4px 15px rgba(0,200,83,0.4) !important; }
/* Кнопка "Отзывы" */
a[href="/reviews.php"] { border-color: rgba(255,255,255,.35) !important; }
/* Кнопка "Калькулятор" */
a[href="/calculator.php"] { background: #00c853 !important; box-shadow: 0 4px 15px rgba(0,200,83,0.4) !important; }
/* Цена (была #667eea) */
.pricing-price-default { color: #1b5e20 !important; }
/* Блок "Не знаете" */
.services div[style*="e3f2fd"] { background: linear-gradient(135deg, #e8f5e9, #f0fff4) !important; }
/* Кнопки-навигации календаря */
button.calendar-nav { background: #2e7d32 !important; }
/* Кнопки-навигации попап-календаря */
.date-popup__nav { background: #2e7d32 !important; }
/* Заголовок календаря */
.calendar-title, #calendar-title { color: #1b5e20 !important; }
/* Скидка бейдж */