/* ========================================
   Reset & 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #ffffff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   Layout
   ======================================== */

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

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav {
    display: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #8b6f47;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #2c2c2c;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav.active .nav-link {
    padding: 0.75rem 1.25rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: #8b6f47;
    color: #ffffff;
}

.btn-primary:hover {
    background: #6f5838;
}

.btn-secondary {
    background: #e8e5e0;
    color: #2c2c2c;
}

.btn-secondary:hover {
    background: #d4cfc8;
}

.btn-light {
    background: #ffffff;
    color: #2c2c2c;
}

.btn-light:hover {
    background: #f5f5f5;
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f2ed 0%, #e8e5e0 100%);
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: 4rem 0;
}

.page-header {
    background: #f9f8f6;
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.15rem;
    color: #4a4a4a;
    max-width: 700px;
}

.section-intro {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

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

.content-block h2 {
    margin-bottom: 1.5rem;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* ========================================
   Service Cards
   ======================================== */

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

/* ========================================
   Service Details
   ======================================== */

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

.service-detail {
    background: #ffffff;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b6f47;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: disc;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ========================================
   Values & Principles
   ======================================== */

.values-grid,
.principles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-item,
.principle {
    background: #f9f8f6;
    padding: 2rem;
    border-radius: 8px;
}

.value-item h3,
.principle h3 {
    color: #8b6f47;
    margin-bottom: 0.75rem;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
    background: #f9f8f6;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.testimonial {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #8b6f47;
}

.testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 500;
    color: #6a6a6a;
}

/* ========================================
   Process Steps
   ======================================== */

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

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

.step-number {
    min-width: 48px;
    width: 48px;
    height: 48px;
    background: #8b6f47;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

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

/* ========================================
   Statistics
   ======================================== */

.statistics {
    background: #1a1a1a;
    color: #ffffff;
}

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

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #d0d0d0;
}

/* ========================================
   Insights
   ======================================== */

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

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

.insight-card h3 {
    color: #8b6f47;
    margin-bottom: 1rem;
}

/* ========================================
   FAQ
   ======================================== */

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

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

.faq-question {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f8f6;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #8b6f47;
    transition: transform 0.3s;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* ========================================
   Team
   ======================================== */

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

.team-member {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.role {
    display: block;
    color: #8b6f47;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
    margin-top: 2.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.timeline-year {
    min-width: 70px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b6f47;
}

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

/* ========================================
   Industries & Grids
   ======================================== */

.industries-grid,
.approach-content,
.benefits-grid,
.expectations-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.industry-item,
.approach-item,
.benefit-item,
.expectation-item {
    background: #f9f8f6;
    padding: 1.5rem;
    border-radius: 8px;
}

.industry-item h3,
.approach-item h3,
.benefit-item h3,
.expectation-item h3 {
    color: #8b6f47;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ========================================
   Contact
   ======================================== */

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2.5rem;
}

.contact-block h2 {
    margin-bottom: 1.5rem;
}

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

.contact-detail h3 {
    font-size: 1.1rem;
    color: #8b6f47;
    margin-bottom: 0.5rem;
}

.note {
    font-size: 0.95rem;
    color: #6a6a6a;
    margin-top: 0.5rem;
}

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

.location-method h3 {
    margin-bottom: 1rem;
}

.location-method ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.location-method li {
    margin-bottom: 0.5rem;
}

.location-note {
    background: #f9f8f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* ========================================
   Comparison Table
   ======================================== */

.comparison-table {
    margin-top: 2.5rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comparison-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e8e5e0;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 1.25rem;
}

.comparison-header {
    background: #8b6f47;
    color: #ffffff;
    font-weight: 600;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    background: linear-gradient(135deg, #8b6f47 0%, #6f5838 100%);
    color: #ffffff;
}

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

.cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

/* ========================================
   Thank You Page
   ======================================== */

.thank-you-content {
    padding: 5rem 0;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #f9f8f6;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.thank-you-box h1 {
    margin-bottom: 1.5rem;
}

.thank-you-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-page {
    padding: 3rem 0;
}

.legal-page .container {
    max-width: 900px;
}

.last-updated {
    color: #6a6a6a;
    margin-bottom: 2rem;
}

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

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

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.legal-content a {
    color: #8b6f47;
    text-decoration: underline;
}

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

.cookie-table tr {
    border-bottom: 1px solid #e8e5e0;
}

.cookie-table td {
    padding: 1rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #1a1a1a;
    color: #d0d0d0;
    padding: 3rem 0 1.5rem;
}

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

.footer-column h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: #d0d0d0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8b6f47;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

/* ========================================
   Cookie Banner
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

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

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

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

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

.cookie-modal-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

.cookie-modal-content h2 {
    margin-bottom: 1.5rem;
}

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

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

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

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

/* ========================================
   Tablet & Desktop Styles
   ======================================== */

@media (min-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

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

    .mobile-menu-toggle {
        display: none;
    }

    .nav {
        display: flex;
        gap: 0.5rem;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .contact-grid {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-block {
        flex: 1;
    }

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

    .location-method {
        flex: 1;
    }

    .comparison-row {
        flex-direction: row;
    }

    .comparison-cell {
        flex: 1;
    }

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

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

    .footer-column {
        flex: 1;
    }

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

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

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        padding: 6rem 0;
    }

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

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

    .industries-grid,
    .benefits-grid {
        flex-direction: row;
    }

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

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

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