:root {
    --color-primary: #2c3e50;
    --color-secondary: #8b6914;
    --color-accent: #c9a227;
    --color-bg-light: #faf8f3;
    --color-bg-cream: #f5f0e6;
    --color-bg-dark: #1a1a1a;
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #fff;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width-narrow: 680px;
    --max-width-medium: 900px;
    --max-width-wide: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-bg-light);
}

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

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

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

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

.container-medium {
    max-width: var(--max-width-medium);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav-editorial {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0 24px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

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

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

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Editorial */
.hero-editorial {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-light) 100%);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 400;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

/* Inline CTA */
.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.cta-inline svg {
    width: 18px;
    height: 18px;
}

/* Story Section */
.story-section {
    padding: 80px 0;
}

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

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

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

.story-section.dark-bg p {
    color: rgba(255, 255, 255, 0.85);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--color-primary);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

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

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

.inline-image {
    margin: 48px 0;
    border-radius: 4px;
    overflow: hidden;
}

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

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

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

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

/* Pull Quote */
.pull-quote {
    border-left: 4px solid var(--color-secondary);
    padding: 24px 0 24px 32px;
    margin: 48px 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-style: italic;
    line-height: 1.5;
}

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

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 200px;
    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: 28px;
}

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

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

.service-card-price {
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 600;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a252f 100%);
    text-align: center;
}

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

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 16px 40px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(139, 105, 20, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.sticky-cta:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: var(--color-bg-cream);
}

.contact-form {
    background: var(--color-white);
    padding: 48px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    max-width: 600px;
    margin: 40px auto 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

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

.form-submit {
    width: 100%;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-item {
    background: var(--color-white);
    padding: 36px;
    border-radius: 4px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--color-secondary);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Process Section */
.process-list {
    margin-top: 48px;
}

.process-item {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.process-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

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

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

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

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

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

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

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

.footer-col a:hover {
    color: var(--color-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: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

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

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

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

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

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

.cookie-btn:hover {
    transform: translateY(-1px);
}

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

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

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

.thanks-section .section-title {
    margin-bottom: 16px;
}

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

/* About Page */
.about-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--color-bg-cream);
}

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

.team-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
}

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

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

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

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

.team-member span {
    font-size: 0.9rem;
    color: var(--color-secondary);
}

/* Contact Page */
.contact-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--color-bg-cream);
}

.contact-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding: 60px 0;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-form-wrap {
    flex: 1 1 400px;
}

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

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* Legal Pages */
.legal-hero {
    padding-top: 140px;
    padding-bottom: 40px;
    background: var(--color-bg-cream);
}

.legal-content {
    padding: 60px 0;
}

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

.legal-content h2:first-of-type {
    margin-top: 0;
}

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

.legal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--color-text-light);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .hero-image img {
        height: 280px;
    }

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

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

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

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

    .footer-grid {
        gap: 32px;
    }

    .sticky-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .pull-quote {
        font-size: 1.25rem;
        padding-left: 20px;
    }

    .process-item {
        flex-direction: column;
        gap: 16px;
    }
}

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

    .section-title {
        font-size: 1.5rem;
    }

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

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