@import url('style_global.css');

/* ТЕМАТИЧНО ЦВЕТОВО КОДИРАНЕ ЗА ОЦЕНКИ (Светъл корпоративен режим) */
body { background-color: #f8fafc; color: #1e293b; }
header { background-color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.logo { color: #0a2540; }
.logo span { color: #004e92; }
.back-link { color: #64748b; border: 1px solid #cbd5e1; }
.back-link:hover { color: #004e92; border-color: #004e92; background-color: #f1f5f9; }
footer { background-color: #0a2540; color: #94a3b8; }
.footer-info a, .footer-info span { color: #cbd5e1 !important; }
.back-to-top { background-color: #004e92; color: white; }
.gdpr-banner { background-color: #ffffff; color: #1e293b; border-top: 1px solid #cbd5e1; box-shadow: 0 -4px 15px rgba(0,0,0,0.05); }
.gdpr-container a { color: #004e92; }
.gdpr-btn { background-color: #004e92; color: #ffffff; }

/* ==========================================================================
   ОСНОВНА ЧАСТ (MAIN / HERO / GRID)
   ========================================================================== */
.hero { padding: 180px 0 100px 0; background: linear-gradient(135deg, #0a2540 0%, #004e92 100%); color: #ffffff; text-align: center; }
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: #e2e8f0; max-width: 800px; margin: 0 auto 40px auto; font-weight: 300; }
.hero span.badge { display: inline-block; background-color: rgba(255, 255, 255, 0.12); color: #ffffff; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, 0.2); margin-bottom: 20px; }
.cta-button { display: inline-block; background-color: #ffffff; color: #0a2540; padding: 14px 32px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.features { padding: 80px 0; background-color: #ffffff; border-bottom: 1px solid #e2e8f0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; font-weight: 600; color: #0a2540; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background-color: #f8fafc; border: 1px solid #e2e8f0; padding: 40px 30px; border-radius: 8px; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); border-color: #004e92; }
.card-icon { font-size: 2rem; color: #004e92; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; color: #0a2540; }
.card p { color: #64748b; font-size: 0.95rem; }
.services-section { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-item { background-color: #ffffff; padding: 30px; border-radius: 6px; border-left: 4px solid #004e92; border: 1px solid #e2e8f0; border-left: 4px solid #004e92; }
.service-item h4 { font-size: 1.15rem; margin-bottom: 10px; color: #0a2540; }
.service-item p { color: #64748b; font-size: 0.95rem; }

/* ПОП-ЪП ФОРМА ЗА ОЦЕНКИ */
.modal-box { background-color: #ffffff; padding: 40px; border-radius: 12px; width: 100%; max-width: 500px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 1.6rem; background: none; border: none; color: #64748b; cursor: pointer; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; color: #475569; font-weight: 600; text-align: left; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; background-color: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px; color: #1e293b; font-family: inherit; font-size: 0.95rem; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #004e92; outline: none; }
.form-group select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.submit-btn { width: 100%; padding: 14px; background-color: #004e92; color: #ffffff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }
.form-status { margin-top: 15px; font-size: 0.9rem; text-align: center; font-weight: 600; }

/* МОБИЛНИ КОРЕКЦИИ ЗА ОСНОВНАТА ЧАСТ */
@media (max-width: 768px) {
    header { background: #ffffff; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .cta-button { width: 100%; max-width: 280px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .card, .service-item { text-align: center; padding: 25px 20px; }
    .section-title { font-size: 1.6rem; margin-bottom: 30px; }
    .modal-box { padding: 30px 20px; width: 95%; }
}

.modal-overlay {
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background-color: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    z-index: 1000;
    display: flex; 
    justify-content: center; 
    align-items: center;
    
    /* КРИТИЧНИ РЕДОВЕ: Скриват формата при зареждане */
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

/* Показва формата само когато има клас .active */
.modal-overlay.active { 
    opacity: 1; 
    pointer-events: auto; 
}
