:root {
    --primary: #2d5a3d;
    --primary-dark: #1e3d29;
    --secondary: #8fbc8f;
    --accent: #c9a227;
    --text-dark: #2c3e2d;
    --text-light: #f8f9f4;
    --bg-cream: #f5f3eb;
    --bg-moss: #e8ede5;
    --bg-dark: #1a2e1d;
    --shadow: rgba(45, 90, 61, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-cream);
}

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

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

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

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

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

header {
    background: var(--bg-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.hero-editorial {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%238fbc8f" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%238fbc8f" opacity="0.2"/><circle cx="40" cy="70" r="1" fill="%238fbc8f" opacity="0.25"/><circle cx="70" cy="85" r="1.2" fill="%238fbc8f" opacity="0.2"/></svg>');
    background-size: 200px 200px;
}

.hero-editorial h1 {
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.3;
}

.hero-editorial h1 strong {
    font-weight: 700;
    color: var(--secondary);
}

.hero-editorial .subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

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

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

.btn-primary:hover {
    background: #ddb52f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

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

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

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

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

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

.section-story.alt {
    background: var(--bg-moss);
}

.section-story.dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-story.dark h2 {
    color: var(--text-light);
}

.story-lead {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 500;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

.story-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.story-text:last-of-type {
    margin-bottom: 0;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.inline-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

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

.inline-image.small {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.inline-image.float-right {
    float: right;
    max-width: 45%;
    margin: 0 0 30px 40px;
}

.inline-image.float-left {
    float: left;
    max-width: 45%;
    margin: 0 40px 30px 0;
}

.services-editorial {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.service-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item:nth-child(even)::before {
    left: auto;
    right: 0;
}

.service-image {
    flex: 0 0 280px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
}

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

.service-content {
    flex: 1;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
    color: #5a6b5c;
}

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

.service-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.inline-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    margin: 50px 0;
    text-align: center;
}

.inline-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.quote-block {
    background: var(--bg-moss);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    position: relative;
}

.quote-block::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.5;
    font-family: Georgia, serif;
}

.quote-block p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.quote-block cite {
    font-size: 0.95rem;
    color: #666;
}

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

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--secondary);
}

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

.team-member h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-split {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 25px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

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

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-dark);
}

.contact-detail h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-detail p {
    color: #666;
    font-size: 0.95rem;
}

.contact-form-wrap {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e5dc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.features-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    padding: 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-moss);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-card h4 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

.stats-bar {
    background: var(--primary);
    padding: 60px 0;
}

.stats-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

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

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

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.testimonials {
    background: var(--bg-moss);
    padding: 80px 0;
}

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

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    top: 10px;
    right: 25px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h5 {
    color: var(--primary-dark);
    font-size: 1rem;
}

.author-info span {
    color: #888;
    font-size: 0.85rem;
}

footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    color: var(--secondary);
    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-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    animation: pulse 2s infinite;
}

.sticky-cta .btn {
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

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

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

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

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

.thanks-content {
    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 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-dark);
}

.thanks-content h1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 30px;
}

.legal-page {
    padding: 80px 0;
}

.legal-page h1 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-page p,
.legal-page ul {
    margin-bottom: 20px;
}

.legal-page ul {
    padding-left: 30px;
}

.legal-page li {
    margin-bottom: 10px;
}

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

.page-header h1 {
    color: var(--text-light);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 992px) {
    .service-item {
        flex-direction: column !important;
    }

    .service-image {
        flex: none;
        width: 100%;
    }

    .inline-image.float-right,
    .inline-image.float-left {
        float: none;
        max-width: 100%;
        margin: 30px 0;
    }

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

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

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

    h2 {
        font-size: 1.8rem;
    }

    .section-story {
        padding: 50px 0;
    }

    .features-row,
    .team-grid,
    .testimonial-grid {
        flex-direction: column;
    }

    .feature-card,
    .team-member,
    .testimonial-card {
        min-width: 100%;
    }

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

    .stats-inner {
        flex-direction: column;
        gap: 40px;
    }

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