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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fafafa;
}

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

a {
    color: #2c5f8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3d5c;
}

/* Navigation - Minimal Style */
.nav-minimal {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

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

.nav-menu a {
    font-weight: 500;
    color: #2c3e50;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #2c5f8d;
}

/* Editorial Story Flow - Main Layout Archetype */
.story-flow {
    background-color: #ffffff;
}

.story-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

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

.hero-content .lead {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

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

.hero-image img {
    width: 100%;
}

/* Story Sections - Narrow Centered Content */
.story-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.story-section.alternate {
    background-color: #f9f9f9;
    max-width: 100%;
    padding: 3rem 0;
}

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

.story-section.highlight {
    background-color: #f0f7fc;
    max-width: 100%;
    padding: 3rem 0;
}

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

.narrow-content h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.narrow-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.narrow-content p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.narrow-content ul,
.narrow-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.narrow-content li {
    margin-bottom: 0.8rem;
    color: #444;
}

/* Inline Images - Editorial Style */
.inline-image {
    margin: 2.5rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
}

/* Inline CTA - Editorial Style */
.inline-cta {
    display: inline-block;
    color: #2c5f8d;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #2c5f8d;
    padding-bottom: 2px;
    margin-top: 1rem;
}

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

/* Testimonials Inline */
.testimonial-inline {
    background-color: #fff9f0;
    max-width: 100%;
    padding: 3rem 0;
}

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

.testimonial-inline blockquote {
    border-left: 4px solid #2c5f8d;
    padding-left: 1.5rem;
    font-style: italic;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.7;
}

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

/* Service Cards - Editorial Style */
.service-card {
    background-color: #f9f9f9;
    border-left: 4px solid #2c5f8d;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #444;
}

.service-card .price {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c5f8d;
    margin-bottom: 1rem;
}

.service-card .select-service {
    background-color: #2c5f8d;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-card .select-service:hover {
    background-color: #1a3d5c;
}

/* Process List */
.process-list {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.process-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

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

.value-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
}

.value-item h3 {
    margin-bottom: 0.8rem;
    color: #2c5f8d;
}

.value-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Form Section */
.form-section {
    background-color: #f0f7fc;
    max-width: 100%;
    padding: 3rem 0;
}

.main-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f8d;
}

.form-group input[readonly] {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: #666;
    font-size: 0.9rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.submit-button {
    background-color: #2c5f8d;
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #1a3d5c;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background-color: #2c5f8d;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.cta-button:hover {
    background-color: #1a3d5c;
    color: #ffffff;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #2c5f8d;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #2c5f8d;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.secondary-button:hover {
    background-color: #2c5f8d;
    color: #ffffff;
}

/* Final CTA Section */
.final-cta {
    background-color: #2c5f8d;
    color: #ffffff;
    max-width: 100%;
    padding: 3rem 0;
}

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

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    color: #e8f2f7;
}

/* Page Header */
.page-header {
    background-color: #f0f7fc;
    padding: 3rem 2rem;
    text-align: center;
}

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

.page-header .lead {
    font-size: 1.3rem;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
}

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

.contact-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.contact-item h3 {
    color: #2c5f8d;
    margin-bottom: 0.8rem;
}

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

.contact-item a {
    font-weight: 600;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.faq-item h3 {
    color: #2c5f8d;
    margin-bottom: 0.8rem;
}

/* Team Member */
.team-member {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.team-member h3 {
    color: #2c5f8d;
    margin-bottom: 0.8rem;
}

.team-member p {
    margin-bottom: 0;
}

/* Values List */
.values-list {
    list-style: none;
    margin-left: 0;
}

.values-list li {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid #2c5f8d;
}

.values-list strong {
    color: #2c5f8d;
    font-size: 1.1rem;
}

/* Service Details */
.service-details {
    background-color: #f0f7fc;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 4px;
}

.service-details p {
    margin-bottom: 0.8rem;
}

.service-details .select-service {
    background-color: #2c5f8d;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.service-details .select-service:hover {
    background-color: #1a3d5c;
}

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

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

.thanks-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.thanks-details {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
    text-align: left;
}

.thanks-service {
    background-color: #f0f7fc;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.thanks-service h3 {
    margin-bottom: 0.5rem;
}

#serviceNameDisplay {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f8d;
    margin-bottom: 0;
}

.thanks-actions {
    margin: 2rem 0;
}

.thanks-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

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

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

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

.legal-page section {
    margin-bottom: 2.5rem;
}

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

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

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #2c5f8d;
    font-weight: 600;
}

.back-link:hover {
    color: #1a3d5c;
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #e0e0e0;
    font-size: 0.95rem;
}

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

.copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

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

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

.cookie-accept {
    background-color: #28a745;
    color: #ffffff;
}

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

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

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

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #2c5f8d;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #1a3d5c;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        padding: 0 2rem;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }

    .narrow-content h2 {
        font-size: 1.7rem;
    }

    .story-section {
        padding: 2rem 1.5rem;
    }

    .story-section.alternate .narrow-content,
    .story-section.highlight .narrow-content {
        padding: 0 1.5rem;
    }

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

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

    .secondary-button {
        margin-left: 0;
        margin-top: 1rem;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .main-form {
        padding: 1.5rem;
    }
}