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

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

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;
    object-fit: cover;
}

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

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

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

.header-top {
    background-color: var(--bg-light);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.ad-disclosure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-disclosure::before {
    content: "ℹ";
    font-weight: bold;
}

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

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

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

.main-nav a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Editorial */
.hero-editorial {
    padding: 80px 0 60px;
    background-color: var(--bg-light);
}

.hero-editorial .narrow-container {
    text-align: center;
}

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

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

.hero-image-wrapper {
    margin-top: 50px;
    background-color: var(--border);
    border-radius: 12px;
    overflow: hidden;
}

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

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

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

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

.article-section h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    margin-top: 35px;
}

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

.article-section ul {
    margin: 25px 0;
    padding-left: 25px;
}

.article-section li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

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

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

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

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

.cta-inline h3 {
    color: var(--white);
    margin-top: 0;
    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;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.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 Grid */
.services-section {
    padding: 80px 0;
}

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

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

.service-card {
    flex: 1 1 340px;
    max-width: 380px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.service-content {
    padding: 25px;
}

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

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

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

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

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.form-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-section .lead {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    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: 1.1rem;
}

/* About Page */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

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

.split-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

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

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.split-text p {
    margin-bottom: 15px;
    color: var(--text);
}

.split-image {
    flex: 1;
    background-color: var(--border);
    border-radius: 12px;
    overflow: hidden;
}

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

/* Contact Page */
.contact-info-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-details {
    flex: 1;
}

.contact-details h2 {
    font-size: 1.8rem;
    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(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
}

.contact-map {
    flex: 1;
    background-color: var(--border);
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), #f6ad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 30px;
}

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

.thanks-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.legal-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

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

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 15px 0 25px 25px;
}

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

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

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

.footer-brand {
    flex: 2;
    min-width: 280px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

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

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
    display: none;
}

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

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

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background-color: #dd6b20;
}

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

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

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

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

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

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

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

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

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

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

    .hero-image-wrapper img {
        height: 300px;
    }

    .services-wrapper {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-form {
        padding: 25px;
    }

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

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

@media (max-width: 480px) {
    .hero-editorial {
        padding: 50px 0 40px;
    }

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

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

    .page-header h1 {
        font-size: 1.8rem;
    }

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

    .cookie-btn {
        width: 100%;
    }
}
