:root {
    --primary: #c97b3a;
    --primary-dark: #a85f25;
    --secondary: #2d4a3e;
    --accent: #e8d5c4;
    --dark: #1a1a1a;
    --light: #faf8f5;
    --gray: #6b6b6b;
    --gray-light: #e5e5e5;
    --white: #ffffff;
    --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;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

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

/* Header */
.top-notice {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
}

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

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

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

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

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

.nav a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Magazine Style */
.hero-magazine {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 48px 0;
}

.hero-main {
    flex: 2;
    min-width: 300px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--accent);
    min-height: 500px;
}

.hero-main img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.hero-main-content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-main-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-sidebar {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    padding: 16px;
    transition: var(--transition);
}

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

.hero-card-img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--accent);
}

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

.hero-card-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-card-content p {
    font-size: 13px;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: #1f3630;
}

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

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

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

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

/* Sections */
.section {
    padding: 80px 0;
}

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

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

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

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

.section-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--dark);
}

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

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Magazine Grid */
.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

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

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

/* Article Cards */
.article-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
}

.article-card-img {
    height: 240px;
    background-color: var(--accent);
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

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

.article-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray);
}

/* Sidebar Widgets */
.widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

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

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

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

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

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.service-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
}

/* Features */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.features-row:last-child {
    margin-bottom: 0;
}

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

.features-img {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--accent);
    min-height: 400px;
}

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

.features-content {
    flex: 1;
    min-width: 300px;
}

.features-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.features-content p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 16px;
}

.features-list {
    list-style: none;
    margin-bottom: 24px;
}

.features-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

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

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
}

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

.testimonial-info p {
    font-size: 13px;
    color: var(--gray);
}

/* Contact Info */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

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

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

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

/* Forms */
.form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-container h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--white);
}

.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(201, 123, 58, 0.1);
}

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

.form-submit {
    width: 100%;
}

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

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 64px 0 24px;
}

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

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

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

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

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

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

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

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

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

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

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

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

.cookie-inner {
    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: 280px;
    font-size: 14px;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.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);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1f3630 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--dark);
}

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

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

.legal-content ul {
    margin-bottom: 16px;
    margin-left: 24px;
    color: var(--gray);
}

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

/* About Page */
.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--accent);
}

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

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

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

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

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    text-align: center;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
}

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

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

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

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

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

/* Disclaimer */
.disclaimer {
    background-color: #f8f5f0;
    padding: 24px;
    border-radius: var(--radius);
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.disclaimer p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* Responsive */
@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: var(--shadow);
    }

    .nav.active {
        display: flex;
    }

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

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

    .hero-main {
        min-height: 400px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .footer-grid {
        gap: 32px;
    }

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

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container,
    .container-narrow,
    .container-wide {
        padding: 0 16px;
    }

    .hero-main-content {
        padding: 24px;
    }

    .form-container {
        padding: 24px;
    }

    .service-card {
        min-width: 100%;
    }

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