/* 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: #2c2c2c;
    background-color: #ffffff;
}

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

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #666;
}

/* Navigation */
.nav-minimal {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Editorial Content Layout */
.editorial-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.narrow-column {
    max-width: 100%;
}

/* Hero Section */
.story-hero {
    margin-bottom: 4rem;
}

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

.overline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

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

/* Text Blocks */
.text-block {
    margin-bottom: 4rem;
}

.text-block h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.text-block h3 {
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.text-block h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.text-block p {
    margin-bottom: 1.25rem;
}

.text-block ul,
.text-block ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.text-block li {
    margin-bottom: 0.5rem;
}

.text-block.dark-bg {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 4rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.text-block.dark-bg h2,
.text-block.dark-bg h3 {
    color: #ffffff;
}

/* Visual Breaks */
.visual-break {
    margin: 5rem 0;
}

.split-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visual-left img,
.visual-right img {
    width: 100%;
    border-radius: 4px;
}

.inline-quote {
    font-size: 1.375rem;
    line-height: 1.5;
    font-style: italic;
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 4px solid #1a1a1a;
}

.inline-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #666;
}

.full-width-image {
    margin: 4rem -2rem;
}

.full-width-image img {
    width: 100%;
    border-radius: 0;
}

/* Service Cards - Editorial Style */
.service-cards-editorial {
    margin: 3rem 0;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.service-card .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1.5rem 0;
}

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

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

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-select-service {
    background-color: #1a1a1a;
    color: #ffffff;
    width: 100%;
    margin-top: 1rem;
}

.btn-select-service:hover {
    background-color: #333;
    color: #ffffff;
}

.inline-cta {
    display: inline-block;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

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

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* CTA Sections */
.cta-section-editorial {
    margin: 5rem 0;
}

.cta-box {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 3rem;
    border-radius: 4px;
    text-align: center;
}

.cta-box h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #e5e5e5;
}

.cta-box .btn-primary {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
}

.cta-box .btn-primary:hover {
    background-color: #e5e5e5;
    border-color: #e5e5e5;
}

.cta-box .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-box .btn-secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Testimonials */
.testimonial-block {
    margin: 5rem 0;
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.testimonial-large {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    color: #2c2c2c;
}

.testimonial-large cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-style: normal;
    color: #666;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #e5e5e5;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

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

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

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

.footer-col p {
    margin-bottom: 0.5rem;
}

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

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

.footer-col a {
    color: #e5e5e5;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.875rem;
    color: #999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 4px;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal h2 {
    margin-bottom: 1.5rem;
}

#selected-service-display {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

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

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

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

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

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

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

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

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

.btn-cookie {
    background-color: #ffffff;
    color: #1a1a1a;
}

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

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

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

/* Services Page Specific */
.services-detailed {
    margin: 4rem 0;
}

.service-detail-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 5rem;
}

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

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

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

.service-detail-image img {
    width: 100%;
    border-radius: 4px;
}

.price-large {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1rem 0;
}

.highlight-service {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 4px;
    margin-left: -2rem;
    margin-right: -2rem;
}

.badge {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    margin: 3rem 0;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

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

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-item p {
    color: #4a4a4a;
    line-height: 1.7;
}

.contact-item a {
    color: #1a1a1a;
    font-weight: 600;
    border-bottom: 2px solid #1a1a1a;
}

.contact-item a:hover {
    color: #666;
    border-bottom-color: #666;
}

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

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

.thanks-service-info {
    margin: 3rem 0;
}

.service-confirmation {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
}

.thanks-next-steps {
    margin: 4rem 0;
}

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

.step {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Legal Page */
.legal-page h2 {
    margin-top: 3rem;
}

.legal-page h3 {
    margin-top: 2rem;
}

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

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

.legal-page table th {
    background-color: #f9f9f9;
    font-weight: 700;
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .editorial-content {
        padding: 4rem 2rem;
    }

    .split-visual {
        flex-direction: row;
    }

    .service-detail-block {
        flex-direction: row;
    }

    .service-detail-block.reverse {
        flex-direction: row-reverse;
    }

    .steps-grid {
        flex-direction: row;
    }

    .step {
        flex: 1;
    }

    .contact-grid {
        flex-direction: row;
    }

    .full-width-image {
        margin: 5rem -5rem;
    }
}

@media (max-width: 767px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.125rem;
    }

    .text-block h2 {
        font-size: 1.5rem;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

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

    .button-group {
        flex-direction: column;
    }

    .button-group a,
    .button-group button {
        width: 100%;
    }
}
