:root {
    --primary: #c8553d;
    --primary-dark: #a3432f;
    --secondary: #588157;
    --secondary-dark: #3a5a40;
    --accent: #e9c46a;
    --dark: #2d2d2d;
    --light: #faf8f5;
    --gray: #6b6b6b;
    --gray-light: #e8e4df;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px 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: 17px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
}

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

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

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

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Editorial */
.hero-editorial {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--light) 0%, #f5ebe0 100%);
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c8553d" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-editorial h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-editorial .lead {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image-wrap {
    margin-top: 60px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

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

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

.section-accent {
    background: linear-gradient(135deg, #f5ebe0 0%, var(--light) 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* Editorial Story Layout */
.story-block {
    margin-bottom: 80px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark);
}

.story-text p {
    margin-bottom: 24px;
}

.story-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--dark);
}

.story-image {
    margin: 48px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.story-image figcaption {
    padding: 16px;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

.story-pullquote {
    margin: 60px 0;
    padding: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
}

.story-pullquote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Inline CTA */
.inline-cta {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.inline-cta-content h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.inline-cta-content p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.inline-cta .btn {
    white-space: nowrap;
    background: var(--white);
    color: var(--secondary);
}

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

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1 1 340px;
    max-width: 400px;
    transition: var(--transition);
}

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

.service-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 28px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

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

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

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

.service-price .period {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.testimonial-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: var(--white);
}

.form-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
}

.form-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-info p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.8;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.form-benefits svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.form-container {
    flex: 1;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-container h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

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

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

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

.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: 1.1rem;
}

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

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

/* Features List */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
}

.feature-item {
    flex: 1 1 280px;
    display: flex;
    gap: 20px;
}

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

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

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 0;
    background: var(--primary);
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 8px;
}

/* Contact */
.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

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

.contact-info p {
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-light);
}

.contact-details li:last-child {
    border-bottom: none;
}

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

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

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-map {
    flex: 1;
    min-height: 400px;
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

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

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p {
    opacity: 0.75;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

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

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

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

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

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

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    animation: slideUp 0.5s ease;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-lg);
    padding: 16px 28px;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

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

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

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

.cookie-accept {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--secondary-dark);
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.cookie-banner.hidden {
    display: none;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--light) 0%, #f5ebe0 100%);
}

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

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

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

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

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

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.legal-page .lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
}

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

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

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

/* Responsive */
@media (max-width: 992px) {
    .hero-editorial h1 {
        font-size: 2.5rem;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .about-intro {
        flex-direction: column;
    }

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

    .stats-row {
        flex-wrap: wrap;
        gap: 40px;
        padding: 40px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: block;
    }

    .hero-editorial {
        padding: 120px 0 60px;
    }

    .hero-editorial h1 {
        font-size: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .inline-cta {
        flex-direction: column;
        text-align: center;
    }

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

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

    .form-container {
        padding: 32px 24px;
    }

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

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

    .sticky-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .sticky-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .features-list {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-editorial h1 {
        font-size: 1.75rem;
    }

    .container,
    .container-narrow {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-accept,
    .cookie-reject {
        width: 100%;
    }
}
