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

:root {
    --primary: #2c3e50;
    --secondary: #8b7355;
    --accent: #d4a574;
    --text: #333;
    --text-light: #666;
    --bg: #fafaf8;
    --white: #fff;
    --border: #e0e0e0;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
}

.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.ad-label {
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background-color: var(--bg);
}

.editorial-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-editorial {
    position: relative;
    margin: -3rem -2rem 3rem;
    background-color: var(--primary);
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 3rem 2rem 2rem;
    color: var(--white);
}

.hero-overlay h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
}

.story-content section {
    margin-bottom: 3.5rem;
}

.intro-text,
.insight-block,
.approach-text,
.closing-text {
    font-size: 1.1rem;
}

.lead-paragraph {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.story-content p {
    margin-bottom: 1.3rem;
}

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    font-weight: normal;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: normal;
}

.inline-image {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
    object-fit: cover;
    background-color: var(--border);
}

.reference-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
}

.reference-link:hover {
    text-decoration: underline;
}

.services-preview {
    margin: 4rem 0;
}

.service-card {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: var(--border);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: bold;
    margin: 1.5rem 0 1rem;
}

.cta-inline {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cta-inline:hover {
    background-color: var(--secondary);
}

.testimonial-inline {
    background-color: var(--accent);
    padding: 2.5rem;
    border-left: 4px solid var(--secondary);
    margin: 3rem 0;
}

.testimonial-inline blockquote {
    font-style: italic;
    font-size: 1.15rem;
}

.testimonial-inline cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-light);
}

.form-section {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 6px;
    margin: 4rem 0;
}

.form-section h2 {
    margin-bottom: 1rem;
}

.form-section > p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.editorial-form {
    max-width: 100%;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
}

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

.btn-submit {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

.disclaimer {
    background-color: #fff9e6;
    border: 1px solid #f0e68c;
    padding: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.references {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 3rem;
}

.references h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.references ol {
    padding-left: 1.5rem;
}

.references li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.references a {
    color: var(--secondary);
    text-decoration: none;
}

.references a:hover {
    text-decoration: underline;
}

.main-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

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

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

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

.footer-column a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.85rem;
}

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

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

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

.btn-cookie {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

#cookie-accept {
    background-color: var(--primary);
    color: var(--white);
}

#cookie-accept:hover {
    background-color: var(--secondary);
}

#cookie-reject {
    background-color: var(--border);
    color: var(--text);
}

#cookie-reject:hover {
    background-color: #d0d0d0;
}

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-block p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-page,
.services-page,
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-page h1,
.services-page h1,
.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-page p,
.legal-page p {
    margin-bottom: 1.3rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-page h2,
.services-page h2,
.legal-page h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.service-item p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-page h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
    color: var(--primary);
}

.legal-page ul,
.legal-page ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.thanks-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.thanks-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.thanks-page .btn-home {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.thanks-page .btn-home:hover {
    background-color: var(--secondary);
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .editorial-container {
        padding: 2rem 1.5rem;
    }

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

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