:root {
    --color-primary: #8B4513;
    --color-secondary: #2C1810;
    --color-accent: #D4A574;
    --color-text: #3D2914;
    --color-text-light: #6B5344;
    --color-bg: #FDF8F3;
    --color-bg-alt: #F5EDE4;
    --color-white: #FFFFFF;
    --color-border: #E8DDD3;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
    --content-width: 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-bg);
}

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

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

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

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

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 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.ad-disclosure {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--color-secondary);
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 5px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

.section {
    padding: 80px 20px;
}

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

.section-dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

.editorial-block {
    max-width: var(--content-width);
    margin: 0 auto 60px;
}

.editorial-block:last-child {
    margin-bottom: 0;
}

.editorial-image {
    margin: 40px -60px;
    background-color: var(--color-border);
}

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

.story-intro {
    font-size: 1.25rem;
    color: var(--color-text-light);
    border-left: 4px solid var(--color-primary);
    padding-left: 25px;
    margin: 40px 0;
}

.inline-cta {
    background-color: var(--color-bg-alt);
    padding: 35px;
    margin: 45px 0;
    text-align: center;
    border-radius: 8px;
}

.inline-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.split-section {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--color-border);
}

.split-image img {
    width: 100%;
    border-radius: 8px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    flex: 1 1 340px;
    max-width: 380px;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.service-card-content {
    padding: 28px;
}

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

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.testimonial-block {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    margin: 50px auto;
    max-width: 650px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial-block::before {
    content: '"';
    font-size: 80px;
    font-family: var(--font-heading);
    color: var(--color-accent);
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-secondary);
    padding-left: 40px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    margin-bottom: 10px;
}

.form-container {
    max-width: 550px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

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

.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: 16px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

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

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

.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
}

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

.footer-col h4 {
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    max-width: var(--max-width);
    margin: 0 auto;
}

.disclaimer {
    background-color: var(--color-bg-alt);
    padding: 30px;
    font-size: 13px;
    color: var(--color-text-light);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-text {
    flex: 1 1 400px;
}

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

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cookie-btn:hover {
    opacity: 0.9;
}

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

.cookie-reject {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.5);
}

.page-header {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0;
}

.legal-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.thanks-container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-white);
}

.contact-info {
    background-color: var(--color-white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.references {
    background-color: var(--color-bg-alt);
    padding: 40px 20px;
    font-size: 14px;
}

.references h4 {
    margin-bottom: 15px;
}

.references ol {
    max-width: var(--content-width);
    margin: 0 auto;
    padding-left: 25px;
}

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

.references a {
    word-break: break-all;
}

@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction: column;
    }

    .editorial-image {
        margin: 30px -20px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

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

    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

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

    .section {
        padding: 50px 20px;
    }

    .form-container {
        padding: 30px 20px;
    }

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

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