:root {
    --primary: #8B4513;
    --primary-dark: #6B3410;
    --secondary: #D4A574;
    --accent: #2F5233;
    --text: #2C2C2C;
    --text-light: #5A5A5A;
    --bg: #FFFAF5;
    --bg-alt: #F5EDE4;
    --bg-dark: #3D2914;
    --white: #FFFFFF;
    --border: #E0D5C9;
    --shadow: rgba(139, 69, 19, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    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: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.ad-disclosure {
    background: var(--bg-alt);
    padding: 8px 24px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

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

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

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

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

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

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

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

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

.btn-accent:hover {
    background: #234026;
}

.section {
    padding: 80px 0;
}

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

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

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

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

h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.section-intro {
    max-width: 600px;
    margin-bottom: 48px;
}

.section-intro p {
    color: var(--text-light);
    font-size: 18px;
}

.editorial-block {
    margin-bottom: 48px;
}

.editorial-block p {
    margin-bottom: 20px;
}

.editorial-block img {
    margin: 32px 0;
    border-radius: 8px;
    box-shadow: 0 8px 32px var(--shadow);
}

.inline-image {
    width: 100%;
    background-color: var(--bg-alt);
}

.inline-image-left {
    float: left;
    width: 45%;
    margin: 8px 32px 16px 0;
}

.inline-image-right {
    float: right;
    width: 45%;
    margin: 8px 0 16px 32px;
}

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

.service-item {
    display: flex;
    gap: 32px;
    padding: 32px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

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

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 280px;
    background-color: var(--bg-alt);
    border-radius: 6px;
    overflow: hidden;
}

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

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

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

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

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

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

.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 48px 0;
    box-shadow: 0 4px 20px var(--shadow);
}

.testimonial blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.6;
}

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

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    padding: 32px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

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

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    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);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 15px;
}

footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 64px 0 24px;
}

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

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

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

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

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

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.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 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 -4px 20px var(--shadow);
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    color: var(--text-light);
}

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

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

.cookie-buttons button {
    padding: 10px 24px;
    font-size: 14px;
}

.page-header {
    background: var(--bg-alt);
    padding: 64px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 18px;
}

.legal-content {
    padding: 64px 0;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

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

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.thanks-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

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

.about-team {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.team-member {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
}

.team-photo {
    width: 100px;
    height: 100px;
    background: var(--bg-alt);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.team-info .role {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 8px;
}

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

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-section .btn:hover {
    background: var(--bg);
    color: var(--primary-dark);
}

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

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

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

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

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

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

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

    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        width: 100%;
    }

    .inline-image-left,
    .inline-image-right {
        float: none;
        width: 100%;
        margin: 24px 0;
    }

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

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

@media (max-width: 600px) {
    .hero {
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 17px;
    }

    h2 {
        font-size: 28px;
    }

    .section {
        padding: 48px 0;
    }

    .form-container {
        padding: 24px;
    }

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

    .feature-item {
        flex: 1 1 100%;
    }
}
