:root {
    --primary: #2c5f4c;
    --primary-dark: #1e4437;
    --secondary: #8b6914;
    --accent: #d4a84b;
    --bg-light: #faf9f6;
    --bg-warm: #f5f0e8;
    --bg-section: #e8e3d9;
    --text-dark: #2d2d2d;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --border: #d4cfc4;
    --shadow: rgba(44, 95, 76, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
}

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

.top-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

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

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

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

.hero-magazine {
    background-color: var(--bg-warm);
    padding: 60px 0;
}

.hero-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-content {
    flex: 1;
}

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

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

.hero-tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.hero-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.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(--primary);
    border: 2px solid var(--primary);
}

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

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

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

.section {
    padding: 70px 0;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-medium);
}

.section-header-left {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

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

.magazine-main {
    flex: 2;
}

.magazine-sidebar {
    flex: 1;
}

.article-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card-image {
    height: 220px;
    background-color: var(--bg-section);
    overflow: hidden;
}

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

.article-card-body {
    padding: 24px;
}

.article-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

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

.article-card h3 a {
    color: var(--text-dark);
}

.article-card h3 a:hover {
    color: var(--primary);
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.sidebar-widget h4 {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text-medium);
    font-size: 15px;
}

.sidebar-list a:hover {
    color: var(--primary);
}

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

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px var(--shadow);
}

.service-card-image {
    height: 180px;
    background-color: var(--bg-section);
    overflow: hidden;
}

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

.service-card-body {
    padding: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-medium);
    font-size: 15px;
    margin-bottom: 16px;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.price-note {
    font-size: 13px;
    color: var(--text-light);
}

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

.feature-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.feature-content h4 {
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-medium);
    font-size: 15px;
    margin-bottom: 0;
}

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

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

.testimonial-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-section);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info strong {
    display: block;
    color: var(--text-dark);
}

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

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

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

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

.about-content {
    flex: 1;
}

.about-content ul {
    list-style: none;
    margin: 24px 0;
}

.about-content ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

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

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

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

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

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

.contact-details p {
    color: var(--text-medium);
    margin-bottom: 0;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 76, 0.1);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

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

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 28px;
    opacity: 0.9;
}

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

.cta-banner .btn:hover {
    background-color: var(--accent);
    color: var(--text-dark);
}

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

.footer-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col.wide {
    flex: 1.5;
    min-width: 280px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

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

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

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

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

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

.footer-bottom {
    padding: 24px 0;
    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;
    margin: 0;
}

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

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

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

.disclaimer {
    background-color: var(--bg-section);
    padding: 24px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.page-header {
    background-color: var(--bg-warm);
    padding: 50px 0;
    text-align: center;
}

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

.page-header p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--text-medium);
    margin: 0 8px;
}

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

.content-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-page h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.content-page ul,
.content-page ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    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: 30px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    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(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.thanks-container {
    text-align: center;
    padding: 80px 24px;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.thanks-container h1 {
    margin-bottom: 16px;
}

.thanks-container p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.inline-cta {
    background-color: var(--bg-warm);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.inline-cta h4 {
    margin-bottom: 12px;
}

.inline-cta p {
    margin-bottom: 16px;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 15px;
    color: var(--text-medium);
}

@media (max-width: 992px) {
    .hero-grid,
    .about-section {
        flex-direction: column;
    }

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

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

    .sidebar-widget {
        flex: 1 1 calc(50% - 15px);
        min-width: 280px;
    }

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

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

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

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

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: block;
    }

    .top-header {
        position: relative;
    }

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

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

    .testimonial-card {
        flex: 1 1 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-col {
        flex: 1 1 100%;
    }

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

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

    .stats-row {
        gap: 30px;
    }
}
