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

:root {
    --color-primary: #c45a27;
    --color-primary-dark: #a04920;
    --color-primary-light: #d97a4a;
    --color-secondary: #2c5f4d;
    --color-secondary-dark: #1f4436;
    --color-text: #2d2d2d;
    --color-text-light: #5a5a5a;
    --color-background: #ffffff;
    --color-background-alt: #f8f6f3;
    --color-border: #e0ddd9;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

/* Header and Navigation */
.header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-background);
    list-style: none;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

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

.nav-menu li {
    margin-bottom: 1.5rem;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: var(--color-background);
    padding: 4rem 0;
}

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

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background-color: var(--color-background-alt);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.page-intro {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 800px;
}

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

.section-gray {
    background-color: var(--color-background-alt);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

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

.btn-text {
    background: none;
    color: var(--color-text-light);
    padding: 10px 16px;
}

.btn-text:hover {
    color: var(--color-text);
}

/* Links */
.link-arrow {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.link-arrow::after {
    content: ' →';
}

/* Philosophy Section */
.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.philosophy-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

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

.service-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.section-gray .service-card {
    background-color: var(--color-background);
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-background);
}

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

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

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

.stat-label {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-text .btn {
    margin-top: 1rem;
}

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

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--color-text-light);
    line-height: 1.7;
}

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

.testimonial {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--color-text);
}

.testimonial-author strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

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

/* Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.benefit-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.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 0 1.5rem 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

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

.cta-content h2 {
    color: var(--color-background);
    margin-bottom: 1rem;
}

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

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

.cta .btn-primary:hover {
    background-color: var(--color-background-alt);
    border-color: var(--color-background-alt);
}

/* Team */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.team-member {
    padding: 1.5rem 0;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Values */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.value-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-direction: column;
}

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

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

.timeline-content p {
    color: var(--color-text-light);
    line-height: 1.7;
}

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

.service-detail {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.section-gray .service-detail {
    background-color: var(--color-background);
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-header h3 {
    font-size: 1.4rem;
    color: var(--color-text);
}

.service-duration {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

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

.service-detail p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Comparison Table */
.comparison-table {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header {
    display: flex;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-weight: 600;
}

.comparison-header > div {
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.comparison-row {
    display: flex;
    border-top: 1px solid var(--color-border);
}

.comparison-row > div {
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.comparison-row > div:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-row:nth-child(even) {
    background-color: var(--color-background-alt);
}

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

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

.contact-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.contact-block p {
    line-height: 1.7;
    color: var(--color-text-light);
}

.contact-block a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-list {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.contact-description h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.contact-description p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Thank You Page */
.thank-you-section {
    padding: 5rem 0;
}

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

.thank-you-icon {
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thank-you-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.info-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Legal Content */
.legal-content .content-block {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

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

.cookie-settings-button {
    margin-top: 2rem;
    text-align: center;
}

/* Content Block */
.content-block p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

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

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

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

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

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

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

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

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-text);
    color: var(--color-background);
    padding: 1.5rem;
    z-index: 2000;
    display: none;
    box-shadow: 0 -2px 10px 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: 1.5rem;
}

.cookie-content p {
    margin: 0;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 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: 3000;
    padding: 20px;
}

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

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

.cookie-modal-content h2 {
    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: 4px;
    cursor: pointer;
}

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

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

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

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

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

    .hero h1 {
        font-size: 3rem;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

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

    .philosophy-item {
        flex: 1;
        min-width: 250px;
    }

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

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

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

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

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

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

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

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

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

    .team-member {
        flex: 0 0 calc(50% - 1.25rem);
    }

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

    .value-item {
        flex: 0 0 calc(50% - 1.25rem);
    }

    .timeline-item {
        flex-direction: row;
    }

    .timeline-year {
        flex-shrink: 0;
        width: 100px;
    }

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

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

    .contact-info {
        flex: 0 0 40%;
    }

    .contact-description {
        flex: 1;
    }

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

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

    .info-card {
        flex: 1;
    }

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

    .footer-column {
        flex: 1;
    }

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

    .cookie-content p {
        flex: 1;
    }

    .cookie-buttons {
        flex-direction: row;
        flex-shrink: 0;
    }

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

    .comparison-row > div:first-child {
        flex: 1.5;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0;
    }

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

    .section h2 {
        font-size: 2.5rem;
    }

    .philosophy-item {
        flex: 0 0 calc(33.333% - 1.67rem);
    }

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

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

    .stat-item {
        flex: 1;
    }

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

    .testimonial {
        flex: 1;
    }

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

    .benefit-item {
        flex: 0 0 calc(33.333% - 1.34rem);
    }

    .team-member {
        flex: 0 0 calc(33.333% - 1.67rem);
    }

    .values-list {
        flex-direction: column;
    }

    .value-item {
        flex: auto;
    }

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

    .info-card {
        flex: 1;
    }
}