:root {
    --primary: #1a5f4a;
    --primary-light: #2d8a6e;
    --primary-dark: #0f3d30;
    --secondary: #f4a261;
    --accent: #e76f51;
    --dark: #1d1d1d;
    --gray-dark: #4a4a4a;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --light: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

* {
    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(--dark);
    background: var(--white);
}

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

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

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

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

.ad-disclosure {
    background: var(--gray-light);
    padding: 8px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    border-bottom: 1px solid #ddd;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

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

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

.hero-magazine .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-magazine .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3.25rem;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-sidebar {
    flex: 0.8;
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-sidebar h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.hero-sidebar ul {
    list-style: none;
    margin-bottom: 24px;
}

.hero-sidebar li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.hero-sidebar li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: #e8944c;
    color: var(--dark);
}

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

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

.btn-full {
    width: 100%;
}

.magazine-section {
    padding: 80px 0;
}

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

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

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

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 680px;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 0 auto;
}

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

.magazine-main {
    flex: 2;
}

.magazine-sidebar {
    flex: 1;
}

.magazine-two-col {
    display: flex;
    gap: 48px;
}

.magazine-two-col > * {
    flex: 1;
}

.magazine-three-col {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.magazine-three-col > * {
    flex: 1;
    min-width: 280px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.article-card p {
    color: var(--gray);
    margin-bottom: 16px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

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

.service-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.sidebar-widget {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

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

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

.sidebar-widget li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.cta-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

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

.cta-block p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    background-color: var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.feature-content {
    flex: 1;
}

.feature-content h3 {
    margin-bottom: 16px;
}

.feature-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

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

.stat-item h2 {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--gray-light);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.testimonial-author .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--gray-light);
    overflow: hidden;
}

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

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

.testimonial-author .info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    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(26,95,74,0.1);
}

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

.contact-info-block {
    background: var(--light);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.contact-info-block h4 {
    margin-bottom: 24px;
}

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

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

.contact-info-item .text strong {
    display: block;
    margin-bottom: 4px;
}

.contact-info-item .text span {
    color: var(--gray);
}

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

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

.footer-col {
    flex: 1;
}

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

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

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

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

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

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

.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: 0.9rem;
    margin: 0;
}

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

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

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

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

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

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

.cookie-inner p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-inner p a {
    color: var(--secondary);
}

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

.cookie-buttons button {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

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

.cookie-buttons .accept-btn:hover {
    background: var(--primary-light);
}

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

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

.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
}

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

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

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

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

.content-page h3 {
    margin: 32px 0 12px;
}

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

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

.thanks-page {
    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: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 3rem;
    color: var(--white);
}

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

.thanks-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.disclaimer-block {
    background: #fff8e6;
    border-left: 4px solid var(--secondary);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.disclaimer-block p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

@media (max-width: 1024px) {
    .magazine-grid {
        flex-direction: column;
    }

    .feature-row {
        flex-direction: column;
        gap: 32px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .hero-magazine .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-sidebar {
        width: 100%;
        max-width: 500px;
    }
}

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

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

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

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

    .mobile-toggle {
        display: block;
    }

    .magazine-two-col,
    .magazine-three-col {
        flex-direction: column;
    }

    .stats-row {
        flex-direction: column;
        gap: 32px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

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

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

    .hero-text h1 {
        font-size: 2.25rem;
    }
}
