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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --text-dark: #222;
    --text-light: #555;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #ddd;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    font-size: 16px;
}

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

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

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

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    color: white;
    min-width: 250px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-accept, .btn-reject {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-accept:hover {
    background: #27ae60;
}

.btn-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Navigation */
.main-nav {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Split Container - Core Archetype Pattern */
.split-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
    min-width: 300px;
}

.split-visual {
    flex: 1;
    min-width: 300px;
}

.split-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Hero Split */
.hero-split {
    display: flex;
    min-height: 600px;
}

.split-left,
.split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.split-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-content {
    max-width: 550px;
}

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

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    padding: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons and CTAs */
.cta-primary,
.cta-secondary,
.cta-inline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

.cta-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

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

.cta-inline {
    background: var(--accent-color);
    color: white;
    margin-top: 1rem;
}

.cta-inline:hover {
    background: #c0392b;
}

/* Sections */
section {
    padding: 4rem 0;
}

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

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

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

.service-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

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

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

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

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

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card p {
    color: white;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Process Steps */
.process-section {
    background: var(--bg-white);
}

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

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

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

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

/* Form Section */
.consultation-form-section {
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* CTA Final Section */
.cta-final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-final h2 {
    color: white;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

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

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

.sticky-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: var(--transition);
}

.sticky-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Page Hero */
.page-hero {
    background: var(--bg-light);
    padding: 4rem 0;
}

/* Services Detail Page */
.services-detail {
    padding: 3rem 0;
}

.service-item {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.expertise-list {
    margin: 1.5rem 0;
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.step-card {
    flex: 1;
    min-width: 250px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

/* Pricing Transparency */
.pricing-transparency {
    padding: 4rem 0;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    text-align: center;
    padding: 4rem 0;
}

/* Contact Page */
.contact-info {
    padding: 3rem 0;
}

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

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

.detail-item a {
    color: var(--secondary-color);
    font-weight: 600;
}

.detail-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.visit-us {
    background: var(--bg-light);
    padding: 4rem 0;
}

.visit-info {
    margin-top: 2rem;
}

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

.direction-item {
    flex: 1;
    min-width: 250px;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.direction-item h4 {
    margin-bottom: 0.75rem;
}

.consultation-section {
    padding: 4rem 0;
}

.faq-contact {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.faq-item {
    flex: 1;
    min-width: 280px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    margin-bottom: 1rem;
}

.map-section {
    padding: 4rem 0;
}

.map-placeholder {
    background: var(--bg-light);
    padding: 4rem;
    text-align: center;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

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

/* Thanks Page */
.thanks-hero {
    background: var(--bg-light);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.thanks-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.confirmation-details {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    text-align: left;
}

.confirmation-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.confirmation-text h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.next-steps .step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.next-steps .step-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

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

.service-selected {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.while-you-wait {
    padding: 4rem 0;
}

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

.resource-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.urgent-contact {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: var(--bg-light);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    margin-top: 1.5rem;
    border-top: none;
    padding-top: 0;
}

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

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

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

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

/* About Page Specific */
.story-section {
    padding: 4rem 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.philosophy-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.values-section {
    padding: 4rem 0;
}

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

.value-card {
    flex: 1;
    min-width: 250px;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

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

.expertise-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.local-commitment {
    padding: 4rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.local-commitment p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .split-container,
    .split-container.reverse {
        flex-direction: column;
    }

    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .services-grid,
    .testimonial-grid,
    .steps-grid,
    .directions-grid,
    .faq-grid,
    .resources-grid,
    .values-grid {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

    .form-wrapper {
        padding: 2rem;
    }

    .legal-content {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .price,
    .service-price {
        font-size: 1.75rem;
    }
}
