:root {
    --primary: #c9553d;
    --primary-dark: #a3412e;
    --secondary: #2c3e50;
    --accent: #e8d5b7;
    --text: #333333;
    --text-light: #666666;
    --background: #fefefe;
    --background-alt: #f9f5f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--background);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary);
}

h1 { font-size: 2.8rem; margin-bottom: 1.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1.2rem; }

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Palatino Linotype', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
}

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

.main-nav {
    display: flex;
    gap: 36px;
    list-style: none;
}

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

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

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

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Editorial */
.hero-editorial {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, var(--background-alt) 0%, var(--background) 100%);
}

.hero-editorial .narrow-container {
    text-align: center;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-editorial h1 {
    font-size: 3.2rem;
    max-width: 680px;
    margin: 0 auto 24px;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto 36px;
}

.hero-image {
    margin: 50px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* Editorial Section */
.editorial-section {
    padding: 70px 0;
}

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

.editorial-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Inline Image */
.inline-image {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

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

/* Content Box */
.content-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.content-box.highlight {
    border-left: 4px solid var(--primary);
}

/* Services Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.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: 24px;
}

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

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

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

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

/* Testimonial */
.testimonial-block {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    margin: 50px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(255,255,255,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 28px;
}

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

.cta-section .btn:hover {
    background: var(--accent);
}

/* Split Section */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 70px 0;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* Form Styles */
.form-section {
    padding: 80px 0;
    background: var(--background-alt);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.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,85,61,0.1);
}

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

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

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    flex: 1 1 200px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.team-member {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
}

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

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

.team-member h4 {
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    padding: 14px 0;
    padding-left: 36px;
    position: relative;
    border-bottom: 1px solid #eee;
}

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

/* Footer */
.site-footer {
    background: var(--secondary);
    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 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

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

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

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

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

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.sticky-cta .btn {
    box-shadow: var(--shadow-hover);
}

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

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

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

.thanks-content h1 {
    margin-bottom: 20px;
}

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

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

.legal-page h1 {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent);
}

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

.legal-page ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(to bottom, var(--background-alt) 0%, var(--background) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header .lead {
    color: var(--text-light);
    font-size: 1.15rem;
}

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

/* Mobile Styles */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
    }

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

    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .split-section.reverse {
        flex-direction: column;
    }

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

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

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

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

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

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

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

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

    .hero-editorial {
        padding: 50px 0 40px;
    }

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

    .testimonial-block {
        padding: 36px 24px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

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