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

:root {
    --primary: #1a365d;
    --secondary: #c53030;
    --accent: #2b6cb0;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #fff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Hero Editorial */
.hero-editorial {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: var(--primary);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 36px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

.btn-primary:hover {
    background: #9b2c2c;
    color: #fff;
    transform: translateY(-2px);
}

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

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

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

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

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

.article-section h2::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 4px;
    height: 60%;
    background: var(--secondary);
    transform: translateY(-50%);
}

.article-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.article-section .inline-image {
    margin: 40px -60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.article-section .inline-image img {
    width: 100%;
    display: block;
}

/* Split Content */
.split-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-content.reverse {
    flex-direction: row-reverse;
}

.split-content .content-side {
    flex: 1;
}

.split-content .image-side {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Services Section */
.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(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

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

/* Quote Block */
.quote-block {
    background: var(--primary);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.quote-block blockquote {
    font-size: 1.6rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.quote-block cite {
    font-size: 1rem;
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: 70px 20px;
    background: var(--bg-alt);
}

.testimonial-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1 1 300px;
    background: var(--bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
}

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

.testimonial-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.testimonial-card .author-info strong {
    display: block;
    color: var(--primary);
}

.testimonial-card .author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Form Section */
.form-section {
    padding: 70px 20px;
    background: var(--bg);
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 8px;
}

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

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

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

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

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #9b2c2c;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

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

.cta-banner .btn-primary:hover {
    background: var(--bg-alt);
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: #a0aec0;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

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

.footer-col p {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 24px;
    text-align: center;
    color: #718096;
    font-size: 0.85rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(197,48,48,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sticky-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(197,48,48,0.5);
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-inner p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-inner a {
    color: var(--accent);
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.cookie-accept {
    background: var(--secondary);
    color: #fff;
}

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

/* About Page */
.page-hero {
    background: var(--bg-alt);
    padding: 80px 20px;
    text-align: center;
}

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

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-card {
    flex: 0 1 280px;
    text-align: center;
    padding: 30px;
}

.team-card .avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.team-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.team-card .role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Page */
.contact-info-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-info-card {
    flex: 1 1 250px;
    background: var(--bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-info-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card p {
    color: var(--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: 60px 20px;
}

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
}

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

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

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

.legal-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

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

.legal-content ul {
    margin: 16px 0 16px 24px;
}

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

/* Values Section */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 250px;
    padding: 28px;
    background: var(--bg);
    border-left: 4px solid var(--secondary);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: #fff;
    padding: 60px 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.stat-item .label {
    font-size: 0.95rem;
    opacity: 0.8;
}

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

    .split-content.reverse {
        flex-direction: column;
    }

    .article-section .inline-image {
        margin: 30px 0;
    }

    .article-section h2::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        display: none;
        border-bottom: 1px solid var(--border);
    }

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

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

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

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

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

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

    .sticky-cta {
        bottom: 80px;
    }
}
