/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #3d5a80;
    --accent-color: #ee6c4d;
    --text-dark: #1f1f1f;
    --text-light: #4a4a4a;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --max-content-width: 720px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

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

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.2rem;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 35, 50, 0.95);
    color: var(--white);
    padding: 1.5rem;
    display: none;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.btn-cookie-accept,
.btn-cookie-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

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

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

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

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

/* Navigation - Editorial Style */
.nav-editorial {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

/* Editorial Content Container */
.editorial-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Article Hero */
.article-hero {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.page-hero {
    padding: 3rem 0 2rem;
    background-color: var(--bg-light);
}

.hero-text-narrow {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.hero-image-block {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.hero-image-block img {
    width: 100%;
    border-radius: 4px;
}

/* Article Sections */
.article-section {
    padding: 3.5rem 0;
}

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

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

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

.article-section.bg-dark .pull-quote {
    border-left-color: var(--accent-color);
    color: var(--white);
}

/* Narrow Text Column - Editorial Style */
.narrow-text {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Pull Quote */
.pull-quote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.5;
    margin: 2.5rem 0;
    padding-left: 2rem;
    border-left: 4px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Inline Images */
.inline-image-medium,
.inline-image-wide {
    margin: 3rem auto;
    max-width: 100%;
}

.inline-image-medium {
    max-width: 800px;
    padding: 0 2rem;
}

.inline-image-wide {
    max-width: 1000px;
    padding: 0 2rem;
}

.inline-image-medium img,
.inline-image-wide img {
    width: 100%;
    border-radius: 4px;
}

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

/* Lists */
.insight-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.insight-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.insight-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Category Grid */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.category-card p {
    margin-bottom: 0.5rem;
}

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

/* Case Studies */
.case-study {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
}

.case-study h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.case-study p {
    margin-bottom: 0.8rem;
}

.insight-conclusion {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Services Section */
.services-compact {
    margin: 2rem 0;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.service-item h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.service-price-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1.5rem 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.services-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}

.service-detailed {
    margin: 2rem 0;
}

/* Buttons */
.btn-service-select,
.btn-primary,
.btn-secondary,
.btn-submit,
.btn-primary-large {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.btn-primary,
.btn-submit {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover,
.btn-submit:hover {
    background-color: #d45a3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 108, 77, 0.3);
}

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

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

.btn-service-select {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 100%;
    margin-top: 1rem;
}

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

.btn-primary-large {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary-large:hover {
    background-color: #d45a3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 108, 77, 0.3);
}

/* CTA Sections */
.inline-cta {
    text-align: center;
    margin: 2rem 0;
}

.cta-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: underline;
}

.cta-link:hover {
    color: var(--secondary-color);
}

.inline-cta-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid var(--border-color);
}

.inline-cta-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.inline-cta-button-center {
    text-align: center;
    margin: 2.5rem 0;
}

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

.final-cta-editorial h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.final-cta-editorial p {
    color: var(--white);
    margin-bottom: 2rem;
}

/* Forms */
.editorial-form {
    max-width: 600px;
    margin: 2rem auto;
}

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

.form-group label {
    display: block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.1rem;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-info-box {
    margin: 2rem 0;
}

.contact-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-item h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
}

.thanks-content {
    text-align: center;
}

.thanks-info-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
}

.timeline-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.service-confirmation {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    display: none;
    font-size: 1.1rem;
}

.thanks-cta {
    margin: 3rem 0;
}

.thanks-cta h3 {
    margin-bottom: 1rem;
}

.thanks-cta a {
    display: inline-block;
    margin: 0.5rem;
}

.urgent-note {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 3rem;
}

.urgent-note h3 {
    color: #856404;
    margin-top: 0;
}

/* Legal Pages */
.legal-item {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.legal-item h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.legal-item p {
    margin-bottom: 0.5rem;
}

/* Cookie Table */
.cookie-table {
    margin: 2rem 0;
}

.cookie-row {
    background-color: var(--bg-light);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cookie-name {
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--secondary-color);
}

.cookie-purpose {
    font-size: 0.95rem;
}

.cookie-duration,
.cookie-type {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

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

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

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .hero-text-narrow,
    .narrow-text {
        padding: 0 1.5rem;
    }

    .article-section {
        padding: 2.5rem 0;
    }

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

    .pull-quote {
        font-size: 1.2rem;
        padding-left: 1.5rem;
    }

    .inline-image-medium,
    .inline-image-wide {
        padding: 0 1.5rem;
    }

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

    .service-price-large {
        font-size: 1.8rem;
    }

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

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

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

    .btn-primary,
    .btn-secondary,
    .btn-submit,
    .btn-primary-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 1.7rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-cookie-accept,
    .btn-cookie-reject {
        width: 100%;
    }
}