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

:root {
    --primary-color: #2c5f7a;
    --primary-dark: #1e4458;
    --primary-light: #3d7a98;
    --accent-color: #5a9bb5;
    --text-color: #333;
    --text-light: #666;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --background-section: #e8f4f8;
    --border-color: #ddd;
    --success-color: #4a7c59;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    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);
    background: var(--background);
}

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

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

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

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

/* Header and Navigation */
.header {
    background: var(--background);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

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

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

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

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    list-style: none;
    margin-top: 1rem;
}

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

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--background-alt);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background: var(--background-section);
    padding: 3rem 0;
    text-align: center;
}

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

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

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

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

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

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

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

section h2 {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

section h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

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

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-block ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Philosophy Section */
.philosophy {
    background: var(--background-alt);
}

/* Benefits Section */
.benefits {
    background: var(--background-section);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
}

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

/* Stats Section */
.stats {
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Featured Service */
.featured-service {
    background: var(--background-alt);
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.featured-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.featured-visual {
    text-align: center;
}

.featured-visual svg {
    max-width: 100%;
    height: auto;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

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

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

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

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

/* Insights */
.insights-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

/* FAQ */
.faq {
    background: var(--background-alt);
}

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

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

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

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

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 700;
}

.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: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    line-height: 1.7;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

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

/* Services Page */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.service-card.featured {
    border: 3px solid var(--accent-color);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-header {
    background: var(--background-section);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-header h2 {
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
}

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

.price-note {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

.service-content {
    padding: 2rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--background-alt);
}

.service-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.25rem;
}

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

/* Service Benefits */
.service-benefits {
    background: var(--background-section);
}

.benefits-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

/* Process Steps Horizontal */
.process-steps-horizontal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

/* Contact Page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

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

.info-block p {
    line-height: 1.7;
}

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

/* About Page */
.story {
    background: var(--background-alt);
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

/* Team */
.team {
    background: var(--background-section);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.member-placeholder {
    margin: 0 auto 1.5rem;
    width: 120px;
    height: 120px;
}

.member-role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Timeline */
.milestones {
    background: var(--background-alt);
}

.timeline {
    max-width: 800px;
    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(--primary-color);
    min-width: 80px;
}

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

/* Partners */
.partners-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

/* Thank You Page */
.thank-you-hero {
    background: var(--background-section);
    padding: 4rem 0;
}

.thank-you-content {
    text-align: center;
}

.success-icon {
    margin: 0 auto 2rem;
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.explore-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.explore-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

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

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

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

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

/* Legal Pages */
.legal-content {
    background: var(--background-alt);
}

.legal-content .content-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.legal-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

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

.cookies-table th {
    background: var(--background-section);
    font-weight: 600;
    color: var(--primary-color);
}

.cookies-table tr:nth-child(even) {
    background: var(--background-alt);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

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

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

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

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

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

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

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

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

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

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

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

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

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 1.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-direction: column;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }

    .nav-menu li {
        margin-left: 2rem;
    }

    .nav-link {
        border-bottom: none;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        background: transparent;
        border-bottom-color: var(--primary-color);
    }

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

    .benefits-grid,
    .testimonials-grid,
    .insights-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-card,
    .testimonial-card,
    .insight-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1 1 calc(25% - 1rem);
    }

    .featured-content {
        flex-direction: row;
        align-items: center;
    }

    .featured-text,
    .featured-visual {
        flex: 1;
    }

    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

    .contact-info,
    .contact-description {
        flex: 1;
    }

    .values-grid,
    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .value-card,
    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

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

    .footer-section {
        flex: 1;
    }

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

    .cookie-buttons {
        flex-wrap: nowrap;
    }

    .modal-buttons {
        flex-direction: row;
    }

    .process-steps-horizontal {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .links-grid {
        flex-direction: row;
    }

    .explore-card {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .benefit-card,
    .insight-item {
        flex: 1 1 calc(33.333% - 1rem);
    }

    .process-step {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .value-card,
    .team-member {
        flex: 1 1 calc(33.333% - 1rem);
    }

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

    .step-item {
        flex: 1 1 calc(25% - 1.5rem);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .cta {
        display: none;
    }
}