/* ===================================
   neoncrest-core - Main Stylesheet
   Mobile-first, Flexbox-based
   =================================== */

/* CSS Variables */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-primary-bg: #dbeafe;
    --color-primary-bg-light: #e0e7ff;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-white: #ffffff;
    --color-bg: #f9fafb;
    --color-bg-alt: #f3f4f6;
    --color-border: #e5e7eb;
    --color-success: #22c55e;
    --color-success-bg: #dcfce7;
    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;
    --color-error: #ef4444;
    --color-error-bg: #fee2e2;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --transition: 0.3s ease;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 16px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul, ol {
    list-style: none;
}

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

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

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.nav {
    height: var(--header-height);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

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

.logo-icon {
    flex-shrink: 0;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: var(--shadow);
}

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

.nav-menu li {
    border-bottom: 1px solid var(--color-border);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--color-text);
    font-weight: 500;
}

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

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
}

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

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

.btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

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

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

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

/* ===================================
   Sections - General
   =================================== */
main {
    padding-top: var(--header-height);
}

section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

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

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

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

.hero-visual {
    display: none;
}

/* Page Hero */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--color-primary-bg-light) 0%, var(--color-white) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-small {
    padding: 50px 0 30px;
}

/* ===================================
   Philosophy Section
   =================================== */
.philosophy-section {
    background: var(--color-white);
}

.philosophy-content {
    margin-bottom: 40px;
}

.philosophy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.philosophy-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.philosophy-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.value-icon {
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ===================================
   Services Highlight
   =================================== */
.services-highlight {
    background: var(--color-bg);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link::after {
    content: '→';
    transition: transform var(--transition);
}

.service-link:hover::after {
    transform: translateX(4px);
}

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

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-step {
    display: flex;
    gap: 20px;
}

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

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

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

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--color-text);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
}

