:root {
    --color-primary: #5a3d2b;
    --color-secondary: #8b6914;
    --color-accent: #c9a227;
    --color-bg-light: #faf8f5;
    --color-bg-dark: #2c2416;
    --color-text: #3d3d3d;
    --color-text-light: #6b6b6b;
    --color-white: #ffffff;
    --color-border: #e0d8cc;
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', sans-serif;
    --max-width-narrow: 720px;
    --max-width-medium: 960px;
    --max-width-wide: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.2rem;
}

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

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

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

.ad-disclosure {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: bold;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

.hero-editorial {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero-editorial .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-editorial .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 2rem;
    max-width: var(--max-width-medium);
}

.hero-editorial h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-editorial .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #ddb52e;
    color: var(--color-bg-dark);
}

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

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

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

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

.section {
    padding: 5rem 0;
}

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

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

.section-dark h2,
.section-dark h3 {
    color: var(--color-accent);
}

.article-flow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-flow h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.article-flow .inline-image {
    margin: 2.5rem -4rem;
    background-color: var(--color-border);
}

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

.article-flow .image-caption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.75rem 0;
    text-align: center;
    font-style: italic;
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: var(--color-white);
}

.cta-inline {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    border-radius: 8px;
}

.cta-inline p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    flex: 1 1 calc(50% - 1rem);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card .card-image {
    height: 200px;
    background-color: var(--color-border);
    overflow: hidden;
}

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

.service-card .card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card .price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-accent);
    margin: 1rem 0;
}

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

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.about-split {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-split .about-image {
    flex: 1;
    background-color: var(--color-border);
    min-height: 400px;
}

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

.about-split .about-content {
    flex: 1;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    flex: 0 0 200px;
}

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

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

.team-member h4 {
    margin-bottom: 0.25rem;
}

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

.contact-layout {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info .info-icon {
    width: 24px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-form-section {
    flex: 1.5;
    background-color: var(--color-white);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    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(--color-primary);
}

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

.form-group.checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.site-footer {
    background-color: var(--color-bg-dark);
    color: #b3b3b3;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #b3b3b3;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.9rem;
}

.disclaimer {
    background-color: #f5f0e8;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-left: 4px solid var(--color-accent);
}

.disclaimer h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

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

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

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

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.cookie-accept:hover {
    background-color: #ddb52e;
}

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

.cookie-reject:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
}

.legal-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

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

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thanks-content h1 {
    margin-bottom: 1rem;
}

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

.references-section {
    background-color: var(--color-white);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--color-border);
}

.references-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.references-section ol {
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.references-section li {
    margin-bottom: 0.5rem;
}

.references-section a {
    word-break: break-all;
}

.page-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
}

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

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

.sticky-cta .btn {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.features-row {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 1rem;
    }

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

    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-toggle {
        display: block;
    }

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

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

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

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

    .features-row {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .article-flow .inline-image {
        margin: 2rem -1rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 3rem 0;
    }

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

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