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

:root {
    --primary: #8B4513;
    --primary-dark: #5D2E0C;
    --secondary: #F5E6D3;
    --accent: #D4A574;
    --text: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --dark-bg: #1A1A1A;
    --cream: #FFF9F0;
    --warm-gray: #F7F4F1;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

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

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

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

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

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

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

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

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

.hero-editorial {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--cream) 100%);
}

.hero-editorial h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-weight: 400;
}

.hero-editorial .lead {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.hero-image-wrap {
    margin: 50px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-image-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

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

.section-story.alt-bg {
    background-color: var(--warm-gray);
}

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

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

.section-story.dark-bg p {
    color: #CCCCCC;
}

.story-heading {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-weight: 400;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
}

.story-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.story-text:first-letter {
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    margin-right: 10px;
    color: var(--primary);
    font-weight: 700;
}

.inline-image {
    margin: 40px -50px;
    border-radius: 4px;
    overflow: hidden;
}

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

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

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

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

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

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

.quote-block p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-dark);
    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);
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

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

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

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

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.cta-inline {
    margin: 40px 0;
    text-align: center;
}

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

.cta-section h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-section p {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.testimonial-section {
    padding: 100px 0;
    background-color: var(--warm-gray);
}

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

.testimonial-card {
    flex: 1 1 calc(33.333% - 20px);
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

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

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

.testimonial-author-info strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--cream);
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: 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 {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    width: 100%;
    padding: 16px;
}

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

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

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

.footer-col h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

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

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

.footer-col ul li a {
    color: #AAAAAA;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-col p {
    color: #AAAAAA;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: 0 5px 25px rgba(139, 69, 19, 0.4);
}

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

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

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

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

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

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

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

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

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

.cookie-reject {
    background-color: transparent;
    border: 1px solid #666;
    color: #CCC;
}

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

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

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 400;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

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

.content-page h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    font-weight: 400;
}

.content-page h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

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

.content-page ul,
.content-page ol {
    margin: 20px 0 20px 30px;
    color: var(--text-light);
}

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

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

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

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

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

.value-item {
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

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

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

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

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

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

.contact-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 35px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-map {
    flex: 1;
    min-height: 400px;
    background-color: var(--warm-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

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

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

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

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

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

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

.team-section {
    padding: 80px 0;
    background-color: var(--warm-gray);
}

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

.team-member {
    flex: 1 1 calc(25% - 23px);
    text-align: center;
}

.team-member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--secondary);
}

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

.team-member h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.team-member span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

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

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1 1 calc(25% - 23px);
    position: relative;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.process-step h3 {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

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

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

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

    .testimonial-card {
        flex: 1 1 calc(50% - 15px);
    }

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

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

    .value-item {
        flex: 1 1 calc(50% - 15px);
    }

    .team-member {
        flex: 1 1 calc(50% - 15px);
    }

    .process-step {
        flex: 1 1 calc(50% - 15px);
    }

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

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

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

    nav.active {
        display: flex;
    }

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

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

    .story-heading {
        font-size: 1.6rem;
    }

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

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

    .value-item {
        flex: 1 1 100%;
    }

    .team-member {
        flex: 1 1 100%;
    }

    .process-step {
        flex: 1 1 100%;
    }

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

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

    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .inline-image {
        margin: 30px 0;
    }
}
