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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

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

a:hover {
    color: #1d4ed8;
}

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

/* Header and Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    padding: 0;
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #1f2937;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #1f2937;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.nav-link {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 20px;
        gap: 0;
    }

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

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

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

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

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

.btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: #6b7280;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #4b5563;
    color: #ffffff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.95;
}

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

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

.page-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Content Split Layout */
.content-split {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.content-text {
    flex: 1 1 500px;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-graphic {
    flex: 1 1 300px;
}

.content-graphic svg {
    width: 100%;
    height: auto;
}

/* Grids */
.benefits-grid,
.services-grid,
.industries-grid,
.trust-grid,
.values-grid,
.team-grid,
.achievements-grid,
.reasons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.benefit-card,
.service-card,
.industry-item,
.trust-item,
.value-card,
.team-member,
.achievement-card,
.reason-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    background-color: #ffffff;
    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;
}

.benefit-card:hover,
.service-card:hover,
.trust-item:hover,
.value-card:hover,
.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-icon,
.trust-icon,
.value-icon,
.achievement-icon,
.reason-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.benefit-icon svg,
.trust-icon svg,
.value-icon svg,
.achievement-icon svg,
.reason-icon svg,
.contact-icon svg {
    width: 100%;
    height: 100%;
}

.link-arrow {
    color: #2563eb;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.link-arrow::after {
    content: ' →';
}

/* Statistics */
.statistics {
    background-color: #1e40af;
    color: #ffffff;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

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

.process-step {
    flex: 1 1 250px;
    position: relative;
}

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

/* Testimonials */
.testimonials {
    background-color: #f9fafb;
}

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

.testimonial {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #4b5563;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: #1f2937;
}

/* Philosophy */
.philosophy {
    background-color: #eff6ff;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 500;
}

/* FAQ */
.faq-section {
    background-color: #f9fafb;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

.faq-icon {
    font-size: 1.5rem;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.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: 500px;
}

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

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

/* Team Members */
.team-grid {
    justify-content: center;
}

.team-member {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 250px;
    text-align: center;
}

.member-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

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

.member-role {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services Page */
.service-detailed {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

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

.service-title-block h2 {
    margin-bottom: 0.5rem;
    text-align: left;
}

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

.service-description p {
    margin-bottom: 1rem;
}

/* Comparison */
.benefits-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-col {
    flex: 1 1 400px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
}

.comparison-col.highlight {
    background-color: #eff6ff;
    border: 2px solid #2563eb;
}

.comparison-list {
    list-style: none;
    margin-top: 1.5rem;
}

.comparison-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list.positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.comparison-list.negative li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

/* Process Flow */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-step {
    flex: 1 1 200px;
    text-align: center;
}

.flow-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

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

.flow-arrow {
    font-size: 2rem;
    color: #2563eb;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .flow-arrow {
        display: none;
    }
}

/* Contact Page */
.contact-grid,
.directions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-card,
.direction-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.office-content,
.company-details {
    max-width: 900px;
    margin: 0 auto;
}

.company-detail-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-list li:last-child {
    border-bottom: none;
}

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

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

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

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

.thank-you-message {
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 1rem;
}

.steps-grid,
.waiting-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card,
.waiting-suggestion {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.contact-details {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.return-content {
    text-align: center;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-hero {
    background-color: #f3f4f6;
    padding: 3rem 0;
}

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

.legal-date {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

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

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

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

.cookies-table tr:hover {
    background-color: #f9fafb;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content a {
    color: #ffffff;
}

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

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

.footer-col {
    flex: 1 1 250px;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

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

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

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

.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
}

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

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

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

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    margin-left: 1.75rem;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .benefit-card,
    .service-card,
    .industry-item,
    .trust-item,
    .value-card,
    .team-member,
    .achievement-card,
    .reason-item,
    .testimonial {
        flex: 1 1 100%;
    }

    .cookies-table {
        font-size: 0.875rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Approach Section */
.approach-points {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-point {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
}

/* Accessibility */
:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}