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

:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e4078;
    --primary-light: #4a7bc8;
    --secondary-color: #f8f9fa;
    --text-color: #212529;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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: var(--text-color);
    background: var(--white);
}

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

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

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

ul {
    list-style: none;
}

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

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

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

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-visual {
    margin-top: 2rem;
    text-align: center;
}

.hero-visual img {
    max-width: 280px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section.bg-light {
    background: var(--secondary-color);
}

.section-header {
    margin-bottom: 2.5rem;
}

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

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    padding: 2.5rem 0;
    background: var(--secondary-color);
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* Content Layouts */
.content-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-text h2 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

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

.content-visual img {
    max-width: 260px;
    margin: 0 auto;
}

.content-centered {
    text-align: center;
    margin-bottom: 2.5rem;
}

.content-centered h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

/* Cards */
.service-card,
.value-card,
.benefit-item,
.knowledge-card,
.industry-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon,
.value-icon {
    margin-bottom: 1rem;
}

.service-icon img,
.value-icon img {
    width: 50px;
    height: 50px;
}

.service-card h3,
.value-card h3,
.benefit-item h3,
.knowledge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.service-card p,
.value-card p,
.benefit-item p,
.knowledge-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats */
.content-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card,
.stat-item {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

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

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

/* Values and Process */
.values-list,
.approach-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item,
.approach-item {
    padding: 1.25rem;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.value-item h3,
.approach-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

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

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

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

.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.25rem 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Services Page */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.service-full {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

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

.service-icon-large img {
    width: 60px;
    height: 60px;
}

.service-header h2 {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
}

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

.service-description h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-description ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.service-description li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-pricing {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-card {
    background: var(--secondary-color);
    padding: 1.25rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.price-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.contact-block {
    margin-bottom: 2rem;
}

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

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

.contact-item p {
    line-height: 1.7;
    color: var(--text-color);
}

.contact-item .note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.languages-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.languages-list li {
    margin-bottom: 0.25rem;
}

.info-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

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

.info-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.directions-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.direction-item {
    padding: 1.25rem;
    background: var(--white);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.direction-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.company-data {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.data-item {
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: 4px;
}

/* Thank You Page */
.thank-you-section {
    padding: 4rem 0;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon img {
    width: 80px;
    margin: 0 auto;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.next-steps {
    margin-top: 3rem;
    text-align: center;
}

.next-steps h2 {
    margin-bottom: 2rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.legal-text h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.legal-text h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
}

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

.legal-text ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

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

/* Milestones and Team */
.milestones-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.milestone {
    display: flex;
    gap: 1.5rem;
}

.milestone-year {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.milestone-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-intro {
    margin-bottom: 2.5rem;
}

.team-intro p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.expertise-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.expertise-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
}

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

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.cta-content .btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-content .btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.footer-col p {
    line-height: 1.6;
    color: #b0b0b0;
}

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

.footer-col a {
    color: #b0b0b0;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    padding: 1.25rem;
    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;
    align-items: center;
}

.cookie-content p {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

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

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

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

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

.cookie-option strong {
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

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

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .content-split {
        flex-direction: row;
        align-items: center;
    }

    .content-text,
    .content-visual {
        flex: 1;
    }

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

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

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

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

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

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

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

    .stat-card {
        flex: 1;
    }

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

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

    .service-details {
        flex-direction: row;
    }

    .service-description,
    .service-pricing {
        flex: 1;
    }

    .service-pricing {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .price-card {
        flex: 0 0 calc(50% - 0.5rem);
    }

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

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

    .directions-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .direction-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

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

    .footer-col {
        flex: 1;
    }

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

    .cookie-content p {
        text-align: left;
        flex: 1;
    }

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

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }
}

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

    .section {
        padding: 4rem 0;
    }

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

    .value-card,
    .benefit-item {
        flex: 0 0 calc(33.333% - 1rem);
    }

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

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

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

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

    .expertise-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .expertise-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .price-card {
        flex: 0 0 calc(25% - 0.75rem);
    }
}