:root {
    --primary: #5D4037;
    --primary-dark: #3E2723;
    --secondary: #D7CCC8;
    --accent: #8D6E63;
    --text: #2C2421;
    --text-light: #6D5D54;
    --bg: #FDFBF9;
    --bg-alt: #F5F0EB;
    --white: #FFFFFF;
    --border: #E0D6CF;
    --shadow: rgba(93, 64, 55, 0.12);
    --font-main: 'Segoe UI', system-ui, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 32px;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
}

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

.split-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.story-block {
    padding: 60px 0;
}

.story-text {
    font-size: 22px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 32px;
}

.story-text.large {
    font-size: 28px;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.insight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 48px;
    border-radius: 12px;
    margin: 48px 0;
}

.insight-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.benefit-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

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

.service-item {
    display: flex;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-image {
    width: 300px;
    min-height: 220px;
    background-color: var(--secondary);
    flex-shrink: 0;
}

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

.service-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
}

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

.testimonial-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.testimonial {
    background-color: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow);
    max-width: 800px;
    margin: 0 auto 32px;
    position: relative;
}

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

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 24px;
    padding-left: 48px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 48px;
}

.testimonial-author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--secondary);
}

.testimonial-author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author-info span {
    font-size: 14px;
    color: var(--text-light);
}

.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 44px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background-color: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-container h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-container p {
    color: var(--text-light);
    margin-bottom: 32px;
}

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

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

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

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

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

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

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

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

.contact-info-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.contact-info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer {
    background-color: var(--primary-dark);
    color: var(--secondary);
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-col a {
    color: var(--secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
}

.disclaimer {
    background-color: var(--bg-alt);
    padding: 32px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 48px;
}

.disclaimer h5 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px var(--shadow);
    padding: 24px;
    z-index: 1000;
    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: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-light);
}

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

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

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

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

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

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

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

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

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    margin-top: 40px;
}

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

.content-section p {
    margin-bottom: 16px;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

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

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

.thanks-content {
    max-width: 600px;
}

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

.thanks-content h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.about-story {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-story-content {
    flex: 1;
}

.about-story-image {
    flex: 1;
    background-color: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    min-height: 450px;
}

.about-story-image img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.values-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.value-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 40px 24px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.value-icon {
    width: 72px;
    height: 72px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.value-item h4 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta .btn {
    box-shadow: 0 4px 20px var(--shadow);
}

.reference {
    font-size: 12px;
    vertical-align: super;
    color: var(--primary);
}

.references-section {
    background-color: var(--bg-alt);
    padding: 40px 0;
}

.references-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.references-list {
    font-size: 14px;
    color: var(--text-light);
}

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

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

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

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

    .service-item {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        min-height: 200px;
    }

    .hero-title {
        font-size: 40px;
    }

    .about-story {
        flex-direction: column;
    }

    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 12px var(--shadow);
    }

    .nav.active {
        display: flex;
    }

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

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .form-container {
        padding: 32px 24px;
    }

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

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

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