/* =====================================================
   Canada Mexico Visa Info - Official Canada.ca Style
   Authentic Government Portal Design System
   ===================================================== */

/* CSS Custom Properties - Canada.ca Official Colors */
:root {
    /* Canada.ca Primary Colors */
    --gc-blue: #26374A;
    --gc-red: #AF3C43;
    --gc-red-dark: #9B3239;
    --gc-white: #FFFFFF;
    
    /* Link Colors */
    --gc-link: #2B4380;
    --gc-link-hover: #0535D2;
    --gc-link-visited: #7834BC;
    
    /* Backgrounds */
    --gc-bg: #FFFFFF;
    --gc-bg-alt: #F5F5F5;
    --gc-bg-light: #EAEBED;
    --gc-bg-dark: #26374A;
    
    /* Text Colors */
    --gc-text: #333333;
    --gc-text-muted: #5C5C5C;
    --gc-text-light: #6F6F6F;
    
    /* Borders */
    --gc-border: #DCDEE1;
    --gc-border-dark: #CCCCCC;
    
    /* Alerts & Status */
    --gc-success: #278400;
    --gc-success-bg: #D8EECA;
    --gc-warning: #EE7100;
    --gc-warning-bg: #F9F4D4;
    --gc-danger: #D3080C;
    --gc-danger-bg: #F3E9E8;
    --gc-info: #269ABC;
    --gc-info-bg: #D7FAFF;
    
    /* Typography - Canada.ca uses Noto Sans */
    --font-main: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Noto Mono', monospace;
    
    /* Spacing */
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 15px;
    --space-lg: 20px;
    --space-xl: 30px;
    --space-2xl: 40px;
    --space-3xl: 60px;
    
    /* No border radius - Government style is square */
    --radius: 0;
}

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

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

body {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gc-text);
    background: var(--gc-bg);
    -webkit-font-smoothing: antialiased;
}

/* Links - Canada.ca Style */
a {
    color: var(--gc-link);
    text-decoration: underline;
}

a:hover {
    color: var(--gc-link-hover);
}

a:visited {
    color: var(--gc-link-visited);
}

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

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

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gc-text);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.125rem; }
h2 { font-size: 1.5rem; margin-top: 1.5em; border-bottom: 1px solid var(--gc-border); padding-bottom: 0.5em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1em; }

strong { font-weight: 600; }

ul, ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

li { margin-bottom: 0.25em; }

/* =====================================================
   HEADER - Canada.ca Style
   ===================================================== */
.site-header {
    background: var(--gc-bg);
    border-bottom: 4px solid var(--gc-red);
}

.header-top {
    background: var(--gc-blue);
    padding: 5px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.header-top a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.8rem;
}

.header-top a:hover {
    text-decoration: underline;
}

.site-header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gc-text);
    text-decoration: none;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gc-text-muted);
    display: block;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--gc-link);
    text-decoration: none;
    padding: 5px 0;
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--gc-link-hover);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gc-bg-alt);
    border-bottom: 1px solid var(--gc-border);
    padding: 10px 0;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gc-link);
}

.breadcrumb span {
    color: var(--gc-text-muted);
    margin: 0 8px;
}

/* =====================================================
   ALERT BOXES - Canada.ca Style
   ===================================================== */
.notice-banner, .alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid;
}

.notice-banner h4, .alert h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.notice-banner p, .alert p {
    margin: 0;
    font-size: 0.95rem;
}

.notice-banner.info, .alert-info {
    background: var(--gc-info-bg);
    border-color: var(--gc-info);
}

.notice-banner.warning, .alert-warning {
    background: var(--gc-warning-bg);
    border-color: var(--gc-warning);
}

.notice-banner.danger, .alert-danger {
    background: var(--gc-danger-bg);
    border-color: var(--gc-danger);
}

.notice-banner.success, .alert-success {
    background: var(--gc-success-bg);
    border-color: var(--gc-success);
}

