:root {
    --color-primary: #1e3a5f;
    --color-secondary: #2d5a87;
    --color-accent: #e8b923;
    --color-text: #2c3e50;
    --color-text-light: #5a6c7d;
    --color-background: #fafbfc;
    --color-surface: #ffffff;
    --color-border: #e1e8ed;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --content-narrow: 720px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

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

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

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

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

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

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

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

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

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

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

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

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

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

.site-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.ad-disclosure {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.hero-editorial {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.hero-text-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(transparent, rgba(30, 58, 95, 0.95));
    width: 100%;
    padding: 120px 24px 60px;
    color: #ffffff;
}

.hero-text-overlay h1 {
    max-width: var(--content-narrow);
    margin: 0 auto 1rem;
    color: #ffffff;
}

.hero-lead {
    max-width: var(--content-narrow);
    margin: 0 auto;
    font-size: 1.3rem;
    opacity: 0.9;
}

.editorial-content {
    padding: 60px 24px;
}

.content-narrow {
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.intro-paragraph {
    font-size: 1.25rem;
    color: var(--color-text-light);
    border-left: 3px solid var(--color-accent);
    padding-left: 24px;
    margin-bottom: 2.5rem;
}

.content-image {
    margin: 3rem 0;
}

.content-image.inline-left {
    max-width: 400px;
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
}

.content-image.full-width {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.image-container {
    overflow: hidden;
    border-radius: 4px;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease;
}

.content-image figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 12px;
    font-style: italic;
}

blockquote {
    margin: 2.5rem 0;
    padding: 32px 40px;
    background-color: var(--color-surface);
    border-radius: 4px;
    border-left: 4px solid var(--color-accent);
}

blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

blockquote cite {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: normal;
}

.citation {
    font-size: 0.85rem;
    vertical-align: super;
    color: var(--color-secondary);
}

.cta-inline {
    clear: both;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 48px;
    border-radius: 8px;
    text-align: center;
    margin: 4rem auto;
    max-width: var(--content-narrow);
}

.cta-inline h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.6rem;
}

.cta-inline p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

.cta-inline .btn-primary:hover {
    background-color: #d4a71f;
}

.services-preview {
    background-color: #f0f4f8;
    padding: 80px 24px;
    clear: both;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-container.narrow {
    max-width: var(--content-narrow);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

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

.service-card h3 {
    margin: 24px 24px 12px;
}

.service-card p {
    margin: 0 24px 16px;
    color: var(--color-text-light);
}

.service-card .price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-card .btn {
    margin: 0 24px 24px;
}

.contact-teaser {
    padding: 80px 24px;
    background-color: var(--color-surface);
}

.contact-teaser h2 {
    text-align: center;
}

.contact-teaser > .section-container > p {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

.contact-form {
    max-width: 540px;
    margin: 0 auto;
}

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

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

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

.contact-form .btn {
    width: 100%;
}

.disclaimer-section {
    padding: 40px 24px;
    background-color: #f5f7f9;
    border-top: 1px solid var(--color-border);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.6;
}

.site-footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 24px 32px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

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

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

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

.footer-links h4,
.footer-legal h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #ffffff;
}

.footer-references {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    margin-bottom: 32px;
}

.footer-references h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.references-list {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 20px;
}

.references-list li {
    margin-bottom: 8px;
}

.references-list a {
    color: rgba(255, 255, 255, 0.6);
}

.references-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.6);
}

.page-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 80px 24px;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: var(--content-narrow);
    margin: 0 auto;
    opacity: 0.9;
}

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

.page-content h2 {
    margin-top: 2.5rem;
}

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

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 24px;
}

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

.services-full {
    padding: 80px 24px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.service-full-card {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-full-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-full-image {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
}

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

.service-full-content {
    flex: 1.5;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-full-content h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.service-full-content .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 16px 0 24px;
}

.service-full-content ul {
    margin-bottom: 24px;
}

.about-section {
    padding: 60px 24px;
}

.about-section:nth-child(even) {
    background-color: #f5f7f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

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

.about-text {
    flex: 1.2;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 280px;
}

.about-image img {
    border-radius: 8px;
}

.contact-info-section {
    padding: 60px 24px;
    background-color: #f5f7f9;
}

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

.contact-details {
    flex: 1;
    min-width: 280px;
}

.contact-details h3 {
    margin-bottom: 24px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.contact-map {
    flex: 1.5;
    min-width: 300px;
    min-height: 300px;
    background-color: var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.thanks-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.thanks-box {
    max-width: 540px;
    background-color: var(--color-surface);
    padding: 60px 48px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

.thanks-box h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.legal-content {
    padding: 60px 24px 80px;
}

.legal-content h2 {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

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

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .header-container {
        padding: 12px 16px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 16px;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
    }

    .nav-toggle {
        display: block;
    }

    .ad-disclosure {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .hero-editorial {
        min-height: 50vh;
    }

    .hero-text-overlay {
        padding: 80px 16px 40px;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .content-image.inline-left {
        float: none;
        max-width: 100%;
        margin-right: 0;
    }

    .cta-inline {
        padding: 32px 24px;
    }

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

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

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

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

    .service-full-card,
    .service-full-card:nth-child(even) {
        flex-direction: column;
    }

    .about-content,
    .about-content.reverse {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
    }

    .btn-large {
        padding: 14px 32px;
    }

    .services-preview {
        padding: 48px 16px;
    }

    .contact-teaser {
        padding: 48px 16px;
    }

    .thanks-box {
        padding: 40px 24px;
    }
}
