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

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

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

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

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

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

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2b6cb0;
}

.ad-disclosure {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #90cdf4;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cookie-btn.accept {
    background-color: #48bb78;
    color: #ffffff;
}

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

.cookie-btn.reject {
    background-color: #a0aec0;
    color: #ffffff;
}

.cookie-btn.reject:hover {
    background-color: #718096;
}

/* Editorial Content Layout */
.editorial-content {
    max-width: 100%;
}

.narrow-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Headers */
.article-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #cbd5e0;
}

.header-overlay {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.header-overlay h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #1a202c;
    margin: 0;
}

.page-header {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background-color: #f7fafc;
}

.page-header h1 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.header-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 3rem;
}

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

h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

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

.lead-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #2d3748;
    font-weight: 400;
}

/* Sections */
section {
    padding: 4rem 0;
}

.alt-bg {
    background-color: #f7fafc;
}

.intro-section {
    padding-top: 2rem;
}

/* Inline Images */
.inline-image-block {
    margin: 3rem 0;
}

.inline-image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    background-color: #e2e8f0;
}

.image-caption {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #718096;
    font-style: italic;
    text-align: center;
}

/* Insight Grid */
.insight-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card {
    padding: 2rem;
    background-color: #ffffff;
    border-left: 4px solid #4299e1;
}

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

/* Testimonials */
.testimonial {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #edf2f7;
    border-left: 4px solid #667eea;
    font-style: italic;
}

.testimonial p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: #4a5568;
}

/* Benefits List */
.benefit-list {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #48bb78;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    margin-bottom: 0;
}

/* Service Cards (Selection Form) */
.service-selection-form {
    margin-top: 3rem;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card-select {
    position: relative;
}

.service-card-select input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.service-card-select label {
    display: block;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.service-card-select input[type="radio"]:checked + label {
    border-color: #4299e1;
    background-color: #ebf8ff;
}

.service-card-select label:hover {
    border-color: #cbd5e0;
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.service-card-select h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.service-card-select p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #4a5568;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-top: 1rem;
}

/* Form Styles */
.form-section {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #4299e1;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #2b6cb0;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #4299e1;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #2b6cb0;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #a0aec0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s;
    margin-top: 1rem;
    margin-left: 1rem;
}

.cta-button-secondary:hover {
    background-color: #718096;
}

/* About Page Styles */
.about-intro {
    padding-top: 2rem;
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background-color: #ffffff;
    border-left: 3px solid #805ad5;
}

.value-item h3 {
    margin-top: 0;
}

.approach-list {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.approach-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.commitment-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.commitment-card {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.commitment-card h3 {
    margin-top: 0;
}

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

.contact-cta-section {
    background-color: #edf2f7;
}

/* Services Page */
.services-intro {
    padding-top: 2rem;
}

.services-list {
    padding: 2rem 0;
}

.service-detail {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail.reverse {
    flex-direction: row-reverse;
    background-color: #f7fafc;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    margin-top: 0;
}

.service-detail-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.service-detail-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-detail-content li {
    margin-bottom: 0.8rem;
}

.service-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-top: 1.5rem;
}

.service-detail-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    border-radius: 8px;
}

.services-cta {
    padding: 4rem 2rem;
}

.references-section {
    padding: 3rem 0;
    background-color: #f7fafc;
}

.references {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.references li {
    margin-bottom: 0.8rem;
}

.references a {
    color: #2b6cb0;
    text-decoration: none;
}

.references a:hover {
    text-decoration: underline;
}

.citation {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.citation:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-info {
    padding: 3rem 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2b6cb0;
}

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

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: #48bb78;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.thanks-message {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f7fafc;
    border-radius: 8px;
}

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

#service-reference {
    font-weight: 600;
    color: #2b6cb0;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

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

.legal-page li {
    margin-bottom: 0.8rem;
}

.legal-page a {
    color: #2b6cb0;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

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

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

.cookie-table th {
    background-color: #f7fafc;
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: #2d3748;
    color: #ffffff;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

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

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

.footer-section p {
    font-size: 0.95rem;
    color: #cbd5e0;
}

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

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    border-top: 1px solid #4a5568;
    border-bottom: 1px solid #4a5568;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: #cbd5e0;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .header-overlay h1 {
        font-size: 2rem;
    }

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

    h2 {
        font-size: 1.6rem;
    }

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

    .service-detail.reverse {
        flex-direction: column;
    }

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

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

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button-secondary {
        margin-left: 0;
    }
}