:root {
    --primary: #1a2b4c;
    --accent: #e63946;
    --secondary: #457b9d;
    --light: #f1faee;
    --dark: #0d1b2a;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

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

.narrow-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav-wrapper {
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Editorial */
.hero-editorial {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 30px 30px;
}

.hero-editorial .narrow-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-editorial h1 {
    color: var(--white);
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-editorial .lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Article Content */
.article-section {
    padding: 70px 20px;
}

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

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

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

.article-section.dark-bg p {
    color: rgba(255,255,255,0.85);
}

.section-eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.article-section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary);
    line-height: 1.3;
}

.article-section h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--primary);
}

.article-section p {
    margin-bottom: 20px;
    color: var(--gray);
}

.article-section p.highlight {
    font-size: 1.2rem;
    color: var(--dark);
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
}

/* Inline Image */
.inline-image {
    margin: 40px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.inline-image figcaption {
    background: var(--light);
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Statistics Row */
.stats-row {
    display: flex;
    gap: 40px;
    margin: 50px 0;
    padding: 40px;
    background: var(--light);
    border-radius: var(--radius);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* CTA Inline */
.cta-inline {
    background: linear-gradient(135deg, var(--accent) 0%, #c1121f 100%);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    margin: 50px 0;
    text-align: center;
}

.cta-inline h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-inline p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

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

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

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

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

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

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

/* Services Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

/* Testimonial */
.testimonial-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    margin: 50px 0;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-block::before {
    content: '"';
    font-size: 120px;
    color: var(--light);
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--dark);
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-info strong {
    display: block;
    color: var(--dark);
}

.testimonial-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary);
}

.form-wrapper .form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 36px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Contact Info */
.contact-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-item h4 {
    margin-bottom: 6px;
    color: var(--primary);
}

.contact-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1;
}

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

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

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

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

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

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

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

.sticky-cta p {
    margin: 0;
    color: var(--dark);
    font-weight: 500;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

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

.cookie-banner h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.cookie-banner p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

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

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    color: #28a745;
}

.thanks-content h1 {
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Page */
.about-content {
    padding: 80px 20px;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-grid {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    flex: 1;
    text-align: center;
    padding: 30px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

/* Legal Pages */
.legal-content {
    padding: 60px 20px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--dark);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 16px;
    color: var(--gray);
}

.legal-content ul {
    padding-left: 24px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

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

    .service-card {
        flex: 1 1 100%;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

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

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

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

    .form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .hero-editorial {
        padding: 60px 20px 50px;
    }

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

    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-section {
        padding: 50px 20px;
    }

    .cta-inline {
        padding: 30px 20px;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
    }

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