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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-accent: #ecf0f1;
    --border-color: #ddd;
    --success-color: #27ae60;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.btn-accept,
.btn-reject {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--success-color);
    color: #fff;
}

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

.btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

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

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 4px 12px;
    background: var(--bg-accent);
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.main-nav a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.editorial-article {
    background: #fff;
}

.article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-container.narrow {
    max-width: 680px;
}

.article-hero {
    margin-bottom: 3rem;
}

.article-hero.small {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.article-hero.small .article-title {
    font-size: 2.5rem;
}

.article-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-image-wrapper {
    margin-top: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

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

.article-intro {
    margin-bottom: 3rem;
}

.lead-paragraph {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.inline-image-block {
    margin: 3rem 0;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

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

.image-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin: 0;
}

.content-section {
    margin: 3rem 0;
}

.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-accent);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-inline.accent {
    background: #fff3cd;
    border-left-color: #f39c12;
}

.testimonial-inline blockquote {
    margin: 0;
}

.testimonial-inline p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-inline cite {
    font-size: 0.95rem;
    font-style: normal;
    color: var(--text-light);
}

.app-showcase {
    margin: 3rem 0;
}

.app-item {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-item.reverse {
    flex-direction: column-reverse;
}

.app-image-wrapper {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

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

.app-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.app-content p {
    margin-bottom: 1rem;
}

.insight-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.cta-inline {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    border-radius: 8px;
    text-align: center;
}

.cta-content h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #fff;
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.services-reveal {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.service-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.service-card.featured h3,
.service-card.featured .service-price {
    color: #fff;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-wrapper {
    margin: 3rem 0;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    padding: 14px 32px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.disclaimer-section {
    margin: 4rem 0 3rem;
    padding: 2rem;
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
}

.disclaimer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.references-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.references-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.references-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: reference-counter;
}

.references-list li {
    counter-increment: reference-counter;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.references-list li::before {
    content: "[" counter(reference-counter) "] ";
    font-weight: 700;
    color: var(--secondary-color);
}

.references-list a {
    color: var(--secondary-color);
    word-break: break-word;
}

.contact-info-section {
    margin: 3rem 0;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.contact-email {
    font-family: 'Courier New', monospace;
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

.small-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.faq-item {
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0;
}

.service-detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service-detail-card.featured-service {
    border: 2px solid var(--secondary-color);
}

.service-header {
    padding: 2rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

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

.service-image-wrapper {
    background: var(--bg-light);
}

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

.service-description {
    padding: 2rem;
}

.service-description ul {
    margin-left: 1.5rem;
}

.services-form-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.thanks-page {
    min-height: 60vh;
}

.thanks-content {
    text-align: center;
    padding: 4rem 2rem;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thanks-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.thanks-details {
    margin: 2rem 0;
}

.selected-service {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.thanks-next-steps {
    margin: 3rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-next-steps h2 {
    font-size: 1.75rem;
    margin-top: 0;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin-left: 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.legal-page .article-container {
    max-width: 800px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin: 2.5rem 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-section h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookies-table th,
.cookies-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookies-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookies-table tbody tr:hover {
    background: var(--bg-light);
}

.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

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

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (min-width: 768px) {
    .app-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .app-item.reverse {
        flex-direction: row-reverse;
    }

    .app-image-wrapper {
        flex: 0 0 40%;
    }

    .app-content {
        flex: 1;
    }

    .contact-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-info-block {
        flex: 1;
    }

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .lead-paragraph {
        font-size: 1.2rem;
    }

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

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

    .thanks-actions a {
        width: 100%;
        text-align: center;
    }
}