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

:root {
    --primary: #2c3e50;
    --secondary: #8b5a2b;
    --accent: #c9a66b;
    --dark: #1a1a2e;
    --light: #f8f6f3;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--light);
}

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

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

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

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

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

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

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

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

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

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

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

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(--primary);
    transition: all 0.3s ease;
}

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

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    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="rgba(201,166,107,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(201,166,107,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(201,166,107,0.1)" stroke-width="0.5"/></svg>') center/cover;
    opacity: 0.5;
}

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

.hero-editorial h1 {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

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

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
}

.section {
    padding: 80px 0;
}

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

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

.section-accent {
    background: linear-gradient(180deg, var(--light) 0%, rgba(201,166,107,0.1) 100%);
}

.editorial-intro {
    padding: 100px 0;
}

.editorial-intro .narrow {
    text-align: center;
}

.editorial-intro h2 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary);
}

.editorial-intro p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.drop-cap::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 1;
    padding-right: 15px;
    color: var(--secondary);
    font-weight: bold;
}

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

.story-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.story-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

.inline-image img {
    width: 100%;
    display: block;
}

.inline-image figcaption {
    padding: 15px 20px;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.quote-block {
    margin: 50px 0;
    padding: 40px;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

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

.quote-block cite {
    font-size: 0.95rem;
    color: var(--text-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

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

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

.service-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image svg {
    width: 60px;
    height: 60px;
    fill: var(--accent);
    opacity: 0.8;
}

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

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

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

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

.service-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.testimonial-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.95;
}

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

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

.testimonial-info strong {
    display: block;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.cta-inline {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0;
}

.cta-inline h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-inline p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

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

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

.form-section {
    background: var(--white);
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

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

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    min-width: 200px;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 0;
}

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

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

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

.about-image {
    flex: 1 1 350px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image svg {
    width: 150px;
    height: 150px;
    fill: var(--white);
    opacity: 0.8;
}

.values-section {
    background: var(--light);
    padding: 80px 0;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    flex: 1 1 250px;
    text-align: center;
    padding: 30px;
}

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

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

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    flex: 1 1 250px;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--secondary);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

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

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.legal-page {
    padding: 60px 0;
    min-height: 70vh;
}

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

.legal-page h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-page h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--text);
}

.legal-page p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.legal-page ul {
    margin: 15px 0 15px 25px;
    color: var(--text-light);
}

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

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

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

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

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

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

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

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

.cookie-text {
    flex: 1 1 400px;
    font-size: 0.95rem;
}

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

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

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

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

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

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

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-cta.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

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

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

    .section {
        padding: 50px 0;
    }

    .editorial-intro h2 {
        font-size: 1.8rem;
    }

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

    .about-grid {
        gap: 40px;
    }

    .about-image {
        height: 300px;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

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

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .quote-block {
        padding: 25px;
    }

    .quote-block p {
        font-size: 1.1rem;
    }

    .cta-inline {
        padding: 35px 25px;
    }

    .sticky-cta {
        bottom: 70px;
        right: 15px;
    }
}
