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

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: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4f46e5;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

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

.nav-menu li a {
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #6366f1;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #475569;
    transition: all 0.3s ease;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #a5b4fc;
    text-decoration: underline;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit,
.cta-hero,
.btn-cta-large,
.btn-select-service,
.btn-primary-large,
.btn-secondary-large,
.sticky-cta-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary,
.btn-submit,
.cta-hero,
.btn-cta-large,
.btn-select-service,
.btn-primary-large {
    background-color: #6366f1;
    color: #ffffff;
}

.btn-primary:hover,
.btn-submit:hover,
.cta-hero:hover,
.btn-cta-large:hover,
.btn-select-service:hover,
.btn-primary-large:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary,
.btn-secondary-large {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover,
.btn-secondary-large:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Split-Screen */
.hero-split {
    min-height: 90vh;
    padding: 4rem 5%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-text p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    width: 100%;
}

.hero-image-placeholder svg {
    width: 100%;
    height: auto;
}

/* Split Container Pattern */
.split-container,
.philosophy-split > div,
.service-item-split,
.service-detail-layout,
.contact-layout,
.hero-split-content,
.team-split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.split-container.reverse,
.service-item-split.reverse,
.service-detail-item.reverse .service-detail-layout {
    flex-direction: column;
}

.split-visual,
.split-content,
.service-visual,
.service-content,
.service-detail-visual,
.service-detail-content {
    flex: 1;
}

.visual-block svg,
.service-visual svg,
.service-detail-visual svg {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Sections */
section {
    padding: 4rem 5%;
}

.philosophy-split,
.process-unique,
.services-showcase,
.form-section,
.testimonials-flow,
.why-us-asymmetric,
.final-cta-sticky,
.story-split,
.philosophy-section,
.values-asymmetric,
.approach-split,
.services-detailed,
.services-cta,
.contact-main-split,
.map-section,
.contact-faq,
.thanks-page,
.thanks-testimonial,
.legal-page {
    background-color: #ffffff;
}

.process-unique {
    background-color: #f8fafc;
}

.testimonials-flow {
    background-color: #f1f5f9;
}

.final-cta-sticky {
    background-color: #6366f1;
    color: #ffffff;
    text-align: center;
}

.final-cta-sticky h2 {
    color: #ffffff;
}

/* Process Grid */
.process-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.process-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.process-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
}

/* Services */
.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.service-item-split {
    margin-bottom: 4rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

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

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin: 1.5rem 0;
}

/* Form */
.form-container-split {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-intro {
    flex: 1;
}

.form-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-wrapper {
    flex: 1;
}

.contact-form {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.875rem;
}

/* Why Us */
.why-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.why-item h3 {
    color: #6366f1;
    margin-bottom: 0.75rem;
}

/* Footer */
.main-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 5%;
}

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

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

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

.footer-column ul li a {
    color: #cbd5e1;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

.sticky-cta.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-cta-btn {
    background-color: #6366f1;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.sticky-cta-btn:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

/* About Page */
.page-hero-split,
.services-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    padding: 6rem 5%;
    text-align: center;
}

.page-hero-split h1,
.services-hero h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-split-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text-side,
.hero-visual-side {
    flex: 1;
}

.timeline-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.philosophy-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.philosophy-card h3 {
    color: #6366f1;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.member-role {
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.values-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.value-large,
.value-small {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.value-large {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
}

.value-large h3 {
    color: #ffffff;
}

.cta-section-simple {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    text-align: center;
    padding: 5rem 5%;
}

.cta-simple-content h2 {
    color: #ffffff;
}

/* Services Page */
.service-badge {
    display: inline-block;
    background-color: #10b981;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-item {
    margin-bottom: 5rem;
}

.service-lead {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

.service-pricing-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.price-note {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    padding: 5rem 5%;
    text-align: center;
}

.contact-hero h1 {
    color: #ffffff;
}

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

.contact-info-block h3 {
    color: #6366f1;
    margin-bottom: 0.75rem;
}

.contact-visual-element {
    margin-top: 3rem;
}

.map-placeholder svg {
    width: 100%;
    height: 400px;
}

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

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.faq-item h3 {
    color: #6366f1;
    margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-page {
    min-height: 60vh;
    padding: 5rem 5%;
}

.thanks-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    margin: 2rem 0;
}

.thanks-lead {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: 600;
}

.thanks-next-steps {
    margin: 4rem 0;
    text-align: left;
}

.next-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 3rem 0;
}

.thanks-contact-info {
    margin-top: 3rem;
    color: #64748b;
}

.testimonial-thanks {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 12px;
}

.testimonial-thanks blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #475569;
    margin-bottom: 1rem;
}

.testimonial-thanks cite {
    color: #64748b;
    font-style: normal;
}

/* Legal Pages */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.legal-intro {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #475569;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

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

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

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

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

    .hero-content,
    .split-container,
    .service-item-split,
    .service-detail-layout,
    .contact-layout,
    .hero-split-content,
    .form-container-split {
        flex-direction: row;
        align-items: center;
    }

    .split-container.reverse,
    .service-item-split.reverse,
    .service-detail-item.reverse .service-detail-layout {
        flex-direction: row-reverse;
    }

    .process-grid,
    .testimonials-grid,
    .why-grid,
    .philosophy-grid,
    .team-members,
    .values-layout,
    .next-steps-grid,
    .faq-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .process-card,
    .testimonial-card,
    .why-item,
    .philosophy-card,
    .team-member,
    .step-card,
    .faq-item {
        flex: 1;
        min-width: calc(50% - 1rem);
    }

    .value-large {
        flex: 2;
        min-width: 100%;
    }

    .value-small {
        flex: 1;
        min-width: calc(50% - 1rem);
    }

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

    .footer-links {
        flex-direction: row;
        gap: 4rem;
    }

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

/* Desktop Styles */
@media (min-width: 1200px) {
    .process-card,
    .why-item,
    .philosophy-card {
        min-width: calc(25% - 1.5rem);
    }

    .testimonial-card,
    .team-member,
    .step-card,
    .faq-item {
        min-width: calc(33.333% - 1.34rem);
    }
}

/* Mobile Menu Active State */
.nav-menu.active {
    display: flex;
    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: 1.5rem 5%;
}