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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #333333;
    --light-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --background: #fafafa;
    --border-color: #dddddd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
}

.ad-disclosure {
    background-color: #fffbea;
    color: #8b7500;
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f0e5a3;
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.editorial-content {
    background-color: var(--white);
}

.article-hero {
    margin-bottom: 60px;
}

.hero-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header-content {
    max-width: 720px;
    margin: -80px auto 0;
    padding: 40px 30px;
    background-color: var(--white);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-header-content h1 {
    font-size: 42px;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.lead-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--dark-gray);
}

.page-header {
    padding: 80px 20px 50px;
    background-color: var(--light-gray);
}

.page-header .narrow-column {
    max-width: 720px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 42px;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.content-flow {
    padding: 60px 20px;
}

.narrow-column {
    max-width: 720px;
    margin: 0 auto;
}

.content-flow h2 {
    font-size: 32px;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 50px 0 25px;
    font-weight: 600;
}

.content-flow h3 {
    font-size: 24px;
    line-height: 1.4;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    font-weight: 600;
}

.content-flow h4 {
    font-size: 20px;
    line-height: 1.4;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

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

.inline-image-block {
    margin: 50px 0;
}

.inline-image-block img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: var(--light-gray);
    object-fit: cover;
}

.image-caption {
    font-size: 15px;
    color: var(--dark-gray);
    margin-top: 12px;
    font-style: italic;
}

blockquote.testimonial-inline {
    border-left: 4px solid var(--accent-color);
    padding: 25px 30px;
    margin: 40px 0;
    background-color: var(--light-gray);
    font-size: 19px;
    font-style: italic;
    line-height: 1.7;
}

blockquote.testimonial-inline cite {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-style: normal;
    color: var(--dark-gray);
    font-weight: 600;
}

.cta-inline {
    text-align: center;
    margin: 50px 0;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #2980b9;
}

.cta-button-secondary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-left: 15px;
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
}

.services-section {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.services-section .narrow-column {
    max-width: 720px;
    margin: 0 auto;
}

.services-section h2 {
    font-size: 36px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-number {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 600;
}

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

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.detail-item {
    font-size: 14px;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    padding: 6px 12px;
    border-radius: 3px;
}

.service-price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 25px 0 20px;
}

.select-service-btn {
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.select-service-btn:hover {
    background-color: #2980b9;
}

.form-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.form-section h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.form-section > .narrow-column > p {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 40px;
    font-size: 17px;
}

.consultation-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #2980b9;
}

.results-block {
    margin: 40px 0;
}

.result-item {
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 6px;
    margin-bottom: 20px;
}

.result-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.result-item p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.disclaimer-section {
    padding: 50px 20px;
    background-color: #fff9e6;
}

.disclaimer-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    font-style: italic;
}

.contact-info-block {
    margin: 40px 0;
}

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

.contact-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.contact-item .note {
    font-size: 15px;
    color: var(--dark-gray);
    margin-top: 15px;
}

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

.thanks-content h1 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-info {
    margin: 50px 0;
    text-align: left;
}

.thanks-info h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.next-steps {
    list-style: none;
    counter-reset: step-counter;
}

.next-steps li {
    counter-increment: step-counter;
    padding-left: 45px;
    position: relative;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
}

.next-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--accent-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.thanks-service-info {
    margin: 40px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 6px;
}

.thanks-service-info p {
    font-size: 18px;
    margin: 0;
}

.thanks-actions {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-reminder {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 6px;
}

.contact-reminder h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-reminder p {
    font-size: 17px;
    margin: 0;
}

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

.legal-page ul li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-page a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

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

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

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

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

.footer-column ul li a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 25px 20px;
    z-index: 1000;
    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;
    flex-wrap: wrap;
}

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

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cookie-accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-accept:hover {
    background-color: #2980b9;
}

.cookie-reject {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.cookie-reject:hover {
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 15px;
    }

    .article-header-content h1,
    .page-header h1 {
        font-size: 32px;
    }

    .lead-text {
        font-size: 18px;
    }

    .content-flow h2 {
        font-size: 28px;
    }

    .content-flow h3 {
        font-size: 22px;
    }

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

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

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

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

    .cookie-btn {
        flex: 1;
    }

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

    .cta-button-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
}