/* =====================================================
   HERO SECTION - Clean Government Style
   ===================================================== */
.hero {
    background: var(--gc-bg-alt);
    border-bottom: 1px solid var(--gc-border);
    padding: 40px 0;
}

.hero .container {
    max-width: 960px;
}

.hero-badge {
    display: inline-block;
    background: var(--gc-red);
    color: white;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gc-text);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title .highlight {
    display: block;
    color: var(--gc-text);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gc-text);
    margin-bottom: 25px;
    max-width: 800px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    background: white;
    border: 1px solid var(--gc-border);
    margin-bottom: 25px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gc-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gc-text-muted);
    text-transform: uppercase;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =====================================================
   BUTTONS - Canada.ca Style
   ===================================================== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gc-blue);
    color: white;
    border: 1px solid var(--gc-blue);
}

.btn-primary:hover {
    background: #1C2D3F;
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--gc-link);
    border: 1px solid var(--gc-link);
}

.btn-secondary:hover {
    background: var(--gc-link);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--gc-link);
    border: 1px solid var(--gc-border);
}

.btn-outline:hover {
    border-color: var(--gc-link);
}

.btn-danger {
    background: var(--gc-red);
    color: white;
}

.btn-danger:hover {
    background: var(--gc-red-dark);
    color: white;
}

/* =====================================================
   AD CONTAINER
   ===================================================== */
.ad-container {
    padding: 15px;
    background: var(--gc-bg-alt);
    border-top: 1px solid var(--gc-border);
    border-bottom: 1px solid var(--gc-border);
}

.ad-label {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--gc-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.ad-unit {
    min-height: 90px;
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */
.main-content {
    padding: 30px 0;
}

.content-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--gc-border);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section.alt-bg {
    background: var(--gc-bg-alt);
    margin: 0 -15px;
    padding: 30px 15px;
}

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

.section-number {
    display: inline-block;
    background: var(--gc-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gc-border);
}

/* Info Card */
.info-card {
    background: white;
    border: 1px solid var(--gc-border);
    border-left: 4px solid var(--gc-info);
    padding: 20px;
    margin: 20px 0;
}

.info-card-icon { font-size: 1.5rem; margin-bottom: 10px; }

.info-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.info-card-content p {
    margin: 0;
    color: var(--gc-text-muted);
}

/* Highlight Box */
.highlight-box {
    background: var(--gc-info-bg);
    border: 1px solid var(--gc-info);
    border-left: 4px solid var(--gc-info);
    padding: 20px;
    margin: 20px 0;
}

.highlight-box h4 {
    margin: 0 0 10px 0;
    color: var(--gc-text);
}

.highlight-box p { margin: 0; }

.highlight-box.education {
    background: var(--gc-success-bg);
    border-color: var(--gc-success);
}

/* Section Note */
.section-note {
    background: var(--gc-warning-bg);
    border-left: 4px solid var(--gc-warning);
    padding: 15px 20px;
    font-size: 0.95rem;
    margin-top: 20px;
}

/* =====================================================
   QUICK FACTS
   ===================================================== */
.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.fact-card {
    background: white;
    border: 1px solid var(--gc-border);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fact-icon { font-size: 1.5rem; }

.fact-content h4 {
    font-size: 0.7rem;
    color: var(--gc-text-muted);
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 2px 0;
}

.fact-content p {
    font-weight: 600;
    color: var(--gc-blue);
    margin: 0;
}

.fact-callout {
    background: var(--gc-blue);
    color: white;
    padding: 15px 20px;
}

.fact-callout strong { color: white; }

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

/* =====================================================
   COUNTRY SPOTLIGHT
   ===================================================== */
.country-spotlight {
    background: white;
    border: 1px solid var(--gc-border);
    padding: 25px;
    margin-bottom: 20px;
}

.country-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gc-red);
}

.country-flag { font-size: 2.5rem; }

.country-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.country-tagline {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gc-text-muted);
}

