/* ========================================
   brave-bumper - CSS Stylesheet
   Mobile-first, Flexbox-based layout
   ======================================== */

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

:root {
    --color-primary: #2c5530;
    --color-primary-light: #3d7a44;
    --color-secondary: #8b4513;
    --color-accent: #ffd700;
    --color-text: #2d2d2d;
    --color-text-light: #5a5a5a;
    --color-background: #ffffff;
    --color-background-alt: #f4e9d9;
    --color-background-dark: #e8e0d5;
    --color-border: #d4d4d4;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-serif: Georgia, 'Times New Roman', serif;
    --transition: 0.3s ease;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

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;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-serif);
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

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

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

li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

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

.nav {
    padding: 1rem 0;
}

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

@media (min-width: 768px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-family-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.logo svg {
    flex-shrink: 0;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-background);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 5rem 2rem 2rem;
    margin: 0;
    transition: right var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

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

.nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

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

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        gap: 2rem;
    }

    .nav-menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
        border-bottom: 2px solid transparent;
    }

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

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

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

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

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

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

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

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.hero-illustration {
    width: 100%;
    max-width: 300px;
    height: auto;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

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

    .hero-content {
        flex: 1;
    }

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

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

/* Page Hero */
.page-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-background) 100%);
    text-align: center;
}

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

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 4rem 0;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 3rem 0;
}

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

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

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

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

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.philosophy-visual svg {
    width: 100%;
    max-width: 200px;
}

