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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #ecf0f1;
    --background-white: #ffffff;
    --border-color: #bdc3c7;
    --success-color: #27ae60;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.ad-disclosure {
    background-color: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-bottom: 1px solid #ffeaa7;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.editorial-container {
    max-width: 100%;
    margin: 0 auto;
}

.editorial-hero {
    position: relative;
    margin-bottom: 64px;
}

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

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

.hero-title {
    max-width: 800px;
    margin: 48px auto 24px;
    padding: 0 24px;
    font-size: 48px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.editorial-content {
    padding: 0 24px 80px;
}

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

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

.lead-paragraph {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--text-dark);
    font-weight: 400;
}

.editorial-content h2 {
    font-size: 36px;
    line-height: 1.4;
    margin: 56px 0 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.editorial-content h3 {
    font-size: 26px;
    line-height: 1.4;
    margin: 40px 0 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.editorial-content p {
    margin-bottom: 24px;
}

.inline-image-block {
    margin: 48px 0;
    background-color: var(--background-light);
}

.inline-image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-caption {
    padding: 16px 24px;
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.editorial-quote {
    margin: 48px 0;
    padding: 32px 48px;
    border-left: 4px solid var(--secondary-color);
    background-color: var(--background-light);
    font-size: 24px;
    line-height: 1.6;
    font-style: italic;
    color: var(--primary-color);
}

.editorial-list {
    margin: 24px 0 24px 32px;
}

.editorial-list li {
    margin-bottom: 16px;
}

.cta-inline {
    margin: 64px 0;
    padding: 48px;
    background-color: var(--background-light);
    text-align: center;
}

.cta-inline h3 {
    margin: 0 0 16px;
    font-size: 28px;
}

.cta-inline p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.testimonial-inline {
    margin: 48px 0;
    padding: 32px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--success-color);
}

.testimonial-inline p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.testimonial-inline cite {
    display: block;
    font-size: 16px;
    color: var(--text-light);
    font-style: normal;
}

.services-editorial {
    margin: 64px 0;
}

.service-card {
    margin-bottom: 48px;
    padding: 32px;
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

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

.service-card h3 {
    margin: 0 0 16px;
    font-size: 28px;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-service {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-service:hover {
    background-color: #1a252f;
}

.form-section {
    margin: 80px 0;
    padding: 48px;
    background-color: var(--background-light);
}

.form-section h2 {
    margin: 0 0 16px;
    text-align: center;
}

.form-section > p {
    text-align: center;
    margin-bottom: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

.selected-service-display {
    margin: 32px 0;
    padding: 24px;
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.selected-service-display p {
    margin: 0;
    font-size: 16px;
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--success-color);
    color: white;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: #229954;
}

.btn-submit:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
}

.disclaimer-section {
    margin: 64px 0;
    padding: 32px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #856404;
}

.page-header {
    text-align: center;
    padding: 80px 24px 64px;
    background-color: var(--background-light);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.header-subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-style: italic;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
}

.service-card-full {
    display: flex;
    gap: 32px;
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.service-card-full:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-image {
    flex-shrink: 0;
    width: 300px;
    height: 250px;
    overflow: hidden;
    background-color: var(--background-light);
}

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

.service-content {
    flex-grow: 1;
}

.service-content h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.service-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.services-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.contact-info-block {
    margin-bottom: 48px;
}

.contact-info-block h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.contact-info-block p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.contact-note {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

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

.thanks-content h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--success-color);
}

.thanks-message {
    font-size: 20px;
    margin-bottom: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-confirmation {
    margin: 32px 0;
    padding: 24px;
    background-color: var(--background-light);
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.thanks-info {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.thanks-additional {
    text-align: left;
    margin-top: 64px;
    padding: 32px;
    background-color: var(--background-light);
}

.thanks-additional h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.thanks-additional ol {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-left: 24px;
}

.thanks-additional li {
    margin-bottom: 12px;
}

.legal-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
}

.legal-content h3 {
    font-size: 22px;
    margin: 32px 0 12px;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0 16px 32px;
}

.legal-content li {
    margin-bottom: 12px;
}

.legal-updated {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-light);
}

.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 64px 48px 24px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 48px;
    display: flex;
    gap: 64px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
    color: white;
}

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

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

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.references-list {
    list-style: decimal;
    margin-left: 20px;
}

.references-list li {
    margin-bottom: 12px;
}

.references-list a {
    color: #3498db;
}

.references-list a:hover {
    color: #5dade2;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #bdc3c7;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.98);
    color: white;
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    display: none;
}

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

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

.cookie-content p {
    flex-grow: 1;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.btn-cookie {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-cookie.accept:hover {
    background-color: #229954;
}

.btn-cookie.reject {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cookie.reject:hover {
    background-color: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px;
    }

    .nav-links {
        gap: 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .service-card-full {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .form-row {
        flex-direction: column;
    }

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

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

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie {
        flex: 1;
    }
}