:root {
    --color-primary: #2c3e50;
    --color-secondary: #8b7355;
    --color-accent: #c9a959;
    --color-background: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #2d2d2d;
    --color-text-light: #5a5a5a;
    --color-border: #e5e1db;
    --color-fallback: #d4cfc7;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', 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-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

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

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

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

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

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

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

p {
    margin-bottom: 1.2rem;
}

.ad-disclosure {
    background-color: var(--color-primary);
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
}

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

.header-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.main-nav a {
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

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

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

.hero-editorial {
    background-color: var(--color-fallback);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-editorial .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-editorial .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
    padding: 3rem 2rem;
}

.hero-editorial h1 {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.article-section {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-section.wide {
    max-width: var(--max-width-medium);
}

.section-full {
    background-color: var(--color-surface);
    padding: 5rem 2rem;
}

.section-muted {
    background-color: #f0ebe3;
    padding: 5rem 2rem;
}

.section-dark {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 5rem 2rem;
}

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

.section-dark a {
    color: var(--color-accent);
}

.inline-image {
    margin: 2.5rem 0;
    background-color: var(--color-fallback);
}

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

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

.pull-quote {
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: var(--color-surface);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-light);
}

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

.service-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card-horizontal {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
}

.service-card-horizontal .service-image {
    flex: 0 0 280px;
    height: 200px;
    background-color: var(--color-fallback);
}

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

.service-card-horizontal .service-content {
    flex: 1;
}

.service-card h3 {
    color: var(--color-primary);
}

.service-price {
    font-size: 1.4rem;
    color: var(--color-secondary);
    font-weight: 600;
}

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

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

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

.btn-primary: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;
}

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

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

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    font-size: 1rem;
    font-family: var(--font-body);
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

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

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

.contact-info-block {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-label {
    flex: 0 0 140px;
    font-weight: 500;
    color: var(--color-primary);
}

.site-footer {
    background-color: var(--color-primary);
    color: #c9c9c9;
    padding: 4rem 2rem 2rem;
}

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

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

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

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

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

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column ul a {
    color: #c9c9c9;
    font-size: 0.95rem;
}

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

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

.disclaimer-text {
    font-size: 0.85rem;
    color: #a0a0a0;
    max-width: var(--max-width-narrow);
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    line-height: 1.6;
}

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

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

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
}

.cookie-text a {
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.cookie-btn-accept:hover {
    background-color: var(--color-primary);
}

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

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

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

.thanks-container h1 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.thanks-container p {
    max-width: 500px;
    margin-bottom: 2rem;
}

.legal-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

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

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

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

.timeline-section {
    padding: 5rem 2rem;
    background-color: var(--color-surface);
}

.timeline {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    padding-left: 2.5rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.timeline-year {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

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

    h2 {
        font-size: 1.6rem;
    }

    .header-inner {
        padding: 1rem;
    }

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

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

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

    .mobile-menu-toggle {
        display: block;
    }

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

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

    .article-section {
        padding: 2.5rem 1.5rem;
    }

    .section-full,
    .section-muted,
    .section-dark {
        padding: 3rem 1.5rem;
    }

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

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

    .footer-columns {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

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