.author-location {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ===================================
   Industries Section
   =================================== */
.industries-section {
    background: var(--color-white);
}

.industries-content {
    margin-bottom: 32px;
}

.industries-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.industries-content p {
    color: var(--color-text-light);
}

.industries-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.industry-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.industry-icon {
    flex-shrink: 0;
}

.industry-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.industry-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ===================================
   Insights Section
   =================================== */
.insights-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.insights-section .section-header h2 {
    color: var(--color-white);
}

.insights-section .section-header p {
    color: rgba(255,255,255,0.8);
}

.insights-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.insight-card {
    padding: 28px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.insight-stat {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.insight-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-answer.active {
    display: block;
}

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

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

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

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.cta-alt {
    background: var(--color-bg);
}

.cta-alt h2 {
    color: var(--color-text);
}

.cta-alt p {
    color: var(--color-text-light);
}

/* ===================================
   Story Section
   =================================== */
.story-section {
    background: var(--color-white);
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.story-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.story-visual {
    display: none;
}

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

.milestones-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.milestone {
    display: flex;
    gap: 20px;
}

.milestone-year {
    flex-shrink: 0;
    width: 70px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.milestone-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

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

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.team-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.team-avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-lg);
}

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

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-desc {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* ===================================
   Values Section
   =================================== */
.values-section {
    background: var(--color-bg);
}

.values-intro {
    margin-bottom: 40px;
}

.values-intro h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.values-intro p {
    color: var(--color-text-light);
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-block {
    padding: 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
}

.value-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.value-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ===================================
   Approach Section
   =================================== */
.approach-section {
    background: var(--color-white);
}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.approach-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.approach-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.approach-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.approach-feature span {
    font-weight: 500;
}

/* ===================================
   Achievements
   =================================== */
.achievements-section {
    background: var(--color-bg);
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.achievement-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
}

.achievement-icon {
    margin: 0 auto 20px;
}

.achievement-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.achievement-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ===================================
   Services Page
   =================================== */
.services-intro {
    padding: 40px 0;
    background: var(--color-white);
}

.intro-content {
    max-width: 800px;
}

.intro-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-detailed {
    background: var(--color-bg);
}

.services-detailed .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-detail-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-detail-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg);
}

.service-detail-title h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.service-detail-body {
    padding: 24px;
}

.service-detail-body > p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-includes h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-includes ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-includes li {
    color: var(--color-text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-timing {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Pricing Note */
.pricing-note {
    padding: 40px 0;
    background: var(--color-white);
}

.note-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: var(--color-warning-bg);
    border-radius: var(--radius-lg);
}

.note-icon {
    flex-shrink: 0;
}

.note-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* Comparison Section */
.comparison-section {
    background: var(--color-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    min-width: 600px;
}

.comparison-header,
.comparison-row {
    display: flex;
}

.comparison-cell {
    flex: 1;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-cell.header-cell {
    font-weight: 600;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-border);
}

.comparison-cell.label-cell {
    flex: 1.5;
    justify-content: flex-start;
    text-align: left;
    font-weight: 500;
}

.comparison-cell.highlight {
    background: var(--color-primary-bg);
}

.comparison-row {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.comparison-row.price-row {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Process Simple */
.process-simple {
    background: var(--color-white);
}

.process-steps-horizontal {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step-h {
    text-align: center;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.step-icon {
    margin: 0 auto 16px;
}

.process-step-h h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step-h p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.step-arrow {
    display: none;
}

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

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 28px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.contact-card a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-note {
    font-size: 0.875rem;
    margin-top: 8px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
}

.hours-row span:first-child {
    color: var(--color-text-light);
}

.contact-description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.contact-what-include {
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.contact-what-include h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-what-include ul {
    list-style: disc;
    padding-left: 20px;
}

.contact-what-include li {
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.contact-response {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--color-success-bg);
    border-radius: var(--radius);
}

.contact-response p {
    color: var(--color-text);
    font-size: 0.9375rem;
    margin: 0;
}

/* Directions Section */
.directions-section {
    background: var(--color-bg);
}

.directions-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.directions-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.direction-block {
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
}

.direction-icon {
    margin-bottom: 16px;
}

.direction-block h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* Company Info Section */
.company-info-section {
    background: var(--color-white);
}

.company-info-card {
    padding: 32px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.company-info-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

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

.detail-label {
    color: var(--color-text-light);
}

.detail-value {
    font-weight: 500;
}

.company-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: center;
}

/* ===================================
   Thank You Page
   =================================== */
.thank-you-section {
    min-height: calc(100vh - var(--header-height) - 200px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

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

.thank-you-icon {
    margin-bottom: 32px;
}

.thank-you-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.thank-you-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-light);
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.while-waiting {
    background: var(--color-bg);
    text-align: center;
}

.while-waiting h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.while-waiting > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.waiting-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.waiting-card {
    display: block;
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: box-shadow var(--transition);
}

.waiting-card:hover {
    box-shadow: var(--shadow);
}

.waiting-icon {
    margin: 0 auto 20px;
}

.waiting-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.waiting-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

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

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

.legal-text h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.legal-text h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.legal-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-text ul {
    list-style: disc;
}

.legal-text ol {
    list-style: decimal;
}

.legal-text li {
    color: var(--color-text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-text li ul,
.legal-text li ol {
    margin-top: 8px;
}

.legal-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-style: italic;
}

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

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    text-align: center;
}

/* ===================================
   Cookie Banner & Modal
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-light);
    transition: color var(--transition);
}

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

.modal-body {
    padding: 24px;
}

.cookie-option {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-option-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.cookie-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-success);
    background: var(--color-success-bg);
    padding: 4px 10px;
    border-radius: 20px;
}

.cookie-option p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-border);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
    background: var(--color-primary);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
}

.modal-footer .btn {
    flex: 1;
    min-width: 140px;
}

/* ===================================
   Responsive - Tablet
   =================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    section {
        padding: 80px 0;
    }

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

    /* Navigation */
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        padding: 0;
        box-shadow: none;
        gap: 32px;
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 8px 0;
    }

    /* Hero */
    .hero {
        padding: 100px 0 80px;
    }

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

    .hero-visual {
        display: block;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
    }

    /* Page Hero */
    .page-hero {
        padding: 80px 0 50px;
    }

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

    /* Grids */
    .philosophy-values,
    .services-grid,
    .testimonials-grid,
    .industries-list,
    .insights-grid,
    .values-grid,
    .achievements-grid,
    .directions-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .philosophy-values .value-card,
    .services-grid .service-card,
    .industries-list .industry-item,
    .insights-grid .insight-card,
    .values-grid .value-block,
    .achievements-grid .achievement-card,
    .directions-grid .direction-block {
        flex: 1 1 calc(50% - 12px);
    }

    .testimonials-grid .testimonial-card {
        flex: 1 1 100%;
    }

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

    .team-card {
        flex: 1 1 calc(50% - 12px);
    }

    /* Story */
    .story-grid {
        flex-direction: row;
        align-items: center;
    }

    .story-content {
        flex: 1;
    }

    .story-visual {
        display: block;
        flex: 1;
    }

    /* Approach */
    .approach-grid {
        flex-direction: row;
    }

    .approach-content,
    .approach-features {
        flex: 1;
    }

    /* Contact */
    .contact-grid {
        flex-direction: row;
    }

    .contact-info-block {
        flex: 0 0 340px;
    }

    .contact-description {
        flex: 1;
    }

    /* Service Detail */
    .service-detail-header {
        flex-direction: row;
        align-items: center;
    }

    /* Note Card */
    .note-card {
        flex-direction: row;
        align-items: flex-start;
    }

    /* Process Horizontal */
    .process-steps-horizontal {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .process-step-h {
        flex: 1;
        max-width: 200px;
    }

    .step-arrow {
        display: flex;
        align-items: center;
        padding-top: 40px;
    }

    /* Thank You */
    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

    .waiting-grid {
        flex-direction: row;
        max-width: 800px;
    }

    .waiting-card {
        flex: 1;
    }

    /* Footer */
    .footer-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-brand {
        flex: 0 0 100%;
    }

    .footer-links,
    .footer-contact {
        flex: 1;
    }
}

/* ===================================
   Responsive - Desktop
   =================================== */
@media (min-width: 1024px) {
    .hero .container {
        gap: 60px;
    }

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

    /* Grids - 3 columns */
    .testimonials-grid .testimonial-card,
    .insights-grid .insight-card {
        flex: 1 1 calc(33.333% - 16px);
    }

    /* Team - 4 columns */
    .team-card {
        flex: 1 1 calc(25% - 18px);
    }

    /* Services - 2x2 */
    .services-grid .service-card {
        flex: 1 1 calc(50% - 12px);
    }

    /* Footer */
    .footer-brand {
        flex: 0 0 300px;
    }

    .footer-links,
    .footer-contact {
        flex: 0 0 auto;
    }

    .footer-grid {
        justify-content: space-between;
    }
}

/* ===================================
   Focus & Accessibility
   =================================== */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

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

.btn:focus-visible {
    outline-offset: 4px;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius);
    z-index: 10001;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 10px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
