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

:root {
    --primary-color: #2d5a7b;
    --primary-dark: #1e3d54;
    --primary-light: #4a7a9f;
    --accent-color: #8b6f9e;
    --accent-light: #a689b8;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4a8b5f;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Header */
.site-header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.main-nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background-white);
    box-shadow: var(--shadow-md);
}

.main-nav.mobile-open .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
}

.main-nav.mobile-open .nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.main-nav.mobile-open .nav-list a {
    display: block;
    padding: 1rem 20px;
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--background-white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--background-white);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.page-hero {
    background-color: var(--background-light);
    padding: 3rem 0;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-white);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-light);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.text-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.text-link:hover {
    color: var(--primary-dark);
}

.text-link-large {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
}

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

section:nth-child(even) {
    background-color: var(--background-light);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Values Grid */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    flex: 1 1 100%;
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--background-white);
}

.insight-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Service Cards */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 500;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
}

.process-step h3 {
    color: var(--primary-color);
}

/* Statistics */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    flex: 1 1 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
}

/* Knowledge Grid */
.knowledge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.knowledge-item {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
}

.knowledge-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Industries */
.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.industry-tag {
    background-color: var(--background-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--background-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--background-white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Team */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    flex: 1 1 100%;
    text-align: center;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
}

.member-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.member-icon svg {
    width: 100%;
    height: 100%;
}

.member-role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Approach Detail */
.approach-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-block {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
}

.approach-block h3 {
    color: var(--primary-color);
}

/* Values Detailed */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.value-detail {
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
}

.value-detail h3 {
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 80px;
    flex-shrink: 0;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Trust Indicators */
.trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
}

.trust-item h3 {
    color: var(--primary-color);
}

/* Services Detail */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detail {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.service-header h2 {
    color: var(--primary-color);
    margin-bottom: 0;
}

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

.service-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
}

/* Process Overview */
.process-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.process-card {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-card h3 {
    color: var(--primary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    flex: 1 1 100%;
    background-color: var(--background-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.benefit-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Comparison Table */
.comparison-table {
    max-width: 800px;
    margin: 2rem auto 0;
}

.comparison-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comparison-label {
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-recommendation {
    color: var(--primary-color);
    font-weight: 600;
}

.comparison-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
}

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

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

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.location-text h3:first-child {
    margin-top: 0;
}

/* Thank You */
.thank-you-hero {
    padding: 5rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    color: var(--success-color);
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you-text {
    font-size: 1.15rem;
    color: var(--text-medium);
}

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

.step-card {
    flex: 1 1 100%;
    text-align: center;
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

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

.meanwhile-links {
    margin-top: 2rem;
}

.reassurance-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Legal Content */
.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--accent-color);
    margin-top: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: var(--background-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-section {
    flex: 1 1 100%;
}

.footer-section h3,
.footer-section h4 {
    color: var(--background-white);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--background-light);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--background-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--background-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.primary {
    background-color: var(--accent-color);
    color: var(--background-white);
}

.cookie-btn.primary:hover {
    background-color: var(--accent-light);
}

.cookie-btn.secondary {
    background-color: transparent;
    color: var(--background-white);
    border: 2px solid var(--background-white);
}

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .value-item {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonial {
        flex: 1 1 calc(50% - 1rem);
    }

    .stat-item {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .knowledge-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

    .trust-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .process-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .benefit-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .comparison-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .comparison-label {
        flex: 1;
    }

    .comparison-recommendation {
        flex-shrink: 0;
    }

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

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

    .step-card {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .footer-section {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.2rem;
    }

    .hero {
        padding: 6rem 0;
    }

    section {
        padding: 5rem 0;
    }

    .service-card {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .testimonial {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .knowledge-item {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .team-member {
        flex: 1 1 calc(33.333% - 2rem);
    }

    .process-card {
        flex: 1 1 calc(20% - 2rem);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .cookie-banner,
    .cookie-modal,
    .cta-section,
    .site-footer {
        display: none;
    }
}