/* 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.6;
    color: #333;
    background: #fff;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

ul {
    list-style: none;
}

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

/* Header and Navigation */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo:hover {
    color: #2563eb;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: #1f2937;
    transition: all 0.3s ease;
}

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

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: none;
    flex-direction: column;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    border-bottom: 1px solid #e5e7eb;
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: 1rem 20px;
    color: #4b5563;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
    background: #f3f4f6;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-visual {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 300px;
}

/* Page Hero */
.page-hero {
    padding: 3rem 0;
    background: #f9fafb;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Legal Pages */
.legal-hero {
    padding: 3rem 0 2rem;
    background: #f9fafb;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.update-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.legal-content {
    padding: 3rem 0;
}

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

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto;
    display: block;
}

.cookies-table thead {
    background: #f3f4f6;
}

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

.cookies-table th {
    font-weight: 600;
    color: #1f2937;
}

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

section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #4b5563;
    font-size: 1.125rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #4b5563;
    font-size: 1.125rem;
}

.intro-content p {
    margin-bottom: 1.25rem;
    color: #4b5563;
    line-height: 1.8;
}

/* Grids */
.service-grid,
.benefits-grid,
.values-grid,
.industries-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Cards */
.service-card,
.benefit-card,
.value-card,
.industry-card,
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.value-card:hover,
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card img,
.benefit-card img,
.value-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h3,
.benefit-card h3,
.value-card h3,
.industry-card h3 {
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-card p,
.benefit-card p,
.value-card p,
.industry-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Service Detailed */
.service-detailed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-header img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

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

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-item img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.benefit-text h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.benefit-text p {
    color: #6b7280;
}

/* Statistics */
.statistics {
    background: #f9fafb;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
}

/* Philosophy */
.philosophy {
    background: #f9fafb;
}

.philosophy-content p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    background: #1f2937;
    color: #fff;
}

.testimonials h2 {
    color: #fff;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background: #374151;
    color: #f9fafb;
}

.testimonial-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #93c5fd;
}

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

.process-step {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #6b7280;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.timeline-year::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #2563eb;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6b7280;
}

/* Achievements */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievement-item {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.achievement-item h3 {
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.achievement-item p {
    color: #4b5563;
}

/* Trust Indicators */
.trust-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trust-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.trust-item img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.trust-item h3 {
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: #6b7280;
}

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

.contact-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

.contact-card img {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-card p {
    color: #4b5563;
    line-height: 1.8;
}

.contact-card a {
    color: #2563eb;
}

/* Directions */
.directions-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.direction-block {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.direction-block h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.direction-block p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Company Info Block */
.company-info-block {
    background: #f9fafb;
}

.info-content p {
    margin-bottom: 1rem;
    color: #4b5563;
}

/* Thank You Page */
.thank-you-hero {
    padding: 4rem 0;
    text-align: center;
    background: #f9fafb;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.thank-you-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.thank-you-hero p {
    font-size: 1.125rem;
    color: #6b7280;
}

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

.step-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #6b7280;
}

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

.meanwhile-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

.meanwhile-card h3 {
    margin-bottom: 1rem;
}

.meanwhile-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Insights */
.insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insight-block {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.insight-block h3 {
    margin-bottom: 1rem;
}

.insight-block p {
    color: #4b5563;
    line-height: 1.8;
}

/* Comparison */
.comparison-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #4b5563;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-item {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.comparison-item h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.comparison-item p {
    color: #4b5563;
    line-height: 1.8;
}

/* Process Detail */
.process-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-phase {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.process-phase h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.process-phase p {
    color: #4b5563;
    line-height: 1.8;
}

/* Story and Approach */
.story-content p,
.approach-content p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

/* Team Highlights */
.team-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.highlight-block {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.highlight-block h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.highlight-block p {
    color: #4b5563;
    line-height: 1.8;
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

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

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

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

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #2563eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
    color: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: #f9fafb;
    padding: 3rem 0 1.5rem;
}

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

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: #d1d5db;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
}

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

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

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

.cookie-content p {
    margin: 0;
    line-height: 1.6;
}

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

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

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-option label {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cookie-option span {
    line-height: 1.6;
    color: #4b5563;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        border: none;
    }

    .nav-menu li {
        border: none;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: transparent;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero .container {
        display: flex;
        align-items: center;
        gap: 3rem;
    }

    .hero-content {
        flex: 1;
    }

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

    .hero-visual {
        flex: 1;
        margin-top: 0;
    }

    .service-grid,
    .benefits-grid,
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card,
    .benefit-card,
    .value-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .industries-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .industry-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

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

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

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

    .step-card {
        flex: 1;
    }

    .meanwhile-content {
        flex-direction: row;
    }

    .meanwhile-card {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-column {
        flex: 1;
    }

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

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

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

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

    .page-hero h1 {
        font-size: 3rem;
    }

    section {
        padding: 5rem 0;
    }

    section h2 {
        font-size: 2.5rem;
    }

    .service-card,
    .benefit-card,
    .value-card {
        flex: 0 0 calc(25% - 1.125rem);
    }

    .stat-item {
        flex: 0 0 calc(25% - 1.5rem);
    }

    .testimonials-grid {
        flex-wrap: nowrap;
    }

    .testimonial-card {
        flex: 1;
    }

    .process-steps {
        flex-wrap: nowrap;
    }

    .process-step {
        flex: 1;
    }

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

    .industry-card {
        flex: 0 0 calc(33.333% - 1rem);
    }

    .contact-grid {
        flex-wrap: nowrap;
    }

    .contact-card {
        flex: 1;
    }

    .cookies-table {
        display: table;
    }
}