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

:root {
    --primary-color: #2c5f7d;
    --secondary-color: #547c91;
    --accent-color: #8b7355;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-main {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.ad-notice {
    font-size: 11px;
    color: var(--text-light);
    padding: 4px 12px;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(44, 95, 125, 0.85);
    width: 100%;
    padding: 80px 0;
}

.hero-text {
    color: var(--bg-white);
    max-width: 700px;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;
}

.intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.intro-section h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

.services-preview {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.services-preview h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 600;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 350px;
    max-width: 380px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.btn-service {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-service:hover {
    background-color: var(--secondary-color);
}

.why-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.why-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.why-text {
    flex: 1 1 450px;
}

.why-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.why-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.why-image {
    flex: 1 1 400px;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.form-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.form-section h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.form-section > .container-narrow > p {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.trust-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.trust-section h2 {
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial {
    background-color: var(--bg-white);
    padding: 35px;
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
}

.testimonial p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.disclaimer-section {
    padding: 60px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.disclaimer {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 25px 20px;
    z-index: 1000;
    display: none;
}

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

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

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

.cookie-content a {
    color: var(--bg-white);
    text-decoration: underline;
}

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

.btn-accept,
.btn-reject {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-accept {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-reject {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-accept:hover,
.btn-reject:hover {
    opacity: 0.85;
}

.page-hero {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero p {
    font-size: 20px;
}

.about-content,
.services-detail,
.contact-info {
    padding: 80px 0;
}

.about-story,
.about-values,
.about-team,
.about-approach {
    margin-bottom: 60px;
}

.about-story h2,
.about-values h2,
.about-team h2,
.about-approach h2 {
    font-size: 30px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-story p,
.about-team p,
.about-approach p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    flex: 1 1 280px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.value-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.service-detail-item {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

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

.service-detail-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-detail-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-detail-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 25px 0 15px;
}

.service-note {
    font-size: 15px;
    color: var(--text-light);
    font-style: italic;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-item {
    flex: 1 1 300px;
}

.contact-item h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-email {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-note {
    font-size: 15px;
    font-style: italic;
    margin-top: 10px;
}

.contact-map {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.contact-map h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-map p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-cta:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.thanks-section {
    padding: 100px 0;
    text-align: center;
}

.thanks-content h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
}

.thanks-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.thanks-details {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
}

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

.legal-content {
    padding: 80px 0;
}

.legal-content h1 {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0 20px 30px;
}

.legal-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

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

    .why-content {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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