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

:root {
    --primary: #2d3748;
    --secondary: #4a5568;
    --accent: #667eea;
    --light: #f7fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --text: #2d3748;
    --text-light: #718096;
}

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

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

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

nav {
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

.ad-notice {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}

.hero {
    padding: 96px 0 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    font-size: 21px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto;
}

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

.editorial-content h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--primary);
}

.editorial-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 56px 0 24px;
    color: var(--primary);
}

.editorial-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--secondary);
}

.inline-image {
    width: 100%;
    height: 480px;
    margin: 48px 0;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--border);
}

.cta-inline {
    display: inline-flex;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin: 32px 0;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.services-section {
    background: var(--light);
    padding: 96px 0;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

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

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

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

.service-select {
    display: inline-flex;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

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

.testimonial-section {
    padding: 80px 0;
}

.testimonial {
    padding: 40px;
    background: var(--light);
    border-left: 4px solid var(--accent);
    margin: 32px 0;
    border-radius: 4px;
}

.testimonial p {
    font-size: 19px;
    font-style: italic;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.form-section {
    padding: 96px 0;
    background: var(--light);
}

.form-container {
    max-width: 600px;
    margin: 48px auto 0;
    background: var(--white);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    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);
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 64px 0 32px;
}

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

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.disclaimer {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    padding: 24px;
    margin: 48px 0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary);
}

.references {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.references h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary);
}

.references ol {
    padding-left: 24px;
}

.references li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

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

.references a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--border);
    padding: 24px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    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: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--secondary);
}

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

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

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

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

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

.cookie-btn:hover {
    transform: translateY(-2px);
}

.page-header {
    padding: 80px 0 60px;
    background: var(--light);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

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

.page-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--primary);
}

.page-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--primary);
}

.page-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--secondary);
}

.page-content ul,
.page-content ol {
    margin: 20px 0 20px 32px;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 12px;
    color: var(--secondary);
}

.thanks-container {
    text-align: center;
    padding: 120px 24px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.thanks-container p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.contact-info {
    background: var(--light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 48px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary);
}

.contact-item {
    margin-bottom: 20px;
    font-size: 17px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
}

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

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

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

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

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

    .nav-links {
        flex-direction: column;
        gap: 16px;
    }

    .nav-wrapper {
        flex-direction: column;
        gap: 20px;
    }

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

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

    .inline-image {
        height: 300px;
    }
}