@media (min-width: 768px) {
    .philosophy-grid {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .philosophy-text {
        flex: 1.5;
    }

    .philosophy-visual {
        flex: 1;
    }
}

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

.services-highlight h2 {
    margin-bottom: 2rem;
}

.services-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.service-icon svg {
    width: 100%;
    height: 100%;
}

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

.service-card p {
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
}

@media (min-width: 768px) {
    .services-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (min-width: 1024px) {
    .service-card {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

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

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

.stat-item {
    text-align: center;
    flex: 1 1 150px;
    max-width: 200px;
}

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

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

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

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

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

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

.process-section h2 {
    margin-bottom: 2.5rem;
}

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

.process-step {
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-family-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-background-dark);
}

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

.process-step p {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .step-number {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .process-step {
        flex: 1 1 calc(25% - 1.5rem);
    }
}

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

.testimonials-section h2 {
    margin-bottom: 2.5rem;
}

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

.testimonial {
    background-color: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

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

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

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

@media (min-width: 768px) {
    .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (min-width: 1024px) {
    .testimonial {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

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

.industries-section h2 {
    margin-bottom: 2.5rem;
}

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

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 140px;
    max-width: 180px;
}

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

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

@media (min-width: 768px) {
    .industry-item {
        flex: 1 1 160px;
    }
}

/* Knowledge Section */
.knowledge-section {
    background-color: var(--color-background-alt);
}

.knowledge-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

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

.knowledge-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.knowledge-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.knowledge-icon svg {
    width: 100%;
    height: 100%;
}

.knowledge-text h4 {
    margin-bottom: 0.5rem;
}

.knowledge-text p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

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

.faq-section h2 {
    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;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition);
}

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

.faq-question span {
    flex: 1;
    padding-right: 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.active {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    margin-bottom: 0;
}

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

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

.cta-content p {
    color: var(--color-background-alt);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta-content .btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

/* ========================================
   About Page Specific
   ======================================== */
.story-section {
    background-color: var(--color-background);
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.story-illustration {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 768px) {
    .story-grid {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .story-content {
        flex: 1.5;
    }

    .story-visual {
        flex: 1;
    }
}

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

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

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

.value-card {
    background-color: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

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

.value-card p {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (min-width: 1024px) {
    .value-card {
        flex: 1 1 calc(25% - 1.125rem);
    }
}

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

.team-section h2 {
    margin-bottom: 2.5rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.member-avatar svg {
    width: 100%;
    height: 100%;
}

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

.member-role {
    display: block;
    font-size: 0.875rem;
    color: var(--color-primary-light);
    margin-bottom: 0.75rem;
}

.team-member p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

@media (min-width: 1024px) {
    .team-member {
        flex: 1 1 calc(25% - 1.5rem);
    }
}

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

.milestones-section h2 {
    margin-bottom: 2.5rem;
}

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

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

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

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    font-family: var(--font-family-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
    padding-right: 1.5rem;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-background-alt);
}

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

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .timeline::before {
        left: 4rem;
    }

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

    .timeline-year {
        width: 6rem;
        font-size: 1rem;
        padding-right: 2rem;
    }
}

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

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.approach-visual svg {
    width: 100%;
    max-width: 200px;
}

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

.approach-list {
    list-style: none;
    padding-left: 0;
}

.approach-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.approach-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

@media (min-width: 768px) {
    .approach-grid {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .approach-visual {
        flex: 1;
        order: -1;
    }

    .approach-content {
        flex: 1.5;
    }
}

/* Quote Section */
.quote-section {
    background-color: var(--color-background-alt);
    text-align: center;
}

.large-quote {
    max-width: 800px;
    margin: 0 auto;
    border: none;
    padding: 0;
}

.large-quote p {
    font-family: var(--font-family-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.large-quote cite {
    font-style: normal;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .large-quote p {
        font-size: 1.75rem;
    }
}

/* ========================================
   Services Page Specific
   ======================================== */
.services-overview {
    background-color: var(--color-background);
}

.services-overview h2 {
    margin-bottom: 2.5rem;
}

.service-full {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
}

.service-full:last-of-type {
    margin-bottom: 0;
}

.service-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 1rem;
}

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

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.service-price {
    display: flex;
    flex-direction: column;
}

.price {
    font-family: var(--font-family-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.service-price-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.price-option {
    flex: 1 1 120px;
    padding: 1rem;
    background-color: var(--color-background);
    border-radius: var(--radius);
    text-align: center;
}

.price-option.highlight {
    border: 2px solid var(--color-primary);
}

.price-option .price {
    font-size: 1.5rem;
}

.service-full-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-full-visual svg {
    width: 100%;
    max-width: 200px;
}

@media (min-width: 768px) {
    .service-full {
        flex-direction: row;
        padding: 2.5rem;
    }

    .service-full.reversed {
        flex-direction: row-reverse;
    }

    .service-full-content {
        flex: 1.5;
    }

    .service-full-visual {
        flex: 1;
    }
}

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

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

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

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

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

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-item h4 {
    margin-bottom: 0.25rem;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

.comparison-section h2 {
    margin-bottom: 2rem;
}

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

.comparison-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

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

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

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--color-text);
}

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

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

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

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

.contact-block {
    display: flex;
    flex-direction: column;
}

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

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-block h3 {
    margin-bottom: 0.5rem;
}

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

.contact-note {
    font-size: 0.875rem;
    font-style: italic;
}

.company-info-card,
.directions-card {
    background-color: var(--color-background-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.company-info-card h3,
.directions-card h3 {
    margin-bottom: 1rem;
}

.directions-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.direction-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.direction-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.directions-note {
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .contact-info {
        flex: 1;
    }

    .contact-details {
        flex: 1.5;
    }
}

/* Company Details Section */
.company-details-section {
    background-color: var(--color-background-alt);
}

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

.company-legal h3,
.company-values h3 {
    margin-bottom: 1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-list dt {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.info-list dd {
    color: var(--color-text-light);
    margin-left: 0;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .company-details-grid {
        flex-direction: row;
    }

    .company-legal,
    .company-values {
        flex: 1;
    }
}

/* Contact CTA */
.contact-cta {
    background-color: var(--color-background);
}

.cta-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
}

.cta-card .cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.cta-card .cta-icon svg {
    width: 100%;
    height: 100%;
}

.cta-card h2 {
    margin-bottom: 0.5rem;
}

.cta-card p {
    margin-bottom: 1.5rem;
}

/* ========================================
   Thank You Page
   ======================================== */
.thank-you-section {
    padding: 4rem 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-icon svg {
    width: 100%;
    height: 100%;
}

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

.thank-you-message {
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.thank-you-details {
    background-color: var(--color-background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    text-align: left;
}

.thank-you-details h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

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

.step-item .step-icon svg {
    width: 100%;
    height: 100%;
}

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

.step-text p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.thank-you-suggestion {
    margin-bottom: 2.5rem;
}

.thank-you-suggestion h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.thank-you-suggestion p {
    margin-bottom: 1rem;
}

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

.thank-you-back {
    padding-top: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
}

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

.back-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-hero {
    padding: 2.5rem 0;
    background-color: var(--color-background-alt);
    text-align: center;
}

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

.legal-hero p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

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

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

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.gdpr-rights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gdpr-right {
    background-color: var(--color-background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.gdpr-right h3 {
    margin-top: 0;
}

.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

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

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-background);
    font-family: var(--font-family-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-background-alt);
    font-size: 0.875rem;
    max-width: 280px;
}

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

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

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

.footer a {
    color: var(--color-background-alt);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: var(--color-background-alt);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

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

.footer-bottom p {
    color: var(--color-background-alt);
    font-size: 0.875rem;
    margin: 0;
}

@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .footer-nav,
    .footer-legal,
    .footer-contact {
        flex: 1 1 calc(33.333% - 1.5rem);
    }
}

@media (min-width: 1024px) {
    .footer-brand {
        flex: 1 1 35%;
    }

    .footer-nav,
    .footer-legal,
    .footer-contact {
        flex: 1 1 20%;
    }
}

/* ========================================
   Cookie Banner & Modal
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 0.9375rem;
}

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

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
    }

    .cookie-content p {
        flex: 1;
    }
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.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);
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-content > p {
    margin-bottom: 1.5rem;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    accent-color: var(--color-primary);
}

.option-text {
    display: flex;
    flex-direction: column;
}

.option-text strong {
    color: var(--color-text);
}

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

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1 1 auto;
}

/* ========================================
   Accessibility
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 1rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    z-index: 1002;
}

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