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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #d4af37;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --max-width-narrow: 720px;
    --max-width-medium: 960px;
    --spacing-small: 1rem;
    --spacing-medium: 2rem;
    --spacing-large: 4rem;
    --spacing-xlarge: 6rem;
}

html {
    scroll-behavior: smooth;
}

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

.nav-editorial {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

.story-hero {
    padding: var(--spacing-xlarge) var(--spacing-medium) var(--spacing-large);
    text-align: center;
}

.hero-content-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.story-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

.hero-image {
    margin: 3rem auto 0;
    max-width: 900px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.story-section {
    padding: var(--spacing-large) var(--spacing-medium);
}

.content-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.story-section h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.story-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    letter-spacing: -0.01em;
}

.story-section p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.inline-figure {
    margin: var(--spacing-large) auto;
    max-width: 900px;
    padding: 0 var(--spacing-medium);
}

.inline-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.inline-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

.service-card-inline {
    background-color: var(--bg-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.bg-light .service-card-inline {
    background-color: var(--bg-white);
}

.service-card-inline h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.service-card-inline p {
    margin-bottom: 1rem;
}

.price-tag {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 1rem;
}

.inline-cta {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.inline-cta:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.cta-button-center {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

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

.cta-button-large {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1.2rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

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

.process-list {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.process-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-section {
    background-color: var(--bg-light);
}

.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

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

.testimonial cite {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-section {
    background-color: var(--bg-light);
}

.editorial-form {
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

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

.submit-button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.final-cta {
    text-align: center;
    padding: var(--spacing-xlarge) var(--spacing-medium);
}

.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem var(--spacing-medium) 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-column p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
}

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

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

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

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

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

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

.service-detail {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-features {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    line-height: 1.5;
}

.service-price {
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

.service-price strong {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.thanks-section {
    padding: var(--spacing-xlarge) var(--spacing-medium);
    text-align: center;
}

.thanks-content {
    margin-top: 3rem;
}

.thanks-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.legal-page .story-section ul,
.legal-page .story-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page .story-section li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
}

.cookie-table td {
    font-size: 0.95rem;
}

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

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

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

    .intro-text {
        font-size: 1.1rem;
    }

    .story-section h2 {
        font-size: 1.6rem;
    }

    .story-section h3 {
        font-size: 1.3rem;
    }

    .story-section,
    .story-hero {
        padding: var(--spacing-medium) var(--spacing-small);
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .thanks-cta {
        gap: 1rem;
    }

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .story-hero h1 {
        font-size: 1.7rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

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

    .cta-button-large,
    .cta-button-center {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}