/* Base Reset and Variables */
:root {
    --color-primary: #1a5f7a;
    --color-secondary: #2d8bba;
    --color-accent: #e8b931;
    --color-dark: #1a1a2e;
    --color-light: #f5f7fa;
    --color-gray: #6b7280;
    --color-gray-light: #d1d8e0;
    --color-white: #ffffff;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--color-secondary); }

ul, ol { padding-left: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.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-white);
}

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

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

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

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
}

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

.logo svg { flex-shrink: 0; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active { color: var(--color-primary); }

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: all var(--transition);
}

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

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

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

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

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

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual svg {
    max-width: 100%;
    height: auto;
}

/* Page Hero */
.page-hero {
    padding: 3rem 0;
    background-color: var(--color-light);
    text-align: center;
}

.page-hero h1 { margin-bottom: 0.5rem; }

.page-hero p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p {
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Philosophy Highlight Section */
.philosophy-highlight {
    padding: 4rem 0;
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.philosophy-highlight h2 {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.philosophy-highlight p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.philosophy-highlight .section-label {
    color: var(--color-accent);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background-color: var(--color-light);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

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

.service-card p {
    color: var(--color-gray);
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.process-steps {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    text-align: center;
}

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

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

.process-step p {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonial-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1 1 calc(33.333% - 1.334rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
}

.testimonial-card blockquote {
    margin: 0 0 1.5rem 0;
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
}

.author-detail {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Industries Served */
.industries-served {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    min-width: 140px;
}

.industry-item svg {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
}

.industry-item span {
    font-weight: 500;
    color: var(--color-dark);
}

/* Insights Section */
.insights-section {
    padding: 5rem 0;
}

.insights-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.insight-card {
    flex: 1 1 calc(33.333% - 1.334rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-white);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.insight-card h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.insight-card p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

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

.faq-item {
    margin-bottom: 1rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-gray);
    margin: 0;
}

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

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

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

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

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-dark);
    color: var(--color-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

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

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

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

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

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

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 280px;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    white-space: nowrap;
}

.cookie-actions .btn-small {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.cookie-actions .btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.cookie-actions .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.cookie-modal-header h3 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
    padding: 0;
    line-height: 1;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-light);
}

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

.cookie-option-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
    text-align: right;
}

/* About Page Styles */
.story-section {
    padding: 5rem 0;
}

.story-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.story-text {
    flex: 1.5;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.story-visual svg {
    max-width: 100%;
    height: auto;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.values-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.value-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

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

.value-card p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    flex: 1 1 calc(33.333% - 1.334rem);
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

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

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

.team-member p:last-child {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Milestones / Timeline */
.milestones-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

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

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

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-year {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

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

.timeline-content p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Philosophy Deep Section */
.philosophy-deep {
    padding: 5rem 0;
}

.philosophy-content-wide h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-columns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.philosophy-column {
    flex: 1 1 calc(33.333% - 1.334rem);
    min-width: 280px;
}

.philosophy-column h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.philosophy-column p {
    color: var(--color-gray);
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.trust-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    flex: 1 1 calc(33.333% - 1.334rem);
    min-width: 280px;
    text-align: center;
    padding: 2rem;
}

.trust-item svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.trust-item h3 {
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Services Page Styles */
.services-intro {
    padding: 4rem 0;
}

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

.intro-content p {
    color: var(--color-gray);
    font-size: 1.125rem;
}

.services-detailed {
    padding: 0 0 5rem;
}

.service-detail-card {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-lg);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.service-detail-header h2 {
    margin-bottom: 0.25rem;
}

.service-price {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1.125rem;
}

.service-detail-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.service-features {
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

/* Service Comparison Table */
.service-comparison {
    padding: 5rem 0;
    background-color: var(--color-light);
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-light);
}

.comparison-table th {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: var(--color-light);
}

/* Service Process */
.service-process {
    padding: 5rem 0;
}

.process-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-card {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

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

.process-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.process-card p {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Services Benefits */
.services-benefits {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.benefits-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
}

.benefit-item svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefit-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-main {
    padding: 5rem 0;
}

.contact-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1.5;
    min-width: 320px;
}

.contact-intro h2 {
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-text p {
    margin-bottom: 0.25rem;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.contact-sidebar {
    flex: 1;
    min-width: 280px;
}

.contact-card {
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--color-gray);
}

.contact-card.highlight {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.contact-card.highlight h3 {
    color: var(--color-white);
}

.contact-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contact-steps {
    padding-left: 1.25rem;
    margin: 0;
}

.contact-steps li {
    margin-bottom: 0.75rem;
    color: var(--color-gray);
}

/* Directions Section */
.directions-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.directions-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.directions-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.direction-method {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
}

.direction-method h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.direction-method p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Company Info Section */
.company-info-section {
    padding: 5rem 0;
}

.company-info-content h2 {
    margin-bottom: 2rem;
}

.company-info-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-info-text {
    flex: 1.5;
    min-width: 320px;
}

.company-info-text p {
    color: var(--color-gray);
}

.company-info-details {
    flex: 1;
    min-width: 280px;
}

.info-block {
    padding: 1.5rem;
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.info-block h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-block p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

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

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

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

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.what-next {
    text-align: left;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
}

.what-next h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.next-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.step-content h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-content p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.meanwhile-section h2 {
    margin-bottom: 1rem;
}

.meanwhile-section > p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.meanwhile-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.meanwhile-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    color: var(--color-dark);
    font-weight: 500;
    transition: all var(--transition);
}

.meanwhile-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.meanwhile-link svg {
    width: 24px;
    height: 24px;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
}

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

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.legal-text p {
    color: var(--color-gray);
}

.legal-text ul {
    margin-bottom: 1rem;
}

.legal-text li {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

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

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--color-gray-light);
}

.cookie-table th {
    background-color: var(--color-light);
    font-weight: 600;
}

.cookie-table td {
    color: var(--color-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

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

    .story-content {
        flex-direction: column;
    }

    .story-visual {
        order: -1;
    }

    .process-steps,
    .process-cards {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-white);
        padding: 1rem 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }

    .nav-links.active {
        max-height: 300px;
    }

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

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

    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .stats-grid {
        gap: 1.5rem;
    }

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

    .stat-number {
        font-size: 2.25rem;
    }

    .service-card,
    .testimonial-card,
    .insight-card,
    .value-card,
    .benefit-item,
    .direction-method {
        flex: 1 1 100%;
    }

    .process-step,
    .process-card {
        flex: 1 1 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

    .btn {
        padding: 0.75rem 1.25rem;
    }

    section {
        padding: 3rem 0;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 2rem;
    }

    .meanwhile-links {
        flex-direction: column;
    }

    .meanwhile-link {
        justify-content: center;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* 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;
    }
}
