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

:root {
    --primary-color: #6B4423;
    --secondary-color: #A67C52;
    --accent-color: #D4A574;
    --dark-color: #2C1810;
    --light-bg: #FAF7F2;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --border-color: #E5E5E5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

.nav-main {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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

.narrow-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-editorial {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
}

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

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

.hero-text-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-overlay p {
    font-size: 1.3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.story-intro,
.story-content,
.story-closing {
    padding: 4rem 0;
}

.story-intro h2,
.story-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.story-intro p,
.story-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-medium);
}

.visual-break {
    margin: 3rem 0;
    background-color: var(--light-bg);
}

.inline-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.cta-inline {
    margin: 2.5rem 0;
    text-align: center;
}

.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover,
.btn-submit:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

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

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

.services-preview {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.service-cards-editorial {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--secondary-color);
}

.service-details {
    padding: 2rem;
}

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

.service-details p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.testimonials-editorial {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.testimonial {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.testimonial p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

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

.order-section {
    padding: 5rem 0;
}

.order-form {
    margin-top: 2rem;
}

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

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

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

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

.page-header {
    padding: 4rem 0 2rem;
}

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

.lead {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.services-detail {
    padding: 2rem 0;
}

.service-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 4rem 0;
}

.service-detail-image {
    background-color: var(--light-bg);
}

.detail-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-detail-text {
    padding: 1rem 2rem;
}

.service-detail-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-detail-text p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.price-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.contact-section {
    padding: 3rem 0;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-detail {
    margin: 2rem 0;
}

.contact-detail h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.contact-detail p {
    color: var(--text-medium);
    line-height: 1.8;
}

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

.contact-note h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-note p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    text-align: center;
    padding: 4rem 0;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.thanks-details {
    margin: 2rem 0;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.legal-page .legal-content {
    padding: 2rem 0 4rem;
}

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

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.legal-content p,
.legal-content li {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

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

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.value-item {
    margin: 2.5rem 0;
}

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

.value-item p {
    color: var(--text-medium);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
}

.footer {
    background-color: var(--dark-color);
    color: var(--white);
    margin-top: 5rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #CCCCCC;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    background-color: #1A0F08;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 800px;
    margin: 1rem auto 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    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;
}

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

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

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

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

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

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .ad-disclosure {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

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

    .hero-text-overlay p {
        font-size: 1.1rem;
    }

    .narrow-content {
        padding: 0 1.5rem;
    }

    .story-intro h2,
    .story-content h2 {
        font-size: 1.6rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .thanks-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

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

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .btn-accept,
    .btn-reject {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .service-detail-item {
        flex-direction: row;
        align-items: center;
    }

    .service-detail-item.reverse {
        flex-direction: row-reverse;
    }

    .service-detail-image,
    .service-detail-text {
        flex: 1;
    }

    .service-detail-text {
        padding: 2rem 3rem;
    }
}