:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #27ae60;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

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

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

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

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

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

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

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

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

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

.hero-lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #2980b9;
    color: var(--white);
    transform: translateY(-2px);
}

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

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

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

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

section {
    padding: 4rem 0;
}

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

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.philosophy {
    background: var(--background-light);
}

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

.philosophy-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.service-card {
    flex: 1 1 300px;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-icon {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

.story-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

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

.story-highlights {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

.highlight-text {
    color: var(--text-light);
    font-size: 1.125rem;
}

.benefits {
    background: var(--background-light);
}

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

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

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

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

.testimonials h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    opacity: 0.9;
}

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

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

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

.step h3 {
    margin-bottom: 0.5rem;
}

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

.industry-card {
    flex: 1 1 250px;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
    transition: var(--transition);
}

.industry-card:hover {
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.insight {
    flex: 1 1 300px;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.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: 1.25rem;
    margin: 0;
    background: var(--background-light);
}

.cta {
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
}

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

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

.footer p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
}

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

.footer a {
    color: var(--white);
    opacity: 0.9;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

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

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

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

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

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

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

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

.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;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

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

.modal-body {
    padding: 1.5rem;
}

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

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

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

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

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

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

.lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

.content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.content-main {
    flex: 1 1 600px;
}

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

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

.value-icon {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.team-member {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
}

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

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

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

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

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

.approach-item {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

.stat {
    flex: 1 1 200px;
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

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

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

.service-item {
    flex: 1 1 300px;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    transition: var(--transition);
}

.service-item:hover {
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.service-header h4 {
    margin: 0;
    flex: 1 1 200px;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.service-category {
    margin-bottom: 3rem;
}

.category-title {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
}

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

.benefit-box {
    flex: 1 1 250px;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.process-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

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

.flow-icon {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1 1 400px;
}

.contact-details {
    flex: 1 1 400px;
}

.info-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

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

.details-box {
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.details-box h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-link {
    font-weight: 600;
    font-size: 1.125rem;
}

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

.company-description p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.directions-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.direction-item {
    flex: 1 1 250px;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

.reason-card {
    flex: 1 1 300px;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
}

.thank-you-hero {
    background: linear-gradient(135deg, var(--success-color) 0%, #229954 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

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

.thank-you-icon {
    color: var(--white);
    margin-bottom: 2rem;
}

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

.info-box {
    flex: 1 1 350px;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

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

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

.step-card .btn {
    margin-top: 1rem;
}

.cta-alt {
    background: var(--background-light);
    text-align: center;
}

.legal-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
}

.legal-date {
    opacity: 0.9;
    font-style: italic;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    .service-grid,
    .testimonials-grid,
    .industries-grid,
    .insights-grid,
    .values-grid,
    .stats-grid,
    .services-grid,
    .benefits-grid,
    .process-flow,
    .directions-content,
    .reasons-grid,
    .steps-grid {
        flex-direction: column;
    }

    .story-layout,
    .content-layout,
    .contact-layout,
    .info-boxes {
        flex-direction: column;
    }

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

    .timeline-year {
        min-width: auto;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}