* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

.ad-disclosure {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-main {
    background-color: #1a2332;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a90e2;
}

.hero-stacked {
    position: relative;
    height: 600px;
    background-color: #0d1b2a;
    overflow: hidden;
}

.hero-stacked img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.section-white {
    background-color: #ffffff;
    padding: 90px 20px;
}

.section-light {
    background-color: #f7f9fc;
    padding: 90px 20px;
}

.section-dark {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 90px 20px;
}

.section-dark h2 {
    color: #ffffff;
}

.section-image-bg {
    position: relative;
    height: 500px;
    background-color: #1a1a1a;
}

.section-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.overlay-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.overlay-content p {
    font-size: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.content-narrow {
    max-width: 750px;
    margin: 0 auto;
}

.content-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-legal {
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-size: 44px;
    margin-bottom: 20px;
    color: #1a2332;
    font-weight: 700;
}

h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #1a2332;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #34495e;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.split-reverse {
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    align-items: center;
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #e5e7eb;
}

.features-grid {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    flex: 1;
    padding: 35px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #1a2332;
}

.cta-inline {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background-color: #4a90e2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-inline:hover {
    background-color: #357abd;
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background-color: #4a90e2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #357abd;
}

.projects-list {
    margin-top: 50px;
}

.project-item {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.project-item:last-child {
    border-bottom: none;
}

.project-year {
    font-size: 28px;
    font-weight: 700;
    color: #4a90e2;
    min-width: 90px;
}

.project-desc h3 {
    margin-bottom: 10px;
}

.form-main {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-main input,
.form-main select,
.form-main textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-main input:focus,
.form-main select:focus,
.form-main textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-main button {
    padding: 16px 32px;
    background-color: #4a90e2;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-main button:hover {
    background-color: #357abd;
}

.page-header {
    background-color: #1a2332;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 19px;
    color: #d1d5db;
}

.service-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background-color: #e5e7eb;
}

.service-info {
    flex: 1;
}

.service-price {
    margin-top: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #4a90e2;
}

.competence-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.competence-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.competence-item h3 {
    margin-bottom: 12px;
    color: #1a2332;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-block {
    flex: 1;
}

.contact-map-placeholder {
    flex: 1;
}

.contact-map-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background-color: #e5e7eb;
}

.contact-item {
    margin-bottom: 35px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: #1a2332;
}

.contact-item p {
    margin-bottom: 0;
    color: #4b5563;
}

.thanks-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f9fc;
    padding: 60px 20px;
}

.thanks-content {
    max-width: 700px;
    text-align: center;
}

.thanks-content h1 {
    margin-bottom: 25px;
    color: #1a2332;
}

.thanks-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.thanks-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    padding: 14px 32px;
    background-color: #4a90e2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #357abd;
}

.btn-secondary {
    padding: 14px 32px;
    background-color: #6c757d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.content-legal h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-legal h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-legal ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-legal li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-legal a {
    color: #4a90e2;
    text-decoration: none;
}

.content-legal a:hover {
    text-decoration: underline;
}

.footer-main {
    background-color: #1a2332;
    color: #d1d5db;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 0;
    font-size: 15px;
    color: #9ca3af;
}

.footer-col a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #4a90e2;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a2332;
    color: #ffffff;
    padding: 25px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons button {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#acceptCookies {
    background-color: #4a90e2;
    color: #ffffff;
}

#acceptCookies:hover {
    background-color: #357abd;
}

#rejectCookies {
    background-color: #6c757d;
    color: #ffffff;
}

#rejectCookies:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 17px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    .split-reverse,
    .split-layout,
    .service-block,
    .service-block.reverse,
    .contact-layout {
        flex-direction: column;
    }

    .features-grid {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .competence-grid {
        flex-direction: column;
    }

    .competence-item {
        min-width: 100%;
    }
}