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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.cookie-content a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #1e40af;
}

.btn-reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

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

/* Navigation */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

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

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Editorial Container - EDITORIAL STORY ARCHETYPE */
.editorial-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.narrow-text {
    width: 100%;
}

/* Hero Editorial */
.hero-editorial {
    margin-bottom: 4rem;
}

.hero-content-narrow {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero-editorial h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
}

.hero-image {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Page Header Editorial */
.page-header-editorial {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-header-editorial h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #111827;
}

.subtitle-editorial {
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Typography */
.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    margin: 2.5rem 0 1.25rem;
    color: #111827;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    color: #1f2937;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem;
    color: #1f2937;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: #4b5563;
}

/* Story Sections */
.story-intro,
.challenge-section,
.insight-section,
.trust-section,
.process-section,
.final-thought,
.about-story,
.values-section,
.team-section,
.approach-section,
.experience-section,
.services-intro,
.contact-info-section,
.contact-approach,
.contact-questions,
.legal-content {
    margin-bottom: 3rem;
}

/* Inline Images */
.image-inline {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

/* Inline CTA Section */
.inline-cta-section {
    margin: 3rem 0;
}

.cta-inline {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.cta-inline h3 {
    margin-top: 0;
    color: #1e40af;
}

.btn-text-link {
    display: inline-block;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.05rem;
}

.btn-text-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Lists */
.insight-list,
.service-list,
.approach-list,
.process-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.insight-list li,
.service-list li,
.approach-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.process-list {
    counter-reset: process-counter;
    list-style: none;
    padding-left: 0;
}

.process-list li {
    counter-increment: process-counter;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2563eb;
    color: #ffffff;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Services Cards Editorial */
.services-preview {
    margin: 4rem 0;
}

.services-cards-editorial {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.service-card h3 {
    margin-top: 0;
    color: #1e40af;
}

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

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin: 1.5rem 0;
}

.btn-card {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-card:hover {
    background-color: #1e40af;
    color: #ffffff;
}

/* Service Detail Pages */
.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.price-box {
    background-color: #ecfdf5;
    border: 2px solid #059669;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.price-label {
    font-size: 0.95rem;
    color: #065f46;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: #065f46;
    margin-bottom: 0;
}

.btn-service {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.btn-service:hover {
    background-color: #1e40af;
    color: #ffffff;
}

/* Testimonials */
.testimonial-inline {
    background-color: #f9fafb;
    padding: 2rem;
    border-left: 4px solid #6366f1;
    margin: 2rem 0;
    border-radius: 4px;
}

.testimonial-inline blockquote {
    margin: 0;
}

.testimonial-inline p {
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
}

.testimonial-inline cite {
    font-style: normal;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Value Blocks */
.value-block,
.faq-item {
    margin-bottom: 2.5rem;
}

.value-block h3,
.faq-item h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

/* Contact Details */
.contact-details {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-block {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.contact-block h3 {
    margin-top: 0;
    color: #1e40af;
}

.contact-block p {
    margin-bottom: 0;
}

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

/* CTA Section Editorial */
.cta-section-editorial {
    margin: 4rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.cta-box h2 {
    color: #ffffff;
    margin-top: 0;
}

.cta-box p {
    color: #dbeafe;
    font-size: 1.1rem;
}

.cta-box a {
    color: #dbeafe;
    text-decoration: underline;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-primary {
    background-color: #ffffff;
    color: #1e40af;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    color: #1e40af;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

/* Form Section */
.form-section {
    margin: 3rem 0;
}

.contact-form {
    background-color: #f9fafb;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.contact-form h3 {
    margin-top: 0;
    color: #1e40af;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    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: #2563eb;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1e40af;
}

/* Thanks Page */
.thanks-section {
    text-align: center;
    padding: 4rem 0;
}

.thanks-content h1 {
    color: #059669;
    margin-bottom: 1.5rem;
}

.thanks-info {
    background-color: #ecfdf5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.thanks-info p {
    margin: 0;
    color: #065f46;
}

.thanks-next-steps {
    text-align: left;
    margin: 3rem 0;
}

.thanks-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.cookie-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.custom-solution {
    background-color: #fef3c7;
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.custom-solution h2 {
    margin-top: 0;
    color: #92400e;
}

.custom-solution p {
    color: #78350f;
}

/* Footer */
.main-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

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

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

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: #9ca3af;
    font-size: 0.95rem;
}

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

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

.footer-col ul li a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
    }

    .cookie-content p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

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

    .page-header-editorial h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .editorial-container {
        padding: 1.5rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .process-list li {
        padding-left: 2rem;
    }

    .process-list li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }
}

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

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

    .thanks-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
