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

:root {
    --primary-color: #2c5f7f;
    --primary-dark: #1a3a4d;
    --primary-light: #e8f4f8;
    --secondary-color: #5a8ba5;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

ul, ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}

/* Header and Navigation */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

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

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    list-style: none;
    padding: var(--spacing-lg) var(--spacing-md);
    margin: 0;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 200;
}

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

.nav-menu li {
    margin-bottom: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
    padding: var(--spacing-xs) 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

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

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

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

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background-color: var(--primary-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: var(--spacing-lg) 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md) auto;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    background-color: var(--bg-light);
}

.features-grid h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

/* Content Blocks */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-section,
.services-intro,
.story-section {
    background-color: var(--bg-white);
}

.philosophy-section h2,
.story-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

/* Two Column Layout */
.two-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.column-text,
.column-graphic {
    width: 100%;
}

.column-graphic svg {
    max-width: 100%;
    height: auto;
}

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

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

.stats-section h2 {
    color: var(--bg-white);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
}

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

/* Service Cards */
.services-preview,
.services-list {
    background-color: var(--bg-white);
}

.services-preview h2,
.services-list h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.service-cards,
.product-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-card,
.product-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.service-card h3,
.product-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: var(--spacing-sm);
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.testimonial {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

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

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

.process-section h2,
.process-detail h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.process-steps,
.process-steps-horizontal {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.process-step,
.step-horizontal {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.step-number,
.step-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

/* Values and Benefits */
.values-section,
.benefits-section,
.values-extended {
    background-color: var(--bg-light);
}

.values-section h2,
.benefits-section h2,
.values-extended h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.values-list,
.benefits-list,
.value-blocks {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.value-item,
.benefit-item,
.value-block {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.value-item h3,
.benefit-item h3,
.value-block h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Philosophy Grid */
.philosophy-detail {
    background-color: var(--bg-white);
}

.philosophy-detail h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.philosophy-item {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.philosophy-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Team Section */
.team-section {
    background-color: var(--bg-light);
}

.team-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.team-member {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.team-member .role {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

/* Timeline */
.milestones-section {
    background-color: var(--bg-white);
}

.milestones-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.timeline-item {
    padding: var(--spacing-md);
    border-left: 3px solid var(--primary-color);
    background-color: var(--bg-light);
    border-radius: 4px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.timeline-item h3 {
    margin-bottom: var(--spacing-sm);
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-light);
}

.trust-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.trust-item {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
}

.trust-item svg {
    margin-bottom: var(--spacing-sm);
}

.trust-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding-bottom: var(--spacing-sm);
}

.faq-answer p {
    margin-top: var(--spacing-xs);
}

/* Contact Section */
.contact-main {
    background-color: var(--bg-white);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info,
.contact-description {
    width: 100%;
}

.contact-block {
    margin-bottom: var(--spacing-md);
}

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

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

.contact-description h2,
.contact-description h3 {
    margin-top: var(--spacing-md);
}

.company-info-section {
    background-color: var(--bg-light);
}

.company-info-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.company-details {
    max-width: 700px;
    margin: 0 auto;
}

.contact-faq,
.directions-section {
    background-color: var(--bg-white);
}

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

/* Thank You Page */
.thank-you-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

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

.success-icon {
    margin-bottom: var(--spacing-md);
}

.thank-you-content h1 {
    margin-bottom: var(--spacing-sm);
}

.thank-you-content .lead {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.next-steps {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
}

.action-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* Legal Content */
.legal-content {
    background-color: var(--bg-white);
}

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

.legal-text h2 {
    margin-top: var(--spacing-lg);
    color: var(--primary-color);
}

.legal-text h3 {
    margin-top: var(--spacing-md);
}

.legal-text em {
    color: var(--text-light);
}

.cookie-table {
    width: 100%;
    margin: var(--spacing-sm) 0;
    border: 1px solid var(--border-color);
    border-collapse: collapse;
}

.cookie-table td {
    padding: var(--spacing-xs);
    border: 1px solid var(--border-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

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

.cta-section .btn-primary:hover {
    background-color: var(--primary-light);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.footer-column p {
    color: var(--bg-light);
}

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

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--bg-light);
}

.footer-column a:hover {
    color: var(--bg-white);
}

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

.footer-bottom p {
    color: var(--bg-light);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-md);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    z-index: 300;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.cookie-content p {
    color: var(--bg-light);
    margin: 0;
    text-align: center;
}

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

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.modal-content {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

.modal-content h3 {
    margin-bottom: var(--spacing-md);
}

.cookie-options {
    margin-bottom: var(--spacing-md);
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.modal-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

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

    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .nav-menu li {
        margin-bottom: 0;
    }

    .features {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

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

    .stat-item {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .service-cards,
    .product-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .product-card {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .testimonials {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

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

    .process-step {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .values-list,
    .benefits-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .value-item,
    .benefit-item {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

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

    .philosophy-item {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .team-members {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .team-member {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

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

    .trust-item {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

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

    .contact-info {
        flex: 1;
    }

    .contact-description {
        flex: 1.5;
    }

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

    .footer-column {
        flex: 1;
    }

    .action-links {
        flex-direction: row;
        justify-content: center;
    }

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

    .cookie-content p {
        text-align: left;
    }
}

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

    h2 {
        font-size: 2.25rem;
    }

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

    .two-column {
        flex-direction: row;
        align-items: center;
    }

    .column-text,
    .column-graphic {
        flex: 1;
    }

    .features {
        flex-wrap: nowrap;
    }

    .feature-card {
        flex: 1;
    }

    .stats-grid {
        flex-wrap: nowrap;
    }

    .stat-item {
        flex: 1;
    }

    .service-card {
        flex: 1 1 calc(33.333% - var(--spacing-md));
    }

    .product-card {
        flex: 1 1 calc(33.333% - var(--spacing-md));
    }

    .testimonials {
        flex-wrap: nowrap;
    }

    .testimonial {
        flex: 1;
    }

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

    .process-step,
    .step-horizontal {
        flex: 1;
    }

    .value-blocks {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .value-block {
        flex: 1 1 calc(50% - var(--spacing-md));
    }

    .trust-grid {
        flex-wrap: nowrap;
    }

    .trust-item {
        flex: 1;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}