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

:root {
    --primary-color: #1a4d2e;
    --secondary-color: #2d6a4f;
    --accent-color: #52b788;
    --text-dark: #1b263b;
    --text-light: #415a77;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #d6e5d8;
    --error-color: #c1121f;
}

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

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    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;
}

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

.ad-label {
    font-size: 11px;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 4px 8px;
    background-color: var(--bg-light);
    border-radius: 3px;
    margin-left: 12px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

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

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

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

.hero-section h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 400;
    color: var(--text-dark);
}

.hero-section .intro-text {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-size: 36px;
    line-height: 1.3;
    margin: 48px 0 24px;
    font-weight: 400;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 28px;
    line-height: 1.4;
    margin: 36px 0 20px;
    font-weight: 400;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin: 24px 0 24px 32px;
    color: var(--text-dark);
}

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

.inline-image {
    width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 4px;
}

.quote-block {
    border-left: 4px solid var(--accent-color);
    padding: 24px 32px;
    margin: 40px 0;
    background-color: var(--bg-light);
    font-style: italic;
    font-size: 20px;
    color: var(--text-light);
}

.cta-inline {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin: 16px 0;
    cursor: pointer;
}

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

.cta-container {
    text-align: center;
    margin: 48px 0;
}

.service-card {
    background-color: var(--bg-light);
    padding: 32px;
    margin: 32px 0;
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
}

.service-card h3 {
    margin-top: 0;
}

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

.service-card .price-note {
    font-size: 14px;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 4px;
}

.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: 500;
    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: 4px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.citation {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    vertical-align: super;
}

.citation:hover {
    text-decoration: underline;
}

.references-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.references-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.references-section ol {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.references-section a {
    color: var(--accent-color);
    word-break: break-all;
}

.disclaimer {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin: 40px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.disclaimer strong {
    color: var(--text-dark);
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 0 40px;
    margin-top: 80px;
}

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

.footer-section {
    flex: 1;
    min-width: 220px;
}

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

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--bg-light);
    text-decoration: none;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 24px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

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

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

.cookie-btn.reject {
    background-color: transparent;
    color: var(--bg-light);
    border: 1px solid var(--bg-light);
}

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

.contact-info {
    margin: 32px 0;
    line-height: 2;
}

.contact-info strong {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 32px;
    font-weight: 400;
}

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

.legal-content p {
    margin-bottom: 20px;
}

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

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

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

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

.thanks-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }

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

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

    body {
        font-size: 16px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    nav ul {
        gap: 20px;
    }

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

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

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}