.country-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.country-fact {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 12px;
}

.fact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gc-text-light);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.fact-value {
    font-weight: 600;
    color: var(--gc-blue);
    font-size: 0.9rem;
}

.country-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gc-border);
}

.country-content h4:first-child { margin-top: 0; }

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

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

.history-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.history-item {
    text-align: center;
    padding: 15px;
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
}

.history-item .year {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gc-blue);
}

.history-item p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: var(--gc-text-muted);
}

.learn-more-box {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 20px;
    margin-top: 25px;
}

.learn-more-box p { margin-bottom: 10px; }

.learn-more-box .small-text {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
}

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

/* =====================================================
   REASONS GRID
   ===================================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.reason-card {
    background: white;
    border: 1px solid var(--gc-border);
    padding: 20px;
}

.reason-card:hover {
    border-color: var(--gc-link);
}

.reason-icon { font-size: 1.5rem; margin-bottom: 10px; }

.reason-card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.reason-card p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin: 0;
}

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

@media (min-width: 1024px) {
    .reasons-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   FAQ SECTION - Canada.ca Accordion Style
   ===================================================== */
.faq-list {
    border: 1px solid var(--gc-border);
}

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

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

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
    background: var(--gc-bg-alt);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
    background: var(--gc-blue);
    color: white;
}

.faq-question {
    font-weight: 600;
    flex: 1;
    padding-right: 15px;
}

.faq-item[open] .faq-question { color: white; }

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gc-link);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: white;
}

.faq-answer {
    padding: 20px;
    background: white;
}

.faq-answer .note {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
    font-style: italic;
    background: var(--gc-bg-alt);
    padding: 10px 15px;
    margin-top: 15px;
}

/* =====================================================
   OFFERS GRID
   ===================================================== */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.offer-card {
    border: 1px solid var(--gc-border);
    padding: 20px;
}

.offer-card h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
}

.offer-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gc-border);
}

.offer-card li:last-child { border-bottom: none; }

.offer-card.positive {
    background: var(--gc-success-bg);
    border-color: var(--gc-success);
}

.offer-card.positive h4 {
    color: var(--gc-success);
    border-bottom-color: var(--gc-success);
}

.offer-card.negative {
    background: var(--gc-danger-bg);
    border-color: var(--gc-danger);
}

.offer-card.negative h4 {
    color: var(--gc-danger);
    border-bottom-color: var(--gc-danger);
}

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

/* =====================================================
   RESOURCES GRID
   ===================================================== */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.resource-card {
    background: white;
    border: 1px solid var(--gc-border);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.resource-card:hover { border-color: var(--gc-link); }

.resource-icon { font-size: 1.5rem; }

.resource-card h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.resource-card p {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
    margin: 0 0 5px 0;
}

.resource-link {
    font-size: 0.8rem;
    color: var(--gc-link);
}

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

/* Next Steps Box */
.next-steps-box {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 25px;
}

.next-steps-box h4 { margin-bottom: 15px; }

.next-steps-box p {
    color: var(--gc-text-muted);
    margin-bottom: 20px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =====================================================
   RELATED TOPICS
   ===================================================== */
.related-section { background: var(--gc-bg-alt); }

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.related-card {
    display: block;
    background: white;
    border: 1px solid var(--gc-border);
    padding: 20px;
    text-decoration: none;
}

.related-card:hover {
    border-color: var(--gc-link);
}

.related-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }

.related-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--gc-link);
}

.related-card p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin-bottom: 10px;
}

.read-more {
    font-size: 0.85rem;
    color: var(--gc-link);
    text-decoration: underline;
}

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

@media (min-width: 1024px) {
    .related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   PREMIUM SECTIONS
   ===================================================== */
.premium-section {
    border-top: 4px solid var(--gc-red);
    background: white;
}

.premium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.premium-card {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 20px;
}

.premium-card:hover { border-color: var(--gc-link); }

.premium-icon { font-size: 1.5rem; margin-bottom: 10px; }

.premium-card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.premium-card p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin: 0;
}

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

