:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --text: #2d3748;
    --success: #48bb78;
}

* {
    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(--text);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

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

.ad-disclosure {
    background-color: var(--gray-light);
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

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

.hero-editorial {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.hero-editorial h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-editorial .lead {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin-bottom: 30px;
}

.hero-image-container {
    margin-top: 40px;
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
}

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

.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 25px;
    margin-top: 50px;
}

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

.article-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

.article-content .highlight-box {
    background: linear-gradient(to right, var(--light), var(--white));
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    margin: 35px 0;
    border-radius: 0 8px 8px 0;
}

.article-content .highlight-box p {
    margin-bottom: 0;
    font-style: italic;
}

.inline-image {
    margin: 40px 0;
    background-color: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.inline-image figcaption {
    padding: 15px 20px;
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}

.cta-inline {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin: 50px 0;
    text-align: center;
}

.cta-inline h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.cta-inline p {
    margin-bottom: 25px;
    opacity: 0.9;
}

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

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

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

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

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

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

.services-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 50px;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-image {
    height: 200px;
    background-color: var(--gray-light);
    overflow: hidden;
}

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

.service-card-content {
    padding: 25px;
}

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

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

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

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

.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white), var(--light));
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 40px;
}

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

.testimonial-author-info span {
    color: var(--gray);
    font-size: 14px;
}

.form-section {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
}

.form-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
}

.form-section .subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    color: var(--text);
}

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

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

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

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

.form-submit {
    text-align: center;
}

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

footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.footer-col ul li a {
    color: var(--gray-light);
    transition: color 0.3s;
}

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

.footer-col p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.8;
}

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

.disclaimer {
    background-color: var(--gray-light);
    padding: 30px 0;
    font-size: 13px;
    color: var(--gray);
}

.disclaimer p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.references-section {
    padding: 40px 0;
    background-color: var(--light);
    border-top: 1px solid var(--gray-light);
}

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

.references-list {
    list-style: none;
}

.references-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray);
}

.references-list li a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    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 {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-content p a {
    color: var(--accent);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

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

.cookie-reject {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
}

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

.page-content h2 {
    font-size: 28px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

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

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

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

.about-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
}

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

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.contact-info-section {
    padding: 80px 0;
    background-color: var(--light);
}

.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

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

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

.contact-item-content h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item-content p {
    color: var(--gray);
    font-size: 15px;
}

.thanks-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

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

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--white);
}

.thanks-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.insight-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.insight-box h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.insight-box ul {
    list-style: none;
    padding: 0;
}

.insight-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    padding-left: 25px;
    position: relative;
}

.insight-box ul li:last-child {
    border-bottom: none;
}

.insight-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sticky-cta.show {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    .hero-editorial h1 {
        font-size: 32px;
    }

    .hero-editorial .lead {
        font-size: 18px;
    }

    .hero-image-container img {
        height: 250px;
    }

    .article-content h2 {
        font-size: 26px;
    }

    .article-content p {
        font-size: 16px;
    }

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

    .service-card {
        max-width: 100%;
    }

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

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

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

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