/* ===================================
   CSS Variables & Base Styles
   =================================== */
:root {
    --color-primary: #1a365d;
    --color-primary-light: #2d4a6f;
    --color-primary-dark: #0f2340;
    --color-secondary: #e2c87d;
    --color-secondary-light: #f0dca3;
    --color-accent: #4a6fa5;
    --color-accent-light: #6b8cae;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #888888;
    --color-background: #ffffff;
    --color-background-alt: #f0f4f8;
    --color-background-dark: #e8ecf1;
    --color-border: #dde3ea;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    -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-secondary);
}

ul {
    list-style: none;
}

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

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Layout
   =================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.125rem;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 0.95rem;
    }
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

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

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

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

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

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-background);
        box-shadow: var(--shadow-md);
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }
}

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

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

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

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

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

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-background) 100%);
}

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

.hero-content {
    flex: 1;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    max-width: 450px;
}

@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        max-width: 350px;
    }
}

/* Page Hero */
.page-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background-color: var(--color-background-alt);
    text-align: center;
}

.page-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* Legal Hero */
.legal-hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    background-color: var(--color-background-alt);
}

.legal-update {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ===================================
   Trust Strip
   =================================== */
.trust-strip {
    background-color: var(--color-primary);
    padding: 1.5rem 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-background);
    font-size: 0.9375rem;
}

.trust-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* ===================================
   Section Labels & Intros
   =================================== */
.section-label {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-intro {
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

h2 + .section-intro {
    margin-top: 1rem;
}

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

.philosophy .container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.philosophy-content {
    flex: 1;
}

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

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

.philosophy-values {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
}

.value-card svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.value-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

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

@media (max-width: 900px) {
    .philosophy .container {
        flex-direction: column;
        gap: 2.5rem;
    }
}

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

.services-highlight h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

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

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

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

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

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

@media (max-width: 600px) {
    .service-card {
        flex: 1 1 100%;
    }
}

/* ===================================
   Statistics Section
   =================================== */
.stats {
    background-color: var(--color-primary);
    padding: 3rem 0;
}

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

.stat-item {
    text-align: center;
    color: var(--color-background);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

.process h2 {
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

.step-content p {
    color: var(--color-text-light);
    margin: 0;
}

/* Process Horizontal */
.process-horizontal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.process-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

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

.process-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

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

.industries h2 {
    text-align: center;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background-color: var(--color-background);
    border-radius: var(--radius-md);
    min-width: 150px;
    text-align: center;
}

.industry-item svg {
    width: 48px;
    height: 48px;
}

.industry-item span {
    font-size: 0.9375rem;
    color: var(--color-text);
}

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

.testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--color-text-light);
    margin: 0;
}

.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

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

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

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

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

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

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

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

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

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--color-text-light);
    margin: 0;
}

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

.insights .section-label,
.insights h2 {
    text-align: center;
}

.insights h2 {
    margin-bottom: 2.5rem;
}

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

.insight-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-secondary);
}

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

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

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

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

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

/* ===================================
   About Page - Story Section
   =================================== */
.story .container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-content {
    flex: 1;
}

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

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

.story-visual {
    flex: 0 0 300px;
}

@media (max-width: 900px) {
    .story .container {
        flex-direction: column;
        gap: 2rem;
    }

    .story-visual {
        flex: 0 0 auto;
        max-width: 250px;
    }
}

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

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

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

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

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

.timeline-marker {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.timeline-marker span {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}

.timeline-content {
    flex: 1;
    padding-bottom: 1rem;
}

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

.timeline-content p {
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 600px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 50px;
    }

    .timeline-item {
        gap: 1rem;
    }
}

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

.values-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.value-block {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
    padding: 2rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
}

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

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

.value-block p {
    color: var(--color-text-light);
    margin: 0;
}

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

.team h2 {
    text-align: center;
}

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

