:root {
    --color-primary: #1a365d;
    --color-secondary: #c53030;
    --color-accent: #2b6cb0;
    --color-bg-light: #f7fafc;
    --color-bg-warm: #fffaf0;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width-narrow: 720px;
    --max-width-medium: 960px;
    --max-width-wide: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 17px;
    background: var(--color-white);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-medium {
    max-width: var(--max-width-medium);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-secondary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Editorial */
.hero-editorial {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
}

.hero-editorial .eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-editorial h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-image-wrap {
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #9b2c2c;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 48, 48, 0.3);
}

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

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

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

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

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--color-bg-light);
}

.section-warm {
    background: var(--color-bg-warm);
}

.section-dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.section-dark p {
    color: rgba(255,255,255,0.9);
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.inline-image {
    margin: 2.5rem -2rem;
    border-radius: 8px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
}

.inline-image figcaption {
    padding: 1rem;
    background: var(--color-bg-light);
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-align: center;
}

/* Highlight Box */
.highlight-box {
    background: var(--color-bg-warm);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Services Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1 1 300px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Testimonials */
.testimonial-block {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testimonial-block::before {
    content: '"';
    font-size: 5rem;
    color: var(--color-border);
    position: absolute;
    top: 0;
    left: 1.5rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-bg-light);
    overflow: hidden;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Form Styles */
.form-container {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    transition: border-color 0.2s ease;
}

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

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

/* CTA Banner */
.cta-banner {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sticky-cta p {
    margin: 0;
    font-weight: 500;
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.two-col-reverse {
    flex-direction: row-reverse;
}

.two-col .col {
    flex: 1;
}

.two-col .col-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .check-icon {
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list .check-icon svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

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

.cookie-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2c5282 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb a:hover {
    color: var(--color-white);
}

/* Contact Info */
.contact-info-block {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    stroke: white;
}

.thanks-section h1 {
    margin-bottom: 1rem;
}

.thanks-section p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .two-col {
        flex-direction: column;
    }

    .two-col-reverse {
        flex-direction: column;
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero-editorial h1 {
        font-size: 2.5rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-toggle {
        display: block;
    }

    .hero-editorial {
        padding: 3rem 0;
    }

    .hero-editorial h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .inline-image {
        margin: 2rem -1rem;
    }

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

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

    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container-narrow,
    .container-medium,
    .container-wide {
        padding: 0 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
