* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7c;
    --primary-dark: #1a3a4d;
    --primary-light: #4a8bad;
    --accent-color: #d4a574;
    --text-dark: #2d2d2d;
    --text-medium: #5a5a5a;
    --text-light: #777777;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

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

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

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

.header {
    background-color: var(--background-white);
    box-shadow: 0 2px 8px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

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

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

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

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        box-shadow: 0 4px 8px var(--shadow-light);
        padding: 1rem 20px;
        gap: 0;
    }

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

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

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

.page-hero h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
}

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

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

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

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

.intro-section,
.story-section,
.philosophy-section,
.philosophy-detail-section,
.about-office,
.services-intro,
.process-comparison {
    background-color: var(--background-white);
}

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

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

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

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

.value-card {
    flex: 1 1 300px;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.value-icon {
    margin-bottom: 1.5rem;
}

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

.services-highlight,
.service-benefits {
    background-color: var(--background-white);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.service-item {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

.cta-block {
    text-align: center;
    margin-top: 2rem;
}

.stats-section {
    background-color: var(--primary-color);
    color: var(--background-white);
}

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

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

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

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

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

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

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

.step h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

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

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

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

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

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

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

.industry-item {
    flex: 1 1 calc(50% - 1rem);
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
}

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

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

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

.insight-card {
    flex: 1 1 calc(50% - 1rem);
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
}

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

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

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

.faq-item {
    background-color: var(--background-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow-light);
}

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

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    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: 1000px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
}

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

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

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

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

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

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-section .btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

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

.footer {
    background-color: var(--primary-dark);
    color: var(--background-white);
    padding: 3rem 0 1rem;
}

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

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

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

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: var(--background-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px var(--shadow-medium);
    z-index: 2000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

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

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

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

.modal-content {
    background-color: var(--background-white);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

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

.modal-body {
    padding: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

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

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

.cookie-option strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.cookie-option p {
    font-size: 0.95rem;
    margin: 0;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

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

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

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

.member-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

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

.member-role {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.team-member p {
    text-align: left;
}

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

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

.approach-item {
    margin-bottom: 3rem;
}

.approach-item:last-child {
    margin-bottom: 0;
}

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

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

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

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

.accreditations-section,
.commitment-section {
    background-color: var(--background-white);
}

.accreditations-grid,
.commitment-grid,
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.accreditation-item,
.commitment-item,
.benefit-item {
    flex: 1 1 calc(33.333% - 1.5rem);
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

.accreditation-item h3,
.commitment-item h3,
.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.services-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail {
    padding: 2.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-header h2 {
    margin: 0;
    text-align: left;
    flex: 1 1 300px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
}

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

.service-faq {
    background-color: var(--background-light);
}

.trust-indicators {
    background-color: var(--background-white);
}

.contact-info-section {
    background-color: var(--background-white);
}

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

.contact-card {
    flex: 1 1 300px;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

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

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

.direction-item {
    flex: 1 1 calc(50% - 1rem);
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
}

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

.company-info-section {
    background-color: var(--background-white);
}

.company-details {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

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

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

.contact-faq {
    background-color: var(--background-light);
}

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

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

.expectation-item {
    flex: 1 1 calc(50% - 1rem);
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

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

.thank-you-section {
    padding: 5rem 0;
}

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

.thank-you-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thank-you-content .lead {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.next-steps,
.helpful-links {
    text-align: left;
    margin-bottom: 3rem;
}

.next-steps h2,
.helpful-links h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.link-card {
    flex: 1 1 300px;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateX(4px);
}

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

.link-card p {
    margin: 0;
}

.legal-content {
    background-color: var(--background-white);
}

.legal-content .content-block {
    margin-bottom: 3rem;
}

.legal-content h2 {
    text-align: left;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
}

@media (max-width: 968px) {
    .industry-item,
    .insight-card,
    .trust-item,
    .team-member,
    .direction-item,
    .detail-item,
    .expectation-item,
    .accreditation-item,
    .commitment-item,
    .benefit-item {
        flex: 1 1 100%;
    }
}

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

    .hero-lead {
        font-size: 1.125rem;
    }

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

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .value-card,
    .testimonial,
    .stat-item {
        flex: 1 1 100%;
    }

    .step {
        flex-direction: column;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-year {
        width: auto;
    }

    .service-header {
        flex-direction: column;
    }

    .service-header h2 {
        text-align: left;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

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