/* ============================================
   AGENCIJA ZENORA - STYLES PRINCIPAUX
   Design Mobile-First avec palette professionnelle
   ============================================ */

/* ==================== VARIABLES CSS ==================== */
:root {
    /* Couleurs Primaires */
    --primary-dark: #0A2463;
    --primary-blue: #1E3A8A;
    --primary-light: #3B82F6;
    
    /* Couleurs Accent (CTA) */
    --accent-orange: #FF6B35;
    --accent-green: #10B981;
    --accent-hover: #EA580C;
    
    /* Couleurs Neutres */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Couleurs Système */
    --success: #059669;
    --error: #DC2626;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Bordures */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 1200px;
    --nav-height: 80px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* ==================== REGULATORY BANNER ==================== */
.regulatory-banner {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    position: relative;
    z-index: 999;
    margin-top: var(--nav-height);
}

.regulatory-banner p {
    margin: 0;
    line-height: 1.4;
}

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--nav-height);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: var(--spacing-lg);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: none;
    gap: var(--spacing-xl);
}

.nav-menu a {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.nav-cta {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ==================== BOUTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #F97316 100%);
    color: white;
    font-size: 1.125rem;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.apr-disclosure {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    backdrop-filter: blur(10px);
}

.apr-disclosure p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.hero-title .highlight {
    color: var(--accent-orange);
    display: block;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.feature-item .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    color: var(--accent-green);
    flex-shrink: 0;
}

.feature-item span {
    font-weight: var(--font-weight-medium);
}

/* ==================== SECTIONS ==================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose-us {
    background: white;
}

.benefits-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.benefit-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    background: var(--gray-50);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.step {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #F97316 100%);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.step-connector {
    display: none;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

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

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

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: white;
}

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

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    text-align: left;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-dark);
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

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

.faq-answer p {
    padding-bottom: var(--spacing-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==================== TRUST BADGES ==================== */
.trust-section {
    background: var(--gray-100);
    padding: var(--spacing-2xl) 0;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.badge svg {
    width: 32px;
    height: 32px;
    color: var(--success);
    stroke-width: 2;
}

.badge span {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    text-align: center;
    font-size: 0.875rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-detail {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

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

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-col ul li {
    color: var(--gray-300);
    font-size: 0.875rem;
}

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

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (min-width: 768px) {
    /* Hero */
    .hero {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .highlight {
        display: inline;
    }
    
    .hero-features {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    /* Trust Badges */
    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== RESPONSIVE - DESKTOP ==================== */
@media (min-width: 1024px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-cta {
        display: inline-flex;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Steps */
    .steps-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .step {
        flex: 1;
        flex-direction: column;
        text-align: center;
    }
    
    .step-connector {
        display: block;
        flex: 0 0 60px;
        height: 2px;
        background: var(--gray-300);
        margin-top: 28px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ==================== HERO SMALL ==================== */
.hero-small {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin-top: var(--nav-height);
}

.hero-small .hero-title {
    font-size: 2.5rem;
}

.hero-small .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== ABOUT & TERMS CONTENT ==================== */
.about-content,
.terms-content {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.content-section {
    margin-bottom: var(--spacing-3xl);
}

.content-section h2 {
    font-size: 1.875rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-section p {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

.content-section ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.content-section ul li {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

/* Values Grid */
.values-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.value-item {
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.value-item h3 {
    margin: 0 0 var(--spacing-sm) 0;
}

.value-item p {
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-300);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.timeline-content h3 {
    margin: 0 0 var(--spacing-sm) 0;
}

.timeline-content p {
    margin: 0;
}

/* Certification List */
.certification-list {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-blue);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.certification-list li {
    list-style: none;
    padding-left: var(--spacing-lg);
    position: relative;
}

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

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

/* Terms Navigation */
.terms-nav {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

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

.terms-nav li {
    margin-bottom: var(--spacing-sm);
}

.terms-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

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

.terms-text {
    line-height: 1.8;
}

.last-updated {
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-2xl);
    font-size: 0.875rem;
}

.term-section {
    margin-bottom: var(--spacing-3xl);
    scroll-margin-top: 20px;
}

.terms-footer {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
}

.terms-footer p {
    margin-bottom: var(--spacing-lg);
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: var(--spacing-xl);
}

.mb-2 {
    margin-bottom: var(--spacing-xl);
}

/* ==================== RESPONSIVE - TABLET (Additional) ==================== */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-small .hero-title {
        font-size: 3rem;
    }
    
    /* Terms page responsive */
    .content-wrapper {
        grid-template-columns: 240px 1fr;
    }
}

/* ==================== RESPONSIVE - MOBILE (Terms Page) ==================== */
@media (max-width: 767px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .terms-nav {
        position: static;
        order: 1;
        margin-top: 0;
        max-height: none;
        overflow-y: visible;
    }
    
    .terms-text {
        order: 2;
    }
    
    .term-section {
        scroll-margin-top: 20px;
    }
}

/* ==================== RESPONSIVE - DESKTOP (Additional) ==================== */
@media (min-width: 1024px) {
    .timeline {
        padding-left: var(--spacing-3xl);
    }
    
    .content-wrapper {
        grid-template-columns: 300px 1fr;
    }
}

/* ==================== CONTACT FORM STYLES ==================== */
.contact-form-section {
    margin-bottom: var(--spacing-3xl);
}

.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
}

.form-row {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--primary-blue);
    text-decoration: underline;
}

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

/* Error Messages */
.error-messages {
    background: #FEF2F2;
    border: 1px solid var(--error);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.error-messages h3 {
    color: var(--error);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.error-messages ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin: 0;
}

.error-messages li {
    color: var(--error);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: underline;
}

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

.contact-item small {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* Contact Page Layout */
.contact-wrapper {
    display: grid;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.contact-main {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
}

.contact-sidebar {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
    
    .contact-main {
        padding: var(--spacing-3xl);
    }
    
    .contact-sidebar {
        position: sticky;
        top: calc(var(--nav-height) + var(--spacing-xl));
    }
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-fast);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-info-card .icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.contact-info-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.contact-info-card a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

/* Map Container */
.map-container {
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

@media (min-width: 768px) {
    .map-container iframe {
        height: 400px;
    }
}

