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

:root {
    --primary: #2c3e50;
    --secondary: #8b4513;
    --accent: #d4a574;
    --light: #f5f1eb;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e0d5c7;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

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

.header-top {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ad-disclosure {
    background-color: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.header-main {
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
}

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

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text);
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

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

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

.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-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

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

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

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.featured-article {
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: 400px;
    background-color: var(--border);
    margin-bottom: 25px;
    overflow: hidden;
}

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

.featured-title {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.sidebar-section {
    background-color: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

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

.service-card-image {
    width: 100%;
    height: 200px;
    background-color: var(--border);
    margin-bottom: 20px;
    overflow: hidden;
}

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

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

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

.service-card-price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.services-grid .service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    margin-bottom: 0;
}

.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.split-content {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    background-color: var(--border);
}

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

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

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

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

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

.contact-item {
    margin-bottom: 25px;
}

.contact-item-title {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-item-text {
    color: var(--text-light);
}

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

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

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

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

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

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

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

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

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

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

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

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.6);
}

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

.disclaimer {
    background-color: var(--border);
    padding: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

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

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

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

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

.page-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

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

.prose {
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.prose h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.prose p {
    margin-bottom: 20px;
}

.prose ul,
.prose ol {
    margin: 20px 0;
    padding-left: 25px;
}

.prose li {
    margin-bottom: 10px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    text-align: center;
    background-color: var(--white);
    padding: 30px;
    border: 1px solid var(--border);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--border);
    overflow: hidden;
}

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

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.team-role {
    color: var(--secondary);
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

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

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

.thanks-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 30px;
}

.thanks-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.thanks-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.inline-cta {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.inline-cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.inline-cta-text {
    margin-bottom: 20px;
    opacity: 0.9;
}

.references {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.references-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.references-list li {
    margin-bottom: 10px;
}

.reference-link {
    color: var(--secondary);
    word-break: break-all;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 200px;
    height: 200px;
    background-color: var(--border);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

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

    .nav.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .split-content {
        padding: 40px 20px;
    }

    .services-grid .service-card {
        flex: 1 1 100%;
    }

    .page-title {
        font-size: 2rem;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .header-top-inner {
        justify-content: center;
        text-align: center;
    }

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

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