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

:root {
    --primary-color: #2c5f7a;
    --primary-dark: #1e4455;
    --secondary-color: #d4a373;
    --accent-color: #8fb8c7;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --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-dark);
    background-color: var(--bg-white);
}

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-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.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: 8px;
    z-index: 1001;
}

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

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

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

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

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 80px 20px 20px;
    list-style: none;
    transition: right 0.3s ease;
}

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

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

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
}

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

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

.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: var(--secondary-color);
    color: var(--bg-white);
}

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

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-visual {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 400px;
}

/* Page Hero */
.page-hero {
    padding: 60px 0 40px;
    background-color: var(--bg-light);
    text-align: center;
}

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

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

/* Sections */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* Grids and Cards */
.philosophy-grid,
.services-grid,
.benefits-grid,
.cases-grid,
.values-grid,
.team-members,
.industries-grid,
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-item,
.service-card,
.benefit-box,
.case-item,
.value-card,
.industry-item,
.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.philosophy-item:hover,
.service-card:hover,
.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.philosophy-icon,
.service-icon,
.value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-top: 1rem;
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.link-arrow:hover::after {
    margin-left: 0.75rem;
}

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

.process-step,
.process-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

.process-box {
    display: flex;
    gap: 1.5rem;
}

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

/* Statistics */
.statistics {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.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;
    color: var(--secondary-color);
}

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

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

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
}

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

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

.benefit-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

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

/* Case Examples */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 1.5rem;
}

.case-tags li {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

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

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

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

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.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-bottom: 1.5rem;
    color: var(--text-medium);
}

/* Services */
.service-detailed {
    margin-bottom: 3rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-title {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.service-large-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.service-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.service-description p {
    margin-bottom: 1.5rem;
}

.service-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-includes li {
    padding-left: 1.5rem;
    position: relative;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Team */
.team-member {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.member-info {
    margin-bottom: 1rem;
}

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

.member-role {
    color: var(--text-light);
    font-size: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

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

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

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-item a {
    font-weight: 600;
}

.map-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.directions {
    margin-top: 1.5rem;
}

.directions h4 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.directions p {
    margin-bottom: 1rem;
}

/* Company Info */
.company-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.company-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Thank You */
.thank-you-section {
    padding: 80px 0;
    text-align: center;
}

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

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

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

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

.step-card,
.meanwhile-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

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

/* Legal Content */
.legal-content {
    padding: 40px 0 80px;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
}

.legal-text h3 {
    margin-top: 2rem;
}

.legal-text p,
.legal-text ul {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    padding-left: 2rem;
}

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

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

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

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

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

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

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

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

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
}

.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: 2001;
    padding: 20px;
}

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

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

.cookie-modal-content h3 {
    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-medium);
    font-weight: normal;
}

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

/* Content Blocks */
.content-block,
.about-contact-content,
.approach-content,
.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p,
.about-contact-content p,
.approach-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.approach-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: none;
    }

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

    .nav-menu a {
        font-size: 1rem;
    }

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

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

    .philosophy-grid,
    .services-grid,
    .testimonials-grid,
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .philosophy-item,
    .service-card,
    .value-card,
    .testimonial {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

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

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

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

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

    .contact-details,
    .contact-map-placeholder {
        flex: 1;
    }

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

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

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

    .steps-grid,
    .meanwhile-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .step-card,
    .meanwhile-item {
        flex: 1 1 calc(33.333% - 1.33rem);
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 calc(33.333% - 1.33rem);
    }

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

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

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

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

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

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

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .hero {
        padding: 80px 0;
    }

    .hero .container {
        display: flex;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

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

    .hero-visual {
        flex: 1;
        margin-top: 0;
    }

    section {
        padding: 80px 0;
    }

    .philosophy-item,
    .service-card,
    .value-card {
        flex: 1 1 calc(33.333% - 1.33rem);
    }

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

    .testimonial {
        flex: 1 1 calc(33.333% - 1.33rem);
    }

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

    .company-item {
        flex: 1 1 calc(33.333% - 1rem);
    }

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

    .approach-text {
        flex: 2;
    }

    .approach-highlights {
        flex: 1;
    }

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

    .case-item {
        flex: 1 1 calc(33.333% - 1.33rem);
    }
}

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