:root {
    --primary-blue: #0F172A;
    --accent-red: #B91C1C;
    --text-gray: #4B5563;
    --light-bg: #F8FAFC;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--primary-blue); background: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-white { color: var(--white); }
.text-left { text-align: left !important; }

/* NAVIGATION */
.navbar { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.flex-nav { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-weight: 900; font-size: 1.5rem; color: var(--primary-blue); border-bottom: 3px solid var(--accent-red); }
.logo-sub { font-weight: 300; font-size: 1.5rem; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--primary-blue); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-red); }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 28px; border-radius: 5px; text-decoration: none; font-weight: 700; transition: 0.3s; cursor: pointer; border: none; }
.btn-red { background: var(--accent-red); color: var(--white); }
.btn-red:hover { background: #991b1b; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary-blue); color: var(--primary-blue); margin-left: 10px; }
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

/* HERO */
.hero { padding: 120px 0; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); text-align: center; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 900; }
.highlight-text { color: var(--accent-red); }
.subtitle { font-size: 1.3rem; color: var(--text-gray); max-width: 800px; margin: 0 auto 40px; }

/* SECTIONS */
section { padding: 80px 0; scroll-margin-top: 80px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 800; }

/* PROBLEMS GRID */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.card { 
    background: var(--light-bg); 
    padding: 40px; 
    border-radius: 10px; 
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
    border-color: #e2e8f0;
}
.card i { font-size: 2.5rem; color: var(--accent-red); margin-bottom: 20px; }
.quote { text-align: center; font-size: 1.5rem; font-weight: 700; margin-top: 60px; font-style: italic; }

/* APPROACH */
.approach { background: var(--primary-blue); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; }
.approach-item { color: var(--white); }
.number { font-size: 3.5rem; font-weight: 900; color: var(--accent-red); display: block; margin-bottom: 10px; }

/* PROCESS */
.process-steps { max-width: 800px; margin: 0 auto; border-left: 3px solid var(--accent-red); padding-left: 40px; }
.step { margin-bottom: 50px; position: relative; }
.step::before { content: ''; position: absolute; left: -49px; top: 8px; width: 16px; height: 16px; background: var(--accent-red); border-radius: 50%; }

/* COOPERATION */
.coop-box { background: var(--primary-blue); border-radius: 15px; display: flex; flex-wrap: wrap; overflow: hidden; }
.coop-text { flex: 1; padding: 60px; min-width: 320px; }
.coop-text ul { list-style: none; margin-top: 30px; }
.coop-text li { color: var(--white); margin-bottom: 15px; font-size: 1.1rem; }
.coop-text i { color: var(--accent-red); margin-right: 12px; }
.coop-cta { flex: 1; background: #1e293b; padding: 60px; display: flex; flex-direction: column; justify-content: center; color: var(--white); }

/* FAQ SECTION */
.faq { background: var(--light-bg); }
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background: var(--white); 
    border-radius: 8px; 
    margin-bottom: 15px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--accent-red);
    transform: scale(1.01);
}
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.faq-question i {
    transition: transform 0.4s ease, color 0.3s ease;
    color: var(--accent-red);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
    color: var(--text-gray);
}
.faq-item.active { border-color: var(--accent-red); }
.faq-item.active .faq-answer {
    max-height: 1000px; 
    padding-bottom: 25px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* KONTAKT */
#kontakt { scroll-margin-top: 50px; padding-top: 20px; }
.contact-title { margin-bottom: 20px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-intro { font-size: 1.05rem; margin-bottom: 30px; color: var(--text-gray); }
.info-item { display: flex; align-items: center; margin-bottom: 15px; font-size: 1.1rem; }
.info-item i { color: var(--accent-red); width: 35px; font-size: 1.2rem; }

.contact-form-container { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); border-top: 5px solid var(--accent-red); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 0.8rem; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.95rem; font-family: inherit; }
.btn-block { width: 100%; margin-top: 10px; }

/* FOOTER */
footer { padding: 40px 0; background: #f1f5f9; text-align: center; }
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--primary-blue); text-decoration: none; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links, .nav-cta { display: none; }
}