:root {
    --color-primary: #1a365d;
    --color-secondary: #2d5a87;
    --color-accent: #e8a838;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #1a202c;
    --color-border: #e2e8f0;
    --font-main: 'Georgia', serif;
    --font-heading: 'Helvetica Neue', Arial, 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-main);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

.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;
}

.site-header {
    background-color: var(--color-bg);
    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;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.site-logo:hover {
    color: var(--color-primary);
}

.ad-disclosure {
    background-color: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-family: var(--font-heading);
}

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

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

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

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

.hero-editorial {
    background-color: #1a365d;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232,168,56,0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-editorial h1 {
    color: #ffffff;
    font-size: 3.2rem;
    max-width: 600px;
}

.hero-editorial .lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 540px;
    margin-bottom: 2rem;
}

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

.hero-image-container img {
    width: 100%;
    height: 400px;
    display: block;
}

.section-editorial {
    padding: 4rem 0;
}

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

.section-editorial.dark-bg {
    background-color: var(--color-bg-dark);
    color: #e2e8f0;
}

.section-editorial.dark-bg h2,
.section-editorial.dark-bg h3 {
    color: #ffffff;
}

.article-content {
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    margin-top: 3rem;
}

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

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

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

.pull-quote {
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: var(--color-bg-alt);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-secondary);
}

.service-card-inline {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
}

.service-card-inline:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-card-inline .service-image {
    flex: 0 0 200px;
    height: 150px;
    background-color: var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}

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

.service-card-inline .service-details {
    flex: 1;
}

.service-card-inline h3 {
    margin-bottom: 0.5rem;
}

.service-card-inline .service-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.service-card-inline p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

.service-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.service-card .card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-card .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

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

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #1a202c;
}

.btn-primary:hover {
    background-color: #d69a2e;
    color: #1a202c;
}

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

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

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

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.cta-inline {
    background-color: var(--color-primary);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.cta-inline h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-inline p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--color-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(45,90,135,0.1);
}

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

.contact-info-block {
    background-color: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info-block h3 {
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-detail .icon {
    flex: 0 0 24px;
    color: var(--color-accent);
}

.contact-detail .info {
    flex: 1;
}

.contact-detail .label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer {
    background-color: var(--color-bg-dark);
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

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

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

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

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

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

.footer-section ul a {
    color: #a0aec0;
    font-size: 0.95rem;
}

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

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

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

.disclaimer {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 6px;
    margin: 3rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.disclaimer h4 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.legal-content {
    padding: 3rem 0;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

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

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

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

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

.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    color: #22543d;
}

.thanks-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    color: #e2e8f0;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1 1 400px;
    font-size: 0.95rem;
}

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

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

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--color-accent);
    color: #1a202c;
    border: none;
}

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

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

.cookie-reject:hover {
    background-color: #2d3748;
}

.about-intro {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.about-intro .text-content {
    flex: 1;
}

.about-intro .image-content {
    flex: 0 0 350px;
    background-color: var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.about-intro .image-content img {
    width: 100%;
    height: 300px;
}

.team-section {
    margin-top: 4rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    flex: 1 1 250px;
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: 8px;
}

.value-item h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 1rem;
    }

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

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

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

    .service-card-inline {
        flex-direction: column;
    }

    .service-card-inline .service-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

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

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

    .about-intro .image-content {
        flex: none;
        width: 100%;
    }

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

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