/* Info Box Variants */
.info-box {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    border-left: 4px solid var(--gc-info);
    padding: 20px;
    margin: 20px 0;
}

.info-box h4 { margin: 0 0 10px 0; }

.info-box p { margin-bottom: 10px; }
.info-box p:last-child { margin-bottom: 0; }

.info-box ul { margin: 15px 0 0 0; }

.info-box.warning {
    background: var(--gc-warning-bg);
    border-left-color: var(--gc-warning);
}

.info-box.legal {
    background: #F3E8FF;
    border-left-color: #8B5CF6;
}

.disclaimer-inline {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
    padding: 15px;
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    margin-top: 20px;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.edu-card {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 20px;
}

.edu-card h4 { margin-bottom: 10px; font-size: 1rem; }

.edu-card p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin: 0;
}

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

/* Finance Grid */
.finance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.finance-card {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 20px;
}

.finance-icon { font-size: 1.5rem; margin-bottom: 10px; }

.finance-card h4 { margin-bottom: 10px; font-size: 1rem; }

.finance-card p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin: 0;
}

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

@media (min-width: 1024px) {
    .finance-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Cost Estimate */
.cost-estimate {
    background: var(--gc-blue);
    padding: 25px;
    margin: 20px 0;
    color: white;
}

.cost-estimate h4 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.cost-label { font-size: 0.9rem; }
.cost-range { font-weight: 700; }

.cost-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
    margin-bottom: 0;
}

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

/* Immigration Grid */
.immigration-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.country-immigration {
    background: white;
    border: 1px solid var(--gc-border);
    padding: 25px;
}

.country-immigration h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gc-red);
}

.country-immigration ul { margin: 15px 0; }

.country-immigration .note {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gc-border);
}

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

/* =====================================================
   DISCLAIMER SECTION
   ===================================================== */
.disclaimer-section {
    background: var(--gc-blue);
    color: white;
    padding: 40px 0;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.disclaimer-header svg { color: var(--gc-red); }

.disclaimer-header h2 {
    color: white;
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.disclaimer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.disclaimer-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.disclaimer-item h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1rem;
}

.disclaimer-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

.disclaimer-item strong { color: white; }

.disclaimer-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .disclaimer-content { grid-template-columns: repeat(2, 1fr); }
    .disclaimer-item.full-width { grid-column: span 2; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--gc-bg-alt);
    border-top: 4px solid var(--gc-red);
    padding: 40px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gc-border);
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    display: inline;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin-top: 10px;
    max-width: 300px;
}

.footer-links { display: flex; gap: 40px; }

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--gc-link);
    margin-bottom: 8px;
}

.footer-bottom { text-align: center; }

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gc-text-muted);
    margin-bottom: 8px;
}

.footer-disclaimer { font-size: 0.8rem !important; }

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--gc-link);
}

.footer-legal-links span { color: var(--gc-border-dark); }

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (min-width: 768px) {
    .container { padding: 0 30px; }
    h1 { font-size: 2.5rem; }
    .hero { padding: 60px 0; }
    .hero-title { font-size: 2.5rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 3px solid var(--gc-link);
    outline-offset: 2px;
}

::selection {
    background: var(--gc-blue);
    color: white;
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-page .section-header h1 { margin-bottom: 10px; }

.legal-date {
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    margin-bottom: 30px;
}

.legal-content h2 {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gc-border);
}

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

.legal-highlight {
    background: var(--gc-bg-alt);
    border: 1px solid var(--gc-border);
    padding: 20px;
    margin: 20px 0;
}

.legal-highlight h3 { margin-top: 0; }

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gc-border);
}

/* Print */
@media print {
    .site-header, .ad-container, .hero-cta, .related-section { display: none; }
    body { font-size: 12pt; color: black; background: white; }
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gc-red);
    z-index: 1001;
}

.site-header.is-scrolled { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