.team-member {
    flex: 1 1 calc(25% - 1.125rem);
    min-width: 240px;
    max-width: 300px;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

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

.member-role {
    display: block;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ===================================
   Approach Section
   =================================== */
.approach .container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.approach-content {
    flex: 1;
}

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

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

.approach-features {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
}

.approach-feature svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

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

@media (max-width: 900px) {
    .approach .container {
        flex-direction: column;
    }

    .approach-features {
        flex: 1;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .approach-feature {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 200px;
    }
}

/* ===================================
   Certifications
   =================================== */
.certifications {
    background-color: var(--color-background-alt);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.certification-item {
    flex: 1 1 calc(25% - 1.125rem);
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
}

.certification-item svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.certification-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.certification-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ===================================
   Services Page
   =================================== */
.services-intro {
    padding-top: 2rem;
    padding-bottom: 0;
}

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

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

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

.service-block {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

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

.service-title h2 {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

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

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

.service-includes {
    background-color: var(--color-background-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.service-includes h4 {
    margin-bottom: 1rem;
}

.service-includes ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.service-includes li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.service-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

/* ===================================
   Service Comparison
   =================================== */
.service-comparison {
    background-color: var(--color-background-alt);
}

.service-comparison h2 {
    text-align: center;
}

.comparison-table {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.comparison-column {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-column.featured {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.column-header {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.comparison-column.featured .column-header {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.column-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-background);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.column-header h3 {
    color: inherit;
    margin-bottom: 0.5rem;
}

.column-price {
    font-weight: 600;
    opacity: 0.9;
}

.column-features {
    padding: 1.5rem;
}

.column-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.column-features li:last-child {
    border-bottom: none;
}

.column-features li.included::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.column-features li.not-included {
    color: var(--color-text-muted);
}

.column-features li.not-included::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--color-background-dark);
    border-radius: 50%;
}

.column-desc {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 900px) {
    .comparison-column.featured {
        transform: none;
    }
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-section {
    background-color: var(--color-background);
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.benefit-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.benefit-item svg {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
}

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

.benefit-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

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

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

.contact-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--color-background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

.contact-card h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.contact-detail {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-detail a {
    color: var(--color-primary);
    word-break: break-word;
}

.contact-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

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

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

.info-block p {
    color: var(--color-text-light);
}

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

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

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

.direction-item {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 280px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.direction-item svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.direction-text h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

/* Legal Info */
.legal-info {
    background-color: var(--color-background-alt);
}

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

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

.legal-item {
    flex: 1 1 calc(33.333% - 1.33rem);
    min-width: 200px;
}

.legal-item h3 {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.legal-item p {
    margin: 0;
    font-weight: 500;
}

/* Commitment */
.commitment {
    background-color: var(--color-background);
}

.commitment-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
}

.commitment-content svg {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.commitment-text h2 {
    margin-bottom: 0.75rem;
}

.commitment-text p {
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 600px) {
    .commitment-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Thank You Page
   =================================== */
.thank-you-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background-color: var(--color-background-alt);
    text-align: center;
}

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

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

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

.thank-you-subtext {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Next Steps */
.next-steps {
    background-color: var(--color-background);
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 1.5rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

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

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

/* While Waiting */
.while-waiting {
    background-color: var(--color-background-alt);
}

.while-waiting h2 {
    margin-bottom: 1.5rem;
}

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

.waiting-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

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

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-background);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: var(--transition);
}

.resource-link:hover {
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

.resource-link svg {
    width: 32px;
    height: 32px;
}

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

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

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

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

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

.legal-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-text li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.legal-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.legal-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

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

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

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

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-background);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

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

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

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

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .footer-content {
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }
}

/* ===================================
   Cookie Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 1.25rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 200px;
    font-size: 0.9375rem;
    margin: 0;
}

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

.cookie-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-background);
}

.cookie-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-background);
}

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

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

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

.modal-content {
    position: relative;
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-content h3 {
    margin-bottom: 0.75rem;
}

.modal-content > p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.cookie-options {
    margin-bottom: 1.5rem;
}

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

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

.option-info {
    flex: 1;
    padding-right: 1rem;
}

.option-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.option-info p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

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

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

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

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

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

.toggle.disabled .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ===================================
   Main Content Offset
   =================================== */
main {
    padding-top: var(--header-height);
}

main > section:first-child {
    margin-top: calc(-1 * var(--header-height));
}

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

    main {
        padding-top: 0;
    }

    section {
        padding: 1rem 0;
    }
}
