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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --text-color: #2d3436;
    --light-text: #636e72;
    --bg-light: #f8f9fa;
    --bg-alt: #e9ecef;
    --white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #27ae60;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 240px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--white);
}

.nav-links {
    list-style: none;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

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

.nav-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.nav-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.nav-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Ad Disclosure */
.ad-disclosure {
    position: fixed;
    top: 0;
    left: 240px;
    right: 0;
    background-color: var(--bg-alt);
    color: var(--light-text);
    padding: 0.5rem 2rem;
    text-align: center;
    font-size: 0.813rem;
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
}

/* Main Content */
main {
    margin-left: 240px;
    margin-top: 2.5rem;
    flex: 1;
    width: calc(100% - 240px);
}

/* Editorial Container */
.editorial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Story Flow */
.story-flow {
    padding: 2rem 0;
}

.story-header {
    margin-bottom: 3rem;
    text-align: center;
}

.story-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.story-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--light-text);
    font-style: italic;
}

/* Story Sections */
.story-section {
    margin-bottom: 4rem;
}

.story-section h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.story-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.story-section p {
    margin-bottom: 1.25rem;
    font-size: 1.063rem;
    line-height: 1.8;
}

.story-section.alt-bg {
    background-color: var(--bg-light);
    padding: 2.5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    border-radius: 8px;
}

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

.inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Blockquote */
.story-quote {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    margin: 2.5rem 0;
    line-height: 1.6;
}

/* Service Cards */
.services-embed {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 8px;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card.featured {
    border: 2px solid var(--accent-color);
}

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

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.service-card .price {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Services Full Page */
.services-full {
    margin-top: 2rem;
}

.service-detailed {
    margin-bottom: 4rem;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-detailed.featured-service {
    border: 3px solid var(--accent-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.service-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.service-image {
    margin: 0;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-body {
    padding: 2rem;
}

.service-body p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.service-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-body ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Buttons */
.select-service,
.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.select-service:hover,
.btn-primary:hover,
.btn-submit:hover {
    background-color: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

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

.inline-cta:hover {
    color: #d63851;
    border-color: #d63851;
}

/* Forms */
.story-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.story-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.story-form input[type="text"],
.story-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.story-form input[type="text"]:focus,
.story-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.service-display {
    background-color: var(--white);
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    font-weight: 600;
    display: none;
}

.service-display.active {
    display: block;
}

/* Testimonials */
.testimonial-section {
    background-color: var(--bg-light);
    padding: 2.5rem;
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 8px;
}

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

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 8px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .story-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

.floating-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background-color: #d63851;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

/* Contact Layout */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info,
.contact-content {
    flex: 1;
}

.contact-block {
    margin-bottom: 2rem;
}

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

.contact-block p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.contact-note {
    font-size: 0.938rem;
    color: var(--light-text);
    font-style: italic;
}

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

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

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

.faq-item p {
    line-height: 1.7;
    margin-bottom: 0;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    padding: 2rem;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    margin-top: 2rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: var(--secondary-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.legal-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Thanks Page */
.thanks-page {
    text-align: center;
}

.thanks-links {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.thanks-links li {
    margin-bottom: 1rem;
}

.thanks-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.thanks-links a:hover {
    color: #d63851;
}

/* Footer */
.site-footer {
    margin-left: 240px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

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

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

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

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.938rem;
}

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

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

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.813rem;
    line-height: 1.6;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

.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;
    font-size: 0.938rem;
    line-height: 1.6;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar-nav {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }

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

    .nav-links li {
        margin-bottom: 0;
    }

    .nav-footer {
        display: flex;
        gap: 1rem;
        border-top: none;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .ad-disclosure {
        position: relative;
        left: 0;
        right: 0;
        margin-top: 0;
    }

    main {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .editorial-container {
        padding: 1.5rem;
    }

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

    .story-intro {
        font-size: 1.125rem;
    }

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

    .story-section.alt-bg,
    .services-embed,
    .testimonial-section,
    .cta-section {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 2rem 1.5rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
    }

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

    .site-footer {
        margin-left: 0;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .btn-accept,
    .btn-reject {
        flex: 1;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }

    .contact-layout {
        gap: 2rem;
    }
}

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

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

    .story-quote {
        font-size: 1.188rem;
        padding-left: 1.5rem;
    }

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

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