:root {
    --primary-color: #2c1a4d;
    --secondary-color: #8b5fbf;
    --accent-color: #d4a5ff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #757575;
    --bg-light: #f8f6fa;
    --bg-white: #ffffff;
    --border-color: #e0d4ed;
    --success-color: #4caf50;
    --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-dark);
    background-color: var(--bg-white);
}

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

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

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

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

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

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

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

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

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

.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

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

.hero-content {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 500px;
    width: 100%;
}

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

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

.btn-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 26, 77, 0.3);
}

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

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

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-intro {
    max-width: 800px;
    margin-bottom: 3rem;
}

.section-intro.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.philosophy {
    background: var(--bg-white);
}

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

.philosophy-content p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.services-highlight {
    background: var(--bg-light);
}

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

.service-card {
    flex: 1 1 calc(50% - 1rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.benefits {
    background: var(--bg-white);
}

.benefits-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.benefits-text {
    flex: 1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.benefits-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.benefits-visual img {
    max-width: 400px;
}

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

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

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

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

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
}

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

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

.step {
    flex: 1 1 calc(25% - 1.5rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

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

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

.testimonial {
    flex: 1 1 calc(33.333% - 1.5rem);
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

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

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

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

.industry-item {
    flex: 1 1 calc(50% - 1rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
}

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

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

.insight-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.insight-card h3 {
    color: var(--primary-color);
}

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

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

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--secondary-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: 500px;
}

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

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

.cta-content h2,
.cta-content p {
    color: white;
}

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

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

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

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: white;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 2000;
    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;
}

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

.cookie-content a {
    color: var(--accent-color);
}

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

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

.modal.show {
    display: flex;
}

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

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

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

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

.modal-body {
    padding: 1.5rem;
}

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

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

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

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

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

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

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

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

.lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
}

.story {
    background: var(--bg-white);
}

.story-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-text {
    flex: 1.5;
}

.story-visual {
    flex: 1;
}

.story-visual img {
    max-width: 400px;
}

.mission {
    background: var(--bg-light);
}

.mission-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.mission-item {
    flex: 1 1 calc(33.333% - 1.5rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.team {
    background: var(--bg-white);
}

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

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

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

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

.approach {
    background: var(--bg-light);
}

.approach-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.approach-block {
    flex: 1 1 calc(50% - 1rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
}

.milestones {
    background: var(--bg-white);
}

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

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

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

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 80px;
}

.timeline-content {
    flex: 1;
}

.principles {
    background: var(--bg-light);
}

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

.principle-card {
    flex: 1 1 calc(50% - 1rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
}

.achievements {
    background: var(--bg-white);
}

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

.achievement-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.achievement-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 80px;
}

.achievement-details {
    flex: 1;
}

.achievement-details h3 {
    margin-bottom: 0.5rem;
}

.achievement-details p {
    margin: 0;
}

.services-main {
    background: var(--bg-white);
}

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

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

.service-detail {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
}

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

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

.service-title-block {
    flex: 1;
}

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

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-features {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

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

.benefit-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.benefit-block {
    flex: 1 1 calc(50% - 1rem);
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
}

.service-process {
    background: var(--bg-white);
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flow-step {
    flex: 1;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

.flow-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
}

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

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

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

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

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

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

.contact-cta {
    background: var(--bg-light);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

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

.company-details p {
    margin-bottom: 1.5rem;
}

.thank-you-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

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

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

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.next-steps {
    background: var(--bg-white);
}

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

.step-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

.legal-page {
    background: var(--bg-white);
}

.legal-page .container {
    max-width: 900px;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content {
    line-height: 1.8;
}

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

.legal-section h2 {
    color: var(--primary-color);
    margin-top: 2rem;
}

.legal-section h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

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

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

.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        max-width: 300px;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        height: calc(100vh - 70px);
        align-items: flex-start;
    }

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

    .mobile-toggle {
        display: flex;
    }

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

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

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

    .hero .container {
        flex-direction: column;
    }

    .benefits-wrapper {
        flex-direction: column;
    }

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

    .service-card {
        flex: 1 1 100%;
    }

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

    .testimonial {
        flex: 1 1 100%;
    }

    .industry-item {
        flex: 1 1 100%;
    }

    .insight-card {
        flex: 1 1 100%;
    }

    .contact-grid {
        flex-direction: column;
    }

    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

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

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

@media (max-width: 640px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .step {
        flex: 1 1 100%;
    }

    .team-member {
        flex: 1 1 100%;
    }

    .mission-item {
        flex: 1 1 100%;
    }

    .approach-block {
        flex: 1 1 100%;
    }

    .principle-card {
        flex: 1 1 100%;
    }

    .benefit-block {
        flex: 1 1 100%;
    }

    .step-card {
        flex: 1 1 100%;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .stats-grid {
        flex-direction: column;
    }
}