:root {
    --primary: #2c3e50;
    --secondary: #8b4513;
    --accent: #c9a227;
    --bg-light: #faf8f5;
    --bg-cream: #f5f0e8;
    --bg-dark: #1a1a2e;
    --text-main: #2d2d2d;
    --text-light: #5a5a5a;
    --text-white: #ffffff;
    --border: #e0d8cc;
    --shadow: rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-main);
    background-color: var(--bg-light);
}

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

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

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

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

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

h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

.ad-disclosure {
    background-color: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

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

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: transform 0.3s ease;
}

.hero-editorial {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.hero-content {
    display: flex;
    gap: 48px;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-image-wrap {
    flex: 1;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 400px;
    display: block;
}

.tagline {
    font-size: 1rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-cta {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 3px;
    font-size: 1rem;
    margin-top: 24px;
    transition: background-color 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.section {
    padding: 80px 0;
}

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

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

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

.editorial-block {
    margin-bottom: 48px;
}

.editorial-block:last-child {
    margin-bottom: 0;
}

.inline-image {
    margin: 32px 0;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    background-color: var(--bg-light);
}

.quote-block {
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 40px 0;
    background-color: var(--bg-cream);
    font-style: italic;
    font-size: 1.2rem;
}

.quote-author {
    margin-top: 16px;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-light);
}

.authors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
}

.author-card {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    background-color: var(--text-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.author-image {
    height: 220px;
    background-color: var(--border);
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
}

.author-info {
    padding: 24px;
}

.author-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.author-years {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px;
    background-color: var(--text-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 24px var(--shadow);
}

.service-details {
    flex: 1;
    padding-right: 32px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 0;
}

.service-price-wrap {
    text-align: right;
    min-width: 120px;
}

.service-price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 400;
}

.service-unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cta-section {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--secondary);
    color: var(--text-white);
    border-radius: 4px;
    margin: 40px 0;
}

.cta-section h2 {
    color: var(--text-white);
}

.cta-btn {
    display: inline-block;
    background-color: var(--text-white);
    color: var(--secondary);
    padding: 14px 40px;
    border-radius: 3px;
    font-size: 1rem;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--accent);
    color: var(--text-white);
}

.form-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background-color: var(--text-white);
    border: 1px solid var(--border);
    border-radius: 4px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 3px;
    background-color: var(--bg-light);
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--secondary);
    color: var(--text-white);
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.testimonial {
    padding: 32px;
    background-color: var(--text-white);
    border-radius: 4px;
    border-left: 4px solid var(--accent);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
}

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

.contact-grid {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

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

.contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.1rem;
}

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

.thanks-container {
    text-align: center;
    padding: 120px 24px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

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

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

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

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

.footer-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

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

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

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.disclaimer {
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 32px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    min-width: 280px;
}

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

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

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

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

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

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

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

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

.legal-content h1 {
    margin-bottom: 40px;
}

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

.legal-content p,
.legal-content ul {
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 24px;
}

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

.about-hero {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-image {
    flex: 1;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 350px;
}

.about-text {
    flex: 1.2;
}

.timeline {
    margin-top: 48px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    min-width: 80px;
    font-size: 1.4rem;
    color: var(--secondary);
}

.timeline-content h3 {
    margin-bottom: 8px;
}

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

    h2 {
        font-size: 1.6rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--text-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

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

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
    }

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

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

    .service-item {
        flex-direction: column;
    }

    .service-details {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .service-price-wrap {
        text-align: left;
    }

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

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

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

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

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

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }
}
